From 958562263995e9b3aa5dc9839b1b487f06931997 Mon Sep 17 00:00:00 2001 From: Azure CLI Bot Date: Mon, 26 Apr 2021 13:52:21 +0800 Subject: [PATCH 01/14] [AutoRelease] t2-kusto-2021-04-26-71242 (#18291) * CodeGen from PR 14061 in Azure/azure-rest-api-specs update (#14061) * version,CHANGELOG Co-authored-by: SDKAuto Co-authored-by: PythonSdkPipelines Co-authored-by: Zed Lei <59104634+RAY-316@users.noreply.github.com> --- sdk/kusto/azure-mgmt-kusto/CHANGELOG.md | 15 + sdk/kusto/azure-mgmt-kusto/MANIFEST.in | 1 + sdk/kusto/azure-mgmt-kusto/_meta.json | 8 + .../azure/mgmt/kusto/_configuration.py | 2 +- .../mgmt/kusto/_kusto_management_client.py | 30 + .../azure/mgmt/kusto/_metadata.json | 70 +- .../azure/mgmt/kusto/_version.py | 2 +- .../azure/mgmt/kusto/aio/_configuration.py | 2 +- .../kusto/aio/_kusto_management_client.py | 29 + .../mgmt/kusto/aio/operations/__init__.py | 4 + ...ched_database_configurations_operations.py | 16 +- ...luster_principal_assignments_operations.py | 18 +- .../aio/operations/_clusters_operations.py | 98 ++- .../_data_connections_operations.py | 30 +- ...tabase_principal_assignments_operations.py | 18 +- .../aio/operations/_databases_operations.py | 30 +- .../mgmt/kusto/aio/operations/_operations.py | 2 +- .../_operations_results_operations.py | 99 +++ .../aio/operations/_scripts_operations.py | 667 +++++++++++++++++ .../azure/mgmt/kusto/models/__init__.py | 22 + .../models/_kusto_management_client_enums.py | 23 +- .../azure/mgmt/kusto/models/_models.py | 384 ++++++++-- .../azure/mgmt/kusto/models/_models_py3.py | 417 +++++++++-- .../azure/mgmt/kusto/operations/__init__.py | 4 + ...ched_database_configurations_operations.py | 16 +- ...luster_principal_assignments_operations.py | 18 +- .../kusto/operations/_clusters_operations.py | 98 ++- .../_data_connections_operations.py | 30 +- ...tabase_principal_assignments_operations.py | 18 +- .../kusto/operations/_databases_operations.py | 30 +- .../mgmt/kusto/operations/_operations.py | 2 +- .../_operations_results_operations.py | 104 +++ .../kusto/operations/_scripts_operations.py | 680 ++++++++++++++++++ sdk/kusto/azure-mgmt-kusto/setup.py | 2 +- shared_requirements.txt | 1 + 35 files changed, 2678 insertions(+), 312 deletions(-) create mode 100644 sdk/kusto/azure-mgmt-kusto/_meta.json create mode 100644 sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_operations_results_operations.py create mode 100644 sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_scripts_operations.py create mode 100644 sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_operations_results_operations.py create mode 100644 sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_scripts_operations.py diff --git a/sdk/kusto/azure-mgmt-kusto/CHANGELOG.md b/sdk/kusto/azure-mgmt-kusto/CHANGELOG.md index c4b997e76b41..58c0fc99b207 100644 --- a/sdk/kusto/azure-mgmt-kusto/CHANGELOG.md +++ b/sdk/kusto/azure-mgmt-kusto/CHANGELOG.md @@ -1,5 +1,20 @@ # Release History +## 2.0.0 (2021-04-26) + +**Features** + + - Model EventHubDataConnection has a new parameter managed_identity_resource_id + - Model Cluster has a new parameter etag + - Model AttachedDatabaseConfiguration has a new parameter table_level_sharing_properties + - Added operation group ScriptsOperations + - Added operation group OperationsResultsOperations + +**Breaking changes** + + - Operation ClustersOperations.begin_update has a new signature + - Operation ClustersOperations.begin_create_or_update has a new signature + ## 1.0.0 (2021-02-04) - GA release diff --git a/sdk/kusto/azure-mgmt-kusto/MANIFEST.in b/sdk/kusto/azure-mgmt-kusto/MANIFEST.in index a3cb07df8765..3a9b6517412b 100644 --- a/sdk/kusto/azure-mgmt-kusto/MANIFEST.in +++ b/sdk/kusto/azure-mgmt-kusto/MANIFEST.in @@ -1,3 +1,4 @@ +include _meta.json recursive-include tests *.py *.yaml include *.md include azure/__init__.py diff --git a/sdk/kusto/azure-mgmt-kusto/_meta.json b/sdk/kusto/azure-mgmt-kusto/_meta.json new file mode 100644 index 000000000000..202385447f26 --- /dev/null +++ b/sdk/kusto/azure-mgmt-kusto/_meta.json @@ -0,0 +1,8 @@ +{ + "autorest": "3.3.0", + "use": "@autorest/python@5.6.6", + "commit": "4c881abe43b82c6f001f2f2ca7f2a2d63299749e", + "repository_url": "https://github.com/Azure/azure-rest-api-specs", + "autorest_command": "autorest specification/azure-kusto/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.6.6 --version=3.3.0", + "readme": "specification/azure-kusto/resource-manager/readme.md" +} \ No newline at end of file diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_configuration.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_configuration.py index 1460adffc35e..55ac8d3b7f55 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_configuration.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_configuration.py @@ -48,7 +48,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id - self.api_version = "2020-09-18" + self.api_version = "2021-01-01" self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-kusto/{}'.format(VERSION)) self._configure(**kwargs) diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_kusto_management_client.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_kusto_management_client.py index f164d7cde911..06d3907b44c3 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_kusto_management_client.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_kusto_management_client.py @@ -16,15 +16,18 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import KustoManagementClientConfiguration from .operations import ClustersOperations from .operations import ClusterPrincipalAssignmentsOperations from .operations import DatabasesOperations from .operations import DatabasePrincipalAssignmentsOperations +from .operations import ScriptsOperations from .operations import AttachedDatabaseConfigurationsOperations from .operations import DataConnectionsOperations from .operations import Operations +from .operations import OperationsResultsOperations from . import models @@ -39,12 +42,16 @@ class KustoManagementClient(object): :vartype databases: azure.mgmt.kusto.operations.DatabasesOperations :ivar database_principal_assignments: DatabasePrincipalAssignmentsOperations operations :vartype database_principal_assignments: azure.mgmt.kusto.operations.DatabasePrincipalAssignmentsOperations + :ivar scripts: ScriptsOperations operations + :vartype scripts: azure.mgmt.kusto.operations.ScriptsOperations :ivar attached_database_configurations: AttachedDatabaseConfigurationsOperations operations :vartype attached_database_configurations: azure.mgmt.kusto.operations.AttachedDatabaseConfigurationsOperations :ivar data_connections: DataConnectionsOperations operations :vartype data_connections: azure.mgmt.kusto.operations.DataConnectionsOperations :ivar operations: Operations operations :vartype operations: azure.mgmt.kusto.operations.Operations + :ivar operations_results: OperationsResultsOperations operations + :vartype operations_results: azure.mgmt.kusto.operations.OperationsResultsOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials.TokenCredential :param subscription_id: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. @@ -68,6 +75,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.clusters = ClustersOperations( @@ -78,12 +86,34 @@ def __init__( self._client, self._config, self._serialize, self._deserialize) self.database_principal_assignments = DatabasePrincipalAssignmentsOperations( self._client, self._config, self._serialize, self._deserialize) + self.scripts = ScriptsOperations( + self._client, self._config, self._serialize, self._deserialize) self.attached_database_configurations = AttachedDatabaseConfigurationsOperations( self._client, self._config, self._serialize, self._deserialize) self.data_connections = DataConnectionsOperations( self._client, self._config, self._serialize, self._deserialize) self.operations = Operations( self._client, self._config, self._serialize, self._deserialize) + self.operations_results = OperationsResultsOperations( + self._client, self._config, self._serialize, self._deserialize) + + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response def close(self): # type: () -> None diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_metadata.json b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_metadata.json index 9c8f38598ca4..8bc500159da1 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_metadata.json +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_metadata.json @@ -1,6 +1,6 @@ { - "chosen_version": "2020-09-18", - "total_api_version_list": ["2020-09-18"], + "chosen_version": "2021-01-01", + "total_api_version_list": ["2021-01-01"], "client": { "name": "KustoManagementClient", "filename": "_kusto_management_client", @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"KustoManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"KustoManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,26 +44,68 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_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\": [\"TokenCredential\"]}}}", + "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": { "clusters": "ClustersOperations", "cluster_principal_assignments": "ClusterPrincipalAssignmentsOperations", "databases": "DatabasesOperations", "database_principal_assignments": "DatabasePrincipalAssignmentsOperations", + "scripts": "ScriptsOperations", "attached_database_configurations": "AttachedDatabaseConfigurationsOperations", "data_connections": "DataConnectionsOperations", - "operations": "Operations" - }, - "operation_mixins": { - }, - "sync_imports": "None", - "async_imports": "None" + "operations": "Operations", + "operations_results": "OperationsResultsOperations" + } } \ No newline at end of file diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_version.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_version.py index c47f66669f1b..48944bf3938a 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_version.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "1.0.0" +VERSION = "2.0.0" diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/_configuration.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/_configuration.py index d4fda3662edf..87f64ac0cefc 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/_configuration.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/_configuration.py @@ -45,7 +45,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id - self.api_version = "2020-09-18" + self.api_version = "2021-01-01" self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-kusto/{}'.format(VERSION)) self._configure(**kwargs) diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/_kusto_management_client.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/_kusto_management_client.py index 281c3962b07d..ec0f3ee72d1e 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/_kusto_management_client.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/_kusto_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -20,9 +21,11 @@ from .operations import ClusterPrincipalAssignmentsOperations from .operations import DatabasesOperations from .operations import DatabasePrincipalAssignmentsOperations +from .operations import ScriptsOperations from .operations import AttachedDatabaseConfigurationsOperations from .operations import DataConnectionsOperations from .operations import Operations +from .operations import OperationsResultsOperations from .. import models @@ -37,12 +40,16 @@ class KustoManagementClient(object): :vartype databases: azure.mgmt.kusto.aio.operations.DatabasesOperations :ivar database_principal_assignments: DatabasePrincipalAssignmentsOperations operations :vartype database_principal_assignments: azure.mgmt.kusto.aio.operations.DatabasePrincipalAssignmentsOperations + :ivar scripts: ScriptsOperations operations + :vartype scripts: azure.mgmt.kusto.aio.operations.ScriptsOperations :ivar attached_database_configurations: AttachedDatabaseConfigurationsOperations operations :vartype attached_database_configurations: azure.mgmt.kusto.aio.operations.AttachedDatabaseConfigurationsOperations :ivar data_connections: DataConnectionsOperations operations :vartype data_connections: azure.mgmt.kusto.aio.operations.DataConnectionsOperations :ivar operations: Operations operations :vartype operations: azure.mgmt.kusto.aio.operations.Operations + :ivar operations_results: OperationsResultsOperations operations + :vartype operations_results: azure.mgmt.kusto.aio.operations.OperationsResultsOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. @@ -65,6 +72,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.clusters = ClustersOperations( @@ -75,12 +83,33 @@ def __init__( self._client, self._config, self._serialize, self._deserialize) self.database_principal_assignments = DatabasePrincipalAssignmentsOperations( self._client, self._config, self._serialize, self._deserialize) + self.scripts = ScriptsOperations( + self._client, self._config, self._serialize, self._deserialize) self.attached_database_configurations = AttachedDatabaseConfigurationsOperations( self._client, self._config, self._serialize, self._deserialize) self.data_connections = DataConnectionsOperations( self._client, self._config, self._serialize, self._deserialize) self.operations = Operations( self._client, self._config, self._serialize, self._deserialize) + self.operations_results = OperationsResultsOperations( + self._client, self._config, self._serialize, self._deserialize) + + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response async def close(self) -> None: await self._client.close() diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/__init__.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/__init__.py index fb6fa5953866..27917c1aa7d5 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/__init__.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/__init__.py @@ -10,16 +10,20 @@ from ._cluster_principal_assignments_operations import ClusterPrincipalAssignmentsOperations from ._databases_operations import DatabasesOperations from ._database_principal_assignments_operations import DatabasePrincipalAssignmentsOperations +from ._scripts_operations import ScriptsOperations from ._attached_database_configurations_operations import AttachedDatabaseConfigurationsOperations from ._data_connections_operations import DataConnectionsOperations from ._operations import Operations +from ._operations_results_operations import OperationsResultsOperations __all__ = [ 'ClustersOperations', 'ClusterPrincipalAssignmentsOperations', 'DatabasesOperations', 'DatabasePrincipalAssignmentsOperations', + 'ScriptsOperations', 'AttachedDatabaseConfigurationsOperations', 'DataConnectionsOperations', 'Operations', + 'OperationsResultsOperations', ] diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_attached_database_configurations_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_attached_database_configurations_operations.py index a9891ec0975c..5f1bd2d8b3a9 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_attached_database_configurations_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_attached_database_configurations_operations.py @@ -65,7 +65,7 @@ def list_by_cluster( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): @@ -142,7 +142,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -192,7 +192,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -261,8 +261,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.kusto.models.AttachedDatabaseConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AttachedDatabaseConfiguration or the result of cls(response) @@ -329,7 +329,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -380,8 +380,8 @@ async def begin_delete( :type attached_database_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_cluster_principal_assignments_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_cluster_principal_assignments_operations.py index 3302449d1fd3..b334ad3fad6d 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_cluster_principal_assignments_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_cluster_principal_assignments_operations.py @@ -68,7 +68,7 @@ async def check_name_availability( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -134,7 +134,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -184,7 +184,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -251,8 +251,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.kusto.models.ClusterPrincipalAssignment :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ClusterPrincipalAssignment or the result of cls(response) @@ -319,7 +319,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -370,8 +370,8 @@ async def begin_delete( :type principal_assignment_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -444,7 +444,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_clusters_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_clusters_operations.py index 32090944b443..ba4dae97cabe 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_clusters_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_clusters_operations.py @@ -65,7 +65,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -106,6 +106,8 @@ async def _create_or_update_initial( resource_group_name: str, cluster_name: str, parameters: "_models.Cluster", + if_match: Optional[str] = None, + if_none_match: Optional[str] = None, **kwargs ) -> "_models.Cluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.Cluster"] @@ -113,7 +115,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -132,6 +134,10 @@ async def _create_or_update_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] + if if_match is not None: + header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') + if if_none_match is not None: + header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') @@ -163,6 +169,8 @@ async def begin_create_or_update( resource_group_name: str, cluster_name: str, parameters: "_models.Cluster", + if_match: Optional[str] = None, + if_none_match: Optional[str] = None, **kwargs ) -> AsyncLROPoller["_models.Cluster"]: """Create or update a Kusto cluster. @@ -173,10 +181,17 @@ async def begin_create_or_update( :type cluster_name: str :param parameters: The Kusto cluster parameters supplied to the CreateOrUpdate operation. :type parameters: ~azure.mgmt.kusto.models.Cluster + :param if_match: The ETag of the cluster. Omit this value to always overwrite the current + cluster. Specify the last-seen ETag value to prevent accidentally overwriting concurrent + changes. + :type if_match: str + :param if_none_match: Set to '*' to allow a new cluster to be created, but to prevent updating + an existing cluster. Other values will result in a 412 Pre-condition Failed response. + :type if_none_match: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Cluster or the result of cls(response) @@ -195,6 +210,8 @@ async def begin_create_or_update( resource_group_name=resource_group_name, cluster_name=cluster_name, parameters=parameters, + if_match=if_match, + if_none_match=if_none_match, cls=lambda x,y,z: x, **kwargs ) @@ -234,6 +251,7 @@ async def _update_initial( resource_group_name: str, cluster_name: str, parameters: "_models.ClusterUpdate", + if_match: Optional[str] = None, **kwargs ) -> "_models.Cluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.Cluster"] @@ -241,7 +259,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -260,6 +278,8 @@ async def _update_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] + if if_match is not None: + header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') @@ -294,6 +314,7 @@ async def begin_update( resource_group_name: str, cluster_name: str, parameters: "_models.ClusterUpdate", + if_match: Optional[str] = None, **kwargs ) -> AsyncLROPoller["_models.Cluster"]: """Update a Kusto cluster. @@ -304,10 +325,14 @@ async def begin_update( :type cluster_name: str :param parameters: The Kusto cluster parameters supplied to the Update operation. :type parameters: ~azure.mgmt.kusto.models.ClusterUpdate + :param if_match: The ETag of the cluster. Omit this value to always overwrite the current + cluster. Specify the last-seen ETag value to prevent accidentally overwriting concurrent + changes. + :type if_match: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Cluster or the result of cls(response) @@ -326,6 +351,7 @@ async def begin_update( resource_group_name=resource_group_name, cluster_name=cluster_name, parameters=parameters, + if_match=if_match, cls=lambda x,y,z: x, **kwargs ) @@ -371,7 +397,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -418,8 +444,8 @@ async def begin_delete( :type cluster_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -479,7 +505,7 @@ async def _stop_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -526,8 +552,8 @@ async def begin_stop( :type cluster_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -587,7 +613,7 @@ async def _start_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -634,8 +660,8 @@ async def begin_start( :type cluster_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -707,7 +733,7 @@ def list_follower_databases( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): @@ -771,7 +797,7 @@ async def _detach_follower_databases_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -826,8 +852,8 @@ async def begin_detach_follower_databases( :type follower_database_to_remove: ~azure.mgmt.kusto.models.FollowerDatabaseDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -888,7 +914,7 @@ async def _diagnose_virtual_network_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -941,8 +967,8 @@ async def begin_diagnose_virtual_network( :type cluster_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DiagnoseVirtualNetworkResult or the result of cls(response) @@ -1013,7 +1039,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): @@ -1080,7 +1106,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): @@ -1146,7 +1172,7 @@ def list_skus( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): @@ -1204,7 +1230,7 @@ async def check_name_availability( ) -> "_models.CheckNameResult": """Checks that the cluster name is valid and is not already in use. - :param location: Azure location. + :param location: Azure location (region) name. :type location: str :param cluster_name: The name of the cluster. :type cluster_name: ~azure.mgmt.kusto.models.ClusterCheckNameRequest @@ -1218,7 +1244,7 @@ async def check_name_availability( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1280,7 +1306,7 @@ def list_skus_by_resource( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): @@ -1354,7 +1380,7 @@ def list_language_extensions( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): @@ -1418,7 +1444,7 @@ async def _add_language_extensions_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1473,8 +1499,8 @@ async def begin_add_language_extensions( :type language_extensions_to_add: ~azure.mgmt.kusto.models.LanguageExtensionsList :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1536,7 +1562,7 @@ async def _remove_language_extensions_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1591,8 +1617,8 @@ async def begin_remove_language_extensions( :type language_extensions_to_remove: ~azure.mgmt.kusto.models.LanguageExtensionsList :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_data_connections_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_data_connections_operations.py index 1474292f2b57..d258abcdbc7d 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_data_connections_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_data_connections_operations.py @@ -68,7 +68,7 @@ def list_by_database( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): @@ -134,7 +134,7 @@ async def _data_connection_validation_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -198,8 +198,8 @@ async def begin_data_connection_validation( :type parameters: ~azure.mgmt.kusto.models.DataConnectionValidation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DataConnectionValidationListResult or the result of cls(response) @@ -282,7 +282,7 @@ async def check_name_availability( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -352,7 +352,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -404,7 +404,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -477,8 +477,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.kusto.models.DataConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DataConnection or the result of cls(response) @@ -549,7 +549,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -622,8 +622,8 @@ async def begin_update( :type parameters: ~azure.mgmt.kusto.models.DataConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DataConnection or the result of cls(response) @@ -693,7 +693,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -748,8 +748,8 @@ async def begin_delete( :type data_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_database_principal_assignments_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_database_principal_assignments_operations.py index 6a7c800fc164..4217d6cd2bc8 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_database_principal_assignments_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_database_principal_assignments_operations.py @@ -71,7 +71,7 @@ async def check_name_availability( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -141,7 +141,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -193,7 +193,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -263,8 +263,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.kusto.models.DatabasePrincipalAssignment :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DatabasePrincipalAssignment or the result of cls(response) @@ -334,7 +334,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -389,8 +389,8 @@ async def begin_delete( :type principal_assignment_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -468,7 +468,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_databases_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_databases_operations.py index f12c0ed87e36..7c5df75c32b4 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_databases_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_databases_operations.py @@ -68,7 +68,7 @@ async def check_name_availability( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -131,7 +131,7 @@ def list_by_cluster( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): @@ -208,7 +208,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -258,7 +258,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -327,8 +327,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.kusto.models.Database :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Database or the result of cls(response) @@ -396,7 +396,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -465,8 +465,8 @@ async def begin_update( :type parameters: ~azure.mgmt.kusto.models.Database :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Database or the result of cls(response) @@ -533,7 +533,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -584,8 +584,8 @@ async def begin_delete( :type database_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -661,7 +661,7 @@ def list_principals( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): @@ -742,7 +742,7 @@ async def add_principals( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -812,7 +812,7 @@ async def remove_principals( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_operations.py index dd22452828d5..1a9a99b188e9 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_operations.py @@ -57,7 +57,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_operations_results_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_operations_results_operations.py new file mode 100644 index 000000000000..c4492e6961e1 --- /dev/null +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_operations_results_operations.py @@ -0,0 +1,99 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class OperationsResultsOperations: + """OperationsResultsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.kusto.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + location: str, + operation_id: str, + **kwargs + ) -> "_models.OperationResult": + """Returns operation results. + + :param location: Azure location (region) name. + :type location: str + :param operation_id: The Guid of the operation ID. + :type operation_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: OperationResult, or the result of cls(response) + :rtype: ~azure.mgmt.kusto.models.OperationResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-01-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'location': self._serialize.url("location", location, 'str'), + 'operationId': self._serialize.url("operation_id", operation_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('OperationResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/locations/{location}/operationresults/{operationId}'} # type: ignore diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_scripts_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_scripts_operations.py new file mode 100644 index 000000000000..03da3f370c92 --- /dev/null +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_scripts_operations.py @@ -0,0 +1,667 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ScriptsOperations: + """ScriptsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.kusto.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_database( + self, + resource_group_name: str, + cluster_name: str, + database_name: str, + **kwargs + ) -> AsyncIterable["_models.ScriptListResult"]: + """Returns the list of database scripts for given database. + + :param resource_group_name: The name of the resource group containing the Kusto cluster. + :type resource_group_name: str + :param cluster_name: The name of the Kusto cluster. + :type cluster_name: str + :param database_name: The name of the database in the Kusto cluster. + :type database_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ScriptListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.kusto.models.ScriptListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ScriptListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-01-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_database.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'databaseName': self._serialize.url("database_name", database_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ScriptListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_database.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts'} # type: ignore + + async def get( + self, + resource_group_name: str, + cluster_name: str, + database_name: str, + script_name: str, + **kwargs + ) -> "_models.Script": + """Gets a Kusto cluster database script. + + :param resource_group_name: The name of the resource group containing the Kusto cluster. + :type resource_group_name: str + :param cluster_name: The name of the Kusto cluster. + :type cluster_name: str + :param database_name: The name of the database in the Kusto cluster. + :type database_name: str + :param script_name: The name of the Kusto database script. + :type script_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Script, or the result of cls(response) + :rtype: ~azure.mgmt.kusto.models.Script + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Script"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-01-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'databaseName': self._serialize.url("database_name", database_name, 'str'), + 'scriptName': self._serialize.url("script_name", script_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Script', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + cluster_name: str, + database_name: str, + script_name: str, + parameters: "_models.Script", + **kwargs + ) -> "_models.Script": + cls = kwargs.pop('cls', None) # type: ClsType["_models.Script"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-01-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'databaseName': self._serialize.url("database_name", database_name, 'str'), + 'scriptName': self._serialize.url("script_name", script_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'Script') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('Script', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('Script', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('Script', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + cluster_name: str, + database_name: str, + script_name: str, + parameters: "_models.Script", + **kwargs + ) -> AsyncLROPoller["_models.Script"]: + """Creates a Kusto database script. + + :param resource_group_name: The name of the resource group containing the Kusto cluster. + :type resource_group_name: str + :param cluster_name: The name of the Kusto cluster. + :type cluster_name: str + :param database_name: The name of the database in the Kusto cluster. + :type database_name: str + :param script_name: The name of the Kusto database script. + :type script_name: str + :param parameters: The Kusto Script parameters contains the KQL to run. + :type parameters: ~azure.mgmt.kusto.models.Script + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Script or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.kusto.models.Script] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Script"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + database_name=database_name, + script_name=script_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Script', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'databaseName': self._serialize.url("database_name", database_name, 'str'), + 'scriptName': self._serialize.url("script_name", script_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}'} # type: ignore + + async def _update_initial( + self, + resource_group_name: str, + cluster_name: str, + database_name: str, + script_name: str, + parameters: "_models.Script", + **kwargs + ) -> "_models.Script": + cls = kwargs.pop('cls', None) # type: ClsType["_models.Script"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-01-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'databaseName': self._serialize.url("database_name", database_name, 'str'), + 'scriptName': self._serialize.url("script_name", script_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'Script') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('Script', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('Script', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}'} # type: ignore + + async def begin_update( + self, + resource_group_name: str, + cluster_name: str, + database_name: str, + script_name: str, + parameters: "_models.Script", + **kwargs + ) -> AsyncLROPoller["_models.Script"]: + """Updates a database script. + + :param resource_group_name: The name of the resource group containing the Kusto cluster. + :type resource_group_name: str + :param cluster_name: The name of the Kusto cluster. + :type cluster_name: str + :param database_name: The name of the database in the Kusto cluster. + :type database_name: str + :param script_name: The name of the Kusto database script. + :type script_name: str + :param parameters: The Kusto Script parameters contains to the KQL to run. + :type parameters: ~azure.mgmt.kusto.models.Script + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Script or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.kusto.models.Script] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Script"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._update_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + database_name=database_name, + script_name=script_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Script', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'databaseName': self._serialize.url("database_name", database_name, 'str'), + 'scriptName': self._serialize.url("script_name", script_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + cluster_name: str, + database_name: str, + script_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-01-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'databaseName': self._serialize.url("database_name", database_name, 'str'), + 'scriptName': self._serialize.url("script_name", script_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + cluster_name: str, + database_name: str, + script_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes a Kusto principalAssignment. + + :param resource_group_name: The name of the resource group containing the Kusto cluster. + :type resource_group_name: str + :param cluster_name: The name of the Kusto cluster. + :type cluster_name: str + :param database_name: The name of the database in the Kusto cluster. + :type database_name: str + :param script_name: The name of the Kusto database script. + :type script_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + database_name=database_name, + script_name=script_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'databaseName': self._serialize.url("database_name", database_name, 'str'), + 'scriptName': self._serialize.url("script_name", script_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}'} # type: ignore + + async def check_name_availability( + self, + resource_group_name: str, + cluster_name: str, + database_name: str, + script_name: "_models.ScriptCheckNameRequest", + **kwargs + ) -> "_models.CheckNameResult": + """Checks that the script name is valid and is not already in use. + + :param resource_group_name: The name of the resource group containing the Kusto cluster. + :type resource_group_name: str + :param cluster_name: The name of the Kusto cluster. + :type cluster_name: str + :param database_name: The name of the database in the Kusto cluster. + :type database_name: str + :param script_name: The name of the script. + :type script_name: ~azure.mgmt.kusto.models.ScriptCheckNameRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :return: CheckNameResult, or the result of cls(response) + :rtype: ~azure.mgmt.kusto.models.CheckNameResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.CheckNameResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-01-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.check_name_availability.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'databaseName': self._serialize.url("database_name", database_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(script_name, 'ScriptCheckNameRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('CheckNameResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + check_name_availability.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scriptsCheckNameAvailability'} # type: ignore diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/__init__.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/__init__.py index 4bad7da941c0..0d487db49251 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/__init__.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/__init__.py @@ -52,14 +52,20 @@ from ._models_py3 import Operation from ._models_py3 import OperationDisplay from ._models_py3 import OperationListResult + from ._models_py3 import OperationResult from ._models_py3 import OptimizedAutoscale from ._models_py3 import ProxyResource from ._models_py3 import ReadOnlyFollowingDatabase from ._models_py3 import ReadWriteDatabase from ._models_py3 import Resource + from ._models_py3 import Script + from ._models_py3 import ScriptCheckNameRequest + from ._models_py3 import ScriptListResult from ._models_py3 import SkuDescription from ._models_py3 import SkuDescriptionList from ._models_py3 import SkuLocationInfoItem + from ._models_py3 import SystemData + from ._models_py3 import TableLevelSharingProperties from ._models_py3 import TrackedResource from ._models_py3 import TrustedExternalTenant from ._models_py3 import VirtualNetworkConfiguration @@ -109,14 +115,20 @@ from ._models import Operation # type: ignore from ._models import OperationDisplay # type: ignore from ._models import OperationListResult # type: ignore + from ._models import OperationResult # type: ignore from ._models import OptimizedAutoscale # type: ignore from ._models import ProxyResource # type: ignore from ._models import ReadOnlyFollowingDatabase # type: ignore from ._models import ReadWriteDatabase # type: ignore from ._models import Resource # type: ignore + from ._models import Script # type: ignore + from ._models import ScriptCheckNameRequest # type: ignore + from ._models import ScriptListResult # type: ignore from ._models import SkuDescription # type: ignore from ._models import SkuDescriptionList # type: ignore from ._models import SkuLocationInfoItem # type: ignore + from ._models import SystemData # type: ignore + from ._models import TableLevelSharingProperties # type: ignore from ._models import TrackedResource # type: ignore from ._models import TrustedExternalTenant # type: ignore from ._models import VirtualNetworkConfiguration # type: ignore @@ -128,6 +140,7 @@ BlobStorageEventType, ClusterPrincipalRole, Compression, + CreatedByType, DataConnectionKind, DatabasePrincipalRole, DatabasePrincipalType, @@ -144,6 +157,7 @@ ProvisioningState, Reason, State, + Status, Type, ) @@ -193,14 +207,20 @@ 'Operation', 'OperationDisplay', 'OperationListResult', + 'OperationResult', 'OptimizedAutoscale', 'ProxyResource', 'ReadOnlyFollowingDatabase', 'ReadWriteDatabase', 'Resource', + 'Script', + 'ScriptCheckNameRequest', + 'ScriptListResult', 'SkuDescription', 'SkuDescriptionList', 'SkuLocationInfoItem', + 'SystemData', + 'TableLevelSharingProperties', 'TrackedResource', 'TrustedExternalTenant', 'VirtualNetworkConfiguration', @@ -210,6 +230,7 @@ 'BlobStorageEventType', 'ClusterPrincipalRole', 'Compression', + 'CreatedByType', 'DataConnectionKind', 'DatabasePrincipalRole', 'DatabasePrincipalType', @@ -226,5 +247,6 @@ 'ProvisioningState', 'Reason', 'State', + 'Status', 'Type', ] diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/_kusto_management_client_enums.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/_kusto_management_client_enums.py index 103e2cc4b75a..38869eaa64fd 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/_kusto_management_client_enums.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/_kusto_management_client_enums.py @@ -46,11 +46,14 @@ class AzureSkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): STANDARD_D14_V2 = "Standard_D14_v2" STANDARD_L8_S = "Standard_L8s" STANDARD_L16_S = "Standard_L16s" + STANDARD_L8_S_V2 = "Standard_L8s_v2" + STANDARD_L16_S_V2 = "Standard_L16s_v2" STANDARD_D11_V2 = "Standard_D11_v2" STANDARD_D12_V2 = "Standard_D12_v2" STANDARD_L4_S = "Standard_L4s" DEV_NO_SLA_STANDARD_D11_V2 = "Dev(No SLA)_Standard_D11_v2" STANDARD_E64_I_V3 = "Standard_E64i_v3" + STANDARD_E80_IDS_V4 = "Standard_E80ids_v4" STANDARD_E2_A_V4 = "Standard_E2a_v4" STANDARD_E4_A_V4 = "Standard_E4a_v4" STANDARD_E8_A_V4 = "Standard_E8a_v4" @@ -89,6 +92,15 @@ class Compression(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): NONE = "None" G_ZIP = "GZip" +class CreatedByType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of identity that created the resource. + """ + + USER = "User" + APPLICATION = "Application" + MANAGED_IDENTITY = "ManagedIdentity" + KEY = "Key" + class DatabasePrincipalRole(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Database principal role. """ @@ -97,7 +109,7 @@ class DatabasePrincipalRole(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)) INGESTOR = "Ingestor" MONITOR = "Monitor" USER = "User" - UNRESTRICTED_VIEWERS = "UnrestrictedViewers" + UNRESTRICTED_VIEWER = "UnrestrictedViewer" VIEWER = "Viewer" class DatabasePrincipalType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): @@ -267,6 +279,15 @@ class State(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): STARTING = "Starting" UPDATING = "Updating" +class Status(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The status of operation. + """ + + SUCCEEDED = "Succeeded" + CANCELED = "Canceled" + FAILED = "Failed" + RUNNING = "Running" + class Type(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The type of resource, for instance Microsoft.Kusto/clusters/databases. """ diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/_models.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/_models.py index e1bf5be51aed..2dba0563fd32 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/_models.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/_models.py @@ -46,7 +46,41 @@ def __init__( self.type = None -class AttachedDatabaseConfiguration(Resource): +class ProxyResource(Resource): + """The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ProxyResource, self).__init__(**kwargs) + + +class AttachedDatabaseConfiguration(ProxyResource): """Class representing an attached database configuration. Variables are only populated by the server, and will be ignored when sending a request. @@ -77,6 +111,8 @@ class AttachedDatabaseConfiguration(Resource): values include: "Union", "Replace", "None". :type default_principals_modification_kind: str or ~azure.mgmt.kusto.models.DefaultPrincipalsModificationKind + :param table_level_sharing_properties: Table level sharing specifications. + :type table_level_sharing_properties: ~azure.mgmt.kusto.models.TableLevelSharingProperties """ _validation = { @@ -97,6 +133,7 @@ class AttachedDatabaseConfiguration(Resource): 'cluster_resource_id': {'key': 'properties.clusterResourceId', 'type': 'str'}, 'attached_database_names': {'key': 'properties.attachedDatabaseNames', 'type': '[str]'}, 'default_principals_modification_kind': {'key': 'properties.defaultPrincipalsModificationKind', 'type': 'str'}, + 'table_level_sharing_properties': {'key': 'properties.tableLevelSharingProperties', 'type': 'TableLevelSharingProperties'}, } def __init__( @@ -110,6 +147,7 @@ def __init__( self.cluster_resource_id = kwargs.get('cluster_resource_id', None) self.attached_database_names = None self.default_principals_modification_kind = kwargs.get('default_principals_modification_kind', None) + self.table_level_sharing_properties = kwargs.get('table_level_sharing_properties', None) class AttachedDatabaseConfigurationListResult(msrest.serialization.Model): @@ -206,11 +244,12 @@ class AzureSku(msrest.serialization.Model): :param name: Required. SKU name. Possible values include: "Standard_DS13_v2+1TB_PS", "Standard_DS13_v2+2TB_PS", "Standard_DS14_v2+3TB_PS", "Standard_DS14_v2+4TB_PS", - "Standard_D13_v2", "Standard_D14_v2", "Standard_L8s", "Standard_L16s", "Standard_D11_v2", - "Standard_D12_v2", "Standard_L4s", "Dev(No SLA)_Standard_D11_v2", "Standard_E64i_v3", - "Standard_E2a_v4", "Standard_E4a_v4", "Standard_E8a_v4", "Standard_E16a_v4", - "Standard_E8as_v4+1TB_PS", "Standard_E8as_v4+2TB_PS", "Standard_E16as_v4+3TB_PS", - "Standard_E16as_v4+4TB_PS", "Dev(No SLA)_Standard_E2a_v4". + "Standard_D13_v2", "Standard_D14_v2", "Standard_L8s", "Standard_L16s", "Standard_L8s_v2", + "Standard_L16s_v2", "Standard_D11_v2", "Standard_D12_v2", "Standard_L4s", "Dev(No + SLA)_Standard_D11_v2", "Standard_E64i_v3", "Standard_E80ids_v4", "Standard_E2a_v4", + "Standard_E4a_v4", "Standard_E8a_v4", "Standard_E16a_v4", "Standard_E8as_v4+1TB_PS", + "Standard_E8as_v4+2TB_PS", "Standard_E16as_v4+3TB_PS", "Standard_E16as_v4+4TB_PS", "Dev(No + SLA)_Standard_E2a_v4". :type name: str or ~azure.mgmt.kusto.models.AzureSkuName :param capacity: The number of instances of the cluster. :type capacity: int @@ -408,6 +447,8 @@ class Cluster(TrackedResource): :type zones: list[str] :param identity: The identity of the cluster, if configured. :type identity: ~azure.mgmt.kusto.models.Identity + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str :ivar state: The state of the resource. Possible values include: "Creating", "Unavailable", "Running", "Deleting", "Deleted", "Stopping", "Stopped", "Starting", "Updating". :vartype state: str or ~azure.mgmt.kusto.models.State @@ -441,7 +482,7 @@ class Cluster(TrackedResource): :param enable_double_encryption: A boolean value that indicates if double encryption is enabled. :type enable_double_encryption: bool - :param engine_type: The engine type. Possible values include: "V2", "V3". + :param engine_type: The engine type. Possible values include: "V2", "V3". Default value: "V3". :type engine_type: str or ~azure.mgmt.kusto.models.EngineType """ @@ -451,6 +492,7 @@ class Cluster(TrackedResource): 'type': {'readonly': True}, 'location': {'required': True}, 'sku': {'required': True}, + 'etag': {'readonly': True}, 'state': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'uri': {'readonly': True}, @@ -468,6 +510,7 @@ class Cluster(TrackedResource): 'sku': {'key': 'sku', 'type': 'AzureSku'}, 'zones': {'key': 'zones', 'type': '[str]'}, 'identity': {'key': 'identity', 'type': 'Identity'}, + 'etag': {'key': 'etag', 'type': 'str'}, 'state': {'key': 'properties.state', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'uri': {'key': 'properties.uri', 'type': 'str'}, @@ -493,6 +536,7 @@ def __init__( self.sku = kwargs['sku'] self.zones = kwargs.get('zones', None) self.identity = kwargs.get('identity', None) + self.etag = None self.state = None self.provisioning_state = None self.uri = None @@ -500,14 +544,14 @@ def __init__( self.state_reason = None self.trusted_external_tenants = kwargs.get('trusted_external_tenants', None) self.optimized_autoscale = kwargs.get('optimized_autoscale', None) - self.enable_disk_encryption = kwargs.get('enable_disk_encryption', None) + self.enable_disk_encryption = kwargs.get('enable_disk_encryption', False) self.enable_streaming_ingest = kwargs.get('enable_streaming_ingest', False) self.virtual_network_configuration = kwargs.get('virtual_network_configuration', None) self.key_vault_properties = kwargs.get('key_vault_properties', None) self.enable_purge = kwargs.get('enable_purge', False) self.language_extensions = None self.enable_double_encryption = kwargs.get('enable_double_encryption', False) - self.engine_type = kwargs.get('engine_type', None) + self.engine_type = kwargs.get('engine_type', "V3") class ClusterCheckNameRequest(msrest.serialization.Model): @@ -563,7 +607,7 @@ def __init__( self.value = kwargs.get('value', None) -class ClusterPrincipalAssignment(Resource): +class ClusterPrincipalAssignment(ProxyResource): """Class representing a cluster principal assignment. Variables are only populated by the server, and will be ignored when sending a request. @@ -738,7 +782,7 @@ class ClusterUpdate(Resource): :param enable_double_encryption: A boolean value that indicates if double encryption is enabled. :type enable_double_encryption: bool - :param engine_type: The engine type. Possible values include: "V2", "V3". + :param engine_type: The engine type. Possible values include: "V2", "V3". Default value: "V3". :type engine_type: str or ~azure.mgmt.kusto.models.EngineType """ @@ -795,14 +839,14 @@ def __init__( self.state_reason = None self.trusted_external_tenants = kwargs.get('trusted_external_tenants', None) self.optimized_autoscale = kwargs.get('optimized_autoscale', None) - self.enable_disk_encryption = kwargs.get('enable_disk_encryption', None) + self.enable_disk_encryption = kwargs.get('enable_disk_encryption', False) self.enable_streaming_ingest = kwargs.get('enable_streaming_ingest', False) self.virtual_network_configuration = kwargs.get('virtual_network_configuration', None) self.key_vault_properties = kwargs.get('key_vault_properties', None) self.enable_purge = kwargs.get('enable_purge', False) self.language_extensions = None self.enable_double_encryption = kwargs.get('enable_double_encryption', False) - self.engine_type = kwargs.get('engine_type', None) + self.engine_type = kwargs.get('engine_type', "V3") class ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties(msrest.serialization.Model): @@ -835,7 +879,7 @@ def __init__( self.client_id = None -class Database(Resource): +class Database(ProxyResource): """Class representing a Kusto database. You probably want to use the sub-classes and not this class directly. Known @@ -915,7 +959,7 @@ class DatabasePrincipal(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param role: Required. Database principal role. Possible values include: "Admin", "Ingestor", - "Monitor", "User", "UnrestrictedViewers", "Viewer". + "Monitor", "User", "UnrestrictedViewer", "Viewer". :type role: str or ~azure.mgmt.kusto.models.DatabasePrincipalRole :param name: Required. Database principal name. :type name: str @@ -963,7 +1007,7 @@ def __init__( self.tenant_name = None -class DatabasePrincipalAssignment(Resource): +class DatabasePrincipalAssignment(ProxyResource): """Class representing a database principal assignment. Variables are only populated by the server, and will be ignored when sending a request. @@ -980,7 +1024,7 @@ class DatabasePrincipalAssignment(Resource): email, application ID, or security group name. :type principal_id: str :param role: Database principal role. Possible values include: "Admin", "Ingestor", "Monitor", - "User", "UnrestrictedViewers", "Viewer". + "User", "UnrestrictedViewer", "Viewer". :type role: str or ~azure.mgmt.kusto.models.DatabasePrincipalRole :param tenant_id: The tenant id of the principal. :type tenant_id: str @@ -1142,7 +1186,7 @@ def __init__( self.size = kwargs.get('size', None) -class DataConnection(Resource): +class DataConnection(ProxyResource): """Class representing an data connection. You probably want to use the sub-classes and not this class directly. Known @@ -1459,11 +1503,14 @@ class EventHubDataConnection(DataConnection): :param event_system_properties: System properties of the event hub. :type event_system_properties: list[str] :param compression: The event hub messages compression type. Possible values include: "None", - "GZip". + "GZip". Default value: "None". :type compression: str or ~azure.mgmt.kusto.models.Compression :ivar provisioning_state: The provisioned state of the resource. Possible values include: "Running", "Creating", "Deleting", "Succeeded", "Failed", "Moving". :vartype provisioning_state: str or ~azure.mgmt.kusto.models.ProvisioningState + :param managed_identity_resource_id: The resource ID of a managed identity (system or user + assigned) to be used to authenticate with event hub. + :type managed_identity_resource_id: str """ _validation = { @@ -1488,6 +1535,7 @@ class EventHubDataConnection(DataConnection): 'event_system_properties': {'key': 'properties.eventSystemProperties', 'type': '[str]'}, 'compression': {'key': 'properties.compression', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'managed_identity_resource_id': {'key': 'properties.managedIdentityResourceId', 'type': 'str'}, } def __init__( @@ -1502,8 +1550,9 @@ def __init__( self.mapping_rule_name = kwargs.get('mapping_rule_name', None) self.data_format = kwargs.get('data_format', None) self.event_system_properties = kwargs.get('event_system_properties', None) - self.compression = kwargs.get('compression', None) + self.compression = kwargs.get('compression', "None") self.provisioning_state = None + self.managed_identity_resource_id = kwargs.get('managed_identity_resource_id', None) class FollowerDatabaseDefinition(msrest.serialization.Model): @@ -1878,6 +1927,71 @@ def __init__( self.next_link = kwargs.get('next_link', None) +class OperationResult(msrest.serialization.Model): + """Operation Result Entity. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: ID of the resource. + :vartype id: str + :ivar name: Name of the resource. + :vartype name: str + :ivar status: status of the Operation result. Possible values include: "Succeeded", "Canceled", + "Failed", "Running". + :vartype status: str or ~azure.mgmt.kusto.models.Status + :param start_time: The operation start time. + :type start_time: ~datetime.datetime + :param end_time: The operation end time. + :type end_time: ~datetime.datetime + :param percent_complete: Percentage completed. + :type percent_complete: float + :param code: The code of the error. + :type code: str + :param message: The error message. + :type message: str + :param operation_kind: The kind of the operation. + :type operation_kind: str + :param operation_state: The state of the operation. + :type operation_state: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'status': {'readonly': True}, + 'percent_complete': {'maximum': 100, 'minimum': 0}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'percent_complete': {'key': 'percentComplete', 'type': 'float'}, + 'code': {'key': 'error.code', 'type': 'str'}, + 'message': {'key': 'error.message', 'type': 'str'}, + 'operation_kind': {'key': 'properties.operationKind', 'type': 'str'}, + 'operation_state': {'key': 'properties.operationState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OperationResult, self).__init__(**kwargs) + self.id = None + self.name = None + self.status = None + self.start_time = kwargs.get('start_time', None) + self.end_time = kwargs.get('end_time', None) + self.percent_complete = kwargs.get('percent_complete', None) + self.code = kwargs.get('code', None) + self.message = kwargs.get('message', None) + self.operation_kind = kwargs.get('operation_kind', None) + self.operation_state = kwargs.get('operation_state', None) + + class OptimizedAutoscale(msrest.serialization.Model): """A class that contains the optimized auto scale definition. @@ -1919,40 +2033,6 @@ def __init__( self.maximum = kwargs['maximum'] -class ProxyResource(Resource): - """The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ProxyResource, self).__init__(**kwargs) - - class ReadOnlyFollowingDatabase(Database): """Class representing a read only following database. @@ -2109,6 +2189,120 @@ def __init__( self.is_followed = None +class Script(ProxyResource): + """Class representing a database script. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Metadata pertaining to creation and last modification of the resource. + :vartype system_data: ~azure.mgmt.kusto.models.SystemData + :param script_url: The url to the KQL script blob file. + :type script_url: str + :param script_url_sas_token: The SaS token. + :type script_url_sas_token: str + :param force_update_tag: A unique string. If changed the script will be applied again. + :type force_update_tag: str + :param continue_on_errors: Flag that indicates whether to continue if one of the command fails. + :type continue_on_errors: bool + :ivar provisioning_state: The provisioned state of the resource. Possible values include: + "Running", "Creating", "Deleting", "Succeeded", "Failed", "Moving". + :vartype provisioning_state: str or ~azure.mgmt.kusto.models.ProvisioningState + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'script_url': {'key': 'properties.scriptUrl', 'type': 'str'}, + 'script_url_sas_token': {'key': 'properties.scriptUrlSasToken', 'type': 'str'}, + 'force_update_tag': {'key': 'properties.forceUpdateTag', 'type': 'str'}, + 'continue_on_errors': {'key': 'properties.continueOnErrors', 'type': 'bool'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Script, self).__init__(**kwargs) + self.system_data = None + self.script_url = kwargs.get('script_url', None) + self.script_url_sas_token = kwargs.get('script_url_sas_token', None) + self.force_update_tag = kwargs.get('force_update_tag', None) + self.continue_on_errors = kwargs.get('continue_on_errors', False) + self.provisioning_state = None + + +class ScriptCheckNameRequest(msrest.serialization.Model): + """A script name availability request. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. Script name. + :type name: str + :ivar type: Required. The type of resource, Microsoft.Kusto/clusters/databases/scripts. Default + value: "Microsoft.Kusto/clusters/databases/scripts". + :vartype type: str + """ + + _validation = { + 'name': {'required': True}, + 'type': {'required': True, 'constant': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + type = "Microsoft.Kusto/clusters/databases/scripts" + + def __init__( + self, + **kwargs + ): + super(ScriptCheckNameRequest, self).__init__(**kwargs) + self.name = kwargs['name'] + + +class ScriptListResult(msrest.serialization.Model): + """The list Kusto database script operation response. + + :param value: The list of Kusto scripts. + :type value: list[~azure.mgmt.kusto.models.Script] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Script]'}, + } + + def __init__( + self, + **kwargs + ): + super(ScriptListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + + class SkuDescription(msrest.serialization.Model): """The Kusto SKU description of given resource type. @@ -2213,6 +2407,88 @@ def __init__( self.zones = kwargs.get('zones', None) +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :param created_by: The identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :type created_by_type: str or ~azure.mgmt.kusto.models.CreatedByType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: ~datetime.datetime + :param last_modified_by: The identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :type last_modified_by_type: str or ~azure.mgmt.kusto.models.CreatedByType + :param last_modified_at: The timestamp of resource last modification (UTC). + :type last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(SystemData, self).__init__(**kwargs) + self.created_by = kwargs.get('created_by', None) + self.created_by_type = kwargs.get('created_by_type', None) + self.created_at = kwargs.get('created_at', None) + self.last_modified_by = kwargs.get('last_modified_by', None) + self.last_modified_by_type = kwargs.get('last_modified_by_type', None) + self.last_modified_at = kwargs.get('last_modified_at', None) + + +class TableLevelSharingProperties(msrest.serialization.Model): + """Tables that will be included and excluded in the follower database. + + :param tables_to_include: List of tables to include in the follower database. + :type tables_to_include: list[str] + :param tables_to_exclude: List of tables to exclude from the follower database. + :type tables_to_exclude: list[str] + :param external_tables_to_include: List of external tables to include in the follower database. + :type external_tables_to_include: list[str] + :param external_tables_to_exclude: List of external tables exclude from the follower database. + :type external_tables_to_exclude: list[str] + :param materialized_views_to_include: List of materialized views to include in the follower + database. + :type materialized_views_to_include: list[str] + :param materialized_views_to_exclude: List of materialized views exclude from the follower + database. + :type materialized_views_to_exclude: list[str] + """ + + _attribute_map = { + 'tables_to_include': {'key': 'tablesToInclude', 'type': '[str]'}, + 'tables_to_exclude': {'key': 'tablesToExclude', 'type': '[str]'}, + 'external_tables_to_include': {'key': 'externalTablesToInclude', 'type': '[str]'}, + 'external_tables_to_exclude': {'key': 'externalTablesToExclude', 'type': '[str]'}, + 'materialized_views_to_include': {'key': 'materializedViewsToInclude', 'type': '[str]'}, + 'materialized_views_to_exclude': {'key': 'materializedViewsToExclude', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(TableLevelSharingProperties, self).__init__(**kwargs) + self.tables_to_include = kwargs.get('tables_to_include', None) + self.tables_to_exclude = kwargs.get('tables_to_exclude', None) + self.external_tables_to_include = kwargs.get('external_tables_to_include', None) + self.external_tables_to_exclude = kwargs.get('external_tables_to_exclude', None) + self.materialized_views_to_include = kwargs.get('materialized_views_to_include', None) + self.materialized_views_to_exclude = kwargs.get('materialized_views_to_exclude', None) + + class TrustedExternalTenant(msrest.serialization.Model): """Represents a tenant ID that is trusted by the cluster. diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/_models_py3.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/_models_py3.py index 80c5f085c894..e519944f8764 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/_models_py3.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/_models_py3.py @@ -51,7 +51,41 @@ def __init__( self.type = None -class AttachedDatabaseConfiguration(Resource): +class ProxyResource(Resource): + """The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ProxyResource, self).__init__(**kwargs) + + +class AttachedDatabaseConfiguration(ProxyResource): """Class representing an attached database configuration. Variables are only populated by the server, and will be ignored when sending a request. @@ -82,6 +116,8 @@ class AttachedDatabaseConfiguration(Resource): values include: "Union", "Replace", "None". :type default_principals_modification_kind: str or ~azure.mgmt.kusto.models.DefaultPrincipalsModificationKind + :param table_level_sharing_properties: Table level sharing specifications. + :type table_level_sharing_properties: ~azure.mgmt.kusto.models.TableLevelSharingProperties """ _validation = { @@ -102,6 +138,7 @@ class AttachedDatabaseConfiguration(Resource): 'cluster_resource_id': {'key': 'properties.clusterResourceId', 'type': 'str'}, 'attached_database_names': {'key': 'properties.attachedDatabaseNames', 'type': '[str]'}, 'default_principals_modification_kind': {'key': 'properties.defaultPrincipalsModificationKind', 'type': 'str'}, + 'table_level_sharing_properties': {'key': 'properties.tableLevelSharingProperties', 'type': 'TableLevelSharingProperties'}, } def __init__( @@ -111,6 +148,7 @@ def __init__( database_name: Optional[str] = None, cluster_resource_id: Optional[str] = None, default_principals_modification_kind: Optional[Union[str, "DefaultPrincipalsModificationKind"]] = None, + table_level_sharing_properties: Optional["TableLevelSharingProperties"] = None, **kwargs ): super(AttachedDatabaseConfiguration, self).__init__(**kwargs) @@ -120,6 +158,7 @@ def __init__( self.cluster_resource_id = cluster_resource_id self.attached_database_names = None self.default_principals_modification_kind = default_principals_modification_kind + self.table_level_sharing_properties = table_level_sharing_properties class AttachedDatabaseConfigurationListResult(msrest.serialization.Model): @@ -227,11 +266,12 @@ class AzureSku(msrest.serialization.Model): :param name: Required. SKU name. Possible values include: "Standard_DS13_v2+1TB_PS", "Standard_DS13_v2+2TB_PS", "Standard_DS14_v2+3TB_PS", "Standard_DS14_v2+4TB_PS", - "Standard_D13_v2", "Standard_D14_v2", "Standard_L8s", "Standard_L16s", "Standard_D11_v2", - "Standard_D12_v2", "Standard_L4s", "Dev(No SLA)_Standard_D11_v2", "Standard_E64i_v3", - "Standard_E2a_v4", "Standard_E4a_v4", "Standard_E8a_v4", "Standard_E16a_v4", - "Standard_E8as_v4+1TB_PS", "Standard_E8as_v4+2TB_PS", "Standard_E16as_v4+3TB_PS", - "Standard_E16as_v4+4TB_PS", "Dev(No SLA)_Standard_E2a_v4". + "Standard_D13_v2", "Standard_D14_v2", "Standard_L8s", "Standard_L16s", "Standard_L8s_v2", + "Standard_L16s_v2", "Standard_D11_v2", "Standard_D12_v2", "Standard_L4s", "Dev(No + SLA)_Standard_D11_v2", "Standard_E64i_v3", "Standard_E80ids_v4", "Standard_E2a_v4", + "Standard_E4a_v4", "Standard_E8a_v4", "Standard_E16a_v4", "Standard_E8as_v4+1TB_PS", + "Standard_E8as_v4+2TB_PS", "Standard_E16as_v4+3TB_PS", "Standard_E16as_v4+4TB_PS", "Dev(No + SLA)_Standard_E2a_v4". :type name: str or ~azure.mgmt.kusto.models.AzureSkuName :param capacity: The number of instances of the cluster. :type capacity: int @@ -449,6 +489,8 @@ class Cluster(TrackedResource): :type zones: list[str] :param identity: The identity of the cluster, if configured. :type identity: ~azure.mgmt.kusto.models.Identity + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str :ivar state: The state of the resource. Possible values include: "Creating", "Unavailable", "Running", "Deleting", "Deleted", "Stopping", "Stopped", "Starting", "Updating". :vartype state: str or ~azure.mgmt.kusto.models.State @@ -482,7 +524,7 @@ class Cluster(TrackedResource): :param enable_double_encryption: A boolean value that indicates if double encryption is enabled. :type enable_double_encryption: bool - :param engine_type: The engine type. Possible values include: "V2", "V3". + :param engine_type: The engine type. Possible values include: "V2", "V3". Default value: "V3". :type engine_type: str or ~azure.mgmt.kusto.models.EngineType """ @@ -492,6 +534,7 @@ class Cluster(TrackedResource): 'type': {'readonly': True}, 'location': {'required': True}, 'sku': {'required': True}, + 'etag': {'readonly': True}, 'state': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'uri': {'readonly': True}, @@ -509,6 +552,7 @@ class Cluster(TrackedResource): 'sku': {'key': 'sku', 'type': 'AzureSku'}, 'zones': {'key': 'zones', 'type': '[str]'}, 'identity': {'key': 'identity', 'type': 'Identity'}, + 'etag': {'key': 'etag', 'type': 'str'}, 'state': {'key': 'properties.state', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'uri': {'key': 'properties.uri', 'type': 'str'}, @@ -536,19 +580,20 @@ def __init__( identity: Optional["Identity"] = None, trusted_external_tenants: Optional[List["TrustedExternalTenant"]] = None, optimized_autoscale: Optional["OptimizedAutoscale"] = None, - enable_disk_encryption: Optional[bool] = None, + enable_disk_encryption: Optional[bool] = False, enable_streaming_ingest: Optional[bool] = False, virtual_network_configuration: Optional["VirtualNetworkConfiguration"] = None, key_vault_properties: Optional["KeyVaultProperties"] = None, enable_purge: Optional[bool] = False, enable_double_encryption: Optional[bool] = False, - engine_type: Optional[Union[str, "EngineType"]] = None, + engine_type: Optional[Union[str, "EngineType"]] = "V3", **kwargs ): super(Cluster, self).__init__(tags=tags, location=location, **kwargs) self.sku = sku self.zones = zones self.identity = identity + self.etag = None self.state = None self.provisioning_state = None self.uri = None @@ -623,7 +668,7 @@ def __init__( self.value = value -class ClusterPrincipalAssignment(Resource): +class ClusterPrincipalAssignment(ProxyResource): """Class representing a cluster principal assignment. Variables are only populated by the server, and will be ignored when sending a request. @@ -807,7 +852,7 @@ class ClusterUpdate(Resource): :param enable_double_encryption: A boolean value that indicates if double encryption is enabled. :type enable_double_encryption: bool - :param engine_type: The engine type. Possible values include: "V2", "V3". + :param engine_type: The engine type. Possible values include: "V2", "V3". Default value: "V3". :type engine_type: str or ~azure.mgmt.kusto.models.EngineType """ @@ -857,13 +902,13 @@ def __init__( identity: Optional["Identity"] = None, trusted_external_tenants: Optional[List["TrustedExternalTenant"]] = None, optimized_autoscale: Optional["OptimizedAutoscale"] = None, - enable_disk_encryption: Optional[bool] = None, + enable_disk_encryption: Optional[bool] = False, enable_streaming_ingest: Optional[bool] = False, virtual_network_configuration: Optional["VirtualNetworkConfiguration"] = None, key_vault_properties: Optional["KeyVaultProperties"] = None, enable_purge: Optional[bool] = False, enable_double_encryption: Optional[bool] = False, - engine_type: Optional[Union[str, "EngineType"]] = None, + engine_type: Optional[Union[str, "EngineType"]] = "V3", **kwargs ): super(ClusterUpdate, self).__init__(**kwargs) @@ -918,7 +963,7 @@ def __init__( self.client_id = None -class Database(Resource): +class Database(ProxyResource): """Class representing a Kusto database. You probably want to use the sub-classes and not this class directly. Known @@ -1002,7 +1047,7 @@ class DatabasePrincipal(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param role: Required. Database principal role. Possible values include: "Admin", "Ingestor", - "Monitor", "User", "UnrestrictedViewers", "Viewer". + "Monitor", "User", "UnrestrictedViewer", "Viewer". :type role: str or ~azure.mgmt.kusto.models.DatabasePrincipalRole :param name: Required. Database principal name. :type name: str @@ -1057,7 +1102,7 @@ def __init__( self.tenant_name = None -class DatabasePrincipalAssignment(Resource): +class DatabasePrincipalAssignment(ProxyResource): """Class representing a database principal assignment. Variables are only populated by the server, and will be ignored when sending a request. @@ -1074,7 +1119,7 @@ class DatabasePrincipalAssignment(Resource): email, application ID, or security group name. :type principal_id: str :param role: Database principal role. Possible values include: "Admin", "Ingestor", "Monitor", - "User", "UnrestrictedViewers", "Viewer". + "User", "UnrestrictedViewer", "Viewer". :type role: str or ~azure.mgmt.kusto.models.DatabasePrincipalRole :param tenant_id: The tenant id of the principal. :type tenant_id: str @@ -1251,7 +1296,7 @@ def __init__( self.size = size -class DataConnection(Resource): +class DataConnection(ProxyResource): """Class representing an data connection. You probably want to use the sub-classes and not this class directly. Known @@ -1593,11 +1638,14 @@ class EventHubDataConnection(DataConnection): :param event_system_properties: System properties of the event hub. :type event_system_properties: list[str] :param compression: The event hub messages compression type. Possible values include: "None", - "GZip". + "GZip". Default value: "None". :type compression: str or ~azure.mgmt.kusto.models.Compression :ivar provisioning_state: The provisioned state of the resource. Possible values include: "Running", "Creating", "Deleting", "Succeeded", "Failed", "Moving". :vartype provisioning_state: str or ~azure.mgmt.kusto.models.ProvisioningState + :param managed_identity_resource_id: The resource ID of a managed identity (system or user + assigned) to be used to authenticate with event hub. + :type managed_identity_resource_id: str """ _validation = { @@ -1622,6 +1670,7 @@ class EventHubDataConnection(DataConnection): 'event_system_properties': {'key': 'properties.eventSystemProperties', 'type': '[str]'}, 'compression': {'key': 'properties.compression', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'managed_identity_resource_id': {'key': 'properties.managedIdentityResourceId', 'type': 'str'}, } def __init__( @@ -1634,7 +1683,8 @@ def __init__( mapping_rule_name: Optional[str] = None, data_format: Optional[Union[str, "EventHubDataFormat"]] = None, event_system_properties: Optional[List[str]] = None, - compression: Optional[Union[str, "Compression"]] = None, + compression: Optional[Union[str, "Compression"]] = "None", + managed_identity_resource_id: Optional[str] = None, **kwargs ): super(EventHubDataConnection, self).__init__(location=location, **kwargs) @@ -1647,6 +1697,7 @@ def __init__( self.event_system_properties = event_system_properties self.compression = compression self.provisioning_state = None + self.managed_identity_resource_id = managed_identity_resource_id class FollowerDatabaseDefinition(msrest.serialization.Model): @@ -2062,6 +2113,79 @@ def __init__( self.next_link = next_link +class OperationResult(msrest.serialization.Model): + """Operation Result Entity. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: ID of the resource. + :vartype id: str + :ivar name: Name of the resource. + :vartype name: str + :ivar status: status of the Operation result. Possible values include: "Succeeded", "Canceled", + "Failed", "Running". + :vartype status: str or ~azure.mgmt.kusto.models.Status + :param start_time: The operation start time. + :type start_time: ~datetime.datetime + :param end_time: The operation end time. + :type end_time: ~datetime.datetime + :param percent_complete: Percentage completed. + :type percent_complete: float + :param code: The code of the error. + :type code: str + :param message: The error message. + :type message: str + :param operation_kind: The kind of the operation. + :type operation_kind: str + :param operation_state: The state of the operation. + :type operation_state: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'status': {'readonly': True}, + 'percent_complete': {'maximum': 100, 'minimum': 0}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'percent_complete': {'key': 'percentComplete', 'type': 'float'}, + 'code': {'key': 'error.code', 'type': 'str'}, + 'message': {'key': 'error.message', 'type': 'str'}, + 'operation_kind': {'key': 'properties.operationKind', 'type': 'str'}, + 'operation_state': {'key': 'properties.operationState', 'type': 'str'}, + } + + def __init__( + self, + *, + start_time: Optional[datetime.datetime] = None, + end_time: Optional[datetime.datetime] = None, + percent_complete: Optional[float] = None, + code: Optional[str] = None, + message: Optional[str] = None, + operation_kind: Optional[str] = None, + operation_state: Optional[str] = None, + **kwargs + ): + super(OperationResult, self).__init__(**kwargs) + self.id = None + self.name = None + self.status = None + self.start_time = start_time + self.end_time = end_time + self.percent_complete = percent_complete + self.code = code + self.message = message + self.operation_kind = operation_kind + self.operation_state = operation_state + + class OptimizedAutoscale(msrest.serialization.Model): """A class that contains the optimized auto scale definition. @@ -2108,40 +2232,6 @@ def __init__( self.maximum = maximum -class ProxyResource(Resource): - """The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ProxyResource, self).__init__(**kwargs) - - class ReadOnlyFollowingDatabase(Database): """Class representing a read only following database. @@ -2305,6 +2395,129 @@ def __init__( self.is_followed = None +class Script(ProxyResource): + """Class representing a database script. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Metadata pertaining to creation and last modification of the resource. + :vartype system_data: ~azure.mgmt.kusto.models.SystemData + :param script_url: The url to the KQL script blob file. + :type script_url: str + :param script_url_sas_token: The SaS token. + :type script_url_sas_token: str + :param force_update_tag: A unique string. If changed the script will be applied again. + :type force_update_tag: str + :param continue_on_errors: Flag that indicates whether to continue if one of the command fails. + :type continue_on_errors: bool + :ivar provisioning_state: The provisioned state of the resource. Possible values include: + "Running", "Creating", "Deleting", "Succeeded", "Failed", "Moving". + :vartype provisioning_state: str or ~azure.mgmt.kusto.models.ProvisioningState + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'script_url': {'key': 'properties.scriptUrl', 'type': 'str'}, + 'script_url_sas_token': {'key': 'properties.scriptUrlSasToken', 'type': 'str'}, + 'force_update_tag': {'key': 'properties.forceUpdateTag', 'type': 'str'}, + 'continue_on_errors': {'key': 'properties.continueOnErrors', 'type': 'bool'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + script_url: Optional[str] = None, + script_url_sas_token: Optional[str] = None, + force_update_tag: Optional[str] = None, + continue_on_errors: Optional[bool] = False, + **kwargs + ): + super(Script, self).__init__(**kwargs) + self.system_data = None + self.script_url = script_url + self.script_url_sas_token = script_url_sas_token + self.force_update_tag = force_update_tag + self.continue_on_errors = continue_on_errors + self.provisioning_state = None + + +class ScriptCheckNameRequest(msrest.serialization.Model): + """A script name availability request. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. Script name. + :type name: str + :ivar type: Required. The type of resource, Microsoft.Kusto/clusters/databases/scripts. Default + value: "Microsoft.Kusto/clusters/databases/scripts". + :vartype type: str + """ + + _validation = { + 'name': {'required': True}, + 'type': {'required': True, 'constant': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + type = "Microsoft.Kusto/clusters/databases/scripts" + + def __init__( + self, + *, + name: str, + **kwargs + ): + super(ScriptCheckNameRequest, self).__init__(**kwargs) + self.name = name + + +class ScriptListResult(msrest.serialization.Model): + """The list Kusto database script operation response. + + :param value: The list of Kusto scripts. + :type value: list[~azure.mgmt.kusto.models.Script] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Script]'}, + } + + def __init__( + self, + *, + value: Optional[List["Script"]] = None, + **kwargs + ): + super(ScriptListResult, self).__init__(**kwargs) + self.value = value + + class SkuDescription(msrest.serialization.Model): """The Kusto SKU description of given resource type. @@ -2412,6 +2625,102 @@ def __init__( self.zones = zones +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :param created_by: The identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :type created_by_type: str or ~azure.mgmt.kusto.models.CreatedByType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: ~datetime.datetime + :param last_modified_by: The identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :type last_modified_by_type: str or ~azure.mgmt.kusto.models.CreatedByType + :param last_modified_at: The timestamp of resource last modification (UTC). + :type last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + created_by: Optional[str] = None, + created_by_type: Optional[Union[str, "CreatedByType"]] = None, + created_at: Optional[datetime.datetime] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[Union[str, "CreatedByType"]] = None, + last_modified_at: Optional[datetime.datetime] = None, + **kwargs + ): + super(SystemData, self).__init__(**kwargs) + self.created_by = created_by + self.created_by_type = created_by_type + self.created_at = created_at + self.last_modified_by = last_modified_by + self.last_modified_by_type = last_modified_by_type + self.last_modified_at = last_modified_at + + +class TableLevelSharingProperties(msrest.serialization.Model): + """Tables that will be included and excluded in the follower database. + + :param tables_to_include: List of tables to include in the follower database. + :type tables_to_include: list[str] + :param tables_to_exclude: List of tables to exclude from the follower database. + :type tables_to_exclude: list[str] + :param external_tables_to_include: List of external tables to include in the follower database. + :type external_tables_to_include: list[str] + :param external_tables_to_exclude: List of external tables exclude from the follower database. + :type external_tables_to_exclude: list[str] + :param materialized_views_to_include: List of materialized views to include in the follower + database. + :type materialized_views_to_include: list[str] + :param materialized_views_to_exclude: List of materialized views exclude from the follower + database. + :type materialized_views_to_exclude: list[str] + """ + + _attribute_map = { + 'tables_to_include': {'key': 'tablesToInclude', 'type': '[str]'}, + 'tables_to_exclude': {'key': 'tablesToExclude', 'type': '[str]'}, + 'external_tables_to_include': {'key': 'externalTablesToInclude', 'type': '[str]'}, + 'external_tables_to_exclude': {'key': 'externalTablesToExclude', 'type': '[str]'}, + 'materialized_views_to_include': {'key': 'materializedViewsToInclude', 'type': '[str]'}, + 'materialized_views_to_exclude': {'key': 'materializedViewsToExclude', 'type': '[str]'}, + } + + def __init__( + self, + *, + tables_to_include: Optional[List[str]] = None, + tables_to_exclude: Optional[List[str]] = None, + external_tables_to_include: Optional[List[str]] = None, + external_tables_to_exclude: Optional[List[str]] = None, + materialized_views_to_include: Optional[List[str]] = None, + materialized_views_to_exclude: Optional[List[str]] = None, + **kwargs + ): + super(TableLevelSharingProperties, self).__init__(**kwargs) + self.tables_to_include = tables_to_include + self.tables_to_exclude = tables_to_exclude + self.external_tables_to_include = external_tables_to_include + self.external_tables_to_exclude = external_tables_to_exclude + self.materialized_views_to_include = materialized_views_to_include + self.materialized_views_to_exclude = materialized_views_to_exclude + + class TrustedExternalTenant(msrest.serialization.Model): """Represents a tenant ID that is trusted by the cluster. diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/__init__.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/__init__.py index fb6fa5953866..27917c1aa7d5 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/__init__.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/__init__.py @@ -10,16 +10,20 @@ from ._cluster_principal_assignments_operations import ClusterPrincipalAssignmentsOperations from ._databases_operations import DatabasesOperations from ._database_principal_assignments_operations import DatabasePrincipalAssignmentsOperations +from ._scripts_operations import ScriptsOperations from ._attached_database_configurations_operations import AttachedDatabaseConfigurationsOperations from ._data_connections_operations import DataConnectionsOperations from ._operations import Operations +from ._operations_results_operations import OperationsResultsOperations __all__ = [ 'ClustersOperations', 'ClusterPrincipalAssignmentsOperations', 'DatabasesOperations', 'DatabasePrincipalAssignmentsOperations', + 'ScriptsOperations', 'AttachedDatabaseConfigurationsOperations', 'DataConnectionsOperations', 'Operations', + 'OperationsResultsOperations', ] diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_attached_database_configurations_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_attached_database_configurations_operations.py index b381e2a3ab3c..585ff07b2e8a 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_attached_database_configurations_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_attached_database_configurations_operations.py @@ -70,7 +70,7 @@ def list_by_cluster( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): @@ -148,7 +148,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -199,7 +199,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -269,8 +269,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.kusto.models.AttachedDatabaseConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AttachedDatabaseConfiguration or the result of cls(response) @@ -338,7 +338,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -390,8 +390,8 @@ def begin_delete( :type attached_database_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_cluster_principal_assignments_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_cluster_principal_assignments_operations.py index f8483f33575f..037d6f357c61 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_cluster_principal_assignments_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_cluster_principal_assignments_operations.py @@ -73,7 +73,7 @@ def check_name_availability( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -140,7 +140,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -191,7 +191,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -259,8 +259,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.kusto.models.ClusterPrincipalAssignment :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ClusterPrincipalAssignment or the result of cls(response) @@ -328,7 +328,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -380,8 +380,8 @@ def begin_delete( :type principal_assignment_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -455,7 +455,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_clusters_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_clusters_operations.py index 202753898115..a39d2052a6c9 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_clusters_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_clusters_operations.py @@ -70,7 +70,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -111,6 +111,8 @@ def _create_or_update_initial( resource_group_name, # type: str cluster_name, # type: str parameters, # type: "_models.Cluster" + if_match=None, # type: Optional[str] + if_none_match=None, # type: Optional[str] **kwargs # type: Any ): # type: (...) -> "_models.Cluster" @@ -119,7 +121,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -138,6 +140,10 @@ def _create_or_update_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] + if if_match is not None: + header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') + if if_none_match is not None: + header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') @@ -169,6 +175,8 @@ def begin_create_or_update( resource_group_name, # type: str cluster_name, # type: str parameters, # type: "_models.Cluster" + if_match=None, # type: Optional[str] + if_none_match=None, # type: Optional[str] **kwargs # type: Any ): # type: (...) -> LROPoller["_models.Cluster"] @@ -180,10 +188,17 @@ def begin_create_or_update( :type cluster_name: str :param parameters: The Kusto cluster parameters supplied to the CreateOrUpdate operation. :type parameters: ~azure.mgmt.kusto.models.Cluster + :param if_match: The ETag of the cluster. Omit this value to always overwrite the current + cluster. Specify the last-seen ETag value to prevent accidentally overwriting concurrent + changes. + :type if_match: str + :param if_none_match: Set to '*' to allow a new cluster to be created, but to prevent updating + an existing cluster. Other values will result in a 412 Pre-condition Failed response. + :type if_none_match: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Cluster or the result of cls(response) @@ -202,6 +217,8 @@ def begin_create_or_update( resource_group_name=resource_group_name, cluster_name=cluster_name, parameters=parameters, + if_match=if_match, + if_none_match=if_none_match, cls=lambda x,y,z: x, **kwargs ) @@ -241,6 +258,7 @@ def _update_initial( resource_group_name, # type: str cluster_name, # type: str parameters, # type: "_models.ClusterUpdate" + if_match=None, # type: Optional[str] **kwargs # type: Any ): # type: (...) -> "_models.Cluster" @@ -249,7 +267,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -268,6 +286,8 @@ def _update_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] + if if_match is not None: + header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') @@ -302,6 +322,7 @@ def begin_update( resource_group_name, # type: str cluster_name, # type: str parameters, # type: "_models.ClusterUpdate" + if_match=None, # type: Optional[str] **kwargs # type: Any ): # type: (...) -> LROPoller["_models.Cluster"] @@ -313,10 +334,14 @@ def begin_update( :type cluster_name: str :param parameters: The Kusto cluster parameters supplied to the Update operation. :type parameters: ~azure.mgmt.kusto.models.ClusterUpdate + :param if_match: The ETag of the cluster. Omit this value to always overwrite the current + cluster. Specify the last-seen ETag value to prevent accidentally overwriting concurrent + changes. + :type if_match: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Cluster or the result of cls(response) @@ -335,6 +360,7 @@ def begin_update( resource_group_name=resource_group_name, cluster_name=cluster_name, parameters=parameters, + if_match=if_match, cls=lambda x,y,z: x, **kwargs ) @@ -381,7 +407,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -429,8 +455,8 @@ def begin_delete( :type cluster_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -491,7 +517,7 @@ def _stop_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -539,8 +565,8 @@ def begin_stop( :type cluster_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -601,7 +627,7 @@ def _start_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -649,8 +675,8 @@ def begin_start( :type cluster_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -723,7 +749,7 @@ def list_follower_databases( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): @@ -788,7 +814,7 @@ def _detach_follower_databases_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -844,8 +870,8 @@ def begin_detach_follower_databases( :type follower_database_to_remove: ~azure.mgmt.kusto.models.FollowerDatabaseDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -907,7 +933,7 @@ def _diagnose_virtual_network_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -961,8 +987,8 @@ def begin_diagnose_virtual_network( :type cluster_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DiagnoseVirtualNetworkResult or the result of cls(response) @@ -1034,7 +1060,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): @@ -1102,7 +1128,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): @@ -1169,7 +1195,7 @@ def list_skus( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): @@ -1228,7 +1254,7 @@ def check_name_availability( # type: (...) -> "_models.CheckNameResult" """Checks that the cluster name is valid and is not already in use. - :param location: Azure location. + :param location: Azure location (region) name. :type location: str :param cluster_name: The name of the cluster. :type cluster_name: ~azure.mgmt.kusto.models.ClusterCheckNameRequest @@ -1242,7 +1268,7 @@ def check_name_availability( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1305,7 +1331,7 @@ def list_skus_by_resource( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): @@ -1380,7 +1406,7 @@ def list_language_extensions( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): @@ -1445,7 +1471,7 @@ def _add_language_extensions_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1501,8 +1527,8 @@ def begin_add_language_extensions( :type language_extensions_to_add: ~azure.mgmt.kusto.models.LanguageExtensionsList :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1565,7 +1591,7 @@ def _remove_language_extensions_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1621,8 +1647,8 @@ def begin_remove_language_extensions( :type language_extensions_to_remove: ~azure.mgmt.kusto.models.LanguageExtensionsList :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_data_connections_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_data_connections_operations.py index 7c790ac9a9d2..f50ac661f300 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_data_connections_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_data_connections_operations.py @@ -73,7 +73,7 @@ def list_by_database( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): @@ -140,7 +140,7 @@ def _data_connection_validation_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -205,8 +205,8 @@ def begin_data_connection_validation( :type parameters: ~azure.mgmt.kusto.models.DataConnectionValidation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DataConnectionValidationListResult or the result of cls(response) @@ -290,7 +290,7 @@ def check_name_availability( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -361,7 +361,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -414,7 +414,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -488,8 +488,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.kusto.models.DataConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DataConnection or the result of cls(response) @@ -561,7 +561,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -635,8 +635,8 @@ def begin_update( :type parameters: ~azure.mgmt.kusto.models.DataConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DataConnection or the result of cls(response) @@ -707,7 +707,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -763,8 +763,8 @@ def begin_delete( :type data_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_database_principal_assignments_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_database_principal_assignments_operations.py index 55982e7b204b..d9236fa714a0 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_database_principal_assignments_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_database_principal_assignments_operations.py @@ -76,7 +76,7 @@ def check_name_availability( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -147,7 +147,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -200,7 +200,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -271,8 +271,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.kusto.models.DatabasePrincipalAssignment :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DatabasePrincipalAssignment or the result of cls(response) @@ -343,7 +343,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -399,8 +399,8 @@ def begin_delete( :type principal_assignment_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -479,7 +479,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_databases_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_databases_operations.py index a69e851b84a8..b49e7dd9d35f 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_databases_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_databases_operations.py @@ -73,7 +73,7 @@ def check_name_availability( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -137,7 +137,7 @@ def list_by_cluster( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): @@ -215,7 +215,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -266,7 +266,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -336,8 +336,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.kusto.models.Database :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Database or the result of cls(response) @@ -406,7 +406,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -476,8 +476,8 @@ def begin_update( :type parameters: ~azure.mgmt.kusto.models.Database :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Database or the result of cls(response) @@ -545,7 +545,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" # Construct URL @@ -597,8 +597,8 @@ def begin_delete( :type database_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -675,7 +675,7 @@ def list_principals( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): @@ -757,7 +757,7 @@ def add_principals( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -828,7 +828,7 @@ def remove_principals( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_operations.py index 1a8cae0d2eb1..f31beb271e5b 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_operations.py @@ -62,7 +62,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-09-18" + api_version = "2021-01-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_operations_results_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_operations_results_operations.py new file mode 100644 index 000000000000..82115fbd0309 --- /dev/null +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_operations_results_operations.py @@ -0,0 +1,104 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class OperationsResultsOperations(object): + """OperationsResultsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.kusto.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + location, # type: str + operation_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.OperationResult" + """Returns operation results. + + :param location: Azure location (region) name. + :type location: str + :param operation_id: The Guid of the operation ID. + :type operation_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: OperationResult, or the result of cls(response) + :rtype: ~azure.mgmt.kusto.models.OperationResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-01-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'location': self._serialize.url("location", location, 'str'), + 'operationId': self._serialize.url("operation_id", operation_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('OperationResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/locations/{location}/operationresults/{operationId}'} # type: ignore diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_scripts_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_scripts_operations.py new file mode 100644 index 000000000000..81aee3982c31 --- /dev/null +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_scripts_operations.py @@ -0,0 +1,680 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ScriptsOperations(object): + """ScriptsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.kusto.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_database( + self, + resource_group_name, # type: str + cluster_name, # type: str + database_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ScriptListResult"] + """Returns the list of database scripts for given database. + + :param resource_group_name: The name of the resource group containing the Kusto cluster. + :type resource_group_name: str + :param cluster_name: The name of the Kusto cluster. + :type cluster_name: str + :param database_name: The name of the database in the Kusto cluster. + :type database_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ScriptListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.kusto.models.ScriptListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ScriptListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-01-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_database.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'databaseName': self._serialize.url("database_name", database_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ScriptListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_database.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts'} # type: ignore + + def get( + self, + resource_group_name, # type: str + cluster_name, # type: str + database_name, # type: str + script_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Script" + """Gets a Kusto cluster database script. + + :param resource_group_name: The name of the resource group containing the Kusto cluster. + :type resource_group_name: str + :param cluster_name: The name of the Kusto cluster. + :type cluster_name: str + :param database_name: The name of the database in the Kusto cluster. + :type database_name: str + :param script_name: The name of the Kusto database script. + :type script_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Script, or the result of cls(response) + :rtype: ~azure.mgmt.kusto.models.Script + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Script"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-01-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'databaseName': self._serialize.url("database_name", database_name, 'str'), + 'scriptName': self._serialize.url("script_name", script_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Script', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + cluster_name, # type: str + database_name, # type: str + script_name, # type: str + parameters, # type: "_models.Script" + **kwargs # type: Any + ): + # type: (...) -> "_models.Script" + cls = kwargs.pop('cls', None) # type: ClsType["_models.Script"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-01-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'databaseName': self._serialize.url("database_name", database_name, 'str'), + 'scriptName': self._serialize.url("script_name", script_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'Script') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('Script', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('Script', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('Script', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + cluster_name, # type: str + database_name, # type: str + script_name, # type: str + parameters, # type: "_models.Script" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Script"] + """Creates a Kusto database script. + + :param resource_group_name: The name of the resource group containing the Kusto cluster. + :type resource_group_name: str + :param cluster_name: The name of the Kusto cluster. + :type cluster_name: str + :param database_name: The name of the database in the Kusto cluster. + :type database_name: str + :param script_name: The name of the Kusto database script. + :type script_name: str + :param parameters: The Kusto Script parameters contains the KQL to run. + :type parameters: ~azure.mgmt.kusto.models.Script + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Script or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.kusto.models.Script] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Script"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + database_name=database_name, + script_name=script_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Script', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'databaseName': self._serialize.url("database_name", database_name, 'str'), + 'scriptName': self._serialize.url("script_name", script_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}'} # type: ignore + + def _update_initial( + self, + resource_group_name, # type: str + cluster_name, # type: str + database_name, # type: str + script_name, # type: str + parameters, # type: "_models.Script" + **kwargs # type: Any + ): + # type: (...) -> "_models.Script" + cls = kwargs.pop('cls', None) # type: ClsType["_models.Script"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-01-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'databaseName': self._serialize.url("database_name", database_name, 'str'), + 'scriptName': self._serialize.url("script_name", script_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'Script') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('Script', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('Script', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}'} # type: ignore + + def begin_update( + self, + resource_group_name, # type: str + cluster_name, # type: str + database_name, # type: str + script_name, # type: str + parameters, # type: "_models.Script" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Script"] + """Updates a database script. + + :param resource_group_name: The name of the resource group containing the Kusto cluster. + :type resource_group_name: str + :param cluster_name: The name of the Kusto cluster. + :type cluster_name: str + :param database_name: The name of the database in the Kusto cluster. + :type database_name: str + :param script_name: The name of the Kusto database script. + :type script_name: str + :param parameters: The Kusto Script parameters contains to the KQL to run. + :type parameters: ~azure.mgmt.kusto.models.Script + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Script or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.kusto.models.Script] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Script"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._update_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + database_name=database_name, + script_name=script_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Script', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'databaseName': self._serialize.url("database_name", database_name, 'str'), + 'scriptName': self._serialize.url("script_name", script_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + cluster_name, # type: str + database_name, # type: str + script_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-01-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'databaseName': self._serialize.url("database_name", database_name, 'str'), + 'scriptName': self._serialize.url("script_name", script_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + cluster_name, # type: str + database_name, # type: str + script_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a Kusto principalAssignment. + + :param resource_group_name: The name of the resource group containing the Kusto cluster. + :type resource_group_name: str + :param cluster_name: The name of the Kusto cluster. + :type cluster_name: str + :param database_name: The name of the database in the Kusto cluster. + :type database_name: str + :param script_name: The name of the Kusto database script. + :type script_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + database_name=database_name, + script_name=script_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'databaseName': self._serialize.url("database_name", database_name, 'str'), + 'scriptName': self._serialize.url("script_name", script_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}'} # type: ignore + + def check_name_availability( + self, + resource_group_name, # type: str + cluster_name, # type: str + database_name, # type: str + script_name, # type: "_models.ScriptCheckNameRequest" + **kwargs # type: Any + ): + # type: (...) -> "_models.CheckNameResult" + """Checks that the script name is valid and is not already in use. + + :param resource_group_name: The name of the resource group containing the Kusto cluster. + :type resource_group_name: str + :param cluster_name: The name of the Kusto cluster. + :type cluster_name: str + :param database_name: The name of the database in the Kusto cluster. + :type database_name: str + :param script_name: The name of the script. + :type script_name: ~azure.mgmt.kusto.models.ScriptCheckNameRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :return: CheckNameResult, or the result of cls(response) + :rtype: ~azure.mgmt.kusto.models.CheckNameResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.CheckNameResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-01-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.check_name_availability.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'databaseName': self._serialize.url("database_name", database_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(script_name, 'ScriptCheckNameRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('CheckNameResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + check_name_availability.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scriptsCheckNameAvailability'} # type: ignore diff --git a/sdk/kusto/azure-mgmt-kusto/setup.py b/sdk/kusto/azure-mgmt-kusto/setup.py index 0a2e3564f5ce..4a550e3b59ec 100644 --- a/sdk/kusto/azure-mgmt-kusto/setup.py +++ b/sdk/kusto/azure-mgmt-kusto/setup.py @@ -78,7 +78,7 @@ 'azure.mgmt', ]), install_requires=[ - 'msrest>=0.5.0', + 'msrest>=0.6.21', 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], diff --git a/shared_requirements.txt b/shared_requirements.txt index cb3c90025ddf..5babe549ff4c 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -249,6 +249,7 @@ opentelemetry-sdk<2.0.0,>=1.0.0 #override azure-mgmt-keyvault msrest>=0.6.21 #override azure-mgmt-resource msrest>=0.6.21 #override azure-template azure-core<2.0.0,>=1.10.0 +#override azure-mgmt-kusto msrest>=0.6.21 #override azure-mgmt-managedservices msrest>=0.6.21 #override azure-mgmt-resourcegraph msrest>=0.6.21 #override azure-purview-scanning azure-core<2.0.0,>=1.8.2 msrest>=0.6.21 From c0dc3a33469ad6818d12edbbecfc3f68f0d2f393 Mon Sep 17 00:00:00 2001 From: Azure CLI Bot Date: Mon, 26 Apr 2021 16:43:02 +0800 Subject: [PATCH 02/14] [AutoRelease] t2-databoxedge-2021-04-22-84277(wave4) (#18223) * CodeGen from PR 14063 in Azure/azure-rest-api-specs databoxedge readme modification (#14063) Co-authored-by: Yan Zhang (WICRESOFT NORTH AMERICA LTD) * version,CHANGELOG * test * modify version Co-authored-by: SDKAuto Co-authored-by: Yan Zhang (WICRESOFT NORTH AMERICA LTD) Co-authored-by: PythonSdkPipelines Co-authored-by: Zed Lei <59104634+RAY-316@users.noreply.github.com> --- .../azure-mgmt-databoxedge/CHANGELOG.md | 60 + .../azure-mgmt-databoxedge/MANIFEST.in | 1 + .../azure-mgmt-databoxedge/README.md | 2 +- .../azure-mgmt-databoxedge/_meta.json | 8 + .../azure/mgmt/datab/__init__.py | 16 + .../azure/mgmt/datab/_configuration.py | 70 + .../datab/_data_box_edge_management_client.py | 174 + .../azure/mgmt/datab/_metadata.json | 120 + .../azure/mgmt/datab/aio/__init__.py | 10 + .../azure/mgmt/datab/aio/_configuration.py | 66 + .../aio/_data_box_edge_management_client.py | 167 + .../mgmt/datab/aio/operations/__init__.py | 47 + .../aio/operations/_addons_operations.py | 450 ++ .../aio/operations/_alerts_operations.py | 180 + .../operations/_available_skus_operations.py | 110 + .../_bandwidth_schedules_operations.py | 428 ++ .../aio/operations/_containers_operations.py | 580 ++ .../aio/operations/_devices_operations.py | 1363 ++++ .../datab/aio/operations/_jobs_operations.py | 105 + .../_monitoring_config_operations.py | 440 ++ .../datab/aio/operations/_nodes_operations.py | 116 + .../mgmt/datab/aio/operations/_operations.py | 106 + .../_operations_status_operations.py | 105 + .../aio/operations/_orders_operations.py | 478 ++ .../datab/aio/operations/_roles_operations.py | 428 ++ .../aio/operations/_shares_operations.py | 551 ++ ..._storage_account_credentials_operations.py | 430 ++ .../_storage_accounts_operations.py | 434 ++ .../aio/operations/_triggers_operations.py | 434 ++ .../datab/aio/operations/_users_operations.py | 434 ++ .../azure/mgmt/datab/models/__init__.py | 487 ++ .../_data_box_edge_management_client_enums.py | 557 ++ .../azure/mgmt/datab/models/_models.py | 5119 +++++++++++++++ .../azure/mgmt/datab/models/_models_py3.py | 5435 ++++++++++++++++ .../azure/mgmt/datab/operations/__init__.py | 47 + .../datab/operations/_addons_operations.py | 460 ++ .../datab/operations/_alerts_operations.py | 186 + .../operations/_available_skus_operations.py | 115 + .../_bandwidth_schedules_operations.py | 438 ++ .../operations/_containers_operations.py | 592 ++ .../datab/operations/_devices_operations.py | 1389 +++++ .../mgmt/datab/operations/_jobs_operations.py | 110 + .../_monitoring_config_operations.py | 450 ++ .../datab/operations/_nodes_operations.py | 121 + .../mgmt/datab/operations/_operations.py | 111 + .../_operations_status_operations.py | 110 + .../datab/operations/_orders_operations.py | 489 ++ .../datab/operations/_roles_operations.py | 438 ++ .../datab/operations/_shares_operations.py | 563 ++ ..._storage_account_credentials_operations.py | 440 ++ .../_storage_accounts_operations.py | 444 ++ .../datab/operations/_triggers_operations.py | 444 ++ .../datab/operations/_users_operations.py | 444 ++ .../azure/mgmt/datab/py.typed | 1 + .../azure/mgmt/databoxedge/_configuration.py | 7 +- .../_data_box_edge_management_client.py | 223 +- .../azure/mgmt/databoxedge/_version.py | 2 +- .../mgmt/databoxedge/aio/_configuration.py | 9 +- .../aio/_data_box_edge_management_client.py | 225 +- .../azure/mgmt/databoxedge/models.py | 1 + .../_data_box_edge_management_client.py | 43 +- .../databoxedge/v2019_03_01/_metadata.json | 62 +- .../aio/_data_box_edge_management_client.py | 42 +- .../aio/operations/_alerts_operations.py | 6 +- .../_bandwidth_schedules_operations.py | 18 +- .../aio/operations/_devices_operations.py | 52 +- .../aio/operations/_jobs_operations.py | 4 +- .../v2019_03_01/aio/operations/_operations.py | 4 +- .../_operations_status_operations.py | 4 +- .../aio/operations/_orders_operations.py | 18 +- .../aio/operations/_roles_operations.py | 18 +- .../aio/operations/_shares_operations.py | 22 +- ..._storage_account_credentials_operations.py | 18 +- .../aio/operations/_triggers_operations.py | 18 +- .../aio/operations/_users_operations.py | 18 +- .../databoxedge/v2019_03_01/models/_models.py | 195 +- .../v2019_03_01/models/_models_py3.py | 195 +- .../operations/_alerts_operations.py | 6 +- .../_bandwidth_schedules_operations.py | 18 +- .../operations/_devices_operations.py | 52 +- .../operations/_jobs_operations.py | 4 +- .../v2019_03_01/operations/_operations.py | 4 +- .../_operations_status_operations.py | 4 +- .../operations/_orders_operations.py | 18 +- .../operations/_roles_operations.py | 18 +- .../operations/_shares_operations.py | 22 +- ..._storage_account_credentials_operations.py | 18 +- .../operations/_triggers_operations.py | 18 +- .../operations/_users_operations.py | 18 +- .../_data_box_edge_management_client.py | 45 +- .../databoxedge/v2019_07_01/_metadata.json | 62 +- .../aio/_data_box_edge_management_client.py | 44 +- .../aio/operations/_alerts_operations.py | 6 +- .../_bandwidth_schedules_operations.py | 18 +- .../aio/operations/_devices_operations.py | 52 +- .../aio/operations/_jobs_operations.py | 4 +- .../aio/operations/_nodes_operations.py | 4 +- .../v2019_07_01/aio/operations/_operations.py | 4 +- .../_operations_status_operations.py | 4 +- .../aio/operations/_orders_operations.py | 18 +- .../aio/operations/_roles_operations.py | 18 +- .../aio/operations/_shares_operations.py | 22 +- ..._storage_account_credentials_operations.py | 18 +- .../aio/operations/_triggers_operations.py | 18 +- .../aio/operations/_users_operations.py | 18 +- .../databoxedge/v2019_07_01/models/_models.py | 199 +- .../v2019_07_01/models/_models_py3.py | 199 +- .../operations/_alerts_operations.py | 6 +- .../_bandwidth_schedules_operations.py | 18 +- .../operations/_devices_operations.py | 52 +- .../operations/_jobs_operations.py | 4 +- .../operations/_nodes_operations.py | 4 +- .../v2019_07_01/operations/_operations.py | 4 +- .../_operations_status_operations.py | 4 +- .../operations/_orders_operations.py | 18 +- .../operations/_roles_operations.py | 18 +- .../operations/_shares_operations.py | 22 +- ..._storage_account_credentials_operations.py | 18 +- .../operations/_triggers_operations.py | 18 +- .../operations/_users_operations.py | 18 +- .../_data_box_edge_management_client.py | 51 +- .../databoxedge/v2019_08_01/_metadata.json | 62 +- .../aio/_data_box_edge_management_client.py | 50 +- .../aio/operations/_alerts_operations.py | 6 +- .../_bandwidth_schedules_operations.py | 18 +- .../aio/operations/_containers_operations.py | 22 +- .../aio/operations/_devices_operations.py | 52 +- .../aio/operations/_jobs_operations.py | 4 +- .../aio/operations/_nodes_operations.py | 4 +- .../v2019_08_01/aio/operations/_operations.py | 4 +- .../_operations_status_operations.py | 4 +- .../aio/operations/_orders_operations.py | 18 +- .../aio/operations/_roles_operations.py | 18 +- .../aio/operations/_shares_operations.py | 22 +- .../aio/operations/_skus_operations.py | 4 +- ..._storage_account_credentials_operations.py | 18 +- .../_storage_accounts_operations.py | 18 +- .../aio/operations/_triggers_operations.py | 18 +- .../aio/operations/_users_operations.py | 18 +- .../databoxedge/v2019_08_01/models/_models.py | 233 +- .../v2019_08_01/models/_models_py3.py | 233 +- .../operations/_alerts_operations.py | 6 +- .../_bandwidth_schedules_operations.py | 18 +- .../operations/_containers_operations.py | 22 +- .../operations/_devices_operations.py | 52 +- .../operations/_jobs_operations.py | 4 +- .../operations/_nodes_operations.py | 4 +- .../v2019_08_01/operations/_operations.py | 4 +- .../_operations_status_operations.py | 4 +- .../operations/_orders_operations.py | 18 +- .../operations/_roles_operations.py | 18 +- .../operations/_shares_operations.py | 22 +- .../operations/_skus_operations.py | 4 +- ..._storage_account_credentials_operations.py | 18 +- .../_storage_accounts_operations.py | 18 +- .../operations/_triggers_operations.py | 18 +- .../operations/_users_operations.py | 18 +- .../_data_box_edge_management_client.py | 53 +- .../v2020_05_01_preview/_metadata.json | 62 +- .../aio/_data_box_edge_management_client.py | 52 +- .../aio/operations/_alerts_operations.py | 6 +- .../operations/_available_skus_operations.py | 4 +- .../_bandwidth_schedules_operations.py | 18 +- .../aio/operations/_containers_operations.py | 22 +- .../aio/operations/_devices_operations.py | 52 +- .../aio/operations/_jobs_operations.py | 4 +- .../aio/operations/_nodes_operations.py | 4 +- .../aio/operations/_operations.py | 4 +- .../_operations_status_operations.py | 4 +- .../aio/operations/_orders_operations.py | 18 +- .../aio/operations/_roles_operations.py | 18 +- .../aio/operations/_shares_operations.py | 22 +- .../aio/operations/_skus_operations.py | 4 +- ..._storage_account_credentials_operations.py | 18 +- .../_storage_accounts_operations.py | 18 +- .../aio/operations/_triggers_operations.py | 18 +- .../aio/operations/_users_operations.py | 18 +- .../v2020_05_01_preview/models/_models.py | 302 +- .../v2020_05_01_preview/models/_models_py3.py | 302 +- .../operations/_alerts_operations.py | 6 +- .../operations/_available_skus_operations.py | 4 +- .../_bandwidth_schedules_operations.py | 18 +- .../operations/_containers_operations.py | 22 +- .../operations/_devices_operations.py | 52 +- .../operations/_jobs_operations.py | 4 +- .../operations/_nodes_operations.py | 4 +- .../operations/_operations.py | 4 +- .../_operations_status_operations.py | 4 +- .../operations/_orders_operations.py | 18 +- .../operations/_roles_operations.py | 18 +- .../operations/_shares_operations.py | 22 +- .../operations/_skus_operations.py | 4 +- ..._storage_account_credentials_operations.py | 18 +- .../_storage_accounts_operations.py | 18 +- .../operations/_triggers_operations.py | 18 +- .../operations/_users_operations.py | 18 +- .../mgmt/databoxedge/v2020_09_01/__init__.py | 16 + .../databoxedge/v2020_09_01/_configuration.py | 70 + .../_data_box_edge_management_client.py | 174 + .../databoxedge/v2020_09_01/_metadata.json | 120 + .../databoxedge/v2020_09_01/aio/__init__.py | 10 + .../v2020_09_01/aio/_configuration.py | 66 + .../aio/_data_box_edge_management_client.py | 167 + .../v2020_09_01/aio/operations/__init__.py | 47 + .../aio/operations/_addons_operations.py | 450 ++ .../aio/operations/_alerts_operations.py | 180 + .../operations/_available_skus_operations.py | 110 + .../_bandwidth_schedules_operations.py | 428 ++ .../aio/operations/_containers_operations.py | 580 ++ .../aio/operations/_devices_operations.py | 1363 ++++ .../aio/operations/_jobs_operations.py | 105 + .../_monitoring_config_operations.py | 440 ++ .../aio/operations/_nodes_operations.py | 116 + .../v2020_09_01/aio/operations/_operations.py | 106 + .../_operations_status_operations.py | 105 + .../aio/operations/_orders_operations.py | 478 ++ .../aio/operations/_roles_operations.py | 428 ++ .../aio/operations/_shares_operations.py | 551 ++ ..._storage_account_credentials_operations.py | 430 ++ .../_storage_accounts_operations.py | 434 ++ .../aio/operations/_triggers_operations.py | 434 ++ .../aio/operations/_users_operations.py | 435 ++ .../v2020_09_01/models/__init__.py | 476 ++ .../_data_box_edge_management_client_enums.py | 546 ++ .../databoxedge/v2020_09_01/models/_models.py | 4986 +++++++++++++++ .../v2020_09_01/models/_models_py3.py | 5288 ++++++++++++++++ .../v2020_09_01/operations/__init__.py | 47 + .../operations/_addons_operations.py | 460 ++ .../operations/_alerts_operations.py | 186 + .../operations/_available_skus_operations.py | 115 + .../_bandwidth_schedules_operations.py | 438 ++ .../operations/_containers_operations.py | 592 ++ .../operations/_devices_operations.py | 1389 +++++ .../operations/_jobs_operations.py | 110 + .../_monitoring_config_operations.py | 450 ++ .../operations/_nodes_operations.py | 121 + .../v2020_09_01/operations/_operations.py | 111 + .../_operations_status_operations.py | 110 + .../operations/_orders_operations.py | 489 ++ .../operations/_roles_operations.py | 438 ++ .../operations/_shares_operations.py | 563 ++ ..._storage_account_credentials_operations.py | 440 ++ .../_storage_accounts_operations.py | 444 ++ .../operations/_triggers_operations.py | 444 ++ .../operations/_users_operations.py | 445 ++ .../mgmt/databoxedge/v2020_09_01/py.typed | 1 + .../v2020_09_01_preview/__init__.py | 16 + .../v2020_09_01_preview/_configuration.py | 70 + .../_data_box_edge_management_client.py | 174 + .../v2020_09_01_preview/_metadata.json | 120 + .../v2020_09_01_preview/aio/__init__.py | 10 + .../v2020_09_01_preview/aio/_configuration.py | 66 + .../aio/_data_box_edge_management_client.py | 167 + .../aio/operations/__init__.py | 47 + .../aio/operations/_addons_operations.py | 450 ++ .../aio/operations/_alerts_operations.py | 180 + .../operations/_available_skus_operations.py | 110 + .../_bandwidth_schedules_operations.py | 428 ++ .../aio/operations/_containers_operations.py | 580 ++ .../aio/operations/_devices_operations.py | 1363 ++++ .../aio/operations/_jobs_operations.py | 105 + .../_monitoring_config_operations.py | 440 ++ .../aio/operations/_nodes_operations.py | 116 + .../aio/operations/_operations.py | 106 + .../_operations_status_operations.py | 105 + .../aio/operations/_orders_operations.py | 478 ++ .../aio/operations/_roles_operations.py | 428 ++ .../aio/operations/_shares_operations.py | 551 ++ ..._storage_account_credentials_operations.py | 430 ++ .../_storage_accounts_operations.py | 434 ++ .../aio/operations/_triggers_operations.py | 434 ++ .../aio/operations/_users_operations.py | 435 ++ .../v2020_09_01_preview/models/__init__.py | 476 ++ .../_data_box_edge_management_client_enums.py | 546 ++ .../v2020_09_01_preview/models/_models.py | 5037 +++++++++++++++ .../v2020_09_01_preview/models/_models_py3.py | 5339 ++++++++++++++++ .../operations/__init__.py | 47 + .../operations/_addons_operations.py | 460 ++ .../operations/_alerts_operations.py | 186 + .../operations/_available_skus_operations.py | 115 + .../_bandwidth_schedules_operations.py | 438 ++ .../operations/_containers_operations.py | 592 ++ .../operations/_devices_operations.py | 1389 +++++ .../operations/_jobs_operations.py | 110 + .../_monitoring_config_operations.py | 450 ++ .../operations/_nodes_operations.py | 121 + .../operations/_operations.py | 111 + .../_operations_status_operations.py | 110 + .../operations/_orders_operations.py | 489 ++ .../operations/_roles_operations.py | 438 ++ .../operations/_shares_operations.py | 563 ++ ..._storage_account_credentials_operations.py | 440 ++ .../_storage_accounts_operations.py | 444 ++ .../operations/_triggers_operations.py | 444 ++ .../operations/_users_operations.py | 445 ++ .../databoxedge/v2020_09_01_preview/py.typed | 1 + .../v2021_02_01_preview/__init__.py | 16 + .../v2021_02_01_preview/_configuration.py | 70 + .../_data_box_edge_management_client.py | 174 + .../v2021_02_01_preview/_metadata.json | 120 + .../v2021_02_01_preview/aio/__init__.py | 10 + .../v2021_02_01_preview/aio/_configuration.py | 66 + .../aio/_data_box_edge_management_client.py | 167 + .../aio/operations/__init__.py | 47 + .../aio/operations/_addons_operations.py | 450 ++ .../aio/operations/_alerts_operations.py | 180 + .../operations/_available_skus_operations.py | 110 + .../_bandwidth_schedules_operations.py | 428 ++ .../aio/operations/_containers_operations.py | 580 ++ .../aio/operations/_devices_operations.py | 1363 ++++ .../aio/operations/_jobs_operations.py | 105 + .../_monitoring_config_operations.py | 440 ++ .../aio/operations/_nodes_operations.py | 116 + .../aio/operations/_operations.py | 106 + .../_operations_status_operations.py | 105 + .../aio/operations/_orders_operations.py | 478 ++ .../aio/operations/_roles_operations.py | 428 ++ .../aio/operations/_shares_operations.py | 551 ++ ..._storage_account_credentials_operations.py | 430 ++ .../_storage_accounts_operations.py | 434 ++ .../aio/operations/_triggers_operations.py | 434 ++ .../aio/operations/_users_operations.py | 435 ++ .../v2021_02_01_preview/models/__init__.py | 488 ++ .../_data_box_edge_management_client_enums.py | 580 ++ .../v2021_02_01_preview/models/_models.py | 5195 ++++++++++++++++ .../v2021_02_01_preview/models/_models_py3.py | 5512 +++++++++++++++++ .../operations/__init__.py | 47 + .../operations/_addons_operations.py | 460 ++ .../operations/_alerts_operations.py | 186 + .../operations/_available_skus_operations.py | 115 + .../_bandwidth_schedules_operations.py | 438 ++ .../operations/_containers_operations.py | 592 ++ .../operations/_devices_operations.py | 1389 +++++ .../operations/_jobs_operations.py | 110 + .../_monitoring_config_operations.py | 450 ++ .../operations/_nodes_operations.py | 121 + .../operations/_operations.py | 111 + .../_operations_status_operations.py | 110 + .../operations/_orders_operations.py | 489 ++ .../operations/_roles_operations.py | 438 ++ .../operations/_shares_operations.py | 563 ++ ..._storage_account_credentials_operations.py | 440 ++ .../_storage_accounts_operations.py | 444 ++ .../operations/_triggers_operations.py | 444 ++ .../operations/_users_operations.py | 445 ++ .../databoxedge/v2021_02_01_preview/py.typed | 1 + .../azure-mgmt-databoxedge/sdk_packaging.toml | 2 +- .../azure-mgmt-databoxedge/setup.py | 4 +- ...cli_mgmt_databoxedge.test_databoxedge.yaml | 160 - shared_requirements.txt | 2 +- 350 files changed, 109897 insertions(+), 2112 deletions(-) create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/_meta.json create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/__init__.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/_configuration.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/_data_box_edge_management_client.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/_metadata.json create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/__init__.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/_configuration.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/_data_box_edge_management_client.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/__init__.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_addons_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_alerts_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_available_skus_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_bandwidth_schedules_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_containers_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_devices_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_jobs_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_monitoring_config_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_nodes_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_operations_status_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_orders_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_roles_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_shares_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_storage_account_credentials_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_storage_accounts_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_triggers_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_users_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/models/__init__.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/models/_data_box_edge_management_client_enums.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/models/_models.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/models/_models_py3.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/__init__.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_addons_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_alerts_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_available_skus_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_bandwidth_schedules_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_containers_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_devices_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_jobs_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_monitoring_config_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_nodes_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_operations_status_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_orders_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_roles_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_shares_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_storage_account_credentials_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_storage_accounts_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_triggers_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_users_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/py.typed create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/__init__.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/_configuration.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/_data_box_edge_management_client.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/_metadata.json create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/__init__.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/_configuration.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/_data_box_edge_management_client.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/__init__.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_addons_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_alerts_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_available_skus_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_bandwidth_schedules_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_containers_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_devices_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_jobs_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_monitoring_config_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_nodes_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_operations_status_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_orders_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_roles_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_shares_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_storage_account_credentials_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_storage_accounts_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_triggers_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_users_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/models/__init__.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/models/_data_box_edge_management_client_enums.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/models/_models.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/models/_models_py3.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/__init__.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_addons_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_alerts_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_available_skus_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_bandwidth_schedules_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_containers_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_devices_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_jobs_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_monitoring_config_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_nodes_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_operations_status_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_orders_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_roles_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_shares_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_storage_account_credentials_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_storage_accounts_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_triggers_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_users_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/py.typed create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/__init__.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/_configuration.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/_data_box_edge_management_client.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/_metadata.json create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/__init__.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/_configuration.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/_data_box_edge_management_client.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/__init__.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_addons_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_alerts_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_available_skus_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_bandwidth_schedules_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_containers_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_devices_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_jobs_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_monitoring_config_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_nodes_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_operations_status_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_orders_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_roles_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_shares_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_storage_account_credentials_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_storage_accounts_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_triggers_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_users_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/models/__init__.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/models/_data_box_edge_management_client_enums.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/models/_models.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/models/_models_py3.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/__init__.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_addons_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_alerts_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_available_skus_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_bandwidth_schedules_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_containers_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_devices_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_jobs_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_monitoring_config_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_nodes_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_operations_status_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_orders_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_roles_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_shares_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_storage_account_credentials_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_storage_accounts_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_triggers_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_users_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/py.typed create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/__init__.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/_configuration.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/_data_box_edge_management_client.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/_metadata.json create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/__init__.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/_configuration.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/_data_box_edge_management_client.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/__init__.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_addons_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_alerts_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_available_skus_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_bandwidth_schedules_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_containers_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_devices_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_jobs_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_monitoring_config_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_nodes_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_operations_status_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_orders_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_roles_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_shares_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_storage_account_credentials_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_storage_accounts_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_triggers_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_users_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/models/__init__.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/models/_data_box_edge_management_client_enums.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/models/_models.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/models/_models_py3.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/__init__.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_addons_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_alerts_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_available_skus_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_bandwidth_schedules_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_containers_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_devices_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_jobs_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_monitoring_config_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_nodes_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_operations_status_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_orders_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_roles_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_shares_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_storage_account_credentials_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_storage_accounts_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_triggers_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_users_operations.py create mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/py.typed delete mode 100644 sdk/databoxedge/azure-mgmt-databoxedge/tests/recordings/test_cli_mgmt_databoxedge.test_databoxedge.yaml diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/CHANGELOG.md b/sdk/databoxedge/azure-mgmt-databoxedge/CHANGELOG.md index f593b058f0d4..6cf21c8bd75c 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/CHANGELOG.md +++ b/sdk/databoxedge/azure-mgmt-databoxedge/CHANGELOG.md @@ -1,5 +1,65 @@ # Release History +## 1.0.0 (2021-04-22) + +**Features** + + - Model Share has a new parameter system_data + - Model NodeList has a new parameter next_link + - Model Operation has a new parameter is_data_action + - Model IoTRole has a new parameter system_data + - Model IoTRole has a new parameter compute_resource + - Model Order has a new parameter shipment_type + - Model Order has a new parameter system_data + - Model Role has a new parameter system_data + - Model DataBoxEdgeDevice has a new parameter kind + - Model DataBoxEdgeDevice has a new parameter edge_profile + - Model DataBoxEdgeDevice has a new parameter identity + - Model DataBoxEdgeDevice has a new parameter resource_move_details + - Model DataBoxEdgeDevice has a new parameter system_data + - Model StorageAccountCredential has a new parameter system_data + - Model UpdateSummary has a new parameter last_download_job_status + - Model UpdateSummary has a new parameter last_completed_install_job_id + - Model UpdateSummary has a new parameter total_time_in_minutes + - Model UpdateSummary has a new parameter last_completed_download_job_id + - Model UpdateSummary has a new parameter last_install_job_status + - Model UpdateSummary has a new parameter updates + - Model UpdateSummary has a new parameter system_data + - Model DataBoxEdgeDeviceExtendedInfo has a new parameter channel_integrity_key_name + - Model DataBoxEdgeDeviceExtendedInfo has a new parameter channel_integrity_key_version + - Model DataBoxEdgeDeviceExtendedInfo has a new parameter key_vault_sync_status + - Model DataBoxEdgeDeviceExtendedInfo has a new parameter client_secret_store_id + - Model DataBoxEdgeDeviceExtendedInfo has a new parameter device_secrets + - Model DataBoxEdgeDeviceExtendedInfo has a new parameter client_secret_store_url + - Model FileEventTrigger has a new parameter system_data + - Model DataBoxEdgeSku has a new parameter shipment_types + - Model Alert has a new parameter system_data + - Model Container has a new parameter system_data + - Model User has a new parameter system_data + - Model Trigger has a new parameter system_data + - Model NetworkSettings has a new parameter system_data + - Model PeriodicTimerEventTrigger has a new parameter system_data + - Model BandwidthSchedule has a new parameter system_data + - Model OrderStatus has a new parameter tracking_information + - Model StorageAccount has a new parameter system_data + - Model DataBoxEdgeDevicePatch has a new parameter identity + - Model DataBoxEdgeDevicePatch has a new parameter edge_profile + - Added operation DevicesOperations.generate_certificate + - Added operation DevicesOperations.update_extended_information + - Added operation OrdersOperations.list_dc_access_code + - Added operation group AddonsOperations + - Added operation group MonitoringConfigOperations + +**Breaking changes** + + - Operation UsersOperations.list_by_data_box_edge_device has a new signature + - Parameter data_policy of model StorageAccount is now required + - Model SkuInformation no longer has parameter resource_type + - Model SkuInformation no longer has parameter capabilities + - Model SkuInformation no longer has parameter size + - Model DataBoxEdgeSku no longer has parameter restrictions + - Model ResourceTypeSku has a new signature + ## 1.0.0b1 (2020-12-08) This is beta preview version. diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/MANIFEST.in b/sdk/databoxedge/azure-mgmt-databoxedge/MANIFEST.in index a3cb07df8765..3a9b6517412b 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/MANIFEST.in +++ b/sdk/databoxedge/azure-mgmt-databoxedge/MANIFEST.in @@ -1,3 +1,4 @@ +include _meta.json recursive-include tests *.py *.yaml include *.md include azure/__init__.py diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/README.md b/sdk/databoxedge/azure-mgmt-databoxedge/README.md index eee04be205cc..cb0c965d14ac 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/README.md +++ b/sdk/databoxedge/azure-mgmt-databoxedge/README.md @@ -1,6 +1,6 @@ ## Microsoft Azure SDK for Python -This is the Microsoft Azure MyService Management Client Library. +This is the Microsoft Azure Databoxedge Management Client Library. Azure Resource Manager (ARM) is the next generation of management APIs that replace the old Azure Service Management (ASM). diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/_meta.json b/sdk/databoxedge/azure-mgmt-databoxedge/_meta.json new file mode 100644 index 000000000000..2527cb55f4a7 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/_meta.json @@ -0,0 +1,8 @@ +{ + "autorest": "3.3.0", + "use": "@autorest/python@5.6.6", + "commit": "cc247b28bd6dc94786fb18e691d6331a168985f6", + "repository_url": "https://github.com/Azure/azure-rest-api-specs", + "autorest_command": "autorest specification/databoxedge/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.6.6 --version=3.3.0", + "readme": "specification/databoxedge/resource-manager/readme.md" +} \ No newline at end of file diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/__init__.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/__init__.py new file mode 100644 index 000000000000..e63196b6b98f --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/__init__.py @@ -0,0 +1,16 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._data_box_edge_management_client import DataBoxEdgeManagementClient +__all__ = ['DataBoxEdgeManagementClient'] + +try: + from ._patch import patch_sdk # type: ignore + patch_sdk() +except ImportError: + pass diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/_configuration.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/_configuration.py new file mode 100644 index 000000000000..70492096ac98 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/_configuration.py @@ -0,0 +1,70 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + from azure.core.credentials import TokenCredential + +VERSION = "unknown" + +class DataBoxEdgeManagementClientConfiguration(Configuration): + """Configuration for DataBoxEdgeManagementClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The subscription ID. + :type subscription_id: str + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(DataBoxEdgeManagementClientConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2020-12-01" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'mgmt-databoxedge/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs # type: Any + ): + # type: (...) -> None + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/_data_box_edge_management_client.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/_data_box_edge_management_client.py new file mode 100644 index 000000000000..0e619b3c6ee6 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/_data_box_edge_management_client.py @@ -0,0 +1,174 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import TYPE_CHECKING + +from azure.mgmt.core import ARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Optional + + from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse + +from ._configuration import DataBoxEdgeManagementClientConfiguration +from .operations import Operations +from .operations import AvailableSkusOperations +from .operations import DevicesOperations +from .operations import AlertsOperations +from .operations import BandwidthSchedulesOperations +from .operations import JobsOperations +from .operations import NodesOperations +from .operations import OperationsStatusOperations +from .operations import OrdersOperations +from .operations import RolesOperations +from .operations import AddonsOperations +from .operations import MonitoringConfigOperations +from .operations import SharesOperations +from .operations import StorageAccountCredentialsOperations +from .operations import StorageAccountsOperations +from .operations import ContainersOperations +from .operations import TriggersOperations +from .operations import UsersOperations +from . import models + + +class DataBoxEdgeManagementClient(object): + """The DataBoxEdge Client. + + :ivar operations: Operations operations + :vartype operations: azure.mgmt.databoxedge.v2020_12_01.operations.Operations + :ivar available_skus: AvailableSkusOperations operations + :vartype available_skus: azure.mgmt.databoxedge.v2020_12_01.operations.AvailableSkusOperations + :ivar devices: DevicesOperations operations + :vartype devices: azure.mgmt.databoxedge.v2020_12_01.operations.DevicesOperations + :ivar alerts: AlertsOperations operations + :vartype alerts: azure.mgmt.databoxedge.v2020_12_01.operations.AlertsOperations + :ivar bandwidth_schedules: BandwidthSchedulesOperations operations + :vartype bandwidth_schedules: azure.mgmt.databoxedge.v2020_12_01.operations.BandwidthSchedulesOperations + :ivar jobs: JobsOperations operations + :vartype jobs: azure.mgmt.databoxedge.v2020_12_01.operations.JobsOperations + :ivar nodes: NodesOperations operations + :vartype nodes: azure.mgmt.databoxedge.v2020_12_01.operations.NodesOperations + :ivar operations_status: OperationsStatusOperations operations + :vartype operations_status: azure.mgmt.databoxedge.v2020_12_01.operations.OperationsStatusOperations + :ivar orders: OrdersOperations operations + :vartype orders: azure.mgmt.databoxedge.v2020_12_01.operations.OrdersOperations + :ivar roles: RolesOperations operations + :vartype roles: azure.mgmt.databoxedge.v2020_12_01.operations.RolesOperations + :ivar addons: AddonsOperations operations + :vartype addons: azure.mgmt.databoxedge.v2020_12_01.operations.AddonsOperations + :ivar monitoring_config: MonitoringConfigOperations operations + :vartype monitoring_config: azure.mgmt.databoxedge.v2020_12_01.operations.MonitoringConfigOperations + :ivar shares: SharesOperations operations + :vartype shares: azure.mgmt.databoxedge.v2020_12_01.operations.SharesOperations + :ivar storage_account_credentials: StorageAccountCredentialsOperations operations + :vartype storage_account_credentials: azure.mgmt.databoxedge.v2020_12_01.operations.StorageAccountCredentialsOperations + :ivar storage_accounts: StorageAccountsOperations operations + :vartype storage_accounts: azure.mgmt.databoxedge.v2020_12_01.operations.StorageAccountsOperations + :ivar containers: ContainersOperations operations + :vartype containers: azure.mgmt.databoxedge.v2020_12_01.operations.ContainersOperations + :ivar triggers: TriggersOperations operations + :vartype triggers: azure.mgmt.databoxedge.v2020_12_01.operations.TriggersOperations + :ivar users: UsersOperations operations + :vartype users: azure.mgmt.databoxedge.v2020_12_01.operations.UsersOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The subscription ID. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + base_url=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> None + if not base_url: + base_url = 'https://management.azure.com' + self._config = DataBoxEdgeManagementClientConfiguration(credential, subscription_id, **kwargs) + self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize) + self.available_skus = AvailableSkusOperations( + self._client, self._config, self._serialize, self._deserialize) + self.devices = DevicesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.alerts = AlertsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.bandwidth_schedules = BandwidthSchedulesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.jobs = JobsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.nodes = NodesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.operations_status = OperationsStatusOperations( + self._client, self._config, self._serialize, self._deserialize) + self.orders = OrdersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.roles = RolesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.addons = AddonsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.monitoring_config = MonitoringConfigOperations( + self._client, self._config, self._serialize, self._deserialize) + self.shares = SharesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.storage_account_credentials = StorageAccountCredentialsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.storage_accounts = StorageAccountsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.containers = ContainersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.triggers = TriggersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.users = UsersOperations( + self._client, self._config, self._serialize, self._deserialize) + + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + + def close(self): + # type: () -> None + self._client.close() + + def __enter__(self): + # type: () -> DataBoxEdgeManagementClient + self._client.__enter__() + return self + + def __exit__(self, *exc_details): + # type: (Any) -> None + self._client.__exit__(*exc_details) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/_metadata.json b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/_metadata.json new file mode 100644 index 000000000000..f677ec50bfde --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/_metadata.json @@ -0,0 +1,120 @@ +{ + "chosen_version": "2020-12-01", + "total_api_version_list": ["2020-12-01"], + "client": { + "name": "DataBoxEdgeManagementClient", + "filename": "_data_box_edge_management_client", + "description": "The DataBoxEdge Client.", + "base_url": "\u0027https://management.azure.com\u0027", + "custom_base_url": null, + "azure_arm": true, + "has_lro_operations": true, + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"DataBoxEdgeManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"DataBoxEdgeManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" + }, + "global_parameters": { + "sync": { + "credential": { + "signature": "credential, # type: \"TokenCredential\"", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials.TokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id, # type: str", + "description": "The subscription ID.", + "docstring_type": "str", + "required": true + } + }, + "async": { + "credential": { + "signature": "credential: \"AsyncTokenCredential\",", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id: str,", + "description": "The subscription ID.", + "docstring_type": "str", + "required": true + } + }, + "constant": { + }, + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } + }, + "config": { + "credential": true, + "credential_scopes": ["https://management.azure.com/.default"], + "credential_default_policy_type": "BearerTokenCredentialPolicy", + "credential_default_policy_type_has_async_version": true, + "credential_key_header_name": null, + "sync_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\": [\"TokenCredential\"]}}}", + "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": { + "operations": "Operations", + "available_skus": "AvailableSkusOperations", + "devices": "DevicesOperations", + "alerts": "AlertsOperations", + "bandwidth_schedules": "BandwidthSchedulesOperations", + "jobs": "JobsOperations", + "nodes": "NodesOperations", + "operations_status": "OperationsStatusOperations", + "orders": "OrdersOperations", + "roles": "RolesOperations", + "addons": "AddonsOperations", + "monitoring_config": "MonitoringConfigOperations", + "shares": "SharesOperations", + "storage_account_credentials": "StorageAccountCredentialsOperations", + "storage_accounts": "StorageAccountsOperations", + "containers": "ContainersOperations", + "triggers": "TriggersOperations", + "users": "UsersOperations" + } +} \ No newline at end of file diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/__init__.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/__init__.py new file mode 100644 index 000000000000..c33d46ee91d8 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/__init__.py @@ -0,0 +1,10 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._data_box_edge_management_client import DataBoxEdgeManagementClient +__all__ = ['DataBoxEdgeManagementClient'] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/_configuration.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/_configuration.py new file mode 100644 index 000000000000..52416ed19fd9 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/_configuration.py @@ -0,0 +1,66 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +VERSION = "unknown" + +class DataBoxEdgeManagementClientConfiguration(Configuration): + """Configuration for DataBoxEdgeManagementClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The subscription ID. + :type subscription_id: str + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + **kwargs: Any + ) -> None: + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(DataBoxEdgeManagementClientConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2020-12-01" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'mgmt-databoxedge/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs: Any + ) -> None: + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/_data_box_edge_management_client.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/_data_box_edge_management_client.py new file mode 100644 index 000000000000..0cb209c359c9 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/_data_box_edge_management_client.py @@ -0,0 +1,167 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, Optional, TYPE_CHECKING + +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core import AsyncARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +from ._configuration import DataBoxEdgeManagementClientConfiguration +from .operations import Operations +from .operations import AvailableSkusOperations +from .operations import DevicesOperations +from .operations import AlertsOperations +from .operations import BandwidthSchedulesOperations +from .operations import JobsOperations +from .operations import NodesOperations +from .operations import OperationsStatusOperations +from .operations import OrdersOperations +from .operations import RolesOperations +from .operations import AddonsOperations +from .operations import MonitoringConfigOperations +from .operations import SharesOperations +from .operations import StorageAccountCredentialsOperations +from .operations import StorageAccountsOperations +from .operations import ContainersOperations +from .operations import TriggersOperations +from .operations import UsersOperations +from .. import models + + +class DataBoxEdgeManagementClient(object): + """The DataBoxEdge Client. + + :ivar operations: Operations operations + :vartype operations: azure.mgmt.databoxedge.v2020_12_01.aio.operations.Operations + :ivar available_skus: AvailableSkusOperations operations + :vartype available_skus: azure.mgmt.databoxedge.v2020_12_01.aio.operations.AvailableSkusOperations + :ivar devices: DevicesOperations operations + :vartype devices: azure.mgmt.databoxedge.v2020_12_01.aio.operations.DevicesOperations + :ivar alerts: AlertsOperations operations + :vartype alerts: azure.mgmt.databoxedge.v2020_12_01.aio.operations.AlertsOperations + :ivar bandwidth_schedules: BandwidthSchedulesOperations operations + :vartype bandwidth_schedules: azure.mgmt.databoxedge.v2020_12_01.aio.operations.BandwidthSchedulesOperations + :ivar jobs: JobsOperations operations + :vartype jobs: azure.mgmt.databoxedge.v2020_12_01.aio.operations.JobsOperations + :ivar nodes: NodesOperations operations + :vartype nodes: azure.mgmt.databoxedge.v2020_12_01.aio.operations.NodesOperations + :ivar operations_status: OperationsStatusOperations operations + :vartype operations_status: azure.mgmt.databoxedge.v2020_12_01.aio.operations.OperationsStatusOperations + :ivar orders: OrdersOperations operations + :vartype orders: azure.mgmt.databoxedge.v2020_12_01.aio.operations.OrdersOperations + :ivar roles: RolesOperations operations + :vartype roles: azure.mgmt.databoxedge.v2020_12_01.aio.operations.RolesOperations + :ivar addons: AddonsOperations operations + :vartype addons: azure.mgmt.databoxedge.v2020_12_01.aio.operations.AddonsOperations + :ivar monitoring_config: MonitoringConfigOperations operations + :vartype monitoring_config: azure.mgmt.databoxedge.v2020_12_01.aio.operations.MonitoringConfigOperations + :ivar shares: SharesOperations operations + :vartype shares: azure.mgmt.databoxedge.v2020_12_01.aio.operations.SharesOperations + :ivar storage_account_credentials: StorageAccountCredentialsOperations operations + :vartype storage_account_credentials: azure.mgmt.databoxedge.v2020_12_01.aio.operations.StorageAccountCredentialsOperations + :ivar storage_accounts: StorageAccountsOperations operations + :vartype storage_accounts: azure.mgmt.databoxedge.v2020_12_01.aio.operations.StorageAccountsOperations + :ivar containers: ContainersOperations operations + :vartype containers: azure.mgmt.databoxedge.v2020_12_01.aio.operations.ContainersOperations + :ivar triggers: TriggersOperations operations + :vartype triggers: azure.mgmt.databoxedge.v2020_12_01.aio.operations.TriggersOperations + :ivar users: UsersOperations operations + :vartype users: azure.mgmt.databoxedge.v2020_12_01.aio.operations.UsersOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The subscription ID. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + base_url: Optional[str] = None, + **kwargs: Any + ) -> None: + if not base_url: + base_url = 'https://management.azure.com' + self._config = DataBoxEdgeManagementClientConfiguration(credential, subscription_id, **kwargs) + self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize) + self.available_skus = AvailableSkusOperations( + self._client, self._config, self._serialize, self._deserialize) + self.devices = DevicesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.alerts = AlertsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.bandwidth_schedules = BandwidthSchedulesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.jobs = JobsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.nodes = NodesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.operations_status = OperationsStatusOperations( + self._client, self._config, self._serialize, self._deserialize) + self.orders = OrdersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.roles = RolesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.addons = AddonsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.monitoring_config = MonitoringConfigOperations( + self._client, self._config, self._serialize, self._deserialize) + self.shares = SharesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.storage_account_credentials = StorageAccountCredentialsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.storage_accounts = StorageAccountsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.containers = ContainersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.triggers = TriggersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.users = UsersOperations( + self._client, self._config, self._serialize, self._deserialize) + + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "DataBoxEdgeManagementClient": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/__init__.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/__init__.py new file mode 100644 index 000000000000..d70057be6458 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/__init__.py @@ -0,0 +1,47 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._operations import Operations +from ._available_skus_operations import AvailableSkusOperations +from ._devices_operations import DevicesOperations +from ._alerts_operations import AlertsOperations +from ._bandwidth_schedules_operations import BandwidthSchedulesOperations +from ._jobs_operations import JobsOperations +from ._nodes_operations import NodesOperations +from ._operations_status_operations import OperationsStatusOperations +from ._orders_operations import OrdersOperations +from ._roles_operations import RolesOperations +from ._addons_operations import AddonsOperations +from ._monitoring_config_operations import MonitoringConfigOperations +from ._shares_operations import SharesOperations +from ._storage_account_credentials_operations import StorageAccountCredentialsOperations +from ._storage_accounts_operations import StorageAccountsOperations +from ._containers_operations import ContainersOperations +from ._triggers_operations import TriggersOperations +from ._users_operations import UsersOperations + +__all__ = [ + 'Operations', + 'AvailableSkusOperations', + 'DevicesOperations', + 'AlertsOperations', + 'BandwidthSchedulesOperations', + 'JobsOperations', + 'NodesOperations', + 'OperationsStatusOperations', + 'OrdersOperations', + 'RolesOperations', + 'AddonsOperations', + 'MonitoringConfigOperations', + 'SharesOperations', + 'StorageAccountCredentialsOperations', + 'StorageAccountsOperations', + 'ContainersOperations', + 'TriggersOperations', + 'UsersOperations', +] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_addons_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_addons_operations.py new file mode 100644 index 000000000000..7287aec3b494 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_addons_operations.py @@ -0,0 +1,450 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class AddonsOperations: + """AddonsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_role( + self, + device_name: str, + role_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.AddonList"]: + """Lists all the addons configured in the role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AddonList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.AddonList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AddonList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_role.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AddonList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_role.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons'} # type: ignore + + async def get( + self, + device_name: str, + role_name: str, + addon_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Addon": + """Gets a specific addon by name. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param addon_name: The addon name. + :type addon_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Addon, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.Addon + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Addon"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Addon', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + role_name: str, + addon_name: str, + resource_group_name: str, + addon: "_models.Addon", + **kwargs + ) -> Optional["_models.Addon"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Addon"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(addon, 'Addon') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Addon', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + role_name: str, + addon_name: str, + resource_group_name: str, + addon: "_models.Addon", + **kwargs + ) -> AsyncLROPoller["_models.Addon"]: + """Create or update a addon. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param addon_name: The addon name. + :type addon_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param addon: The addon properties. + :type addon: ~azure.mgmt.databoxedge.v2020_12_01.models.Addon + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Addon or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_12_01.models.Addon] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Addon"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + role_name=role_name, + addon_name=addon_name, + resource_group_name=resource_group_name, + addon=addon, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Addon', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + role_name: str, + addon_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + role_name: str, + addon_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the addon on the device. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param addon_name: The addon name. + :type addon_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + role_name=role_name, + addon_name=addon_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_alerts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_alerts_operations.py new file mode 100644 index 000000000000..bd674460d0ac --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_alerts_operations.py @@ -0,0 +1,180 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class AlertsOperations: + """AlertsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.AlertList"]: + """Gets all the alerts for a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AlertList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.AlertList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AlertList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AlertList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Alert": + """Gets an alert by name. + + Gets an alert by name. + + :param device_name: The device name. + :type device_name: str + :param name: The alert name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Alert, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.Alert + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Alert"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Alert', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_available_skus_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_available_skus_operations.py new file mode 100644 index 000000000000..06b8e32035ae --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_available_skus_operations.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class AvailableSkusOperations: + """AvailableSkusOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.DataBoxEdgeSkuList"]: + """List all the available Skus and information related to them. + + List all the available Skus and information related to them. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataBoxEdgeSkuList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeSkuList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeSkuList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeSkuList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataBoxEdge/availableSkus'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_bandwidth_schedules_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_bandwidth_schedules_operations.py new file mode 100644 index 000000000000..3e4bc7a09474 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_bandwidth_schedules_operations.py @@ -0,0 +1,428 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class BandwidthSchedulesOperations: + """BandwidthSchedulesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.BandwidthSchedulesList"]: + """Gets all the bandwidth schedules for a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either BandwidthSchedulesList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.BandwidthSchedulesList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedulesList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('BandwidthSchedulesList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.BandwidthSchedule": + """Gets the properties of the specified bandwidth schedule. + + :param device_name: The device name. + :type device_name: str + :param name: The bandwidth schedule name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: BandwidthSchedule, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.BandwidthSchedule + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('BandwidthSchedule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + parameters: "_models.BandwidthSchedule", + **kwargs + ) -> Optional["_models.BandwidthSchedule"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.BandwidthSchedule"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'BandwidthSchedule') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('BandwidthSchedule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + name: str, + resource_group_name: str, + parameters: "_models.BandwidthSchedule", + **kwargs + ) -> AsyncLROPoller["_models.BandwidthSchedule"]: + """Creates or updates a bandwidth schedule. + + :param device_name: The device name. + :type device_name: str + :param name: The bandwidth schedule name which needs to be added/updated. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The bandwidth schedule to be added or updated. + :type parameters: ~azure.mgmt.databoxedge.v2020_12_01.models.BandwidthSchedule + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either BandwidthSchedule or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_12_01.models.BandwidthSchedule] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedule"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('BandwidthSchedule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified bandwidth schedule. + + :param device_name: The device name. + :type device_name: str + :param name: The bandwidth schedule name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_containers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_containers_operations.py new file mode 100644 index 000000000000..31fc7b531c68 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_containers_operations.py @@ -0,0 +1,580 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ContainersOperations: + """ContainersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_storage_account( + self, + device_name: str, + storage_account_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.ContainerList"]: + """Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device. + + Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The storage Account name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ContainerList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.ContainerList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ContainerList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_storage_account.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ContainerList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_storage_account.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers'} # type: ignore + + async def get( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Container": + """Gets a container by name. + + Gets a container by name. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container Name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Container, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.Container + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Container"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Container', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + container: "_models.Container", + **kwargs + ) -> Optional["_models.Container"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Container"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(container, 'Container') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Container', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + container: "_models.Container", + **kwargs + ) -> AsyncLROPoller["_models.Container"]: + """Creates a new container or updates an existing container on the device. + + Creates a new container or updates an existing container on the device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param container: The container properties. + :type container: ~azure.mgmt.databoxedge.v2020_12_01.models.Container + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Container or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_12_01.models.Container] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Container"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + storage_account_name=storage_account_name, + container_name=container_name, + resource_group_name=resource_group_name, + container=container, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Container', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the container on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + storage_account_name=storage_account_name, + container_name=container_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + async def _refresh_initial( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._refresh_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _refresh_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}/refresh'} # type: ignore + + async def begin_refresh( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Refreshes the container metadata with the data from the cloud. + + Refreshes the container metadata with the data from the cloud. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._refresh_initial( + device_name=device_name, + storage_account_name=storage_account_name, + container_name=container_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_refresh.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}/refresh'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_devices_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_devices_operations.py new file mode 100644 index 000000000000..f3bc67df017d --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_devices_operations.py @@ -0,0 +1,1363 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class DevicesOperations: + """DevicesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_subscription( + self, + expand: Optional[str] = None, + **kwargs + ) -> AsyncIterable["_models.DataBoxEdgeDeviceList"]: + """Gets all the Data Box Edge/Data Box Gateway devices in a subscription. + + :param expand: Specify $expand=details to populate additional fields related to the resource or + Specify $skipToken=:code:`` to populate the next page in the list. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDeviceList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeDeviceList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + expand: Optional[str] = None, + **kwargs + ) -> AsyncIterable["_models.DataBoxEdgeDeviceList"]: + """Gets all the Data Box Edge/Data Box Gateway devices in a resource group. + + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param expand: Specify $expand=details to populate additional fields related to the resource or + Specify $skipToken=:code:`` to populate the next page in the list. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDeviceList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeDeviceList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices'} # type: ignore + + async def get( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.DataBoxEdgeDevice": + """Gets the properties of the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDevice, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDevice + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + resource_group_name: str, + data_box_edge_device: "_models.DataBoxEdgeDevice", + **kwargs + ) -> "_models.DataBoxEdgeDevice": + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(data_box_edge_device, 'DataBoxEdgeDevice') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + resource_group_name: str, + data_box_edge_device: "_models.DataBoxEdgeDevice", + **kwargs + ) -> AsyncLROPoller["_models.DataBoxEdgeDevice"]: + """Creates or updates a Data Box Edge/Data Box Gateway resource. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param data_box_edge_device: The resource object. + :type data_box_edge_device: ~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDevice + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either DataBoxEdgeDevice or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDevice] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + resource_group_name=resource_group_name, + data_box_edge_device=data_box_edge_device, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + async def update( + self, + device_name: str, + resource_group_name: str, + parameters: "_models.DataBoxEdgeDevicePatch", + **kwargs + ) -> "_models.DataBoxEdgeDevice": + """Modifies a Data Box Edge/Data Box Gateway resource. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The resource parameters. + :type parameters: ~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDevicePatch + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDevice, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDevice + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DataBoxEdgeDevicePatch') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + async def _download_updates_initial( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._download_updates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _download_updates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/downloadUpdates'} # type: ignore + + async def begin_download_updates( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Downloads the updates on a Data Box Edge/Data Box Gateway device. + + Downloads the updates on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._download_updates_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_download_updates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/downloadUpdates'} # type: ignore + + async def generate_certificate( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.GenerateCertResponse": + """Generates certificate for activation key. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: GenerateCertResponse, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.GenerateCertResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.GenerateCertResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.generate_certificate.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('GenerateCertResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + generate_certificate.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/generateCertificate'} # type: ignore + + async def get_extended_information( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.DataBoxEdgeDeviceExtendedInfo": + """Gets additional information for the specified Azure Stack Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDeviceExtendedInfo, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDeviceExtendedInfo + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceExtendedInfo"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get_extended_information.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDeviceExtendedInfo', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_extended_information.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/getExtendedInformation'} # type: ignore + + async def _install_updates_initial( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._install_updates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _install_updates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/installUpdates'} # type: ignore + + async def begin_install_updates( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Installs the updates on the Data Box Edge/Data Box Gateway device. + + Installs the updates on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._install_updates_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_install_updates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/installUpdates'} # type: ignore + + async def get_network_settings( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.NetworkSettings": + """Gets the network settings of the specified Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkSettings, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.NetworkSettings + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSettings"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get_network_settings.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkSettings', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_network_settings.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/networkSettings/default'} # type: ignore + + async def _scan_for_updates_initial( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._scan_for_updates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _scan_for_updates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/scanForUpdates'} # type: ignore + + async def begin_scan_for_updates( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Scans for updates on a Data Box Edge/Data Box Gateway device. + + Scans for updates on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._scan_for_updates_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_scan_for_updates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/scanForUpdates'} # type: ignore + + async def _create_or_update_security_settings_initial( + self, + device_name: str, + resource_group_name: str, + security_settings: "_models.SecuritySettings", + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_security_settings_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(security_settings, 'SecuritySettings') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _create_or_update_security_settings_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/securitySettings/default/update'} # type: ignore + + async def begin_create_or_update_security_settings( + self, + device_name: str, + resource_group_name: str, + security_settings: "_models.SecuritySettings", + **kwargs + ) -> AsyncLROPoller[None]: + """Updates the security settings on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param security_settings: The security settings. + :type security_settings: ~azure.mgmt.databoxedge.v2020_12_01.models.SecuritySettings + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_security_settings_initial( + device_name=device_name, + resource_group_name=resource_group_name, + security_settings=security_settings, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update_security_settings.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/securitySettings/default/update'} # type: ignore + + async def update_extended_information( + self, + device_name: str, + resource_group_name: str, + parameters: "_models.DataBoxEdgeDeviceExtendedInfoPatch", + **kwargs + ) -> "_models.DataBoxEdgeDeviceExtendedInfo": + """Gets additional information for the specified Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The patch object. + :type parameters: ~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDeviceExtendedInfoPatch + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDeviceExtendedInfo, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDeviceExtendedInfo + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceExtendedInfo"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_extended_information.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DataBoxEdgeDeviceExtendedInfoPatch') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDeviceExtendedInfo', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_extended_information.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/updateExtendedInformation'} # type: ignore + + async def get_update_summary( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.UpdateSummary": + """Gets information about the availability of updates based on the last scan of the device. It also gets information about any ongoing download or install jobs on the device. + + Gets information about the availability of updates based on the last scan of the device. It + also gets information about any ongoing download or install jobs on the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: UpdateSummary, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.UpdateSummary + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UpdateSummary"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get_update_summary.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('UpdateSummary', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_update_summary.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/updateSummary/default'} # type: ignore + + async def upload_certificate( + self, + device_name: str, + resource_group_name: str, + parameters: "_models.UploadCertificateRequest", + **kwargs + ) -> "_models.UploadCertificateResponse": + """Uploads registration certificate for the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The upload certificate request. + :type parameters: ~azure.mgmt.databoxedge.v2020_12_01.models.UploadCertificateRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :return: UploadCertificateResponse, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.UploadCertificateResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UploadCertificateResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.upload_certificate.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'UploadCertificateRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('UploadCertificateResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + upload_certificate.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/uploadCertificate'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_jobs_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_jobs_operations.py new file mode 100644 index 000000000000..792da56690ad --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_jobs_operations.py @@ -0,0 +1,105 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class JobsOperations: + """JobsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Job": + """Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The job name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Job, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.Job + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Job', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/jobs/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_monitoring_config_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_monitoring_config_operations.py new file mode 100644 index 000000000000..23fd343f2ac8 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_monitoring_config_operations.py @@ -0,0 +1,440 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class MonitoringConfigOperations: + """MonitoringConfigOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + device_name: str, + role_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.MonitoringMetricConfigurationList"]: + """Lists metric configurations in a role. + + Lists metric configurations in a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either MonitoringMetricConfigurationList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.MonitoringMetricConfigurationList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.MonitoringMetricConfigurationList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('MonitoringMetricConfigurationList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig'} # type: ignore + + async def get( + self, + device_name: str, + role_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.MonitoringMetricConfiguration": + """Gets a metric configuration of a role. + + Gets a metric configuration of a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: MonitoringMetricConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.MonitoringMetricConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.MonitoringMetricConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('MonitoringMetricConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + role_name: str, + resource_group_name: str, + monitoring_metric_configuration: "_models.MonitoringMetricConfiguration", + **kwargs + ) -> Optional["_models.MonitoringMetricConfiguration"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.MonitoringMetricConfiguration"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(monitoring_metric_configuration, 'MonitoringMetricConfiguration') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('MonitoringMetricConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + role_name: str, + resource_group_name: str, + monitoring_metric_configuration: "_models.MonitoringMetricConfiguration", + **kwargs + ) -> AsyncLROPoller["_models.MonitoringMetricConfiguration"]: + """Creates a new metric configuration or updates an existing one for a role. + + Creates a new metric configuration or updates an existing one for a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param monitoring_metric_configuration: The metric configuration. + :type monitoring_metric_configuration: ~azure.mgmt.databoxedge.v2020_12_01.models.MonitoringMetricConfiguration + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either MonitoringMetricConfiguration or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_12_01.models.MonitoringMetricConfiguration] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.MonitoringMetricConfiguration"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + role_name=role_name, + resource_group_name=resource_group_name, + monitoring_metric_configuration=monitoring_metric_configuration, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('MonitoringMetricConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + role_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + async def begin_delete( + self, + device_name: str, + role_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """deletes a new metric configuration for a role. + + deletes a new metric configuration for a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + role_name=role_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_nodes_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_nodes_operations.py new file mode 100644 index 000000000000..fb78384ebf77 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_nodes_operations.py @@ -0,0 +1,116 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class NodesOperations: + """NodesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.NodeList"]: + """Gets all the nodes currently configured under this Data Box Edge device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NodeList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.NodeList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NodeList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NodeList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/nodes'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_operations.py new file mode 100644 index 000000000000..9b025645c727 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_operations.py @@ -0,0 +1,106 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class Operations: + """Operations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.OperationsList"]: + """List all the supported operations. + + List all the supported operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationsList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.OperationsList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationsList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('OperationsList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/providers/Microsoft.DataBoxEdge/operations'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_operations_status_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_operations_status_operations.py new file mode 100644 index 000000000000..7b3bd3020a35 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_operations_status_operations.py @@ -0,0 +1,105 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class OperationsStatusOperations: + """OperationsStatusOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Job": + """Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The job name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Job, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.Job + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Job', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/operationsStatus/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_orders_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_orders_operations.py new file mode 100644 index 000000000000..13461d449752 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_orders_operations.py @@ -0,0 +1,478 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class OrdersOperations: + """OrdersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.OrderList"]: + """Lists all the orders related to a Data Box Edge/Data Box Gateway device. + + Lists all the orders related to a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OrderList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.OrderList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OrderList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('OrderList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders'} # type: ignore + + async def get( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Order": + """Gets a specific order by name. + + Gets a specific order by name. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Order, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.Order + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Order"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Order', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + resource_group_name: str, + order: "_models.Order", + **kwargs + ) -> Optional["_models.Order"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Order"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(order, 'Order') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Order', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + resource_group_name: str, + order: "_models.Order", + **kwargs + ) -> AsyncLROPoller["_models.Order"]: + """Creates or updates an order. + + Creates or updates an order. + + :param device_name: The order details of a device. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param order: The order to be created or updated. + :type order: ~azure.mgmt.databoxedge.v2020_12_01.models.Order + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Order or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_12_01.models.Order] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Order"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + resource_group_name=resource_group_name, + order=order, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Order', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + async def begin_delete( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the order related to the device. + + Deletes the order related to the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + async def list_dc_access_code( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.DCAccessCode": + """Gets the DCAccess Code. + + Gets the DCAccess Code. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DCAccessCode, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.DCAccessCode + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DCAccessCode"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.list_dc_access_code.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DCAccessCode', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_dc_access_code.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default/listDCAccessCode'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_roles_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_roles_operations.py new file mode 100644 index 000000000000..c48fb03eb036 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_roles_operations.py @@ -0,0 +1,428 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class RolesOperations: + """RolesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.RoleList"]: + """Lists all the roles configured in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either RoleList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.RoleList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RoleList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('RoleList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Role": + """Gets a specific role by name. + + :param device_name: The device name. + :type device_name: str + :param name: The role name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Role, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.Role + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Role"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Role', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + role: "_models.Role", + **kwargs + ) -> Optional["_models.Role"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Role"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(role, 'Role') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Role', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + name: str, + resource_group_name: str, + role: "_models.Role", + **kwargs + ) -> AsyncLROPoller["_models.Role"]: + """Create or update a role. + + :param device_name: The device name. + :type device_name: str + :param name: The role name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param role: The role properties. + :type role: ~azure.mgmt.databoxedge.v2020_12_01.models.Role + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Role or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_12_01.models.Role] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Role"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + role=role, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Role', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the role on the device. + + :param device_name: The device name. + :type device_name: str + :param name: The role name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_shares_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_shares_operations.py new file mode 100644 index 000000000000..2dd990265729 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_shares_operations.py @@ -0,0 +1,551 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class SharesOperations: + """SharesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.ShareList"]: + """Lists all the shares in a Data Box Edge/Data Box Gateway device. + + Lists all the shares in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ShareList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.ShareList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ShareList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ShareList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Share": + """Gets a share by name. + + Gets a share by name. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Share, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.Share + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Share"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Share', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + share: "_models.Share", + **kwargs + ) -> Optional["_models.Share"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Share"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(share, 'Share') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Share', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + name: str, + resource_group_name: str, + share: "_models.Share", + **kwargs + ) -> AsyncLROPoller["_models.Share"]: + """Creates a new share or updates an existing share on the device. + + Creates a new share or updates an existing share on the device. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param share: The share properties. + :type share: ~azure.mgmt.databoxedge.v2020_12_01.models.Share + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Share or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_12_01.models.Share] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Share"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + share=share, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Share', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the share on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + async def _refresh_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._refresh_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _refresh_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}/refresh'} # type: ignore + + async def begin_refresh( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Refreshes the share metadata with the data from the cloud. + + Refreshes the share metadata with the data from the cloud. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._refresh_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_refresh.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}/refresh'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_storage_account_credentials_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_storage_account_credentials_operations.py new file mode 100644 index 000000000000..3289fffa87df --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_storage_account_credentials_operations.py @@ -0,0 +1,430 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class StorageAccountCredentialsOperations: + """StorageAccountCredentialsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.StorageAccountCredentialList"]: + """Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device. + + Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StorageAccountCredentialList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.StorageAccountCredentialList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredentialList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('StorageAccountCredentialList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.StorageAccountCredential": + """Gets the properties of the specified storage account credential. + + :param device_name: The device name. + :type device_name: str + :param name: The storage account credential name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: StorageAccountCredential, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.StorageAccountCredential + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredential"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('StorageAccountCredential', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + storage_account_credential: "_models.StorageAccountCredential", + **kwargs + ) -> Optional["_models.StorageAccountCredential"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.StorageAccountCredential"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(storage_account_credential, 'StorageAccountCredential') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('StorageAccountCredential', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + name: str, + resource_group_name: str, + storage_account_credential: "_models.StorageAccountCredential", + **kwargs + ) -> AsyncLROPoller["_models.StorageAccountCredential"]: + """Creates or updates the storage account credential. + + :param device_name: The device name. + :type device_name: str + :param name: The storage account credential name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param storage_account_credential: The storage account credential. + :type storage_account_credential: ~azure.mgmt.databoxedge.v2020_12_01.models.StorageAccountCredential + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either StorageAccountCredential or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_12_01.models.StorageAccountCredential] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredential"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + storage_account_credential=storage_account_credential, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('StorageAccountCredential', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the storage account credential. + + :param device_name: The device name. + :type device_name: str + :param name: The storage account credential name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_storage_accounts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_storage_accounts_operations.py new file mode 100644 index 000000000000..6cc6cd15314f --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_storage_accounts_operations.py @@ -0,0 +1,434 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class StorageAccountsOperations: + """StorageAccountsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.StorageAccountList"]: + """Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device. + + Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StorageAccountList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.StorageAccountList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('StorageAccountList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts'} # type: ignore + + async def get( + self, + device_name: str, + storage_account_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.StorageAccount": + """Gets a StorageAccount by name. + + Gets a StorageAccount by name. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The storage account name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: StorageAccount, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.StorageAccount + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('StorageAccount', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + storage_account_name: str, + resource_group_name: str, + storage_account: "_models.StorageAccount", + **kwargs + ) -> Optional["_models.StorageAccount"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.StorageAccount"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(storage_account, 'StorageAccount') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('StorageAccount', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + storage_account_name: str, + resource_group_name: str, + storage_account: "_models.StorageAccount", + **kwargs + ) -> AsyncLROPoller["_models.StorageAccount"]: + """Creates a new StorageAccount or updates an existing StorageAccount on the device. + + Creates a new StorageAccount or updates an existing StorageAccount on the device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The StorageAccount name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param storage_account: The StorageAccount properties. + :type storage_account: ~azure.mgmt.databoxedge.v2020_12_01.models.StorageAccount + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_12_01.models.StorageAccount] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + storage_account_name=storage_account_name, + resource_group_name=resource_group_name, + storage_account=storage_account, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('StorageAccount', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + storage_account_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + storage_account_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the StorageAccount on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The StorageAccount name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + storage_account_name=storage_account_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_triggers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_triggers_operations.py new file mode 100644 index 000000000000..9eab91ee9da8 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_triggers_operations.py @@ -0,0 +1,434 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class TriggersOperations: + """TriggersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + filter: Optional[str] = None, + **kwargs + ) -> AsyncIterable["_models.TriggerList"]: + """Lists all the triggers configured in the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param filter: Specify $filter='CustomContextTag eq :code:``' to filter on custom context + tag property. + :type filter: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TriggerList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.TriggerList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TriggerList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if filter is not None: + query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('TriggerList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Trigger": + """Get a specific trigger by name. + + :param device_name: The device name. + :type device_name: str + :param name: The trigger name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Trigger, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.Trigger + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Trigger"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Trigger', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + trigger: "_models.Trigger", + **kwargs + ) -> Optional["_models.Trigger"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Trigger"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(trigger, 'Trigger') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Trigger', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + name: str, + resource_group_name: str, + trigger: "_models.Trigger", + **kwargs + ) -> AsyncLROPoller["_models.Trigger"]: + """Creates or updates a trigger. + + :param device_name: Creates or updates a trigger. + :type device_name: str + :param name: The trigger name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param trigger: The trigger. + :type trigger: ~azure.mgmt.databoxedge.v2020_12_01.models.Trigger + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Trigger or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_12_01.models.Trigger] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Trigger"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + trigger=trigger, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Trigger', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the trigger on the gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The trigger name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_users_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_users_operations.py new file mode 100644 index 000000000000..b3666cb2e9c5 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/aio/operations/_users_operations.py @@ -0,0 +1,434 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class UsersOperations: + """UsersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + filter: Optional[str] = None, + **kwargs + ) -> AsyncIterable["_models.UserList"]: + """Gets all the users registered on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param filter: Specify $filter='Type eq :code:``' to filter on user type property. + :type filter: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either UserList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.UserList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UserList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if filter is not None: + query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('UserList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.User": + """Gets the properties of the specified user. + + :param device_name: The device name. + :type device_name: str + :param name: The user name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: User, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.User + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.User"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('User', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + user: "_models.User", + **kwargs + ) -> Optional["_models.User"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.User"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(user, 'User') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('User', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + name: str, + resource_group_name: str, + user: "_models.User", + **kwargs + ) -> AsyncLROPoller["_models.User"]: + """Creates a new user or updates an existing user's information on a Data Box Edge/Data Box + Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The user name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param user: The user details. + :type user: ~azure.mgmt.databoxedge.v2020_12_01.models.User + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either User or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_12_01.models.User] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.User"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + user=user, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('User', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the user on a databox edge/gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The user name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/models/__init__.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/models/__init__.py new file mode 100644 index 000000000000..dbf0ba0fe2be --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/models/__init__.py @@ -0,0 +1,487 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +try: + from ._models_py3 import ARMBaseModel + from ._models_py3 import Addon + from ._models_py3 import AddonList + from ._models_py3 import Address + from ._models_py3 import Alert + from ._models_py3 import AlertErrorDetails + from ._models_py3 import AlertList + from ._models_py3 import ArcAddon + from ._models_py3 import AsymmetricEncryptedSecret + from ._models_py3 import Authentication + from ._models_py3 import AzureContainerInfo + from ._models_py3 import BandwidthSchedule + from ._models_py3 import BandwidthSchedulesList + from ._models_py3 import ClientAccessRight + from ._models_py3 import CloudEdgeManagementRole + from ._models_py3 import CloudErrorBody + from ._models_py3 import CniConfig + from ._models_py3 import ComputeResource + from ._models_py3 import ContactDetails + from ._models_py3 import Container + from ._models_py3 import ContainerList + from ._models_py3 import DCAccessCode + from ._models_py3 import DataBoxEdgeDevice + from ._models_py3 import DataBoxEdgeDeviceExtendedInfo + from ._models_py3 import DataBoxEdgeDeviceExtendedInfoPatch + from ._models_py3 import DataBoxEdgeDeviceList + from ._models_py3 import DataBoxEdgeDevicePatch + from ._models_py3 import DataBoxEdgeMoveRequest + from ._models_py3 import DataBoxEdgeSku + from ._models_py3 import DataBoxEdgeSkuList + from ._models_py3 import DeviceSecrets + from ._models_py3 import EdgeProfile + from ._models_py3 import EdgeProfilePatch + from ._models_py3 import EdgeProfileSubscription + from ._models_py3 import EdgeProfileSubscriptionPatch + from ._models_py3 import EtcdInfo + from ._models_py3 import FileEventTrigger + from ._models_py3 import FileSourceInfo + from ._models_py3 import GenerateCertResponse + from ._models_py3 import ImageRepositoryCredential + from ._models_py3 import IoTAddon + from ._models_py3 import IoTDeviceInfo + from ._models_py3 import IoTEdgeAgentInfo + from ._models_py3 import IoTRole + from ._models_py3 import Ipv4Config + from ._models_py3 import Ipv6Config + from ._models_py3 import Job + from ._models_py3 import JobErrorDetails + from ._models_py3 import JobErrorItem + from ._models_py3 import KubernetesClusterInfo + from ._models_py3 import KubernetesIPConfiguration + from ._models_py3 import KubernetesRole + from ._models_py3 import KubernetesRoleCompute + from ._models_py3 import KubernetesRoleNetwork + from ._models_py3 import KubernetesRoleResources + from ._models_py3 import KubernetesRoleStorage + from ._models_py3 import KubernetesRoleStorageClassInfo + from ._models_py3 import LoadBalancerConfig + from ._models_py3 import MECRole + from ._models_py3 import MetricConfiguration + from ._models_py3 import MetricCounter + from ._models_py3 import MetricCounterSet + from ._models_py3 import MetricDimension + from ._models_py3 import MetricDimensionV1 + from ._models_py3 import MetricSpecificationV1 + from ._models_py3 import MonitoringMetricConfiguration + from ._models_py3 import MonitoringMetricConfigurationList + from ._models_py3 import MountPointMap + from ._models_py3 import NetworkAdapter + from ._models_py3 import NetworkAdapterPosition + from ._models_py3 import NetworkSettings + from ._models_py3 import Node + from ._models_py3 import NodeInfo + from ._models_py3 import NodeList + from ._models_py3 import Operation + from ._models_py3 import OperationDisplay + from ._models_py3 import OperationsList + from ._models_py3 import Order + from ._models_py3 import OrderList + from ._models_py3 import OrderStatus + from ._models_py3 import PeriodicTimerEventTrigger + from ._models_py3 import PeriodicTimerSourceInfo + from ._models_py3 import RefreshDetails + from ._models_py3 import ResourceIdentity + from ._models_py3 import ResourceMoveDetails + from ._models_py3 import ResourceTypeSku + from ._models_py3 import Role + from ._models_py3 import RoleList + from ._models_py3 import RoleSinkInfo + from ._models_py3 import Secret + from ._models_py3 import SecuritySettings + from ._models_py3 import ServiceSpecification + from ._models_py3 import Share + from ._models_py3 import ShareAccessRight + from ._models_py3 import ShareList + from ._models_py3 import Sku + from ._models_py3 import SkuCapability + from ._models_py3 import SkuCost + from ._models_py3 import SkuInformation + from ._models_py3 import SkuInformationList + from ._models_py3 import SkuLocationInfo + from ._models_py3 import StorageAccount + from ._models_py3 import StorageAccountCredential + from ._models_py3 import StorageAccountCredentialList + from ._models_py3 import StorageAccountList + from ._models_py3 import SubscriptionRegisteredFeatures + from ._models_py3 import SymmetricKey + from ._models_py3 import SystemData + from ._models_py3 import TrackingInfo + from ._models_py3 import Trigger + from ._models_py3 import TriggerList + from ._models_py3 import UpdateDownloadProgress + from ._models_py3 import UpdateInstallProgress + from ._models_py3 import UpdateSummary + from ._models_py3 import UploadCertificateRequest + from ._models_py3 import UploadCertificateResponse + from ._models_py3 import User + from ._models_py3 import UserAccessRight + from ._models_py3 import UserList +except (SyntaxError, ImportError): + from ._models import ARMBaseModel # type: ignore + from ._models import Addon # type: ignore + from ._models import AddonList # type: ignore + from ._models import Address # type: ignore + from ._models import Alert # type: ignore + from ._models import AlertErrorDetails # type: ignore + from ._models import AlertList # type: ignore + from ._models import ArcAddon # type: ignore + from ._models import AsymmetricEncryptedSecret # type: ignore + from ._models import Authentication # type: ignore + from ._models import AzureContainerInfo # type: ignore + from ._models import BandwidthSchedule # type: ignore + from ._models import BandwidthSchedulesList # type: ignore + from ._models import ClientAccessRight # type: ignore + from ._models import CloudEdgeManagementRole # type: ignore + from ._models import CloudErrorBody # type: ignore + from ._models import CniConfig # type: ignore + from ._models import ComputeResource # type: ignore + from ._models import ContactDetails # type: ignore + from ._models import Container # type: ignore + from ._models import ContainerList # type: ignore + from ._models import DCAccessCode # type: ignore + from ._models import DataBoxEdgeDevice # type: ignore + from ._models import DataBoxEdgeDeviceExtendedInfo # type: ignore + from ._models import DataBoxEdgeDeviceExtendedInfoPatch # type: ignore + from ._models import DataBoxEdgeDeviceList # type: ignore + from ._models import DataBoxEdgeDevicePatch # type: ignore + from ._models import DataBoxEdgeMoveRequest # type: ignore + from ._models import DataBoxEdgeSku # type: ignore + from ._models import DataBoxEdgeSkuList # type: ignore + from ._models import DeviceSecrets # type: ignore + from ._models import EdgeProfile # type: ignore + from ._models import EdgeProfilePatch # type: ignore + from ._models import EdgeProfileSubscription # type: ignore + from ._models import EdgeProfileSubscriptionPatch # type: ignore + from ._models import EtcdInfo # type: ignore + from ._models import FileEventTrigger # type: ignore + from ._models import FileSourceInfo # type: ignore + from ._models import GenerateCertResponse # type: ignore + from ._models import ImageRepositoryCredential # type: ignore + from ._models import IoTAddon # type: ignore + from ._models import IoTDeviceInfo # type: ignore + from ._models import IoTEdgeAgentInfo # type: ignore + from ._models import IoTRole # type: ignore + from ._models import Ipv4Config # type: ignore + from ._models import Ipv6Config # type: ignore + from ._models import Job # type: ignore + from ._models import JobErrorDetails # type: ignore + from ._models import JobErrorItem # type: ignore + from ._models import KubernetesClusterInfo # type: ignore + from ._models import KubernetesIPConfiguration # type: ignore + from ._models import KubernetesRole # type: ignore + from ._models import KubernetesRoleCompute # type: ignore + from ._models import KubernetesRoleNetwork # type: ignore + from ._models import KubernetesRoleResources # type: ignore + from ._models import KubernetesRoleStorage # type: ignore + from ._models import KubernetesRoleStorageClassInfo # type: ignore + from ._models import LoadBalancerConfig # type: ignore + from ._models import MECRole # type: ignore + from ._models import MetricConfiguration # type: ignore + from ._models import MetricCounter # type: ignore + from ._models import MetricCounterSet # type: ignore + from ._models import MetricDimension # type: ignore + from ._models import MetricDimensionV1 # type: ignore + from ._models import MetricSpecificationV1 # type: ignore + from ._models import MonitoringMetricConfiguration # type: ignore + from ._models import MonitoringMetricConfigurationList # type: ignore + from ._models import MountPointMap # type: ignore + from ._models import NetworkAdapter # type: ignore + from ._models import NetworkAdapterPosition # type: ignore + from ._models import NetworkSettings # type: ignore + from ._models import Node # type: ignore + from ._models import NodeInfo # type: ignore + from ._models import NodeList # type: ignore + from ._models import Operation # type: ignore + from ._models import OperationDisplay # type: ignore + from ._models import OperationsList # type: ignore + from ._models import Order # type: ignore + from ._models import OrderList # type: ignore + from ._models import OrderStatus # type: ignore + from ._models import PeriodicTimerEventTrigger # type: ignore + from ._models import PeriodicTimerSourceInfo # type: ignore + from ._models import RefreshDetails # type: ignore + from ._models import ResourceIdentity # type: ignore + from ._models import ResourceMoveDetails # type: ignore + from ._models import ResourceTypeSku # type: ignore + from ._models import Role # type: ignore + from ._models import RoleList # type: ignore + from ._models import RoleSinkInfo # type: ignore + from ._models import Secret # type: ignore + from ._models import SecuritySettings # type: ignore + from ._models import ServiceSpecification # type: ignore + from ._models import Share # type: ignore + from ._models import ShareAccessRight # type: ignore + from ._models import ShareList # type: ignore + from ._models import Sku # type: ignore + from ._models import SkuCapability # type: ignore + from ._models import SkuCost # type: ignore + from ._models import SkuInformation # type: ignore + from ._models import SkuInformationList # type: ignore + from ._models import SkuLocationInfo # type: ignore + from ._models import StorageAccount # type: ignore + from ._models import StorageAccountCredential # type: ignore + from ._models import StorageAccountCredentialList # type: ignore + from ._models import StorageAccountList # type: ignore + from ._models import SubscriptionRegisteredFeatures # type: ignore + from ._models import SymmetricKey # type: ignore + from ._models import SystemData # type: ignore + from ._models import TrackingInfo # type: ignore + from ._models import Trigger # type: ignore + from ._models import TriggerList # type: ignore + from ._models import UpdateDownloadProgress # type: ignore + from ._models import UpdateInstallProgress # type: ignore + from ._models import UpdateSummary # type: ignore + from ._models import UploadCertificateRequest # type: ignore + from ._models import UploadCertificateResponse # type: ignore + from ._models import User # type: ignore + from ._models import UserAccessRight # type: ignore + from ._models import UserList # type: ignore + +from ._data_box_edge_management_client_enums import ( + AccountType, + AddonState, + AddonType, + AlertSeverity, + AuthenticationType, + AzureContainerDataFormat, + ClientPermissionType, + ContainerStatus, + CreatedByType, + DataBoxEdgeDeviceKind, + DataBoxEdgeDeviceStatus, + DataPolicy, + DayOfWeek, + DeviceType, + DownloadPhase, + EncryptionAlgorithm, + HostPlatformType, + InstallRebootBehavior, + JobStatus, + JobType, + KeyVaultSyncStatus, + KubernetesNodeType, + KubernetesState, + MetricAggregationType, + MetricCategory, + MetricUnit, + MonitoringStatus, + MountType, + MsiIdentityType, + NetworkAdapterDHCPStatus, + NetworkAdapterRDMAStatus, + NetworkAdapterStatus, + NetworkGroup, + NodeStatus, + OrderState, + PlatformType, + PosixComplianceStatus, + ResourceMoveStatus, + RoleStatus, + RoleTypes, + SSLStatus, + ShareAccessProtocol, + ShareAccessType, + ShareStatus, + ShipmentType, + SkuAvailability, + SkuName, + SkuSignupOption, + SkuTier, + SkuVersion, + StorageAccountStatus, + SubscriptionState, + TimeGrain, + TriggerEventType, + UpdateOperation, + UpdateOperationStage, + UserType, +) + +__all__ = [ + 'ARMBaseModel', + 'Addon', + 'AddonList', + 'Address', + 'Alert', + 'AlertErrorDetails', + 'AlertList', + 'ArcAddon', + 'AsymmetricEncryptedSecret', + 'Authentication', + 'AzureContainerInfo', + 'BandwidthSchedule', + 'BandwidthSchedulesList', + 'ClientAccessRight', + 'CloudEdgeManagementRole', + 'CloudErrorBody', + 'CniConfig', + 'ComputeResource', + 'ContactDetails', + 'Container', + 'ContainerList', + 'DCAccessCode', + 'DataBoxEdgeDevice', + 'DataBoxEdgeDeviceExtendedInfo', + 'DataBoxEdgeDeviceExtendedInfoPatch', + 'DataBoxEdgeDeviceList', + 'DataBoxEdgeDevicePatch', + 'DataBoxEdgeMoveRequest', + 'DataBoxEdgeSku', + 'DataBoxEdgeSkuList', + 'DeviceSecrets', + 'EdgeProfile', + 'EdgeProfilePatch', + 'EdgeProfileSubscription', + 'EdgeProfileSubscriptionPatch', + 'EtcdInfo', + 'FileEventTrigger', + 'FileSourceInfo', + 'GenerateCertResponse', + 'ImageRepositoryCredential', + 'IoTAddon', + 'IoTDeviceInfo', + 'IoTEdgeAgentInfo', + 'IoTRole', + 'Ipv4Config', + 'Ipv6Config', + 'Job', + 'JobErrorDetails', + 'JobErrorItem', + 'KubernetesClusterInfo', + 'KubernetesIPConfiguration', + 'KubernetesRole', + 'KubernetesRoleCompute', + 'KubernetesRoleNetwork', + 'KubernetesRoleResources', + 'KubernetesRoleStorage', + 'KubernetesRoleStorageClassInfo', + 'LoadBalancerConfig', + 'MECRole', + 'MetricConfiguration', + 'MetricCounter', + 'MetricCounterSet', + 'MetricDimension', + 'MetricDimensionV1', + 'MetricSpecificationV1', + 'MonitoringMetricConfiguration', + 'MonitoringMetricConfigurationList', + 'MountPointMap', + 'NetworkAdapter', + 'NetworkAdapterPosition', + 'NetworkSettings', + 'Node', + 'NodeInfo', + 'NodeList', + 'Operation', + 'OperationDisplay', + 'OperationsList', + 'Order', + 'OrderList', + 'OrderStatus', + 'PeriodicTimerEventTrigger', + 'PeriodicTimerSourceInfo', + 'RefreshDetails', + 'ResourceIdentity', + 'ResourceMoveDetails', + 'ResourceTypeSku', + 'Role', + 'RoleList', + 'RoleSinkInfo', + 'Secret', + 'SecuritySettings', + 'ServiceSpecification', + 'Share', + 'ShareAccessRight', + 'ShareList', + 'Sku', + 'SkuCapability', + 'SkuCost', + 'SkuInformation', + 'SkuInformationList', + 'SkuLocationInfo', + 'StorageAccount', + 'StorageAccountCredential', + 'StorageAccountCredentialList', + 'StorageAccountList', + 'SubscriptionRegisteredFeatures', + 'SymmetricKey', + 'SystemData', + 'TrackingInfo', + 'Trigger', + 'TriggerList', + 'UpdateDownloadProgress', + 'UpdateInstallProgress', + 'UpdateSummary', + 'UploadCertificateRequest', + 'UploadCertificateResponse', + 'User', + 'UserAccessRight', + 'UserList', + 'AccountType', + 'AddonState', + 'AddonType', + 'AlertSeverity', + 'AuthenticationType', + 'AzureContainerDataFormat', + 'ClientPermissionType', + 'ContainerStatus', + 'CreatedByType', + 'DataBoxEdgeDeviceKind', + 'DataBoxEdgeDeviceStatus', + 'DataPolicy', + 'DayOfWeek', + 'DeviceType', + 'DownloadPhase', + 'EncryptionAlgorithm', + 'HostPlatformType', + 'InstallRebootBehavior', + 'JobStatus', + 'JobType', + 'KeyVaultSyncStatus', + 'KubernetesNodeType', + 'KubernetesState', + 'MetricAggregationType', + 'MetricCategory', + 'MetricUnit', + 'MonitoringStatus', + 'MountType', + 'MsiIdentityType', + 'NetworkAdapterDHCPStatus', + 'NetworkAdapterRDMAStatus', + 'NetworkAdapterStatus', + 'NetworkGroup', + 'NodeStatus', + 'OrderState', + 'PlatformType', + 'PosixComplianceStatus', + 'ResourceMoveStatus', + 'RoleStatus', + 'RoleTypes', + 'SSLStatus', + 'ShareAccessProtocol', + 'ShareAccessType', + 'ShareStatus', + 'ShipmentType', + 'SkuAvailability', + 'SkuName', + 'SkuSignupOption', + 'SkuTier', + 'SkuVersion', + 'StorageAccountStatus', + 'SubscriptionState', + 'TimeGrain', + 'TriggerEventType', + 'UpdateOperation', + 'UpdateOperationStage', + 'UserType', +] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/models/_data_box_edge_management_client_enums.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/models/_data_box_edge_management_client_enums.py new file mode 100644 index 000000000000..8bf52f24f0f2 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/models/_data_box_edge_management_client_enums.py @@ -0,0 +1,557 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class AccountType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of storage accessed on the storage account. + """ + + GENERAL_PURPOSE_STORAGE = "GeneralPurposeStorage" + BLOB_STORAGE = "BlobStorage" + +class AddonState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Addon Provisioning State + """ + + INVALID = "Invalid" + CREATING = "Creating" + CREATED = "Created" + UPDATING = "Updating" + RECONFIGURING = "Reconfiguring" + FAILED = "Failed" + DELETING = "Deleting" + +class AddonType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Addon type. + """ + + IOT_EDGE = "IotEdge" + ARC_FOR_KUBERNETES = "ArcForKubernetes" + +class AlertSeverity(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Severity of the alert. + """ + + INFORMATIONAL = "Informational" + WARNING = "Warning" + CRITICAL = "Critical" + +class AuthenticationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The authentication type. + """ + + INVALID = "Invalid" + AZURE_ACTIVE_DIRECTORY = "AzureActiveDirectory" + +class AzureContainerDataFormat(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Storage format used for the file represented by the share. + """ + + BLOCK_BLOB = "BlockBlob" + PAGE_BLOB = "PageBlob" + AZURE_FILE = "AzureFile" + +class ClientPermissionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of access to be allowed for the client. + """ + + NO_ACCESS = "NoAccess" + READ_ONLY = "ReadOnly" + READ_WRITE = "ReadWrite" + +class ContainerStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current status of the container. + """ + + OK = "OK" + OFFLINE = "Offline" + UNKNOWN = "Unknown" + UPDATING = "Updating" + NEEDS_ATTENTION = "NeedsAttention" + +class CreatedByType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of identity that created the resource. + """ + + USER = "User" + APPLICATION = "Application" + MANAGED_IDENTITY = "ManagedIdentity" + KEY = "Key" + +class DataBoxEdgeDeviceKind(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The etag for the devices. + """ + + AZURE_DATA_BOX_GATEWAY = "AzureDataBoxGateway" + AZURE_STACK_EDGE = "AzureStackEdge" + AZURE_STACK_HUB = "AzureStackHub" + AZURE_MODULAR_DATA_CENTRE = "AzureModularDataCentre" + +class DataBoxEdgeDeviceStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The status of the Data Box Edge/Gateway device. + """ + + READY_TO_SETUP = "ReadyToSetup" + ONLINE = "Online" + OFFLINE = "Offline" + NEEDS_ATTENTION = "NeedsAttention" + DISCONNECTED = "Disconnected" + PARTIALLY_DISCONNECTED = "PartiallyDisconnected" + MAINTENANCE = "Maintenance" + +class DataPolicy(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Data policy of the share. + """ + + CLOUD = "Cloud" + LOCAL = "Local" + +class DayOfWeek(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + SUNDAY = "Sunday" + MONDAY = "Monday" + TUESDAY = "Tuesday" + WEDNESDAY = "Wednesday" + THURSDAY = "Thursday" + FRIDAY = "Friday" + SATURDAY = "Saturday" + +class DeviceType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of the Data Box Edge/Gateway device. + """ + + DATA_BOX_EDGE_DEVICE = "DataBoxEdgeDevice" + +class DownloadPhase(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The download phase. + """ + + UNKNOWN = "Unknown" + INITIALIZING = "Initializing" + DOWNLOADING = "Downloading" + VERIFYING = "Verifying" + +class EncryptionAlgorithm(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The algorithm used to encrypt "Value". + """ + + NONE = "None" + AES256 = "AES256" + RSAES_PKCS1_V1_5 = "RSAES_PKCS1_v_1_5" + +class HostPlatformType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Platform where the runtime is hosted. + """ + + KUBERNETES_CLUSTER = "KubernetesCluster" + LINUX_VM = "LinuxVM" + +class InstallRebootBehavior(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Indicates if updates are available and at least one of the updates needs a reboot. + """ + + NEVER_REBOOTS = "NeverReboots" + REQUIRES_REBOOT = "RequiresReboot" + REQUEST_REBOOT = "RequestReboot" + +class JobStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The current status of the job. + """ + + INVALID = "Invalid" + RUNNING = "Running" + SUCCEEDED = "Succeeded" + FAILED = "Failed" + CANCELED = "Canceled" + PAUSED = "Paused" + SCHEDULED = "Scheduled" + +class JobType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of the job. + """ + + INVALID = "Invalid" + SCAN_FOR_UPDATES = "ScanForUpdates" + DOWNLOAD_UPDATES = "DownloadUpdates" + INSTALL_UPDATES = "InstallUpdates" + REFRESH_SHARE = "RefreshShare" + REFRESH_CONTAINER = "RefreshContainer" + BACKUP = "Backup" + RESTORE = "Restore" + TRIGGER_SUPPORT_PACKAGE = "TriggerSupportPackage" + +class KeyVaultSyncStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """For changing or to initiate the resync to key-vault set the status to KeyVaultSyncPending, rest + of the status will not be applicable. + """ + + KEY_VAULT_SYNCED = "KeyVaultSynced" + KEY_VAULT_SYNC_FAILED = "KeyVaultSyncFailed" + KEY_VAULT_NOT_CONFIGURED = "KeyVaultNotConfigured" + KEY_VAULT_SYNC_PENDING = "KeyVaultSyncPending" + KEY_VAULT_SYNCING = "KeyVaultSyncing" + +class KubernetesNodeType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Node type - Master/Worker + """ + + INVALID = "Invalid" + MASTER = "Master" + WORKER = "Worker" + +class KubernetesState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """State of Kubernetes deployment + """ + + INVALID = "Invalid" + CREATING = "Creating" + CREATED = "Created" + UPDATING = "Updating" + RECONFIGURING = "Reconfiguring" + FAILED = "Failed" + DELETING = "Deleting" + +class MetricAggregationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Metric aggregation type. + """ + + NOT_SPECIFIED = "NotSpecified" + NONE = "None" + AVERAGE = "Average" + MINIMUM = "Minimum" + MAXIMUM = "Maximum" + TOTAL = "Total" + COUNT = "Count" + +class MetricCategory(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Metric category. + """ + + CAPACITY = "Capacity" + TRANSACTION = "Transaction" + +class MetricUnit(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Metric units. + """ + + NOT_SPECIFIED = "NotSpecified" + PERCENT = "Percent" + COUNT = "Count" + SECONDS = "Seconds" + MILLISECONDS = "Milliseconds" + BYTES = "Bytes" + BYTES_PER_SECOND = "BytesPerSecond" + COUNT_PER_SECOND = "CountPerSecond" + +class MonitoringStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current monitoring status of the share. + """ + + ENABLED = "Enabled" + DISABLED = "Disabled" + +class MountType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Mounting type. + """ + + VOLUME = "Volume" + HOST_PATH = "HostPath" + +class MsiIdentityType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Identity type + """ + + NONE = "None" + SYSTEM_ASSIGNED = "SystemAssigned" + USER_ASSIGNED = "UserAssigned" + +class NetworkAdapterDHCPStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Value indicating whether this adapter has DHCP enabled. + """ + + DISABLED = "Disabled" + ENABLED = "Enabled" + +class NetworkAdapterRDMAStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Value indicating whether this adapter is RDMA capable. + """ + + INCAPABLE = "Incapable" + CAPABLE = "Capable" + +class NetworkAdapterStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Value indicating whether this adapter is valid. + """ + + INACTIVE = "Inactive" + ACTIVE = "Active" + +class NetworkGroup(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The network group. + """ + + NONE = "None" + NON_RDMA = "NonRDMA" + RDMA = "RDMA" + +class NodeStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The current status of the individual node + """ + + UNKNOWN = "Unknown" + UP = "Up" + DOWN = "Down" + REBOOTING = "Rebooting" + SHUTTING_DOWN = "ShuttingDown" + +class OrderState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Status of the order as per the allowed status types. + """ + + UNTRACKED = "Untracked" + AWAITING_FULFILMENT = "AwaitingFulfilment" + AWAITING_PREPARATION = "AwaitingPreparation" + AWAITING_SHIPMENT = "AwaitingShipment" + SHIPPED = "Shipped" + ARRIVING = "Arriving" + DELIVERED = "Delivered" + REPLACEMENT_REQUESTED = "ReplacementRequested" + LOST_DEVICE = "LostDevice" + DECLINED = "Declined" + RETURN_INITIATED = "ReturnInitiated" + AWAITING_RETURN_SHIPMENT = "AwaitingReturnShipment" + SHIPPED_BACK = "ShippedBack" + COLLECTED_AT_MICROSOFT = "CollectedAtMicrosoft" + AWAITING_PICKUP = "AwaitingPickup" + PICKUP_COMPLETED = "PickupCompleted" + AWAITING_DROP = "AwaitingDrop" + +class PlatformType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Host OS supported by the Arc addon. + """ + + WINDOWS = "Windows" + LINUX = "Linux" + +class PosixComplianceStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """If provisioned storage is posix compliant. + """ + + INVALID = "Invalid" + ENABLED = "Enabled" + DISABLED = "Disabled" + +class ResourceMoveStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Denotes whether move operation is in progress + """ + + NONE = "None" + RESOURCE_MOVE_IN_PROGRESS = "ResourceMoveInProgress" + RESOURCE_MOVE_FAILED = "ResourceMoveFailed" + +class RoleStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Local Edge Management Status + """ + + ENABLED = "Enabled" + DISABLED = "Disabled" + +class RoleTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + IOT = "IOT" + ASA = "ASA" + FUNCTIONS = "Functions" + COGNITIVE = "Cognitive" + MEC = "MEC" + CLOUD_EDGE_MANAGEMENT = "CloudEdgeManagement" + KUBERNETES = "Kubernetes" + +class ShareAccessProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Access protocol to be used by the share. + """ + + SMB = "SMB" + NFS = "NFS" + +class ShareAccessType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of access to be allowed on the share for this user. + """ + + CHANGE = "Change" + READ = "Read" + CUSTOM = "Custom" + +class ShareStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current status of the share. + """ + + OFFLINE = "Offline" + UNKNOWN = "Unknown" + OK = "OK" + UPDATING = "Updating" + NEEDS_ATTENTION = "NeedsAttention" + +class ShipmentType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + NOT_APPLICABLE = "NotApplicable" + SHIPPED_TO_CUSTOMER = "ShippedToCustomer" + SELF_PICKUP = "SelfPickup" + +class SkuAvailability(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Links to the next set of results + """ + + AVAILABLE = "Available" + UNAVAILABLE = "Unavailable" + +class SkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The Sku name. + """ + + GATEWAY = "Gateway" + EDGE = "Edge" + TEA1_NODE = "TEA_1Node" + TEA1_NODE_UPS = "TEA_1Node_UPS" + TEA1_NODE_HEATER = "TEA_1Node_Heater" + TEA1_NODE_UPS_HEATER = "TEA_1Node_UPS_Heater" + TEA4_NODE_HEATER = "TEA_4Node_Heater" + TEA4_NODE_UPS_HEATER = "TEA_4Node_UPS_Heater" + TMA = "TMA" + TDC = "TDC" + TCA_SMALL = "TCA_Small" + GPU = "GPU" + TCA_LARGE = "TCA_Large" + EDGE_P_BASE = "EdgeP_Base" + EDGE_P_HIGH = "EdgeP_High" + EDGE_PR_BASE = "EdgePR_Base" + EDGE_PR_BASE_UPS = "EdgePR_Base_UPS" + EDGE_MR_MINI = "EdgeMR_Mini" + RCA_SMALL = "RCA_Small" + RCA_LARGE = "RCA_Large" + RDC = "RDC" + +class SkuSignupOption(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Sku can be signed up by customer or not. + """ + + NONE = "None" + AVAILABLE = "Available" + +class SkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The Sku tier. + """ + + STANDARD = "Standard" + +class SkuVersion(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Availability of the Sku as preview/stable. + """ + + STABLE = "Stable" + PREVIEW = "Preview" + +class SSLStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Signifies whether SSL needs to be enabled or not. + """ + + ENABLED = "Enabled" + DISABLED = "Disabled" + +class StorageAccountStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current status of the storage account + """ + + OK = "OK" + OFFLINE = "Offline" + UNKNOWN = "Unknown" + UPDATING = "Updating" + NEEDS_ATTENTION = "NeedsAttention" + +class SubscriptionState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + REGISTERED = "Registered" + WARNED = "Warned" + SUSPENDED = "Suspended" + DELETED = "Deleted" + UNREGISTERED = "Unregistered" + +class TimeGrain(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + PT1_M = "PT1M" + PT5_M = "PT5M" + PT15_M = "PT15M" + PT30_M = "PT30M" + PT1_H = "PT1H" + PT6_H = "PT6H" + PT12_H = "PT12H" + PT1_D = "PT1D" + +class TriggerEventType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Trigger Kind. + """ + + FILE_EVENT = "FileEvent" + PERIODIC_TIMER_EVENT = "PeriodicTimerEvent" + +class UpdateOperation(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The current update operation. + """ + + NONE = "None" + SCAN = "Scan" + DOWNLOAD = "Download" + INSTALL = "Install" + +class UpdateOperationStage(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current stage of the update operation. + """ + + UNKNOWN = "Unknown" + INITIAL = "Initial" + SCAN_STARTED = "ScanStarted" + SCAN_COMPLETE = "ScanComplete" + SCAN_FAILED = "ScanFailed" + DOWNLOAD_STARTED = "DownloadStarted" + DOWNLOAD_COMPLETE = "DownloadComplete" + DOWNLOAD_FAILED = "DownloadFailed" + INSTALL_STARTED = "InstallStarted" + INSTALL_COMPLETE = "InstallComplete" + INSTALL_FAILED = "InstallFailed" + REBOOT_INITIATED = "RebootInitiated" + SUCCESS = "Success" + FAILURE = "Failure" + RESCAN_STARTED = "RescanStarted" + RESCAN_COMPLETE = "RescanComplete" + RESCAN_FAILED = "RescanFailed" + +class UserType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of the user. + """ + + SHARE = "Share" + LOCAL_MANAGEMENT = "LocalManagement" + ARM = "ARM" diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/models/_models.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/models/_models.py new file mode 100644 index 000000000000..88a49cb1ce06 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/models/_models.py @@ -0,0 +1,5119 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +import msrest.serialization + + +class ARMBaseModel(msrest.serialization.Model): + """Represents the base class for all object models. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ARMBaseModel, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class Addon(ARMBaseModel): + """Role Addon. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: ArcAddon, IoTAddon. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Addon type.Constant filled by server. Possible values include: + "IotEdge", "ArcForKubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_12_01.models.AddonType + :ivar system_data: Addon type. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + } + + _subtype_map = { + 'kind': {'ArcForKubernetes': 'ArcAddon', 'IotEdge': 'IoTAddon'} + } + + def __init__( + self, + **kwargs + ): + super(Addon, self).__init__(**kwargs) + self.kind = 'Addon' # type: str + self.system_data = None + + +class AddonList(msrest.serialization.Model): + """Collection of all the Role addon on the Azure Stack Edge device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The Value. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.Addon] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Addon]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AddonList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class Address(msrest.serialization.Model): + """The shipping address of the customer. + + All required parameters must be populated in order to send to Azure. + + :param address_line1: The address line1. + :type address_line1: str + :param address_line2: The address line2. + :type address_line2: str + :param address_line3: The address line3. + :type address_line3: str + :param postal_code: The postal code. + :type postal_code: str + :param city: The city name. + :type city: str + :param state: The state name. + :type state: str + :param country: Required. The country name. + :type country: str + """ + + _validation = { + 'country': {'required': True}, + } + + _attribute_map = { + 'address_line1': {'key': 'addressLine1', 'type': 'str'}, + 'address_line2': {'key': 'addressLine2', 'type': 'str'}, + 'address_line3': {'key': 'addressLine3', 'type': 'str'}, + 'postal_code': {'key': 'postalCode', 'type': 'str'}, + 'city': {'key': 'city', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + 'country': {'key': 'country', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Address, self).__init__(**kwargs) + self.address_line1 = kwargs.get('address_line1', None) + self.address_line2 = kwargs.get('address_line2', None) + self.address_line3 = kwargs.get('address_line3', None) + self.postal_code = kwargs.get('postal_code', None) + self.city = kwargs.get('city', None) + self.state = kwargs.get('state', None) + self.country = kwargs['country'] + + +class Alert(ARMBaseModel): + """Alert on the data box edge/gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Alert generated in the resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :ivar title: Alert title. + :vartype title: str + :ivar alert_type: Alert type. + :vartype alert_type: str + :ivar appeared_at_date_time: UTC time when the alert appeared. + :vartype appeared_at_date_time: ~datetime.datetime + :ivar recommendation: Alert recommendation. + :vartype recommendation: str + :ivar severity: Severity of the alert. Possible values include: "Informational", "Warning", + "Critical". + :vartype severity: str or ~azure.mgmt.databoxedge.v2020_12_01.models.AlertSeverity + :ivar error_details: Error details of the alert. + :vartype error_details: ~azure.mgmt.databoxedge.v2020_12_01.models.AlertErrorDetails + :ivar detailed_information: Alert details. + :vartype detailed_information: dict[str, str] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'title': {'readonly': True}, + 'alert_type': {'readonly': True}, + 'appeared_at_date_time': {'readonly': True}, + 'recommendation': {'readonly': True}, + 'severity': {'readonly': True}, + 'error_details': {'readonly': True}, + 'detailed_information': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'title': {'key': 'properties.title', 'type': 'str'}, + 'alert_type': {'key': 'properties.alertType', 'type': 'str'}, + 'appeared_at_date_time': {'key': 'properties.appearedAtDateTime', 'type': 'iso-8601'}, + 'recommendation': {'key': 'properties.recommendation', 'type': 'str'}, + 'severity': {'key': 'properties.severity', 'type': 'str'}, + 'error_details': {'key': 'properties.errorDetails', 'type': 'AlertErrorDetails'}, + 'detailed_information': {'key': 'properties.detailedInformation', 'type': '{str}'}, + } + + def __init__( + self, + **kwargs + ): + super(Alert, self).__init__(**kwargs) + self.system_data = None + self.title = None + self.alert_type = None + self.appeared_at_date_time = None + self.recommendation = None + self.severity = None + self.error_details = None + self.detailed_information = None + + +class AlertErrorDetails(msrest.serialization.Model): + """Error details for the alert. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar error_code: Error code. + :vartype error_code: str + :ivar error_message: Error Message. + :vartype error_message: str + :ivar occurrences: Number of occurrences. + :vartype occurrences: int + """ + + _validation = { + 'error_code': {'readonly': True}, + 'error_message': {'readonly': True}, + 'occurrences': {'readonly': True}, + } + + _attribute_map = { + 'error_code': {'key': 'errorCode', 'type': 'str'}, + 'error_message': {'key': 'errorMessage', 'type': 'str'}, + 'occurrences': {'key': 'occurrences', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(AlertErrorDetails, self).__init__(**kwargs) + self.error_code = None + self.error_message = None + self.occurrences = None + + +class AlertList(msrest.serialization.Model): + """Collection of alerts. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The value. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.Alert] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Alert]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AlertList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ArcAddon(Addon): + """Arc Addon. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Addon type.Constant filled by server. Possible values include: + "IotEdge", "ArcForKubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_12_01.models.AddonType + :ivar system_data: Addon type. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param subscription_id: Required. Arc resource subscription Id. + :type subscription_id: str + :param resource_group_name: Required. Arc resource group name. + :type resource_group_name: str + :param resource_name: Required. Arc resource Name. + :type resource_name: str + :param resource_location: Required. Arc resource location. + :type resource_location: str + :ivar version: Arc resource version. + :vartype version: str + :ivar host_platform: Host OS supported by the Arc addon. Possible values include: "Windows", + "Linux". + :vartype host_platform: str or ~azure.mgmt.databoxedge.v2020_12_01.models.PlatformType + :ivar host_platform_type: Platform where the runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.HostPlatformType + :ivar provisioning_state: Addon Provisioning State. Possible values include: "Invalid", + "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting". + :vartype provisioning_state: str or ~azure.mgmt.databoxedge.v2020_12_01.models.AddonState + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'subscription_id': {'required': True}, + 'resource_group_name': {'required': True}, + 'resource_name': {'required': True}, + 'resource_location': {'required': True}, + 'version': {'readonly': True}, + 'host_platform': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'subscription_id': {'key': 'properties.subscriptionId', 'type': 'str'}, + 'resource_group_name': {'key': 'properties.resourceGroupName', 'type': 'str'}, + 'resource_name': {'key': 'properties.resourceName', 'type': 'str'}, + 'resource_location': {'key': 'properties.resourceLocation', 'type': 'str'}, + 'version': {'key': 'properties.version', 'type': 'str'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ArcAddon, self).__init__(**kwargs) + self.kind = 'ArcForKubernetes' # type: str + self.subscription_id = kwargs['subscription_id'] + self.resource_group_name = kwargs['resource_group_name'] + self.resource_name = kwargs['resource_name'] + self.resource_location = kwargs['resource_location'] + self.version = None + self.host_platform = None + self.host_platform_type = None + self.provisioning_state = None + + +class AsymmetricEncryptedSecret(msrest.serialization.Model): + """Represent the secrets intended for encryption with asymmetric key pair. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. The value of the secret. + :type value: str + :param encryption_cert_thumbprint: Thumbprint certificate used to encrypt \"Value\". If the + value is unencrypted, it will be null. + :type encryption_cert_thumbprint: str + :param encryption_algorithm: Required. The algorithm used to encrypt "Value". Possible values + include: "None", "AES256", "RSAES_PKCS1_v_1_5". + :type encryption_algorithm: str or + ~azure.mgmt.databoxedge.v2020_12_01.models.EncryptionAlgorithm + """ + + _validation = { + 'value': {'required': True}, + 'encryption_algorithm': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': 'str'}, + 'encryption_cert_thumbprint': {'key': 'encryptionCertThumbprint', 'type': 'str'}, + 'encryption_algorithm': {'key': 'encryptionAlgorithm', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AsymmetricEncryptedSecret, self).__init__(**kwargs) + self.value = kwargs['value'] + self.encryption_cert_thumbprint = kwargs.get('encryption_cert_thumbprint', None) + self.encryption_algorithm = kwargs['encryption_algorithm'] + + +class Authentication(msrest.serialization.Model): + """Authentication mechanism for IoT devices. + + :param symmetric_key: Symmetric key for authentication. + :type symmetric_key: ~azure.mgmt.databoxedge.v2020_12_01.models.SymmetricKey + """ + + _attribute_map = { + 'symmetric_key': {'key': 'symmetricKey', 'type': 'SymmetricKey'}, + } + + def __init__( + self, + **kwargs + ): + super(Authentication, self).__init__(**kwargs) + self.symmetric_key = kwargs.get('symmetric_key', None) + + +class AzureContainerInfo(msrest.serialization.Model): + """Azure container mapping of the endpoint. + + All required parameters must be populated in order to send to Azure. + + :param storage_account_credential_id: Required. ID of the storage account credential used to + access storage. + :type storage_account_credential_id: str + :param container_name: Required. Container name (Based on the data format specified, this + represents the name of Azure Files/Page blob/Block blob). + :type container_name: str + :param data_format: Required. Storage format used for the file represented by the share. + Possible values include: "BlockBlob", "PageBlob", "AzureFile". + :type data_format: str or ~azure.mgmt.databoxedge.v2020_12_01.models.AzureContainerDataFormat + """ + + _validation = { + 'storage_account_credential_id': {'required': True}, + 'container_name': {'required': True}, + 'data_format': {'required': True}, + } + + _attribute_map = { + 'storage_account_credential_id': {'key': 'storageAccountCredentialId', 'type': 'str'}, + 'container_name': {'key': 'containerName', 'type': 'str'}, + 'data_format': {'key': 'dataFormat', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureContainerInfo, self).__init__(**kwargs) + self.storage_account_credential_id = kwargs['storage_account_credential_id'] + self.container_name = kwargs['container_name'] + self.data_format = kwargs['data_format'] + + +class BandwidthSchedule(ARMBaseModel): + """The bandwidth schedule details. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Bandwidth object related to ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param start: Required. The start time of the schedule in UTC. + :type start: str + :param stop: Required. The stop time of the schedule in UTC. + :type stop: str + :param rate_in_mbps: Required. The bandwidth rate in Mbps. + :type rate_in_mbps: int + :param days: Required. The days of the week when this schedule is applicable. + :type days: list[str or ~azure.mgmt.databoxedge.v2020_12_01.models.DayOfWeek] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'start': {'required': True}, + 'stop': {'required': True}, + 'rate_in_mbps': {'required': True}, + 'days': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'start': {'key': 'properties.start', 'type': 'str'}, + 'stop': {'key': 'properties.stop', 'type': 'str'}, + 'rate_in_mbps': {'key': 'properties.rateInMbps', 'type': 'int'}, + 'days': {'key': 'properties.days', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(BandwidthSchedule, self).__init__(**kwargs) + self.system_data = None + self.start = kwargs['start'] + self.stop = kwargs['stop'] + self.rate_in_mbps = kwargs['rate_in_mbps'] + self.days = kwargs['days'] + + +class BandwidthSchedulesList(msrest.serialization.Model): + """The collection of bandwidth schedules. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of bandwidth schedules. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.BandwidthSchedule] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[BandwidthSchedule]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(BandwidthSchedulesList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ClientAccessRight(msrest.serialization.Model): + """The mapping between a particular client IP and the type of access client has on the NFS share. + + All required parameters must be populated in order to send to Azure. + + :param client: Required. IP of the client. + :type client: str + :param access_permission: Required. Type of access to be allowed for the client. Possible + values include: "NoAccess", "ReadOnly", "ReadWrite". + :type access_permission: str or ~azure.mgmt.databoxedge.v2020_12_01.models.ClientPermissionType + """ + + _validation = { + 'client': {'required': True}, + 'access_permission': {'required': True}, + } + + _attribute_map = { + 'client': {'key': 'client', 'type': 'str'}, + 'access_permission': {'key': 'accessPermission', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ClientAccessRight, self).__init__(**kwargs) + self.client = kwargs['client'] + self.access_permission = kwargs['access_permission'] + + +class Role(ARMBaseModel): + """Compute role. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: CloudEdgeManagementRole, IoTRole, KubernetesRole, MECRole. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_12_01.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + } + + _subtype_map = { + 'kind': {'CloudEdgeManagement': 'CloudEdgeManagementRole', 'IOT': 'IoTRole', 'Kubernetes': 'KubernetesRole', 'MEC': 'MECRole'} + } + + def __init__( + self, + **kwargs + ): + super(Role, self).__init__(**kwargs) + self.kind = 'Role' # type: str + self.system_data = None + + +class CloudEdgeManagementRole(Role): + """CloudEdgeManagementRole role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_12_01.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :ivar local_management_status: Local Edge Management Status. Possible values include: + "Enabled", "Disabled". + :vartype local_management_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.RoleStatus + :ivar edge_profile: Edge Profile of the resource. + :vartype edge_profile: ~azure.mgmt.databoxedge.v2020_12_01.models.EdgeProfile + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'local_management_status': {'readonly': True}, + 'edge_profile': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'local_management_status': {'key': 'properties.localManagementStatus', 'type': 'str'}, + 'edge_profile': {'key': 'properties.edgeProfile', 'type': 'EdgeProfile'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(CloudEdgeManagementRole, self).__init__(**kwargs) + self.kind = 'CloudEdgeManagement' # type: str + self.local_management_status = None + self.edge_profile = None + self.role_status = kwargs.get('role_status', None) + + +class CloudErrorBody(msrest.serialization.Model): + """An error response from the service. + + :param code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :type code: str + :param message: A message describing the error, intended to be suitable for display in a user + interface. + :type message: str + :param details: A list of additional details about the error. + :type details: list[~azure.mgmt.databoxedge.v2020_12_01.models.CloudErrorBody] + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[CloudErrorBody]'}, + } + + def __init__( + self, + **kwargs + ): + super(CloudErrorBody, self).__init__(**kwargs) + self.code = kwargs.get('code', None) + self.message = kwargs.get('message', None) + self.details = kwargs.get('details', None) + + +class CniConfig(msrest.serialization.Model): + """Cni configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: Cni type. + :vartype type: str + :ivar version: Cni version. + :vartype version: str + :ivar pod_subnet: Pod Subnet. + :vartype pod_subnet: str + :ivar service_subnet: Service subnet. + :vartype service_subnet: str + """ + + _validation = { + 'type': {'readonly': True}, + 'version': {'readonly': True}, + 'pod_subnet': {'readonly': True}, + 'service_subnet': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + 'pod_subnet': {'key': 'podSubnet', 'type': 'str'}, + 'service_subnet': {'key': 'serviceSubnet', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(CniConfig, self).__init__(**kwargs) + self.type = None + self.version = None + self.pod_subnet = None + self.service_subnet = None + + +class ComputeResource(msrest.serialization.Model): + """Compute infrastructure Resource. + + All required parameters must be populated in order to send to Azure. + + :param processor_count: Required. Processor count. + :type processor_count: int + :param memory_in_gb: Required. Memory in GB. + :type memory_in_gb: long + """ + + _validation = { + 'processor_count': {'required': True}, + 'memory_in_gb': {'required': True}, + } + + _attribute_map = { + 'processor_count': {'key': 'processorCount', 'type': 'int'}, + 'memory_in_gb': {'key': 'memoryInGB', 'type': 'long'}, + } + + def __init__( + self, + **kwargs + ): + super(ComputeResource, self).__init__(**kwargs) + self.processor_count = kwargs['processor_count'] + self.memory_in_gb = kwargs['memory_in_gb'] + + +class ContactDetails(msrest.serialization.Model): + """Contains all the contact details of the customer. + + All required parameters must be populated in order to send to Azure. + + :param contact_person: Required. The contact person name. + :type contact_person: str + :param company_name: Required. The name of the company. + :type company_name: str + :param phone: Required. The phone number. + :type phone: str + :param email_list: Required. The email list. + :type email_list: list[str] + """ + + _validation = { + 'contact_person': {'required': True}, + 'company_name': {'required': True}, + 'phone': {'required': True}, + 'email_list': {'required': True}, + } + + _attribute_map = { + 'contact_person': {'key': 'contactPerson', 'type': 'str'}, + 'company_name': {'key': 'companyName', 'type': 'str'}, + 'phone': {'key': 'phone', 'type': 'str'}, + 'email_list': {'key': 'emailList', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(ContactDetails, self).__init__(**kwargs) + self.contact_person = kwargs['contact_person'] + self.company_name = kwargs['company_name'] + self.phone = kwargs['phone'] + self.email_list = kwargs['email_list'] + + +class Container(ARMBaseModel): + """Represents a container on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Container in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :ivar container_status: Current status of the container. Possible values include: "OK", + "Offline", "Unknown", "Updating", "NeedsAttention". + :vartype container_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.ContainerStatus + :param data_format: Required. DataFormat for Container. Possible values include: "BlockBlob", + "PageBlob", "AzureFile". + :type data_format: str or ~azure.mgmt.databoxedge.v2020_12_01.models.AzureContainerDataFormat + :ivar refresh_details: Details of the refresh job on this container. + :vartype refresh_details: ~azure.mgmt.databoxedge.v2020_12_01.models.RefreshDetails + :ivar created_date_time: The UTC time when container got created. + :vartype created_date_time: ~datetime.datetime + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'container_status': {'readonly': True}, + 'data_format': {'required': True}, + 'refresh_details': {'readonly': True}, + 'created_date_time': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'container_status': {'key': 'properties.containerStatus', 'type': 'str'}, + 'data_format': {'key': 'properties.dataFormat', 'type': 'str'}, + 'refresh_details': {'key': 'properties.refreshDetails', 'type': 'RefreshDetails'}, + 'created_date_time': {'key': 'properties.createdDateTime', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(Container, self).__init__(**kwargs) + self.system_data = None + self.container_status = None + self.data_format = kwargs['data_format'] + self.refresh_details = None + self.created_date_time = None + + +class ContainerList(msrest.serialization.Model): + """Collection of all the containers on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of containers. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.Container] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Container]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ContainerList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class DataBoxEdgeDevice(ARMBaseModel): + """The Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param location: Required. The location of the device. This is a supported and registered Azure + geographical region (for example, West US, East US, or Southeast Asia). The geographical region + of a device cannot be changed once it is created, but if an identical geographical region is + specified on update, the request will succeed. + :type location: str + :param tags: A set of tags. The list of tags that describe the device. These tags can be used + to view and group this device (across resource groups). + :type tags: dict[str, str] + :param sku: The SKU type. + :type sku: ~azure.mgmt.databoxedge.v2020_12_01.models.Sku + :param etag: The etag for the devices. + :type etag: str + :param identity: Msi identity of the resource. + :type identity: ~azure.mgmt.databoxedge.v2020_12_01.models.ResourceIdentity + :ivar kind: The etag for the devices. Possible values include: "AzureDataBoxGateway", + "AzureStackEdge", "AzureStackHub", "AzureModularDataCentre". + :vartype kind: str or ~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDeviceKind + :ivar system_data: DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param data_box_edge_device_status: The status of the Data Box Edge/Gateway device. Possible + values include: "ReadyToSetup", "Online", "Offline", "NeedsAttention", "Disconnected", + "PartiallyDisconnected", "Maintenance". + :type data_box_edge_device_status: str or + ~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDeviceStatus + :ivar serial_number: The Serial Number of Data Box Edge/Gateway device. + :vartype serial_number: str + :ivar description: The Description of the Data Box Edge/Gateway device. + :vartype description: str + :ivar model_description: The description of the Data Box Edge/Gateway device model. + :vartype model_description: str + :ivar device_type: The type of the Data Box Edge/Gateway device. Possible values include: + "DataBoxEdgeDevice". + :vartype device_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.DeviceType + :ivar friendly_name: The Data Box Edge/Gateway device name. + :vartype friendly_name: str + :ivar culture: The Data Box Edge/Gateway device culture. + :vartype culture: str + :ivar device_model: The Data Box Edge/Gateway device model. + :vartype device_model: str + :ivar device_software_version: The Data Box Edge/Gateway device software version. + :vartype device_software_version: str + :ivar device_local_capacity: The Data Box Edge/Gateway device local capacity in MB. + :vartype device_local_capacity: long + :ivar time_zone: The Data Box Edge/Gateway device timezone. + :vartype time_zone: str + :ivar device_hcs_version: The device software version number of the device (eg: 1.2.18105.6). + :vartype device_hcs_version: str + :ivar configured_role_types: Type of compute roles configured. + :vartype configured_role_types: list[str or + ~azure.mgmt.databoxedge.v2020_12_01.models.RoleTypes] + :ivar node_count: The number of nodes in the cluster. + :vartype node_count: int + :ivar resource_move_details: The details of the move operation on this resource. + :vartype resource_move_details: ~azure.mgmt.databoxedge.v2020_12_01.models.ResourceMoveDetails + :ivar edge_profile: The details of Edge Profile for this resource. + :vartype edge_profile: ~azure.mgmt.databoxedge.v2020_12_01.models.EdgeProfile + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'kind': {'readonly': True}, + 'system_data': {'readonly': True}, + 'serial_number': {'readonly': True}, + 'description': {'readonly': True}, + 'model_description': {'readonly': True}, + 'device_type': {'readonly': True}, + 'friendly_name': {'readonly': True}, + 'culture': {'readonly': True}, + 'device_model': {'readonly': True}, + 'device_software_version': {'readonly': True}, + 'device_local_capacity': {'readonly': True}, + 'time_zone': {'readonly': True}, + 'device_hcs_version': {'readonly': True}, + 'configured_role_types': {'readonly': True}, + 'node_count': {'readonly': True}, + 'resource_move_details': {'readonly': True}, + 'edge_profile': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'sku': {'key': 'sku', 'type': 'Sku'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'identity': {'key': 'identity', 'type': 'ResourceIdentity'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'data_box_edge_device_status': {'key': 'properties.dataBoxEdgeDeviceStatus', 'type': 'str'}, + 'serial_number': {'key': 'properties.serialNumber', 'type': 'str'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'model_description': {'key': 'properties.modelDescription', 'type': 'str'}, + 'device_type': {'key': 'properties.deviceType', 'type': 'str'}, + 'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'}, + 'culture': {'key': 'properties.culture', 'type': 'str'}, + 'device_model': {'key': 'properties.deviceModel', 'type': 'str'}, + 'device_software_version': {'key': 'properties.deviceSoftwareVersion', 'type': 'str'}, + 'device_local_capacity': {'key': 'properties.deviceLocalCapacity', 'type': 'long'}, + 'time_zone': {'key': 'properties.timeZone', 'type': 'str'}, + 'device_hcs_version': {'key': 'properties.deviceHcsVersion', 'type': 'str'}, + 'configured_role_types': {'key': 'properties.configuredRoleTypes', 'type': '[str]'}, + 'node_count': {'key': 'properties.nodeCount', 'type': 'int'}, + 'resource_move_details': {'key': 'properties.resourceMoveDetails', 'type': 'ResourceMoveDetails'}, + 'edge_profile': {'key': 'properties.edgeProfile', 'type': 'EdgeProfile'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeDevice, self).__init__(**kwargs) + self.location = kwargs['location'] + self.tags = kwargs.get('tags', None) + self.sku = kwargs.get('sku', None) + self.etag = kwargs.get('etag', None) + self.identity = kwargs.get('identity', None) + self.kind = None + self.system_data = None + self.data_box_edge_device_status = kwargs.get('data_box_edge_device_status', None) + self.serial_number = None + self.description = None + self.model_description = None + self.device_type = None + self.friendly_name = None + self.culture = None + self.device_model = None + self.device_software_version = None + self.device_local_capacity = None + self.time_zone = None + self.device_hcs_version = None + self.configured_role_types = None + self.node_count = None + self.resource_move_details = None + self.edge_profile = None + + +class DataBoxEdgeDeviceExtendedInfo(ARMBaseModel): + """The extended Info of the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param encryption_key_thumbprint: The digital signature of encrypted certificate. + :type encryption_key_thumbprint: str + :param encryption_key: The public part of the encryption certificate. Client uses this to + encrypt any secret. + :type encryption_key: str + :ivar resource_key: The Resource ID of the Resource. + :vartype resource_key: str + :param client_secret_store_id: The Key Vault ARM Id for client secrets. + :type client_secret_store_id: str + :param client_secret_store_url: The url to access the Client Key Vault. + :type client_secret_store_url: str + :param channel_integrity_key_name: The name of Channel Integrity Key stored in the Client Key + Vault. + :type channel_integrity_key_name: str + :param channel_integrity_key_version: The version of Channel Integrity Key stored in the Client + Key Vault. + :type channel_integrity_key_version: str + :param key_vault_sync_status: Key vault sync status. Possible values include: "KeyVaultSynced", + "KeyVaultSyncFailed", "KeyVaultNotConfigured", "KeyVaultSyncPending", "KeyVaultSyncing". + :type key_vault_sync_status: str or + ~azure.mgmt.databoxedge.v2020_12_01.models.KeyVaultSyncStatus + :ivar device_secrets: Device secrets, will be returned only with ODataFilter + $expand=deviceSecrets. + :vartype device_secrets: ~azure.mgmt.databoxedge.v2020_12_01.models.DeviceSecrets + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'resource_key': {'readonly': True}, + 'device_secrets': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'encryption_key_thumbprint': {'key': 'properties.encryptionKeyThumbprint', 'type': 'str'}, + 'encryption_key': {'key': 'properties.encryptionKey', 'type': 'str'}, + 'resource_key': {'key': 'properties.resourceKey', 'type': 'str'}, + 'client_secret_store_id': {'key': 'properties.clientSecretStoreId', 'type': 'str'}, + 'client_secret_store_url': {'key': 'properties.clientSecretStoreUrl', 'type': 'str'}, + 'channel_integrity_key_name': {'key': 'properties.channelIntegrityKeyName', 'type': 'str'}, + 'channel_integrity_key_version': {'key': 'properties.channelIntegrityKeyVersion', 'type': 'str'}, + 'key_vault_sync_status': {'key': 'properties.keyVaultSyncStatus', 'type': 'str'}, + 'device_secrets': {'key': 'properties.deviceSecrets', 'type': 'DeviceSecrets'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeDeviceExtendedInfo, self).__init__(**kwargs) + self.encryption_key_thumbprint = kwargs.get('encryption_key_thumbprint', None) + self.encryption_key = kwargs.get('encryption_key', None) + self.resource_key = None + self.client_secret_store_id = kwargs.get('client_secret_store_id', None) + self.client_secret_store_url = kwargs.get('client_secret_store_url', None) + self.channel_integrity_key_name = kwargs.get('channel_integrity_key_name', None) + self.channel_integrity_key_version = kwargs.get('channel_integrity_key_version', None) + self.key_vault_sync_status = kwargs.get('key_vault_sync_status', None) + self.device_secrets = None + + +class DataBoxEdgeDeviceExtendedInfoPatch(msrest.serialization.Model): + """The Data Box Edge/Gateway device extended info patch. + + :param client_secret_store_id: The Key Vault ARM Id for client secrets. + :type client_secret_store_id: str + :param client_secret_store_url: The url to access the Client Key Vault. + :type client_secret_store_url: str + :param channel_integrity_key_name: The name for Channel Integrity Key stored in the Client Key + Vault. + :type channel_integrity_key_name: str + :param channel_integrity_key_version: The version of Channel Integrity Key stored in the Client + Key Vault. + :type channel_integrity_key_version: str + :param sync_status: For changing or to initiate the resync to key-vault set the status to + KeyVaultSyncPending, rest of the status will not be applicable. Possible values include: + "KeyVaultSynced", "KeyVaultSyncFailed", "KeyVaultNotConfigured", "KeyVaultSyncPending", + "KeyVaultSyncing". + :type sync_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.KeyVaultSyncStatus + """ + + _attribute_map = { + 'client_secret_store_id': {'key': 'clientSecretStoreId', 'type': 'str'}, + 'client_secret_store_url': {'key': 'clientSecretStoreUrl', 'type': 'str'}, + 'channel_integrity_key_name': {'key': 'channelIntegrityKeyName', 'type': 'str'}, + 'channel_integrity_key_version': {'key': 'channelIntegrityKeyVersion', 'type': 'str'}, + 'sync_status': {'key': 'syncStatus', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeDeviceExtendedInfoPatch, self).__init__(**kwargs) + self.client_secret_store_id = kwargs.get('client_secret_store_id', None) + self.client_secret_store_url = kwargs.get('client_secret_store_url', None) + self.channel_integrity_key_name = kwargs.get('channel_integrity_key_name', None) + self.channel_integrity_key_version = kwargs.get('channel_integrity_key_version', None) + self.sync_status = kwargs.get('sync_status', None) + + +class DataBoxEdgeDeviceList(msrest.serialization.Model): + """The collection of Data Box Edge/Gateway devices. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of Data Box Edge/Gateway devices. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDevice] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DataBoxEdgeDevice]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeDeviceList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class DataBoxEdgeDevicePatch(msrest.serialization.Model): + """The Data Box Edge/Gateway device patch. + + :param tags: A set of tags. The tags attached to the Data Box Edge/Gateway resource. + :type tags: dict[str, str] + :param identity: Msi identity of the resource. + :type identity: ~azure.mgmt.databoxedge.v2020_12_01.models.ResourceIdentity + :param edge_profile: Edge Profile property of the Data Box Edge/Gateway device. + :type edge_profile: ~azure.mgmt.databoxedge.v2020_12_01.models.EdgeProfilePatch + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + 'identity': {'key': 'identity', 'type': 'ResourceIdentity'}, + 'edge_profile': {'key': 'properties.edgeProfile', 'type': 'EdgeProfilePatch'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeDevicePatch, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) + self.identity = kwargs.get('identity', None) + self.edge_profile = kwargs.get('edge_profile', None) + + +class DataBoxEdgeMoveRequest(msrest.serialization.Model): + """Resource Move details. + + All required parameters must be populated in order to send to Azure. + + :param target_resource_group: Required. Target resource group ARMId. + :type target_resource_group: str + :param resources: Required. List of resources to be moved. + :type resources: list[str] + """ + + _validation = { + 'target_resource_group': {'required': True}, + 'resources': {'required': True}, + } + + _attribute_map = { + 'target_resource_group': {'key': 'targetResourceGroup', 'type': 'str'}, + 'resources': {'key': 'resources', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeMoveRequest, self).__init__(**kwargs) + self.target_resource_group = kwargs['target_resource_group'] + self.resources = kwargs['resources'] + + +class DataBoxEdgeSku(msrest.serialization.Model): + """The Sku information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar resource_type: The type of the resource. + :vartype resource_type: str + :ivar name: The Sku name. Possible values include: "Gateway", "Edge", "TEA_1Node", + "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", + "TEA_4Node_UPS_Heater", "TMA", "TDC", "TCA_Small", "GPU", "TCA_Large", "EdgeP_Base", + "EdgeP_High", "EdgePR_Base", "EdgePR_Base_UPS", "EdgeMR_Mini", "RCA_Small", "RCA_Large", "RDC". + :vartype name: str or ~azure.mgmt.databoxedge.v2020_12_01.models.SkuName + :ivar kind: The Sku kind. + :vartype kind: str + :ivar tier: The Sku tier. Possible values include: "Standard". + :vartype tier: str or ~azure.mgmt.databoxedge.v2020_12_01.models.SkuTier + :ivar size: The Sku kind. + :vartype size: str + :ivar family: The Sku family. + :vartype family: str + :ivar locations: Availability of the Sku for the region. + :vartype locations: list[str] + :ivar api_versions: The API versions in which Sku is available. + :vartype api_versions: list[str] + :ivar location_info: Availability of the Sku for the location/zone/site. + :vartype location_info: list[~azure.mgmt.databoxedge.v2020_12_01.models.SkuLocationInfo] + :ivar costs: The pricing info of the Sku. + :vartype costs: list[~azure.mgmt.databoxedge.v2020_12_01.models.SkuCost] + :ivar signup_option: Sku can be signed up by customer or not. Possible values include: "None", + "Available". + :vartype signup_option: str or ~azure.mgmt.databoxedge.v2020_12_01.models.SkuSignupOption + :ivar version: Availability of the Sku as preview/stable. Possible values include: "Stable", + "Preview". + :vartype version: str or ~azure.mgmt.databoxedge.v2020_12_01.models.SkuVersion + :ivar availability: Links to the next set of results. Possible values include: "Available", + "Unavailable". + :vartype availability: str or ~azure.mgmt.databoxedge.v2020_12_01.models.SkuAvailability + :ivar shipment_types: List of Shipment Types supported by this SKU. + :vartype shipment_types: list[str or ~azure.mgmt.databoxedge.v2020_12_01.models.ShipmentType] + :ivar capabilities: The capability info of the SKU. + :vartype capabilities: list[~azure.mgmt.databoxedge.v2020_12_01.models.SkuCapability] + """ + + _validation = { + 'resource_type': {'readonly': True}, + 'name': {'readonly': True}, + 'kind': {'readonly': True}, + 'tier': {'readonly': True}, + 'size': {'readonly': True}, + 'family': {'readonly': True}, + 'locations': {'readonly': True}, + 'api_versions': {'readonly': True}, + 'location_info': {'readonly': True}, + 'costs': {'readonly': True}, + 'signup_option': {'readonly': True}, + 'version': {'readonly': True}, + 'availability': {'readonly': True}, + 'shipment_types': {'readonly': True}, + 'capabilities': {'readonly': True}, + } + + _attribute_map = { + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'size': {'key': 'size', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'locations': {'key': 'locations', 'type': '[str]'}, + 'api_versions': {'key': 'apiVersions', 'type': '[str]'}, + 'location_info': {'key': 'locationInfo', 'type': '[SkuLocationInfo]'}, + 'costs': {'key': 'costs', 'type': '[SkuCost]'}, + 'signup_option': {'key': 'signupOption', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + 'availability': {'key': 'availability', 'type': 'str'}, + 'shipment_types': {'key': 'shipmentTypes', 'type': '[str]'}, + 'capabilities': {'key': 'capabilities', 'type': '[SkuCapability]'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeSku, self).__init__(**kwargs) + self.resource_type = None + self.name = None + self.kind = None + self.tier = None + self.size = None + self.family = None + self.locations = None + self.api_versions = None + self.location_info = None + self.costs = None + self.signup_option = None + self.version = None + self.availability = None + self.shipment_types = None + self.capabilities = None + + +class DataBoxEdgeSkuList(msrest.serialization.Model): + """List of SKU Information objects. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of ResourceType Sku. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeSku] + :ivar next_link: Links to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DataBoxEdgeSku]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeSkuList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class DCAccessCode(msrest.serialization.Model): + """DC Access code in the case of Self Managed Shipping. + + :param auth_code: DCAccess Code for the Self Managed shipment. + :type auth_code: str + """ + + _attribute_map = { + 'auth_code': {'key': 'properties.authCode', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DCAccessCode, self).__init__(**kwargs) + self.auth_code = kwargs.get('auth_code', None) + + +class DeviceSecrets(msrest.serialization.Model): + """Device Secrets. + + :param hcs_data_volume_bit_locker_external_key: Keyvault Id of + HcsDataVolumeBitLockerExternalKey. + :type hcs_data_volume_bit_locker_external_key: + ~azure.mgmt.databoxedge.v2020_12_01.models.Secret + :param hcs_internal_volume_bit_locker_external_key: Keyvault Id of + HcsInternalVolumeBitLockerExternalKey. + :type hcs_internal_volume_bit_locker_external_key: + ~azure.mgmt.databoxedge.v2020_12_01.models.Secret + :param system_volume_bit_locker_recovery_key: Keyvault Id of SystemVolumeBitLockerRecoveryKey. + :type system_volume_bit_locker_recovery_key: ~azure.mgmt.databoxedge.v2020_12_01.models.Secret + :param sed_encryption_external_key_id: Keyvault Id of SEDEncryptionExternalKeyId. + :type sed_encryption_external_key_id: ~azure.mgmt.databoxedge.v2020_12_01.models.Secret + :param sed_encryption_external_key: Keyvault Id of SEDEncryptionExternalKey. + :type sed_encryption_external_key: ~azure.mgmt.databoxedge.v2020_12_01.models.Secret + :param bmc_default_user_password: Keyvault Id of BMCDefaultUserPassword. + :type bmc_default_user_password: ~azure.mgmt.databoxedge.v2020_12_01.models.Secret + :param rotate_key_for_data_volume_bitlocker: Keyvault Id of RotateKeyForDataVolumeBitlocker. + :type rotate_key_for_data_volume_bitlocker: ~azure.mgmt.databoxedge.v2020_12_01.models.Secret + :param rotate_keys_for_sed_drives_serialized: Keyvault Id of RotateKeysForSedDrivesSerialized. + :type rotate_keys_for_sed_drives_serialized: ~azure.mgmt.databoxedge.v2020_12_01.models.Secret + """ + + _attribute_map = { + 'hcs_data_volume_bit_locker_external_key': {'key': 'hcsDataVolumeBitLockerExternalKey', 'type': 'Secret'}, + 'hcs_internal_volume_bit_locker_external_key': {'key': 'hcsInternalVolumeBitLockerExternalKey', 'type': 'Secret'}, + 'system_volume_bit_locker_recovery_key': {'key': 'systemVolumeBitLockerRecoveryKey', 'type': 'Secret'}, + 'sed_encryption_external_key_id': {'key': 'sedEncryptionExternalKeyId', 'type': 'Secret'}, + 'sed_encryption_external_key': {'key': 'sedEncryptionExternalKey', 'type': 'Secret'}, + 'bmc_default_user_password': {'key': 'bmcDefaultUserPassword', 'type': 'Secret'}, + 'rotate_key_for_data_volume_bitlocker': {'key': 'rotateKeyForDataVolumeBitlocker', 'type': 'Secret'}, + 'rotate_keys_for_sed_drives_serialized': {'key': 'rotateKeysForSedDrivesSerialized', 'type': 'Secret'}, + } + + def __init__( + self, + **kwargs + ): + super(DeviceSecrets, self).__init__(**kwargs) + self.hcs_data_volume_bit_locker_external_key = kwargs.get('hcs_data_volume_bit_locker_external_key', None) + self.hcs_internal_volume_bit_locker_external_key = kwargs.get('hcs_internal_volume_bit_locker_external_key', None) + self.system_volume_bit_locker_recovery_key = kwargs.get('system_volume_bit_locker_recovery_key', None) + self.sed_encryption_external_key_id = kwargs.get('sed_encryption_external_key_id', None) + self.sed_encryption_external_key = kwargs.get('sed_encryption_external_key', None) + self.bmc_default_user_password = kwargs.get('bmc_default_user_password', None) + self.rotate_key_for_data_volume_bitlocker = kwargs.get('rotate_key_for_data_volume_bitlocker', None) + self.rotate_keys_for_sed_drives_serialized = kwargs.get('rotate_keys_for_sed_drives_serialized', None) + + +class EdgeProfile(msrest.serialization.Model): + """Details about Edge Profile for the resource. + + :param subscription: Edge Profile Subscription. + :type subscription: ~azure.mgmt.databoxedge.v2020_12_01.models.EdgeProfileSubscription + """ + + _attribute_map = { + 'subscription': {'key': 'subscription', 'type': 'EdgeProfileSubscription'}, + } + + def __init__( + self, + **kwargs + ): + super(EdgeProfile, self).__init__(**kwargs) + self.subscription = kwargs.get('subscription', None) + + +class EdgeProfilePatch(msrest.serialization.Model): + """The Data Box Edge/Gateway Edge Profile patch. + + :param subscription: The Data Box Edge/Gateway Edge Profile Subscription patch. + :type subscription: ~azure.mgmt.databoxedge.v2020_12_01.models.EdgeProfileSubscriptionPatch + """ + + _attribute_map = { + 'subscription': {'key': 'subscription', 'type': 'EdgeProfileSubscriptionPatch'}, + } + + def __init__( + self, + **kwargs + ): + super(EdgeProfilePatch, self).__init__(**kwargs) + self.subscription = kwargs.get('subscription', None) + + +class EdgeProfileSubscription(msrest.serialization.Model): + """Subscription details for the Edge Profile. + + :param registration_id: Edge Subscription Registration ID. + :type registration_id: str + :param id: ARM ID of the subscription. + :type id: str + :param state: Possible values include: "Registered", "Warned", "Suspended", "Deleted", + "Unregistered". + :type state: str or ~azure.mgmt.databoxedge.v2020_12_01.models.SubscriptionState + :param registration_date: + :type registration_date: str + :param subscription_id: + :type subscription_id: str + :param tenant_id: + :type tenant_id: str + :param location_placement_id: + :type location_placement_id: str + :param quota_id: + :type quota_id: str + :param serialized_details: + :type serialized_details: str + :param registered_features: + :type registered_features: + list[~azure.mgmt.databoxedge.v2020_12_01.models.SubscriptionRegisteredFeatures] + """ + + _attribute_map = { + 'registration_id': {'key': 'registrationId', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + 'registration_date': {'key': 'registrationDate', 'type': 'str'}, + 'subscription_id': {'key': 'subscriptionId', 'type': 'str'}, + 'tenant_id': {'key': 'properties.tenantId', 'type': 'str'}, + 'location_placement_id': {'key': 'properties.locationPlacementId', 'type': 'str'}, + 'quota_id': {'key': 'properties.quotaId', 'type': 'str'}, + 'serialized_details': {'key': 'properties.serializedDetails', 'type': 'str'}, + 'registered_features': {'key': 'properties.registeredFeatures', 'type': '[SubscriptionRegisteredFeatures]'}, + } + + def __init__( + self, + **kwargs + ): + super(EdgeProfileSubscription, self).__init__(**kwargs) + self.registration_id = kwargs.get('registration_id', None) + self.id = kwargs.get('id', None) + self.state = kwargs.get('state', None) + self.registration_date = kwargs.get('registration_date', None) + self.subscription_id = kwargs.get('subscription_id', None) + self.tenant_id = kwargs.get('tenant_id', None) + self.location_placement_id = kwargs.get('location_placement_id', None) + self.quota_id = kwargs.get('quota_id', None) + self.serialized_details = kwargs.get('serialized_details', None) + self.registered_features = kwargs.get('registered_features', None) + + +class EdgeProfileSubscriptionPatch(msrest.serialization.Model): + """The Data Box Edge/Gateway Edge Profile Subscription patch. + + :param id: The path ID that uniquely identifies the subscription of the edge profile. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EdgeProfileSubscriptionPatch, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + + +class EtcdInfo(msrest.serialization.Model): + """Etcd configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: Etcd type. + :vartype type: str + :ivar version: Etcd version. + :vartype version: str + """ + + _validation = { + 'type': {'readonly': True}, + 'version': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EtcdInfo, self).__init__(**kwargs) + self.type = None + self.version = None + + +class Trigger(ARMBaseModel): + """Trigger details. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: FileEventTrigger, PeriodicTimerEventTrigger. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Trigger in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: + "FileEvent", "PeriodicTimerEvent". + :type kind: str or ~azure.mgmt.databoxedge.v2020_12_01.models.TriggerEventType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'kind': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'kind': {'key': 'kind', 'type': 'str'}, + } + + _subtype_map = { + 'kind': {'FileEvent': 'FileEventTrigger', 'PeriodicTimerEvent': 'PeriodicTimerEventTrigger'} + } + + def __init__( + self, + **kwargs + ): + super(Trigger, self).__init__(**kwargs) + self.system_data = None + self.kind = 'Trigger' # type: str + + +class FileEventTrigger(Trigger): + """Trigger details. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Trigger in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: + "FileEvent", "PeriodicTimerEvent". + :type kind: str or ~azure.mgmt.databoxedge.v2020_12_01.models.TriggerEventType + :param source_info: Required. File event source details. + :type source_info: ~azure.mgmt.databoxedge.v2020_12_01.models.FileSourceInfo + :param sink_info: Required. Role sink info. + :type sink_info: ~azure.mgmt.databoxedge.v2020_12_01.models.RoleSinkInfo + :param custom_context_tag: A custom context tag typically used to correlate the trigger against + its usage. For example, if a periodic timer trigger is intended for certain specific IoT + modules in the device, the tag can be the name or the image URL of the module. + :type custom_context_tag: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'kind': {'required': True}, + 'source_info': {'required': True}, + 'sink_info': {'required': True}, + 'custom_context_tag': {'max_length': 192, 'min_length': 0}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'source_info': {'key': 'properties.sourceInfo', 'type': 'FileSourceInfo'}, + 'sink_info': {'key': 'properties.sinkInfo', 'type': 'RoleSinkInfo'}, + 'custom_context_tag': {'key': 'properties.customContextTag', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FileEventTrigger, self).__init__(**kwargs) + self.kind = 'FileEvent' # type: str + self.source_info = kwargs['source_info'] + self.sink_info = kwargs['sink_info'] + self.custom_context_tag = kwargs.get('custom_context_tag', None) + + +class FileSourceInfo(msrest.serialization.Model): + """File source details. + + All required parameters must be populated in order to send to Azure. + + :param share_id: Required. File share ID. + :type share_id: str + """ + + _validation = { + 'share_id': {'required': True}, + } + + _attribute_map = { + 'share_id': {'key': 'shareId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FileSourceInfo, self).__init__(**kwargs) + self.share_id = kwargs['share_id'] + + +class GenerateCertResponse(msrest.serialization.Model): + """Used in activation key generation flow. + + :param public_key: Gets or sets base64 encoded certificate raw data, + this is the public part needed to be uploaded to cert vault. + :type public_key: str + :param private_key: Gets or sets base64 encoded private part of the certificate, + needed to form the activation key. + :type private_key: str + :param expiry_time_in_utc: Gets or sets expiry time in UTC. + :type expiry_time_in_utc: str + """ + + _attribute_map = { + 'public_key': {'key': 'publicKey', 'type': 'str'}, + 'private_key': {'key': 'privateKey', 'type': 'str'}, + 'expiry_time_in_utc': {'key': 'expiryTimeInUTC', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(GenerateCertResponse, self).__init__(**kwargs) + self.public_key = kwargs.get('public_key', None) + self.private_key = kwargs.get('private_key', None) + self.expiry_time_in_utc = kwargs.get('expiry_time_in_utc', None) + + +class ImageRepositoryCredential(msrest.serialization.Model): + """Image repository credential. + + All required parameters must be populated in order to send to Azure. + + :param image_repository_url: Required. Image repository url (e.g.: mcr.microsoft.com). + :type image_repository_url: str + :param user_name: Required. Repository user name. + :type user_name: str + :param password: Repository user password. + :type password: ~azure.mgmt.databoxedge.v2020_12_01.models.AsymmetricEncryptedSecret + """ + + _validation = { + 'image_repository_url': {'required': True}, + 'user_name': {'required': True}, + } + + _attribute_map = { + 'image_repository_url': {'key': 'imageRepositoryUrl', 'type': 'str'}, + 'user_name': {'key': 'userName', 'type': 'str'}, + 'password': {'key': 'password', 'type': 'AsymmetricEncryptedSecret'}, + } + + def __init__( + self, + **kwargs + ): + super(ImageRepositoryCredential, self).__init__(**kwargs) + self.image_repository_url = kwargs['image_repository_url'] + self.user_name = kwargs['user_name'] + self.password = kwargs.get('password', None) + + +class IoTAddon(Addon): + """IoT Addon. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Addon type.Constant filled by server. Possible values include: + "IotEdge", "ArcForKubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_12_01.models.AddonType + :ivar system_data: Addon type. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param io_t_device_details: Required. IoT device metadata to which appliance needs to be + connected. + :type io_t_device_details: ~azure.mgmt.databoxedge.v2020_12_01.models.IoTDeviceInfo + :param io_t_edge_device_details: Required. IoT edge device to which the IoT Addon needs to be + configured. + :type io_t_edge_device_details: ~azure.mgmt.databoxedge.v2020_12_01.models.IoTDeviceInfo + :ivar version: Version of IoT running on the appliance. + :vartype version: str + :ivar host_platform: Host OS supported by the IoT addon. Possible values include: "Windows", + "Linux". + :vartype host_platform: str or ~azure.mgmt.databoxedge.v2020_12_01.models.PlatformType + :ivar host_platform_type: Platform where the runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.HostPlatformType + :ivar provisioning_state: Addon Provisioning State. Possible values include: "Invalid", + "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting". + :vartype provisioning_state: str or ~azure.mgmt.databoxedge.v2020_12_01.models.AddonState + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'io_t_device_details': {'required': True}, + 'io_t_edge_device_details': {'required': True}, + 'version': {'readonly': True}, + 'host_platform': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'io_t_device_details': {'key': 'properties.ioTDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'io_t_edge_device_details': {'key': 'properties.ioTEdgeDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'version': {'key': 'properties.version', 'type': 'str'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IoTAddon, self).__init__(**kwargs) + self.kind = 'IotEdge' # type: str + self.io_t_device_details = kwargs['io_t_device_details'] + self.io_t_edge_device_details = kwargs['io_t_edge_device_details'] + self.version = None + self.host_platform = None + self.host_platform_type = None + self.provisioning_state = None + + +class IoTDeviceInfo(msrest.serialization.Model): + """Metadata of IoT device/IoT Edge device to be configured. + + All required parameters must be populated in order to send to Azure. + + :param device_id: Required. ID of the IoT device/edge device. + :type device_id: str + :param io_t_host_hub: Required. Host name for the IoT hub associated to the device. + :type io_t_host_hub: str + :param io_t_host_hub_id: Id for the IoT hub associated to the device. + :type io_t_host_hub_id: str + :param authentication: Encrypted IoT device/IoT edge device connection string. + :type authentication: ~azure.mgmt.databoxedge.v2020_12_01.models.Authentication + """ + + _validation = { + 'device_id': {'required': True}, + 'io_t_host_hub': {'required': True}, + } + + _attribute_map = { + 'device_id': {'key': 'deviceId', 'type': 'str'}, + 'io_t_host_hub': {'key': 'ioTHostHub', 'type': 'str'}, + 'io_t_host_hub_id': {'key': 'ioTHostHubId', 'type': 'str'}, + 'authentication': {'key': 'authentication', 'type': 'Authentication'}, + } + + def __init__( + self, + **kwargs + ): + super(IoTDeviceInfo, self).__init__(**kwargs) + self.device_id = kwargs['device_id'] + self.io_t_host_hub = kwargs['io_t_host_hub'] + self.io_t_host_hub_id = kwargs.get('io_t_host_hub_id', None) + self.authentication = kwargs.get('authentication', None) + + +class IoTEdgeAgentInfo(msrest.serialization.Model): + """IoT edge agent details is optional, this will be used for download system Agent module while bootstrapping IoT Role if specified. + + All required parameters must be populated in order to send to Azure. + + :param image_name: Required. Name of the IoT edge agent image. + :type image_name: str + :param tag: Required. Image Tag. + :type tag: str + :param image_repository: Image repository details. + :type image_repository: ~azure.mgmt.databoxedge.v2020_12_01.models.ImageRepositoryCredential + """ + + _validation = { + 'image_name': {'required': True}, + 'tag': {'required': True}, + } + + _attribute_map = { + 'image_name': {'key': 'imageName', 'type': 'str'}, + 'tag': {'key': 'tag', 'type': 'str'}, + 'image_repository': {'key': 'imageRepository', 'type': 'ImageRepositoryCredential'}, + } + + def __init__( + self, + **kwargs + ): + super(IoTEdgeAgentInfo, self).__init__(**kwargs) + self.image_name = kwargs['image_name'] + self.tag = kwargs['tag'] + self.image_repository = kwargs.get('image_repository', None) + + +class IoTRole(Role): + """Compute role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_12_01.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param host_platform: Host OS supported by the IoT role. Possible values include: "Windows", + "Linux". + :type host_platform: str or ~azure.mgmt.databoxedge.v2020_12_01.models.PlatformType + :param io_t_device_details: IoT device metadata to which data box edge device needs to be + connected. + :type io_t_device_details: ~azure.mgmt.databoxedge.v2020_12_01.models.IoTDeviceInfo + :param io_t_edge_device_details: IoT edge device to which the IoT role needs to be configured. + :type io_t_edge_device_details: ~azure.mgmt.databoxedge.v2020_12_01.models.IoTDeviceInfo + :param share_mappings: Mount points of shares in role(s). + :type share_mappings: list[~azure.mgmt.databoxedge.v2020_12_01.models.MountPointMap] + :param io_t_edge_agent_info: Iot edge agent details to download the agent and bootstrap iot + runtime. + :type io_t_edge_agent_info: ~azure.mgmt.databoxedge.v2020_12_01.models.IoTEdgeAgentInfo + :ivar host_platform_type: Platform where the Iot runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.HostPlatformType + :param compute_resource: Resource allocation. + :type compute_resource: ~azure.mgmt.databoxedge.v2020_12_01.models.ComputeResource + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'io_t_device_details': {'key': 'properties.ioTDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'io_t_edge_device_details': {'key': 'properties.ioTEdgeDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'share_mappings': {'key': 'properties.shareMappings', 'type': '[MountPointMap]'}, + 'io_t_edge_agent_info': {'key': 'properties.ioTEdgeAgentInfo', 'type': 'IoTEdgeAgentInfo'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'compute_resource': {'key': 'properties.computeResource', 'type': 'ComputeResource'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IoTRole, self).__init__(**kwargs) + self.kind = 'IOT' # type: str + self.host_platform = kwargs.get('host_platform', None) + self.io_t_device_details = kwargs.get('io_t_device_details', None) + self.io_t_edge_device_details = kwargs.get('io_t_edge_device_details', None) + self.share_mappings = kwargs.get('share_mappings', None) + self.io_t_edge_agent_info = kwargs.get('io_t_edge_agent_info', None) + self.host_platform_type = None + self.compute_resource = kwargs.get('compute_resource', None) + self.role_status = kwargs.get('role_status', None) + + +class Ipv4Config(msrest.serialization.Model): + """Details related to the IPv4 address configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar ip_address: The IPv4 address of the network adapter. + :vartype ip_address: str + :ivar subnet: The IPv4 subnet of the network adapter. + :vartype subnet: str + :ivar gateway: The IPv4 gateway of the network adapter. + :vartype gateway: str + """ + + _validation = { + 'ip_address': {'readonly': True}, + 'subnet': {'readonly': True}, + 'gateway': {'readonly': True}, + } + + _attribute_map = { + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + 'subnet': {'key': 'subnet', 'type': 'str'}, + 'gateway': {'key': 'gateway', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Ipv4Config, self).__init__(**kwargs) + self.ip_address = None + self.subnet = None + self.gateway = None + + +class Ipv6Config(msrest.serialization.Model): + """Details related to the IPv6 address configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar ip_address: The IPv6 address of the network adapter. + :vartype ip_address: str + :ivar prefix_length: The IPv6 prefix of the network adapter. + :vartype prefix_length: int + :ivar gateway: The IPv6 gateway of the network adapter. + :vartype gateway: str + """ + + _validation = { + 'ip_address': {'readonly': True}, + 'prefix_length': {'readonly': True}, + 'gateway': {'readonly': True}, + } + + _attribute_map = { + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + 'prefix_length': {'key': 'prefixLength', 'type': 'int'}, + 'gateway': {'key': 'gateway', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Ipv6Config, self).__init__(**kwargs) + self.ip_address = None + self.prefix_length = None + self.gateway = None + + +class Job(msrest.serialization.Model): + """A device job. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The name of the object. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar status: The current status of the job. Possible values include: "Invalid", "Running", + "Succeeded", "Failed", "Canceled", "Paused", "Scheduled". + :vartype status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.JobStatus + :ivar start_time: The UTC date and time at which the job started. + :vartype start_time: ~datetime.datetime + :ivar end_time: The UTC date and time at which the job completed. + :vartype end_time: ~datetime.datetime + :ivar percent_complete: The percentage of the job that is complete. + :vartype percent_complete: int + :ivar error: The error details. + :vartype error: ~azure.mgmt.databoxedge.v2020_12_01.models.JobErrorDetails + :ivar job_type: The type of the job. Possible values include: "Invalid", "ScanForUpdates", + "DownloadUpdates", "InstallUpdates", "RefreshShare", "RefreshContainer", "Backup", "Restore", + "TriggerSupportPackage". + :vartype job_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.JobType + :ivar current_stage: Current stage of the update operation. Possible values include: "Unknown", + "Initial", "ScanStarted", "ScanComplete", "ScanFailed", "DownloadStarted", "DownloadComplete", + "DownloadFailed", "InstallStarted", "InstallComplete", "InstallFailed", "RebootInitiated", + "Success", "Failure", "RescanStarted", "RescanComplete", "RescanFailed". + :vartype current_stage: str or ~azure.mgmt.databoxedge.v2020_12_01.models.UpdateOperationStage + :ivar download_progress: The download progress. + :vartype download_progress: ~azure.mgmt.databoxedge.v2020_12_01.models.UpdateDownloadProgress + :ivar install_progress: The install progress. + :vartype install_progress: ~azure.mgmt.databoxedge.v2020_12_01.models.UpdateInstallProgress + :ivar total_refresh_errors: Total number of errors encountered during the refresh process. + :vartype total_refresh_errors: int + :ivar error_manifest_file: Local share/remote container relative path to the error manifest + file of the refresh. + :vartype error_manifest_file: str + :ivar refreshed_entity_id: ARM ID of the entity that was refreshed. + :vartype refreshed_entity_id: str + :param folder: If only subfolders need to be refreshed, then the subfolder path inside the + share or container. (The path is empty if there are no subfolders.). + :type folder: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'status': {'readonly': True}, + 'start_time': {'readonly': True}, + 'end_time': {'readonly': True}, + 'percent_complete': {'readonly': True}, + 'error': {'readonly': True}, + 'job_type': {'readonly': True}, + 'current_stage': {'readonly': True}, + 'download_progress': {'readonly': True}, + 'install_progress': {'readonly': True}, + 'total_refresh_errors': {'readonly': True}, + 'error_manifest_file': {'readonly': True}, + 'refreshed_entity_id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'percent_complete': {'key': 'percentComplete', 'type': 'int'}, + 'error': {'key': 'error', 'type': 'JobErrorDetails'}, + 'job_type': {'key': 'properties.jobType', 'type': 'str'}, + 'current_stage': {'key': 'properties.currentStage', 'type': 'str'}, + 'download_progress': {'key': 'properties.downloadProgress', 'type': 'UpdateDownloadProgress'}, + 'install_progress': {'key': 'properties.installProgress', 'type': 'UpdateInstallProgress'}, + 'total_refresh_errors': {'key': 'properties.totalRefreshErrors', 'type': 'int'}, + 'error_manifest_file': {'key': 'properties.errorManifestFile', 'type': 'str'}, + 'refreshed_entity_id': {'key': 'properties.refreshedEntityId', 'type': 'str'}, + 'folder': {'key': 'properties.folder', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Job, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.status = None + self.start_time = None + self.end_time = None + self.percent_complete = None + self.error = None + self.job_type = None + self.current_stage = None + self.download_progress = None + self.install_progress = None + self.total_refresh_errors = None + self.error_manifest_file = None + self.refreshed_entity_id = None + self.folder = kwargs.get('folder', None) + + +class JobErrorDetails(msrest.serialization.Model): + """The job error information containing the list of job errors. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar error_details: The error details. + :vartype error_details: list[~azure.mgmt.databoxedge.v2020_12_01.models.JobErrorItem] + :ivar code: The code intended for programmatic access. + :vartype code: str + :ivar message: The message that describes the error in detail. + :vartype message: str + """ + + _validation = { + 'error_details': {'readonly': True}, + 'code': {'readonly': True}, + 'message': {'readonly': True}, + } + + _attribute_map = { + 'error_details': {'key': 'errorDetails', 'type': '[JobErrorItem]'}, + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(JobErrorDetails, self).__init__(**kwargs) + self.error_details = None + self.code = None + self.message = None + + +class JobErrorItem(msrest.serialization.Model): + """The job error items. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar recommendations: The recommended actions. + :vartype recommendations: list[str] + :ivar code: The code intended for programmatic access. + :vartype code: str + :ivar message: The message that describes the error in detail. + :vartype message: str + """ + + _validation = { + 'recommendations': {'readonly': True}, + 'code': {'readonly': True}, + 'message': {'readonly': True}, + } + + _attribute_map = { + 'recommendations': {'key': 'recommendations', 'type': '[str]'}, + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(JobErrorItem, self).__init__(**kwargs) + self.recommendations = None + self.code = None + self.message = None + + +class KubernetesClusterInfo(msrest.serialization.Model): + """Kubernetes cluster configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar etcd_info: Etcd configuration. + :vartype etcd_info: ~azure.mgmt.databoxedge.v2020_12_01.models.EtcdInfo + :ivar nodes: Kubernetes cluster nodes. + :vartype nodes: list[~azure.mgmt.databoxedge.v2020_12_01.models.NodeInfo] + :param version: Required. Kubernetes cluster version. + :type version: str + """ + + _validation = { + 'etcd_info': {'readonly': True}, + 'nodes': {'readonly': True}, + 'version': {'required': True}, + } + + _attribute_map = { + 'etcd_info': {'key': 'etcdInfo', 'type': 'EtcdInfo'}, + 'nodes': {'key': 'nodes', 'type': '[NodeInfo]'}, + 'version': {'key': 'version', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesClusterInfo, self).__init__(**kwargs) + self.etcd_info = None + self.nodes = None + self.version = kwargs['version'] + + +class KubernetesIPConfiguration(msrest.serialization.Model): + """Kubernetes node IP configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar port: Port of the Kubernetes node. + :vartype port: str + :param ip_address: IP address of the Kubernetes node. + :type ip_address: str + """ + + _validation = { + 'port': {'readonly': True}, + } + + _attribute_map = { + 'port': {'key': 'port', 'type': 'str'}, + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesIPConfiguration, self).__init__(**kwargs) + self.port = None + self.ip_address = kwargs.get('ip_address', None) + + +class KubernetesRole(Role): + """Kubernetes role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_12_01.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param host_platform: Host OS supported by the Kubernetes role. Possible values include: + "Windows", "Linux". + :type host_platform: str or ~azure.mgmt.databoxedge.v2020_12_01.models.PlatformType + :ivar provisioning_state: State of Kubernetes deployment. Possible values include: "Invalid", + "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting". + :vartype provisioning_state: str or ~azure.mgmt.databoxedge.v2020_12_01.models.KubernetesState + :ivar host_platform_type: Platform where the runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.HostPlatformType + :param kubernetes_cluster_info: Kubernetes cluster configuration. + :type kubernetes_cluster_info: ~azure.mgmt.databoxedge.v2020_12_01.models.KubernetesClusterInfo + :param kubernetes_role_resources: Kubernetes role resources. + :type kubernetes_role_resources: + ~azure.mgmt.databoxedge.v2020_12_01.models.KubernetesRoleResources + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'kubernetes_cluster_info': {'key': 'properties.kubernetesClusterInfo', 'type': 'KubernetesClusterInfo'}, + 'kubernetes_role_resources': {'key': 'properties.kubernetesRoleResources', 'type': 'KubernetesRoleResources'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRole, self).__init__(**kwargs) + self.kind = 'Kubernetes' # type: str + self.host_platform = kwargs.get('host_platform', None) + self.provisioning_state = None + self.host_platform_type = None + self.kubernetes_cluster_info = kwargs.get('kubernetes_cluster_info', None) + self.kubernetes_role_resources = kwargs.get('kubernetes_role_resources', None) + self.role_status = kwargs.get('role_status', None) + + +class KubernetesRoleCompute(msrest.serialization.Model): + """Kubernetes role compute resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param vm_profile: Required. VM profile. + :type vm_profile: str + :ivar memory_in_bytes: Memory in bytes. + :vartype memory_in_bytes: long + :ivar processor_count: Processor count. + :vartype processor_count: int + """ + + _validation = { + 'vm_profile': {'required': True}, + 'memory_in_bytes': {'readonly': True}, + 'processor_count': {'readonly': True}, + } + + _attribute_map = { + 'vm_profile': {'key': 'vmProfile', 'type': 'str'}, + 'memory_in_bytes': {'key': 'memoryInBytes', 'type': 'long'}, + 'processor_count': {'key': 'processorCount', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleCompute, self).__init__(**kwargs) + self.vm_profile = kwargs['vm_profile'] + self.memory_in_bytes = None + self.processor_count = None + + +class KubernetesRoleNetwork(msrest.serialization.Model): + """Kubernetes role network resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar cni_config: Cni configuration. + :vartype cni_config: ~azure.mgmt.databoxedge.v2020_12_01.models.CniConfig + :ivar load_balancer_config: Load balancer configuration. + :vartype load_balancer_config: ~azure.mgmt.databoxedge.v2020_12_01.models.LoadBalancerConfig + """ + + _validation = { + 'cni_config': {'readonly': True}, + 'load_balancer_config': {'readonly': True}, + } + + _attribute_map = { + 'cni_config': {'key': 'cniConfig', 'type': 'CniConfig'}, + 'load_balancer_config': {'key': 'loadBalancerConfig', 'type': 'LoadBalancerConfig'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleNetwork, self).__init__(**kwargs) + self.cni_config = None + self.load_balancer_config = None + + +class KubernetesRoleResources(msrest.serialization.Model): + """Kubernetes role resources. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param storage: Kubernetes role storage resource. + :type storage: ~azure.mgmt.databoxedge.v2020_12_01.models.KubernetesRoleStorage + :param compute: Required. Kubernetes role compute resource. + :type compute: ~azure.mgmt.databoxedge.v2020_12_01.models.KubernetesRoleCompute + :ivar network: Kubernetes role network resource. + :vartype network: ~azure.mgmt.databoxedge.v2020_12_01.models.KubernetesRoleNetwork + """ + + _validation = { + 'compute': {'required': True}, + 'network': {'readonly': True}, + } + + _attribute_map = { + 'storage': {'key': 'storage', 'type': 'KubernetesRoleStorage'}, + 'compute': {'key': 'compute', 'type': 'KubernetesRoleCompute'}, + 'network': {'key': 'network', 'type': 'KubernetesRoleNetwork'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleResources, self).__init__(**kwargs) + self.storage = kwargs.get('storage', None) + self.compute = kwargs['compute'] + self.network = None + + +class KubernetesRoleStorage(msrest.serialization.Model): + """Kubernetes role storage resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar storage_classes: Kubernetes storage class info. + :vartype storage_classes: + list[~azure.mgmt.databoxedge.v2020_12_01.models.KubernetesRoleStorageClassInfo] + :param endpoints: Mount points of shares in role(s). + :type endpoints: list[~azure.mgmt.databoxedge.v2020_12_01.models.MountPointMap] + """ + + _validation = { + 'storage_classes': {'readonly': True}, + } + + _attribute_map = { + 'storage_classes': {'key': 'storageClasses', 'type': '[KubernetesRoleStorageClassInfo]'}, + 'endpoints': {'key': 'endpoints', 'type': '[MountPointMap]'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleStorage, self).__init__(**kwargs) + self.storage_classes = None + self.endpoints = kwargs.get('endpoints', None) + + +class KubernetesRoleStorageClassInfo(msrest.serialization.Model): + """Kubernetes storage class info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Storage class name. + :vartype name: str + :ivar type: Storage class type. + :vartype type: str + :ivar posix_compliant: If provisioned storage is posix compliant. Possible values include: + "Invalid", "Enabled", "Disabled". + :vartype posix_compliant: str or + ~azure.mgmt.databoxedge.v2020_12_01.models.PosixComplianceStatus + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'posix_compliant': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'posix_compliant': {'key': 'posixCompliant', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleStorageClassInfo, self).__init__(**kwargs) + self.name = None + self.type = None + self.posix_compliant = None + + +class LoadBalancerConfig(msrest.serialization.Model): + """Load balancer configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: Load balancer type. + :vartype type: str + :ivar version: Load balancer version. + :vartype version: str + """ + + _validation = { + 'type': {'readonly': True}, + 'version': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LoadBalancerConfig, self).__init__(**kwargs) + self.type = None + self.version = None + + +class MECRole(Role): + """MEC role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_12_01.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param connection_string: Activation key of the MEC. + :type connection_string: ~azure.mgmt.databoxedge.v2020_12_01.models.AsymmetricEncryptedSecret + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'connection_string': {'key': 'properties.connectionString', 'type': 'AsymmetricEncryptedSecret'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MECRole, self).__init__(**kwargs) + self.kind = 'MEC' # type: str + self.connection_string = kwargs.get('connection_string', None) + self.role_status = kwargs.get('role_status', None) + + +class MetricConfiguration(msrest.serialization.Model): + """Metric configuration. + + All required parameters must be populated in order to send to Azure. + + :param resource_id: Required. The Resource ID on which the metrics should be pushed. + :type resource_id: str + :param mdm_account: The MDM account to which the counters should be pushed. + :type mdm_account: str + :param metric_name_space: The MDM namespace to which the counters should be pushed. This is + required if MDMAccount is specified. + :type metric_name_space: str + :param counter_sets: Required. Host name for the IoT hub associated to the device. + :type counter_sets: list[~azure.mgmt.databoxedge.v2020_12_01.models.MetricCounterSet] + """ + + _validation = { + 'resource_id': {'required': True}, + 'counter_sets': {'required': True}, + } + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'mdm_account': {'key': 'mdmAccount', 'type': 'str'}, + 'metric_name_space': {'key': 'metricNameSpace', 'type': 'str'}, + 'counter_sets': {'key': 'counterSets', 'type': '[MetricCounterSet]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricConfiguration, self).__init__(**kwargs) + self.resource_id = kwargs['resource_id'] + self.mdm_account = kwargs.get('mdm_account', None) + self.metric_name_space = kwargs.get('metric_name_space', None) + self.counter_sets = kwargs['counter_sets'] + + +class MetricCounter(msrest.serialization.Model): + """The metric counter. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The counter name. + :type name: str + :param instance: The instance from which counter should be collected. + :type instance: str + :param dimension_filter: The dimension filter. + :type dimension_filter: list[~azure.mgmt.databoxedge.v2020_12_01.models.MetricDimension] + :param additional_dimensions: The additional dimensions to be added to metric. + :type additional_dimensions: list[~azure.mgmt.databoxedge.v2020_12_01.models.MetricDimension] + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'instance': {'key': 'instance', 'type': 'str'}, + 'dimension_filter': {'key': 'dimensionFilter', 'type': '[MetricDimension]'}, + 'additional_dimensions': {'key': 'additionalDimensions', 'type': '[MetricDimension]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricCounter, self).__init__(**kwargs) + self.name = kwargs['name'] + self.instance = kwargs.get('instance', None) + self.dimension_filter = kwargs.get('dimension_filter', None) + self.additional_dimensions = kwargs.get('additional_dimensions', None) + + +class MetricCounterSet(msrest.serialization.Model): + """The metric counter set. + + All required parameters must be populated in order to send to Azure. + + :param counters: Required. The counters that should be collected in this set. + :type counters: list[~azure.mgmt.databoxedge.v2020_12_01.models.MetricCounter] + """ + + _validation = { + 'counters': {'required': True}, + } + + _attribute_map = { + 'counters': {'key': 'counters', 'type': '[MetricCounter]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricCounterSet, self).__init__(**kwargs) + self.counters = kwargs['counters'] + + +class MetricDimension(msrest.serialization.Model): + """The metric dimension. + + All required parameters must be populated in order to send to Azure. + + :param source_type: Required. The dimension type. + :type source_type: str + :param source_name: Required. The dimension value. + :type source_name: str + """ + + _validation = { + 'source_type': {'required': True}, + 'source_name': {'required': True}, + } + + _attribute_map = { + 'source_type': {'key': 'sourceType', 'type': 'str'}, + 'source_name': {'key': 'sourceName', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricDimension, self).__init__(**kwargs) + self.source_type = kwargs['source_type'] + self.source_name = kwargs['source_name'] + + +class MetricDimensionV1(msrest.serialization.Model): + """Metric Dimension v1. + + :param name: Name of the metrics dimension. + :type name: str + :param display_name: Display name of the metrics dimension. + :type display_name: str + :param to_be_exported_for_shoebox: To be exported to shoe box. + :type to_be_exported_for_shoebox: bool + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'to_be_exported_for_shoebox': {'key': 'toBeExportedForShoebox', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricDimensionV1, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display_name = kwargs.get('display_name', None) + self.to_be_exported_for_shoebox = kwargs.get('to_be_exported_for_shoebox', None) + + +class MetricSpecificationV1(msrest.serialization.Model): + """Metric specification version 1. + + :param name: Name of the metric. + :type name: str + :param display_name: Display name of the metric. + :type display_name: str + :param display_description: Description of the metric to be displayed. + :type display_description: str + :param unit: Metric units. Possible values include: "NotSpecified", "Percent", "Count", + "Seconds", "Milliseconds", "Bytes", "BytesPerSecond", "CountPerSecond". + :type unit: str or ~azure.mgmt.databoxedge.v2020_12_01.models.MetricUnit + :param aggregation_type: Metric aggregation type. Possible values include: "NotSpecified", + "None", "Average", "Minimum", "Maximum", "Total", "Count". + :type aggregation_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.MetricAggregationType + :param dimensions: Metric dimensions, other than default dimension which is resource. + :type dimensions: list[~azure.mgmt.databoxedge.v2020_12_01.models.MetricDimensionV1] + :param fill_gap_with_zero: Set true to fill the gaps with zero. + :type fill_gap_with_zero: bool + :param category: Metric category. Possible values include: "Capacity", "Transaction". + :type category: str or ~azure.mgmt.databoxedge.v2020_12_01.models.MetricCategory + :param resource_id_dimension_name_override: Resource name override. + :type resource_id_dimension_name_override: str + :param supported_time_grain_types: Support granularity of metrics. + :type supported_time_grain_types: list[str or + ~azure.mgmt.databoxedge.v2020_12_01.models.TimeGrain] + :param supported_aggregation_types: Support metric aggregation type. + :type supported_aggregation_types: list[str or + ~azure.mgmt.databoxedge.v2020_12_01.models.MetricAggregationType] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'display_description': {'key': 'displayDescription', 'type': 'str'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, + 'dimensions': {'key': 'dimensions', 'type': '[MetricDimensionV1]'}, + 'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'}, + 'category': {'key': 'category', 'type': 'str'}, + 'resource_id_dimension_name_override': {'key': 'resourceIdDimensionNameOverride', 'type': 'str'}, + 'supported_time_grain_types': {'key': 'supportedTimeGrainTypes', 'type': '[str]'}, + 'supported_aggregation_types': {'key': 'supportedAggregationTypes', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricSpecificationV1, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display_name = kwargs.get('display_name', None) + self.display_description = kwargs.get('display_description', None) + self.unit = kwargs.get('unit', None) + self.aggregation_type = kwargs.get('aggregation_type', None) + self.dimensions = kwargs.get('dimensions', None) + self.fill_gap_with_zero = kwargs.get('fill_gap_with_zero', None) + self.category = kwargs.get('category', None) + self.resource_id_dimension_name_override = kwargs.get('resource_id_dimension_name_override', None) + self.supported_time_grain_types = kwargs.get('supported_time_grain_types', None) + self.supported_aggregation_types = kwargs.get('supported_aggregation_types', None) + + +class MonitoringMetricConfiguration(ARMBaseModel): + """The metric setting details for the role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param metric_configurations: Required. The metrics configuration details. + :type metric_configurations: + list[~azure.mgmt.databoxedge.v2020_12_01.models.MetricConfiguration] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'metric_configurations': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'metric_configurations': {'key': 'properties.metricConfigurations', 'type': '[MetricConfiguration]'}, + } + + def __init__( + self, + **kwargs + ): + super(MonitoringMetricConfiguration, self).__init__(**kwargs) + self.metric_configurations = kwargs['metric_configurations'] + + +class MonitoringMetricConfigurationList(msrest.serialization.Model): + """Collection of metric configurations. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of metric configurations. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.MonitoringMetricConfiguration] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[MonitoringMetricConfiguration]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MonitoringMetricConfigurationList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class MountPointMap(msrest.serialization.Model): + """The share mount point. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param share_id: Required. ID of the share mounted to the role VM. + :type share_id: str + :ivar role_id: ID of the role to which share is mounted. + :vartype role_id: str + :ivar mount_point: Mount point for the share. + :vartype mount_point: str + :ivar mount_type: Mounting type. Possible values include: "Volume", "HostPath". + :vartype mount_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.MountType + :ivar role_type: Role type. Possible values include: "IOT", "ASA", "Functions", "Cognitive", + "MEC", "CloudEdgeManagement", "Kubernetes". + :vartype role_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.RoleTypes + """ + + _validation = { + 'share_id': {'required': True}, + 'role_id': {'readonly': True}, + 'mount_point': {'readonly': True}, + 'mount_type': {'readonly': True}, + 'role_type': {'readonly': True}, + } + + _attribute_map = { + 'share_id': {'key': 'shareId', 'type': 'str'}, + 'role_id': {'key': 'roleId', 'type': 'str'}, + 'mount_point': {'key': 'mountPoint', 'type': 'str'}, + 'mount_type': {'key': 'mountType', 'type': 'str'}, + 'role_type': {'key': 'roleType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MountPointMap, self).__init__(**kwargs) + self.share_id = kwargs['share_id'] + self.role_id = None + self.mount_point = None + self.mount_type = None + self.role_type = None + + +class NetworkAdapter(msrest.serialization.Model): + """Represents the networkAdapter on a device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar adapter_id: Instance ID of network adapter. + :vartype adapter_id: str + :ivar adapter_position: Hardware position of network adapter. + :vartype adapter_position: ~azure.mgmt.databoxedge.v2020_12_01.models.NetworkAdapterPosition + :ivar index: Logical index of the adapter. + :vartype index: int + :ivar node_id: Node ID of the network adapter. + :vartype node_id: str + :ivar network_adapter_name: Network adapter name. + :vartype network_adapter_name: str + :ivar label: Hardware label for the adapter. + :vartype label: str + :ivar mac_address: MAC address. + :vartype mac_address: str + :ivar link_speed: Link speed. + :vartype link_speed: long + :ivar status: Value indicating whether this adapter is valid. Possible values include: + "Inactive", "Active". + :vartype status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.NetworkAdapterStatus + :param rdma_status: Value indicating whether this adapter is RDMA capable. Possible values + include: "Incapable", "Capable". + :type rdma_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.NetworkAdapterRDMAStatus + :param dhcp_status: Value indicating whether this adapter has DHCP enabled. Possible values + include: "Disabled", "Enabled". + :type dhcp_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.NetworkAdapterDHCPStatus + :ivar ipv4_configuration: The IPv4 configuration of the network adapter. + :vartype ipv4_configuration: ~azure.mgmt.databoxedge.v2020_12_01.models.Ipv4Config + :ivar ipv6_configuration: The IPv6 configuration of the network adapter. + :vartype ipv6_configuration: ~azure.mgmt.databoxedge.v2020_12_01.models.Ipv6Config + :ivar ipv6_link_local_address: The IPv6 local address. + :vartype ipv6_link_local_address: str + :ivar dns_servers: The list of DNS Servers of the device. + :vartype dns_servers: list[str] + """ + + _validation = { + 'adapter_id': {'readonly': True}, + 'adapter_position': {'readonly': True}, + 'index': {'readonly': True}, + 'node_id': {'readonly': True}, + 'network_adapter_name': {'readonly': True}, + 'label': {'readonly': True}, + 'mac_address': {'readonly': True}, + 'link_speed': {'readonly': True}, + 'status': {'readonly': True}, + 'ipv4_configuration': {'readonly': True}, + 'ipv6_configuration': {'readonly': True}, + 'ipv6_link_local_address': {'readonly': True}, + 'dns_servers': {'readonly': True}, + } + + _attribute_map = { + 'adapter_id': {'key': 'adapterId', 'type': 'str'}, + 'adapter_position': {'key': 'adapterPosition', 'type': 'NetworkAdapterPosition'}, + 'index': {'key': 'index', 'type': 'int'}, + 'node_id': {'key': 'nodeId', 'type': 'str'}, + 'network_adapter_name': {'key': 'networkAdapterName', 'type': 'str'}, + 'label': {'key': 'label', 'type': 'str'}, + 'mac_address': {'key': 'macAddress', 'type': 'str'}, + 'link_speed': {'key': 'linkSpeed', 'type': 'long'}, + 'status': {'key': 'status', 'type': 'str'}, + 'rdma_status': {'key': 'rdmaStatus', 'type': 'str'}, + 'dhcp_status': {'key': 'dhcpStatus', 'type': 'str'}, + 'ipv4_configuration': {'key': 'ipv4Configuration', 'type': 'Ipv4Config'}, + 'ipv6_configuration': {'key': 'ipv6Configuration', 'type': 'Ipv6Config'}, + 'ipv6_link_local_address': {'key': 'ipv6LinkLocalAddress', 'type': 'str'}, + 'dns_servers': {'key': 'dnsServers', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkAdapter, self).__init__(**kwargs) + self.adapter_id = None + self.adapter_position = None + self.index = None + self.node_id = None + self.network_adapter_name = None + self.label = None + self.mac_address = None + self.link_speed = None + self.status = None + self.rdma_status = kwargs.get('rdma_status', None) + self.dhcp_status = kwargs.get('dhcp_status', None) + self.ipv4_configuration = None + self.ipv6_configuration = None + self.ipv6_link_local_address = None + self.dns_servers = None + + +class NetworkAdapterPosition(msrest.serialization.Model): + """The network adapter position. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar network_group: The network group. Possible values include: "None", "NonRDMA", "RDMA". + :vartype network_group: str or ~azure.mgmt.databoxedge.v2020_12_01.models.NetworkGroup + :ivar port: The port. + :vartype port: int + """ + + _validation = { + 'network_group': {'readonly': True}, + 'port': {'readonly': True}, + } + + _attribute_map = { + 'network_group': {'key': 'networkGroup', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkAdapterPosition, self).__init__(**kwargs) + self.network_group = None + self.port = None + + +class NetworkSettings(ARMBaseModel): + """The network settings of a device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar network_adapters: The network adapter list on the device. + :vartype network_adapters: list[~azure.mgmt.databoxedge.v2020_12_01.models.NetworkAdapter] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'network_adapters': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'network_adapters': {'key': 'properties.networkAdapters', 'type': '[NetworkAdapter]'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkSettings, self).__init__(**kwargs) + self.network_adapters = None + + +class Node(ARMBaseModel): + """Represents a single node in a Data box Edge/Gateway device +Gateway devices, standalone Edge devices and a single node cluster Edge device will all have 1 node +Multi-node Edge devices will have more than 1 nodes. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar node_status: The current status of the individual node. Possible values include: + "Unknown", "Up", "Down", "Rebooting", "ShuttingDown". + :vartype node_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.NodeStatus + :ivar node_chassis_serial_number: Serial number of the Chassis. + :vartype node_chassis_serial_number: str + :ivar node_serial_number: Serial number of the individual node. + :vartype node_serial_number: str + :ivar node_display_name: Display Name of the individual node. + :vartype node_display_name: str + :ivar node_friendly_software_version: Friendly software version name that is currently + installed on the node. + :vartype node_friendly_software_version: str + :ivar node_hcs_version: HCS version that is currently installed on the node. + :vartype node_hcs_version: str + :ivar node_instance_id: Guid instance id of the node. + :vartype node_instance_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'node_status': {'readonly': True}, + 'node_chassis_serial_number': {'readonly': True}, + 'node_serial_number': {'readonly': True}, + 'node_display_name': {'readonly': True}, + 'node_friendly_software_version': {'readonly': True}, + 'node_hcs_version': {'readonly': True}, + 'node_instance_id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'node_status': {'key': 'properties.nodeStatus', 'type': 'str'}, + 'node_chassis_serial_number': {'key': 'properties.nodeChassisSerialNumber', 'type': 'str'}, + 'node_serial_number': {'key': 'properties.nodeSerialNumber', 'type': 'str'}, + 'node_display_name': {'key': 'properties.nodeDisplayName', 'type': 'str'}, + 'node_friendly_software_version': {'key': 'properties.nodeFriendlySoftwareVersion', 'type': 'str'}, + 'node_hcs_version': {'key': 'properties.nodeHcsVersion', 'type': 'str'}, + 'node_instance_id': {'key': 'properties.nodeInstanceId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Node, self).__init__(**kwargs) + self.node_status = None + self.node_chassis_serial_number = None + self.node_serial_number = None + self.node_display_name = None + self.node_friendly_software_version = None + self.node_hcs_version = None + self.node_instance_id = None + + +class NodeInfo(msrest.serialization.Model): + """Kubernetes node info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Node name. + :vartype name: str + :ivar type: Node type - Master/Worker. Possible values include: "Invalid", "Master", "Worker". + :vartype type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.KubernetesNodeType + :param ip_configuration: IP Configuration of the Kubernetes node. + :type ip_configuration: + list[~azure.mgmt.databoxedge.v2020_12_01.models.KubernetesIPConfiguration] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'ip_configuration': {'key': 'ipConfiguration', 'type': '[KubernetesIPConfiguration]'}, + } + + def __init__( + self, + **kwargs + ): + super(NodeInfo, self).__init__(**kwargs) + self.name = None + self.type = None + self.ip_configuration = kwargs.get('ip_configuration', None) + + +class NodeList(msrest.serialization.Model): + """Collection of Nodes. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of Nodes. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.Node] + :param next_link: Link to the next set of results. + :type next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Node]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NodeList, self).__init__(**kwargs) + self.value = None + self.next_link = kwargs.get('next_link', None) + + +class Operation(msrest.serialization.Model): + """Operations. + + :param name: Name of the operation. + :type name: str + :param is_data_action: Is data action. + :type is_data_action: bool + :param display: Properties displayed for the operation. + :type display: ~azure.mgmt.databoxedge.v2020_12_01.models.OperationDisplay + :param origin: Origin of the operation. + :type origin: str + :param service_specification: Service specification. + :type service_specification: ~azure.mgmt.databoxedge.v2020_12_01.models.ServiceSpecification + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, + 'display': {'key': 'display', 'type': 'OperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'service_specification': {'key': 'properties.serviceSpecification', 'type': 'ServiceSpecification'}, + } + + def __init__( + self, + **kwargs + ): + super(Operation, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.is_data_action = kwargs.get('is_data_action', None) + self.display = kwargs.get('display', None) + self.origin = kwargs.get('origin', None) + self.service_specification = kwargs.get('service_specification', None) + + +class OperationDisplay(msrest.serialization.Model): + """Operation display properties. + + :param provider: Provider name. + :type provider: str + :param resource: The type of resource in which the operation is performed. + :type resource: str + :param operation: Operation to be performed on the resource. + :type operation: str + :param description: Description of the operation to be performed. + :type description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OperationDisplay, self).__init__(**kwargs) + self.provider = kwargs.get('provider', None) + self.resource = kwargs.get('resource', None) + self.operation = kwargs.get('operation', None) + self.description = kwargs.get('description', None) + + +class OperationsList(msrest.serialization.Model): + """The list of operations used for the discovery of available provider operations. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. The value. + :type value: list[~azure.mgmt.databoxedge.v2020_12_01.models.Operation] + :param next_link: Link to the next set of results. + :type next_link: str + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Operation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OperationsList, self).__init__(**kwargs) + self.value = kwargs['value'] + self.next_link = kwargs.get('next_link', None) + + +class Order(ARMBaseModel): + """The order details. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param contact_information: The contact details. + :type contact_information: ~azure.mgmt.databoxedge.v2020_12_01.models.ContactDetails + :param shipping_address: The shipping address. + :type shipping_address: ~azure.mgmt.databoxedge.v2020_12_01.models.Address + :ivar current_status: Current status of the order. + :vartype current_status: ~azure.mgmt.databoxedge.v2020_12_01.models.OrderStatus + :ivar order_history: List of status changes in the order. + :vartype order_history: list[~azure.mgmt.databoxedge.v2020_12_01.models.OrderStatus] + :ivar serial_number: Serial number of the device. + :vartype serial_number: str + :ivar delivery_tracking_info: Tracking information for the package delivered to the customer + whether it has an original or a replacement device. + :vartype delivery_tracking_info: list[~azure.mgmt.databoxedge.v2020_12_01.models.TrackingInfo] + :ivar return_tracking_info: Tracking information for the package returned from the customer + whether it has an original or a replacement device. + :vartype return_tracking_info: list[~azure.mgmt.databoxedge.v2020_12_01.models.TrackingInfo] + :param shipment_type: ShipmentType of the order. Possible values include: "NotApplicable", + "ShippedToCustomer", "SelfPickup". + :type shipment_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.ShipmentType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'current_status': {'readonly': True}, + 'order_history': {'readonly': True}, + 'serial_number': {'readonly': True}, + 'delivery_tracking_info': {'readonly': True}, + 'return_tracking_info': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'contact_information': {'key': 'properties.contactInformation', 'type': 'ContactDetails'}, + 'shipping_address': {'key': 'properties.shippingAddress', 'type': 'Address'}, + 'current_status': {'key': 'properties.currentStatus', 'type': 'OrderStatus'}, + 'order_history': {'key': 'properties.orderHistory', 'type': '[OrderStatus]'}, + 'serial_number': {'key': 'properties.serialNumber', 'type': 'str'}, + 'delivery_tracking_info': {'key': 'properties.deliveryTrackingInfo', 'type': '[TrackingInfo]'}, + 'return_tracking_info': {'key': 'properties.returnTrackingInfo', 'type': '[TrackingInfo]'}, + 'shipment_type': {'key': 'properties.shipmentType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Order, self).__init__(**kwargs) + self.contact_information = kwargs.get('contact_information', None) + self.shipping_address = kwargs.get('shipping_address', None) + self.current_status = None + self.order_history = None + self.serial_number = None + self.delivery_tracking_info = None + self.return_tracking_info = None + self.shipment_type = kwargs.get('shipment_type', None) + + +class OrderList(msrest.serialization.Model): + """List of order entities. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of orders. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.Order] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Order]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OrderList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class OrderStatus(msrest.serialization.Model): + """Represents a single status change. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param status: Required. Status of the order as per the allowed status types. Possible values + include: "Untracked", "AwaitingFulfilment", "AwaitingPreparation", "AwaitingShipment", + "Shipped", "Arriving", "Delivered", "ReplacementRequested", "LostDevice", "Declined", + "ReturnInitiated", "AwaitingReturnShipment", "ShippedBack", "CollectedAtMicrosoft", + "AwaitingPickup", "PickupCompleted", "AwaitingDrop". + :type status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.OrderState + :ivar update_date_time: Time of status update. + :vartype update_date_time: ~datetime.datetime + :param comments: Comments related to this status change. + :type comments: str + :ivar tracking_information: Tracking information related to the state in the ordering flow. + :vartype tracking_information: ~azure.mgmt.databoxedge.v2020_12_01.models.TrackingInfo + :ivar additional_order_details: Dictionary to hold generic information which is not stored + by the already existing properties. + :vartype additional_order_details: dict[str, str] + """ + + _validation = { + 'status': {'required': True}, + 'update_date_time': {'readonly': True}, + 'tracking_information': {'readonly': True}, + 'additional_order_details': {'readonly': True}, + } + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + 'update_date_time': {'key': 'updateDateTime', 'type': 'iso-8601'}, + 'comments': {'key': 'comments', 'type': 'str'}, + 'tracking_information': {'key': 'trackingInformation', 'type': 'TrackingInfo'}, + 'additional_order_details': {'key': 'additionalOrderDetails', 'type': '{str}'}, + } + + def __init__( + self, + **kwargs + ): + super(OrderStatus, self).__init__(**kwargs) + self.status = kwargs['status'] + self.update_date_time = None + self.comments = kwargs.get('comments', None) + self.tracking_information = None + self.additional_order_details = None + + +class PeriodicTimerEventTrigger(Trigger): + """Trigger details. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Trigger in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: + "FileEvent", "PeriodicTimerEvent". + :type kind: str or ~azure.mgmt.databoxedge.v2020_12_01.models.TriggerEventType + :param source_info: Required. Periodic timer details. + :type source_info: ~azure.mgmt.databoxedge.v2020_12_01.models.PeriodicTimerSourceInfo + :param sink_info: Required. Role Sink information. + :type sink_info: ~azure.mgmt.databoxedge.v2020_12_01.models.RoleSinkInfo + :param custom_context_tag: A custom context tag typically used to correlate the trigger against + its usage. For example, if a periodic timer trigger is intended for certain specific IoT + modules in the device, the tag can be the name or the image URL of the module. + :type custom_context_tag: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'kind': {'required': True}, + 'source_info': {'required': True}, + 'sink_info': {'required': True}, + 'custom_context_tag': {'max_length': 192, 'min_length': 0}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'source_info': {'key': 'properties.sourceInfo', 'type': 'PeriodicTimerSourceInfo'}, + 'sink_info': {'key': 'properties.sinkInfo', 'type': 'RoleSinkInfo'}, + 'custom_context_tag': {'key': 'properties.customContextTag', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PeriodicTimerEventTrigger, self).__init__(**kwargs) + self.kind = 'PeriodicTimerEvent' # type: str + self.source_info = kwargs['source_info'] + self.sink_info = kwargs['sink_info'] + self.custom_context_tag = kwargs.get('custom_context_tag', None) + + +class PeriodicTimerSourceInfo(msrest.serialization.Model): + """Periodic timer event source. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. The time of the day that results in a valid trigger. Schedule is + computed with reference to the time specified upto seconds. If timezone is not specified the + time will considered to be in device timezone. The value will always be returned as UTC time. + :type start_time: ~datetime.datetime + :param schedule: Required. Periodic frequency at which timer event needs to be raised. Supports + daily, hourly, minutes, and seconds. + :type schedule: str + :param topic: Topic where periodic events are published to IoT device. + :type topic: str + """ + + _validation = { + 'start_time': {'required': True}, + 'schedule': {'required': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'schedule': {'key': 'schedule', 'type': 'str'}, + 'topic': {'key': 'topic', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PeriodicTimerSourceInfo, self).__init__(**kwargs) + self.start_time = kwargs['start_time'] + self.schedule = kwargs['schedule'] + self.topic = kwargs.get('topic', None) + + +class RefreshDetails(msrest.serialization.Model): + """Fields for tracking refresh job on the share or container. + + :param in_progress_refresh_job_id: If a refresh job is currently in progress on this share or + container, this field indicates the ARM resource ID of that job. The field is empty if no job + is in progress. + :type in_progress_refresh_job_id: str + :param last_completed_refresh_job_time_in_utc: Indicates the completed time for the last + refresh job on this particular share or container, if any.This could be a failed job or a + successful job. + :type last_completed_refresh_job_time_in_utc: ~datetime.datetime + :param error_manifest_file: Indicates the relative path of the error xml for the last refresh + job on this particular share or container, if any. This could be a failed job or a successful + job. + :type error_manifest_file: str + :param last_job: Indicates the id of the last refresh job on this particular share or + container,if any. This could be a failed job or a successful job. + :type last_job: str + """ + + _attribute_map = { + 'in_progress_refresh_job_id': {'key': 'inProgressRefreshJobId', 'type': 'str'}, + 'last_completed_refresh_job_time_in_utc': {'key': 'lastCompletedRefreshJobTimeInUTC', 'type': 'iso-8601'}, + 'error_manifest_file': {'key': 'errorManifestFile', 'type': 'str'}, + 'last_job': {'key': 'lastJob', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RefreshDetails, self).__init__(**kwargs) + self.in_progress_refresh_job_id = kwargs.get('in_progress_refresh_job_id', None) + self.last_completed_refresh_job_time_in_utc = kwargs.get('last_completed_refresh_job_time_in_utc', None) + self.error_manifest_file = kwargs.get('error_manifest_file', None) + self.last_job = kwargs.get('last_job', None) + + +class ResourceIdentity(msrest.serialization.Model): + """Msi identity details of the resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param type: Identity type. Possible values include: "None", "SystemAssigned", "UserAssigned". + :type type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.MsiIdentityType + :ivar principal_id: Service Principal Id backing the Msi. + :vartype principal_id: str + :ivar tenant_id: Home Tenant Id. + :vartype tenant_id: str + """ + + _validation = { + 'principal_id': {'readonly': True}, + 'tenant_id': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'principal_id': {'key': 'principalId', 'type': 'str'}, + 'tenant_id': {'key': 'tenantId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceIdentity, self).__init__(**kwargs) + self.type = kwargs.get('type', None) + self.principal_id = None + self.tenant_id = None + + +class ResourceMoveDetails(msrest.serialization.Model): + """Fields for tracking resource move. + + :param operation_in_progress: Denotes whether move operation is in progress. Possible values + include: "None", "ResourceMoveInProgress", "ResourceMoveFailed". + :type operation_in_progress: str or + ~azure.mgmt.databoxedge.v2020_12_01.models.ResourceMoveStatus + :param operation_in_progress_lock_timeout_in_utc: Denotes the timeout of the operation to + finish. + :type operation_in_progress_lock_timeout_in_utc: ~datetime.datetime + """ + + _attribute_map = { + 'operation_in_progress': {'key': 'operationInProgress', 'type': 'str'}, + 'operation_in_progress_lock_timeout_in_utc': {'key': 'operationInProgressLockTimeoutInUTC', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceMoveDetails, self).__init__(**kwargs) + self.operation_in_progress = kwargs.get('operation_in_progress', None) + self.operation_in_progress_lock_timeout_in_utc = kwargs.get('operation_in_progress_lock_timeout_in_utc', None) + + +class ResourceTypeSku(msrest.serialization.Model): + """Resource type Sku object. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar resource_type: The resource type. + :vartype resource_type: str + :ivar skus: The skus. + :vartype skus: list[~azure.mgmt.databoxedge.v2020_12_01.models.SkuInformation] + """ + + _validation = { + 'resource_type': {'readonly': True}, + 'skus': {'readonly': True}, + } + + _attribute_map = { + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'skus': {'key': 'skus', 'type': '[SkuInformation]'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceTypeSku, self).__init__(**kwargs) + self.resource_type = None + self.skus = None + + +class RoleList(msrest.serialization.Model): + """Collection of all the roles on the Data Box Edge device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The Value. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.Role] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Role]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RoleList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class RoleSinkInfo(msrest.serialization.Model): + """Compute role against which events will be raised. + + All required parameters must be populated in order to send to Azure. + + :param role_id: Required. Compute role ID. + :type role_id: str + """ + + _validation = { + 'role_id': {'required': True}, + } + + _attribute_map = { + 'role_id': {'key': 'roleId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RoleSinkInfo, self).__init__(**kwargs) + self.role_id = kwargs['role_id'] + + +class Secret(msrest.serialization.Model): + """Holds device secret either as a KeyVault reference or as an encrypted value. + + :param encrypted_secret: Encrypted (using device public key) secret value. + :type encrypted_secret: ~azure.mgmt.databoxedge.v2020_12_01.models.AsymmetricEncryptedSecret + :param key_vault_id: Id of the Key-Vault where secret is stored (ex: + secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740). + :type key_vault_id: str + """ + + _attribute_map = { + 'encrypted_secret': {'key': 'encryptedSecret', 'type': 'AsymmetricEncryptedSecret'}, + 'key_vault_id': {'key': 'keyVaultId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Secret, self).__init__(**kwargs) + self.encrypted_secret = kwargs.get('encrypted_secret', None) + self.key_vault_id = kwargs.get('key_vault_id', None) + + +class SecuritySettings(ARMBaseModel): + """The security settings of a device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param device_admin_password: Required. Device administrator password as an encrypted string + (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual + password should have at least 8 characters that are a combination of uppercase, lowercase, + numeric, and special characters. + :type device_admin_password: + ~azure.mgmt.databoxedge.v2020_12_01.models.AsymmetricEncryptedSecret + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'device_admin_password': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'device_admin_password': {'key': 'properties.deviceAdminPassword', 'type': 'AsymmetricEncryptedSecret'}, + } + + def __init__( + self, + **kwargs + ): + super(SecuritySettings, self).__init__(**kwargs) + self.device_admin_password = kwargs['device_admin_password'] + + +class ServiceSpecification(msrest.serialization.Model): + """Service specification. + + :param metric_specifications: Metric specification as defined by shoebox. + :type metric_specifications: + list[~azure.mgmt.databoxedge.v2020_12_01.models.MetricSpecificationV1] + """ + + _attribute_map = { + 'metric_specifications': {'key': 'metricSpecifications', 'type': '[MetricSpecificationV1]'}, + } + + def __init__( + self, + **kwargs + ): + super(ServiceSpecification, self).__init__(**kwargs) + self.metric_specifications = kwargs.get('metric_specifications', None) + + +class Share(ARMBaseModel): + """Represents a share on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Share on ASE device. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param description: Description for the share. + :type description: str + :param share_status: Required. Current status of the share. Possible values include: "Offline", + "Unknown", "OK", "Updating", "NeedsAttention". + :type share_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.ShareStatus + :param monitoring_status: Required. Current monitoring status of the share. Possible values + include: "Enabled", "Disabled". + :type monitoring_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.MonitoringStatus + :param azure_container_info: Azure container mapping for the share. + :type azure_container_info: ~azure.mgmt.databoxedge.v2020_12_01.models.AzureContainerInfo + :param access_protocol: Required. Access protocol to be used by the share. Possible values + include: "SMB", "NFS". + :type access_protocol: str or ~azure.mgmt.databoxedge.v2020_12_01.models.ShareAccessProtocol + :param user_access_rights: Mapping of users and corresponding access rights on the share + (required for SMB protocol). + :type user_access_rights: list[~azure.mgmt.databoxedge.v2020_12_01.models.UserAccessRight] + :param client_access_rights: List of IP addresses and corresponding access rights on the + share(required for NFS protocol). + :type client_access_rights: list[~azure.mgmt.databoxedge.v2020_12_01.models.ClientAccessRight] + :param refresh_details: Details of the refresh job on this share. + :type refresh_details: ~azure.mgmt.databoxedge.v2020_12_01.models.RefreshDetails + :ivar share_mappings: Share mount point to the role. + :vartype share_mappings: list[~azure.mgmt.databoxedge.v2020_12_01.models.MountPointMap] + :param data_policy: Data policy of the share. Possible values include: "Cloud", "Local". + :type data_policy: str or ~azure.mgmt.databoxedge.v2020_12_01.models.DataPolicy + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'share_status': {'required': True}, + 'monitoring_status': {'required': True}, + 'access_protocol': {'required': True}, + 'share_mappings': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'share_status': {'key': 'properties.shareStatus', 'type': 'str'}, + 'monitoring_status': {'key': 'properties.monitoringStatus', 'type': 'str'}, + 'azure_container_info': {'key': 'properties.azureContainerInfo', 'type': 'AzureContainerInfo'}, + 'access_protocol': {'key': 'properties.accessProtocol', 'type': 'str'}, + 'user_access_rights': {'key': 'properties.userAccessRights', 'type': '[UserAccessRight]'}, + 'client_access_rights': {'key': 'properties.clientAccessRights', 'type': '[ClientAccessRight]'}, + 'refresh_details': {'key': 'properties.refreshDetails', 'type': 'RefreshDetails'}, + 'share_mappings': {'key': 'properties.shareMappings', 'type': '[MountPointMap]'}, + 'data_policy': {'key': 'properties.dataPolicy', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Share, self).__init__(**kwargs) + self.system_data = None + self.description = kwargs.get('description', None) + self.share_status = kwargs['share_status'] + self.monitoring_status = kwargs['monitoring_status'] + self.azure_container_info = kwargs.get('azure_container_info', None) + self.access_protocol = kwargs['access_protocol'] + self.user_access_rights = kwargs.get('user_access_rights', None) + self.client_access_rights = kwargs.get('client_access_rights', None) + self.refresh_details = kwargs.get('refresh_details', None) + self.share_mappings = None + self.data_policy = kwargs.get('data_policy', None) + + +class ShareAccessRight(msrest.serialization.Model): + """Specifies the mapping between this particular user and the type of access he has on shares on this device. + + All required parameters must be populated in order to send to Azure. + + :param share_id: Required. The share ID. + :type share_id: str + :param access_type: Required. Type of access to be allowed on the share for this user. Possible + values include: "Change", "Read", "Custom". + :type access_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.ShareAccessType + """ + + _validation = { + 'share_id': {'required': True}, + 'access_type': {'required': True}, + } + + _attribute_map = { + 'share_id': {'key': 'shareId', 'type': 'str'}, + 'access_type': {'key': 'accessType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ShareAccessRight, self).__init__(**kwargs) + self.share_id = kwargs['share_id'] + self.access_type = kwargs['access_type'] + + +class ShareList(msrest.serialization.Model): + """Collection of all the shares on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of shares. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.Share] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Share]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ShareList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class Sku(msrest.serialization.Model): + """The SKU type. + + :param name: SKU name. Possible values include: "Gateway", "Edge", "TEA_1Node", + "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", + "TEA_4Node_UPS_Heater", "TMA", "TDC", "TCA_Small", "GPU", "TCA_Large", "EdgeP_Base", + "EdgeP_High", "EdgePR_Base", "EdgePR_Base_UPS", "EdgeMR_Mini", "RCA_Small", "RCA_Large", "RDC". + :type name: str or ~azure.mgmt.databoxedge.v2020_12_01.models.SkuName + :param tier: The SKU tier. This is based on the SKU name. Possible values include: "Standard". + :type tier: str or ~azure.mgmt.databoxedge.v2020_12_01.models.SkuTier + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Sku, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.tier = kwargs.get('tier', None) + + +class SkuCapability(msrest.serialization.Model): + """The metadata to describe the capability. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: An invariant to describe the feature. + :vartype name: str + :ivar value: An invariant if the feature is measured by quantity. + :vartype value: str + """ + + _validation = { + 'name': {'readonly': True}, + 'value': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuCapability, self).__init__(**kwargs) + self.name = None + self.value = None + + +class SkuCost(msrest.serialization.Model): + """The metadata for retrieving price info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar meter_id: Used for querying price from commerce. + :vartype meter_id: str + :ivar quantity: The cost quantity. + :vartype quantity: long + :ivar extended_unit: The extended unit. + :vartype extended_unit: str + """ + + _validation = { + 'meter_id': {'readonly': True}, + 'quantity': {'readonly': True}, + 'extended_unit': {'readonly': True}, + } + + _attribute_map = { + 'meter_id': {'key': 'meterId', 'type': 'str'}, + 'quantity': {'key': 'quantity', 'type': 'long'}, + 'extended_unit': {'key': 'extendedUnit', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuCost, self).__init__(**kwargs) + self.meter_id = None + self.quantity = None + self.extended_unit = None + + +class SkuInformation(msrest.serialization.Model): + """Sku information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: The sku name. + :vartype name: str + :ivar tier: The sku tier. + :vartype tier: str + :ivar kind: The sku kind. + :vartype kind: str + :ivar family: The Sku family. + :vartype family: str + :ivar costs: The pricing info of the Sku. + :vartype costs: list[~azure.mgmt.databoxedge.v2020_12_01.models.SkuCost] + :ivar locations: The locations where Sku is available. + :vartype locations: list[str] + :ivar location_info: The locations where Sku is available with zones and sites info. + :vartype location_info: list[~azure.mgmt.databoxedge.v2020_12_01.models.SkuLocationInfo] + :ivar required_quota_ids: The required quotaIds for the sku to be available. + :vartype required_quota_ids: list[str] + :ivar required_features: The required features for the sku to be available. + :vartype required_features: list[str] + """ + + _validation = { + 'name': {'readonly': True}, + 'tier': {'readonly': True}, + 'kind': {'readonly': True}, + 'family': {'readonly': True}, + 'costs': {'readonly': True}, + 'locations': {'readonly': True}, + 'location_info': {'readonly': True}, + 'required_quota_ids': {'readonly': True}, + 'required_features': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'costs': {'key': 'costs', 'type': '[SkuCost]'}, + 'locations': {'key': 'locations', 'type': '[str]'}, + 'location_info': {'key': 'locationInfo', 'type': '[SkuLocationInfo]'}, + 'required_quota_ids': {'key': 'requiredQuotaIds', 'type': '[str]'}, + 'required_features': {'key': 'requiredFeatures', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuInformation, self).__init__(**kwargs) + self.name = None + self.tier = None + self.kind = None + self.family = None + self.costs = None + self.locations = None + self.location_info = None + self.required_quota_ids = None + self.required_features = None + + +class SkuInformationList(msrest.serialization.Model): + """List of SKU Information objects. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of ResourceTypeSku objects. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.ResourceTypeSku] + :ivar next_link: Links to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ResourceTypeSku]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuInformationList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SkuLocationInfo(msrest.serialization.Model): + """The location info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar location: The location. + :vartype location: str + :ivar zones: The zones. + :vartype zones: list[str] + :ivar sites: The sites. + :vartype sites: list[str] + """ + + _validation = { + 'location': {'readonly': True}, + 'zones': {'readonly': True}, + 'sites': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + 'sites': {'key': 'sites', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuLocationInfo, self).__init__(**kwargs) + self.location = None + self.zones = None + self.sites = None + + +class StorageAccount(ARMBaseModel): + """Represents a Storage Account on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: StorageAccount object on ASE device. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param description: Description for the storage Account. + :type description: str + :param storage_account_status: Current status of the storage account. Possible values include: + "OK", "Offline", "Unknown", "Updating", "NeedsAttention". + :type storage_account_status: str or + ~azure.mgmt.databoxedge.v2020_12_01.models.StorageAccountStatus + :param data_policy: Required. Data policy of the storage Account. Possible values include: + "Cloud", "Local". + :type data_policy: str or ~azure.mgmt.databoxedge.v2020_12_01.models.DataPolicy + :param storage_account_credential_id: Storage Account Credential Id. + :type storage_account_credential_id: str + :ivar blob_endpoint: BlobEndpoint of Storage Account. + :vartype blob_endpoint: str + :ivar container_count: The Container Count. Present only for Storage Accounts with DataPolicy + set to Cloud. + :vartype container_count: int + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'data_policy': {'required': True}, + 'blob_endpoint': {'readonly': True}, + 'container_count': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'storage_account_status': {'key': 'properties.storageAccountStatus', 'type': 'str'}, + 'data_policy': {'key': 'properties.dataPolicy', 'type': 'str'}, + 'storage_account_credential_id': {'key': 'properties.storageAccountCredentialId', 'type': 'str'}, + 'blob_endpoint': {'key': 'properties.blobEndpoint', 'type': 'str'}, + 'container_count': {'key': 'properties.containerCount', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(StorageAccount, self).__init__(**kwargs) + self.system_data = None + self.description = kwargs.get('description', None) + self.storage_account_status = kwargs.get('storage_account_status', None) + self.data_policy = kwargs['data_policy'] + self.storage_account_credential_id = kwargs.get('storage_account_credential_id', None) + self.blob_endpoint = None + self.container_count = None + + +class StorageAccountCredential(ARMBaseModel): + """The storage account credential. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: StorageAccountCredential object. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param alias: Required. Alias for the storage account. + :type alias: str + :param user_name: Username for the storage account. + :type user_name: str + :param account_key: Encrypted storage key. + :type account_key: ~azure.mgmt.databoxedge.v2020_12_01.models.AsymmetricEncryptedSecret + :param connection_string: Connection string for the storage account. Use this string if + username and account key are not specified. + :type connection_string: str + :param ssl_status: Required. Signifies whether SSL needs to be enabled or not. Possible values + include: "Enabled", "Disabled". + :type ssl_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.SSLStatus + :param blob_domain_name: Blob end point for private clouds. + :type blob_domain_name: str + :param account_type: Required. Type of storage accessed on the storage account. Possible values + include: "GeneralPurposeStorage", "BlobStorage". + :type account_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.AccountType + :param storage_account_id: Id of the storage account. + :type storage_account_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'alias': {'required': True}, + 'ssl_status': {'required': True}, + 'account_type': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'alias': {'key': 'properties.alias', 'type': 'str'}, + 'user_name': {'key': 'properties.userName', 'type': 'str'}, + 'account_key': {'key': 'properties.accountKey', 'type': 'AsymmetricEncryptedSecret'}, + 'connection_string': {'key': 'properties.connectionString', 'type': 'str'}, + 'ssl_status': {'key': 'properties.sslStatus', 'type': 'str'}, + 'blob_domain_name': {'key': 'properties.blobDomainName', 'type': 'str'}, + 'account_type': {'key': 'properties.accountType', 'type': 'str'}, + 'storage_account_id': {'key': 'properties.storageAccountId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StorageAccountCredential, self).__init__(**kwargs) + self.system_data = None + self.alias = kwargs['alias'] + self.user_name = kwargs.get('user_name', None) + self.account_key = kwargs.get('account_key', None) + self.connection_string = kwargs.get('connection_string', None) + self.ssl_status = kwargs['ssl_status'] + self.blob_domain_name = kwargs.get('blob_domain_name', None) + self.account_type = kwargs['account_type'] + self.storage_account_id = kwargs.get('storage_account_id', None) + + +class StorageAccountCredentialList(msrest.serialization.Model): + """The collection of storage account credentials. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The value. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.StorageAccountCredential] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[StorageAccountCredential]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StorageAccountCredentialList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class StorageAccountList(msrest.serialization.Model): + """Collection of all the Storage Accounts on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of storageAccounts. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.StorageAccount] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[StorageAccount]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StorageAccountList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SubscriptionRegisteredFeatures(msrest.serialization.Model): + """SubscriptionRegisteredFeatures. + + :param name: + :type name: str + :param state: + :type state: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SubscriptionRegisteredFeatures, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.state = kwargs.get('state', None) + + +class SymmetricKey(msrest.serialization.Model): + """Symmetric key for authentication. + + :param connection_string: Connection string based on the symmetric key. + :type connection_string: ~azure.mgmt.databoxedge.v2020_12_01.models.AsymmetricEncryptedSecret + """ + + _attribute_map = { + 'connection_string': {'key': 'connectionString', 'type': 'AsymmetricEncryptedSecret'}, + } + + def __init__( + self, + **kwargs + ): + super(SymmetricKey, self).__init__(**kwargs) + self.connection_string = kwargs.get('connection_string', None) + + +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :param created_by: The identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :type created_by_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.CreatedByType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: ~datetime.datetime + :param last_modified_by: The identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :type last_modified_by_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.CreatedByType + :param last_modified_at: The type of identity that last modified the resource. + :type last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(SystemData, self).__init__(**kwargs) + self.created_by = kwargs.get('created_by', None) + self.created_by_type = kwargs.get('created_by_type', None) + self.created_at = kwargs.get('created_at', None) + self.last_modified_by = kwargs.get('last_modified_by', None) + self.last_modified_by_type = kwargs.get('last_modified_by_type', None) + self.last_modified_at = kwargs.get('last_modified_at', None) + + +class TrackingInfo(msrest.serialization.Model): + """Tracking courier information. + + :param serial_number: Serial number of the device being tracked. + :type serial_number: str + :param carrier_name: Name of the carrier used in the delivery. + :type carrier_name: str + :param tracking_id: Tracking ID of the shipment. + :type tracking_id: str + :param tracking_url: Tracking URL of the shipment. + :type tracking_url: str + """ + + _attribute_map = { + 'serial_number': {'key': 'serialNumber', 'type': 'str'}, + 'carrier_name': {'key': 'carrierName', 'type': 'str'}, + 'tracking_id': {'key': 'trackingId', 'type': 'str'}, + 'tracking_url': {'key': 'trackingUrl', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TrackingInfo, self).__init__(**kwargs) + self.serial_number = kwargs.get('serial_number', None) + self.carrier_name = kwargs.get('carrier_name', None) + self.tracking_id = kwargs.get('tracking_id', None) + self.tracking_url = kwargs.get('tracking_url', None) + + +class TriggerList(msrest.serialization.Model): + """Collection of all trigger on the data box edge device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of triggers. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.Trigger] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Trigger]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TriggerList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class UpdateDownloadProgress(msrest.serialization.Model): + """Details about the download progress of update. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar download_phase: The download phase. Possible values include: "Unknown", "Initializing", + "Downloading", "Verifying". + :vartype download_phase: str or ~azure.mgmt.databoxedge.v2020_12_01.models.DownloadPhase + :ivar percent_complete: Percentage of completion. + :vartype percent_complete: int + :ivar total_bytes_to_download: Total bytes to download. + :vartype total_bytes_to_download: float + :ivar total_bytes_downloaded: Total bytes downloaded. + :vartype total_bytes_downloaded: float + :ivar number_of_updates_to_download: Number of updates to download. + :vartype number_of_updates_to_download: int + :ivar number_of_updates_downloaded: Number of updates downloaded. + :vartype number_of_updates_downloaded: int + """ + + _validation = { + 'download_phase': {'readonly': True}, + 'percent_complete': {'readonly': True}, + 'total_bytes_to_download': {'readonly': True}, + 'total_bytes_downloaded': {'readonly': True}, + 'number_of_updates_to_download': {'readonly': True}, + 'number_of_updates_downloaded': {'readonly': True}, + } + + _attribute_map = { + 'download_phase': {'key': 'downloadPhase', 'type': 'str'}, + 'percent_complete': {'key': 'percentComplete', 'type': 'int'}, + 'total_bytes_to_download': {'key': 'totalBytesToDownload', 'type': 'float'}, + 'total_bytes_downloaded': {'key': 'totalBytesDownloaded', 'type': 'float'}, + 'number_of_updates_to_download': {'key': 'numberOfUpdatesToDownload', 'type': 'int'}, + 'number_of_updates_downloaded': {'key': 'numberOfUpdatesDownloaded', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(UpdateDownloadProgress, self).__init__(**kwargs) + self.download_phase = None + self.percent_complete = None + self.total_bytes_to_download = None + self.total_bytes_downloaded = None + self.number_of_updates_to_download = None + self.number_of_updates_downloaded = None + + +class UpdateInstallProgress(msrest.serialization.Model): + """Progress details during installation of updates. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar percent_complete: Percentage completed. + :vartype percent_complete: int + :ivar number_of_updates_to_install: Number of updates to install. + :vartype number_of_updates_to_install: int + :ivar number_of_updates_installed: Number of updates installed. + :vartype number_of_updates_installed: int + """ + + _validation = { + 'percent_complete': {'readonly': True}, + 'number_of_updates_to_install': {'readonly': True}, + 'number_of_updates_installed': {'readonly': True}, + } + + _attribute_map = { + 'percent_complete': {'key': 'percentComplete', 'type': 'int'}, + 'number_of_updates_to_install': {'key': 'numberOfUpdatesToInstall', 'type': 'int'}, + 'number_of_updates_installed': {'key': 'numberOfUpdatesInstalled', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(UpdateInstallProgress, self).__init__(**kwargs) + self.percent_complete = None + self.number_of_updates_to_install = None + self.number_of_updates_installed = None + + +class UpdateSummary(ARMBaseModel): + """Details about ongoing updates and availability of updates on the device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param device_version_number: The current version of the device in format: 1.2.17312.13.",. + :type device_version_number: str + :param friendly_device_version_name: The current version of the device in text format. + :type friendly_device_version_name: str + :param device_last_scanned_date_time: The last time when a scan was done on the device. + :type device_last_scanned_date_time: ~datetime.datetime + :param last_completed_scan_job_date_time: The time when the last scan job was completed + (success/cancelled/failed) on the appliance. + :type last_completed_scan_job_date_time: ~datetime.datetime + :ivar last_completed_download_job_date_time: The time when the last Download job was completed + (success/cancelled/failed) on the appliance. + :vartype last_completed_download_job_date_time: ~datetime.datetime + :ivar last_completed_install_job_date_time: The time when the last Install job was completed + (success/cancelled/failed) on the appliance. + :vartype last_completed_install_job_date_time: ~datetime.datetime + :ivar total_number_of_updates_available: The number of updates available for the current device + version as per the last device scan. + :vartype total_number_of_updates_available: int + :ivar total_number_of_updates_pending_download: The total number of items pending download. + :vartype total_number_of_updates_pending_download: int + :ivar total_number_of_updates_pending_install: The total number of items pending install. + :vartype total_number_of_updates_pending_install: int + :ivar reboot_behavior: Indicates if updates are available and at least one of the updates needs + a reboot. Possible values include: "NeverReboots", "RequiresReboot", "RequestReboot". + :vartype reboot_behavior: str or + ~azure.mgmt.databoxedge.v2020_12_01.models.InstallRebootBehavior + :ivar ongoing_update_operation: The current update operation. Possible values include: "None", + "Scan", "Download", "Install". + :vartype ongoing_update_operation: str or + ~azure.mgmt.databoxedge.v2020_12_01.models.UpdateOperation + :ivar in_progress_download_job_id: The job ID of the download job in progress. + :vartype in_progress_download_job_id: str + :ivar in_progress_install_job_id: The job ID of the install job in progress. + :vartype in_progress_install_job_id: str + :ivar in_progress_download_job_started_date_time: The time when the currently running download + (if any) started. + :vartype in_progress_download_job_started_date_time: ~datetime.datetime + :ivar in_progress_install_job_started_date_time: The time when the currently running install + (if any) started. + :vartype in_progress_install_job_started_date_time: ~datetime.datetime + :ivar update_titles: The list of updates available for install. + :vartype update_titles: list[str] + :ivar total_update_size_in_bytes: The total size of updates available for download in bytes. + :vartype total_update_size_in_bytes: float + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'last_completed_download_job_date_time': {'readonly': True}, + 'last_completed_install_job_date_time': {'readonly': True}, + 'total_number_of_updates_available': {'readonly': True}, + 'total_number_of_updates_pending_download': {'readonly': True}, + 'total_number_of_updates_pending_install': {'readonly': True}, + 'reboot_behavior': {'readonly': True}, + 'ongoing_update_operation': {'readonly': True}, + 'in_progress_download_job_id': {'readonly': True}, + 'in_progress_install_job_id': {'readonly': True}, + 'in_progress_download_job_started_date_time': {'readonly': True}, + 'in_progress_install_job_started_date_time': {'readonly': True}, + 'update_titles': {'readonly': True}, + 'total_update_size_in_bytes': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'device_version_number': {'key': 'properties.deviceVersionNumber', 'type': 'str'}, + 'friendly_device_version_name': {'key': 'properties.friendlyDeviceVersionName', 'type': 'str'}, + 'device_last_scanned_date_time': {'key': 'properties.deviceLastScannedDateTime', 'type': 'iso-8601'}, + 'last_completed_scan_job_date_time': {'key': 'properties.lastCompletedScanJobDateTime', 'type': 'iso-8601'}, + 'last_completed_download_job_date_time': {'key': 'properties.lastCompletedDownloadJobDateTime', 'type': 'iso-8601'}, + 'last_completed_install_job_date_time': {'key': 'properties.lastCompletedInstallJobDateTime', 'type': 'iso-8601'}, + 'total_number_of_updates_available': {'key': 'properties.totalNumberOfUpdatesAvailable', 'type': 'int'}, + 'total_number_of_updates_pending_download': {'key': 'properties.totalNumberOfUpdatesPendingDownload', 'type': 'int'}, + 'total_number_of_updates_pending_install': {'key': 'properties.totalNumberOfUpdatesPendingInstall', 'type': 'int'}, + 'reboot_behavior': {'key': 'properties.rebootBehavior', 'type': 'str'}, + 'ongoing_update_operation': {'key': 'properties.ongoingUpdateOperation', 'type': 'str'}, + 'in_progress_download_job_id': {'key': 'properties.inProgressDownloadJobId', 'type': 'str'}, + 'in_progress_install_job_id': {'key': 'properties.inProgressInstallJobId', 'type': 'str'}, + 'in_progress_download_job_started_date_time': {'key': 'properties.inProgressDownloadJobStartedDateTime', 'type': 'iso-8601'}, + 'in_progress_install_job_started_date_time': {'key': 'properties.inProgressInstallJobStartedDateTime', 'type': 'iso-8601'}, + 'update_titles': {'key': 'properties.updateTitles', 'type': '[str]'}, + 'total_update_size_in_bytes': {'key': 'properties.totalUpdateSizeInBytes', 'type': 'float'}, + } + + def __init__( + self, + **kwargs + ): + super(UpdateSummary, self).__init__(**kwargs) + self.device_version_number = kwargs.get('device_version_number', None) + self.friendly_device_version_name = kwargs.get('friendly_device_version_name', None) + self.device_last_scanned_date_time = kwargs.get('device_last_scanned_date_time', None) + self.last_completed_scan_job_date_time = kwargs.get('last_completed_scan_job_date_time', None) + self.last_completed_download_job_date_time = None + self.last_completed_install_job_date_time = None + self.total_number_of_updates_available = None + self.total_number_of_updates_pending_download = None + self.total_number_of_updates_pending_install = None + self.reboot_behavior = None + self.ongoing_update_operation = None + self.in_progress_download_job_id = None + self.in_progress_install_job_id = None + self.in_progress_download_job_started_date_time = None + self.in_progress_install_job_started_date_time = None + self.update_titles = None + self.total_update_size_in_bytes = None + + +class UploadCertificateRequest(msrest.serialization.Model): + """The upload certificate request. + + All required parameters must be populated in order to send to Azure. + + :param authentication_type: The authentication type. Possible values include: "Invalid", + "AzureActiveDirectory". + :type authentication_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.AuthenticationType + :param certificate: Required. The base64 encoded certificate raw data. + :type certificate: str + """ + + _validation = { + 'certificate': {'required': True}, + } + + _attribute_map = { + 'authentication_type': {'key': 'properties.authenticationType', 'type': 'str'}, + 'certificate': {'key': 'properties.certificate', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UploadCertificateRequest, self).__init__(**kwargs) + self.authentication_type = kwargs.get('authentication_type', None) + self.certificate = kwargs['certificate'] + + +class UploadCertificateResponse(msrest.serialization.Model): + """The upload registration certificate response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param auth_type: Specifies authentication type. Possible values include: "Invalid", + "AzureActiveDirectory". + :type auth_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.AuthenticationType + :ivar resource_id: The resource ID of the Data Box Edge/Gateway device. + :vartype resource_id: str + :ivar aad_authority: Azure Active Directory tenant authority. + :vartype aad_authority: str + :ivar aad_tenant_id: Azure Active Directory tenant ID. + :vartype aad_tenant_id: str + :ivar service_principal_client_id: Azure Active Directory service principal client ID. + :vartype service_principal_client_id: str + :ivar service_principal_object_id: Azure Active Directory service principal object ID. + :vartype service_principal_object_id: str + :ivar azure_management_endpoint_audience: The azure management endpoint audience. + :vartype azure_management_endpoint_audience: str + :ivar aad_audience: Identifier of the target resource that is the recipient of the requested + token. + :vartype aad_audience: str + """ + + _validation = { + 'resource_id': {'readonly': True}, + 'aad_authority': {'readonly': True}, + 'aad_tenant_id': {'readonly': True}, + 'service_principal_client_id': {'readonly': True}, + 'service_principal_object_id': {'readonly': True}, + 'azure_management_endpoint_audience': {'readonly': True}, + 'aad_audience': {'readonly': True}, + } + + _attribute_map = { + 'auth_type': {'key': 'authType', 'type': 'str'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'aad_authority': {'key': 'aadAuthority', 'type': 'str'}, + 'aad_tenant_id': {'key': 'aadTenantId', 'type': 'str'}, + 'service_principal_client_id': {'key': 'servicePrincipalClientId', 'type': 'str'}, + 'service_principal_object_id': {'key': 'servicePrincipalObjectId', 'type': 'str'}, + 'azure_management_endpoint_audience': {'key': 'azureManagementEndpointAudience', 'type': 'str'}, + 'aad_audience': {'key': 'aadAudience', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UploadCertificateResponse, self).__init__(**kwargs) + self.auth_type = kwargs.get('auth_type', None) + self.resource_id = None + self.aad_authority = None + self.aad_tenant_id = None + self.service_principal_client_id = None + self.service_principal_object_id = None + self.azure_management_endpoint_audience = None + self.aad_audience = None + + +class User(ARMBaseModel): + """Represents a user who has access to one or more shares on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: User in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param encrypted_password: The password details. + :type encrypted_password: ~azure.mgmt.databoxedge.v2020_12_01.models.AsymmetricEncryptedSecret + :ivar share_access_rights: List of shares that the user has rights on. This field should not be + specified during user creation. + :vartype share_access_rights: list[~azure.mgmt.databoxedge.v2020_12_01.models.ShareAccessRight] + :param user_type: Required. Type of the user. Possible values include: "Share", + "LocalManagement", "ARM". + :type user_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.UserType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'share_access_rights': {'readonly': True}, + 'user_type': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'encrypted_password': {'key': 'properties.encryptedPassword', 'type': 'AsymmetricEncryptedSecret'}, + 'share_access_rights': {'key': 'properties.shareAccessRights', 'type': '[ShareAccessRight]'}, + 'user_type': {'key': 'properties.userType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(User, self).__init__(**kwargs) + self.system_data = None + self.encrypted_password = kwargs.get('encrypted_password', None) + self.share_access_rights = None + self.user_type = kwargs['user_type'] + + +class UserAccessRight(msrest.serialization.Model): + """The mapping between a particular user and the access type on the SMB share. + + All required parameters must be populated in order to send to Azure. + + :param user_id: Required. User ID (already existing in the device). + :type user_id: str + :param access_type: Required. Type of access to be allowed for the user. Possible values + include: "Change", "Read", "Custom". + :type access_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.ShareAccessType + """ + + _validation = { + 'user_id': {'required': True}, + 'access_type': {'required': True}, + } + + _attribute_map = { + 'user_id': {'key': 'userId', 'type': 'str'}, + 'access_type': {'key': 'accessType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UserAccessRight, self).__init__(**kwargs) + self.user_id = kwargs['user_id'] + self.access_type = kwargs['access_type'] + + +class UserList(msrest.serialization.Model): + """Collection of users. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of users. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.User] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[User]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UserList, self).__init__(**kwargs) + self.value = None + self.next_link = None diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/models/_models_py3.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/models/_models_py3.py new file mode 100644 index 000000000000..dd497b64f9f8 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/models/_models_py3.py @@ -0,0 +1,5435 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +import datetime +from typing import Dict, List, Optional, Union + +import msrest.serialization + +from ._data_box_edge_management_client_enums import * + + +class ARMBaseModel(msrest.serialization.Model): + """Represents the base class for all object models. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ARMBaseModel, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class Addon(ARMBaseModel): + """Role Addon. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: ArcAddon, IoTAddon. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Addon type.Constant filled by server. Possible values include: + "IotEdge", "ArcForKubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_12_01.models.AddonType + :ivar system_data: Addon type. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + } + + _subtype_map = { + 'kind': {'ArcForKubernetes': 'ArcAddon', 'IotEdge': 'IoTAddon'} + } + + def __init__( + self, + **kwargs + ): + super(Addon, self).__init__(**kwargs) + self.kind = 'Addon' # type: str + self.system_data = None + + +class AddonList(msrest.serialization.Model): + """Collection of all the Role addon on the Azure Stack Edge device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The Value. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.Addon] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Addon]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AddonList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class Address(msrest.serialization.Model): + """The shipping address of the customer. + + All required parameters must be populated in order to send to Azure. + + :param address_line1: The address line1. + :type address_line1: str + :param address_line2: The address line2. + :type address_line2: str + :param address_line3: The address line3. + :type address_line3: str + :param postal_code: The postal code. + :type postal_code: str + :param city: The city name. + :type city: str + :param state: The state name. + :type state: str + :param country: Required. The country name. + :type country: str + """ + + _validation = { + 'country': {'required': True}, + } + + _attribute_map = { + 'address_line1': {'key': 'addressLine1', 'type': 'str'}, + 'address_line2': {'key': 'addressLine2', 'type': 'str'}, + 'address_line3': {'key': 'addressLine3', 'type': 'str'}, + 'postal_code': {'key': 'postalCode', 'type': 'str'}, + 'city': {'key': 'city', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + 'country': {'key': 'country', 'type': 'str'}, + } + + def __init__( + self, + *, + country: str, + address_line1: Optional[str] = None, + address_line2: Optional[str] = None, + address_line3: Optional[str] = None, + postal_code: Optional[str] = None, + city: Optional[str] = None, + state: Optional[str] = None, + **kwargs + ): + super(Address, self).__init__(**kwargs) + self.address_line1 = address_line1 + self.address_line2 = address_line2 + self.address_line3 = address_line3 + self.postal_code = postal_code + self.city = city + self.state = state + self.country = country + + +class Alert(ARMBaseModel): + """Alert on the data box edge/gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Alert generated in the resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :ivar title: Alert title. + :vartype title: str + :ivar alert_type: Alert type. + :vartype alert_type: str + :ivar appeared_at_date_time: UTC time when the alert appeared. + :vartype appeared_at_date_time: ~datetime.datetime + :ivar recommendation: Alert recommendation. + :vartype recommendation: str + :ivar severity: Severity of the alert. Possible values include: "Informational", "Warning", + "Critical". + :vartype severity: str or ~azure.mgmt.databoxedge.v2020_12_01.models.AlertSeverity + :ivar error_details: Error details of the alert. + :vartype error_details: ~azure.mgmt.databoxedge.v2020_12_01.models.AlertErrorDetails + :ivar detailed_information: Alert details. + :vartype detailed_information: dict[str, str] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'title': {'readonly': True}, + 'alert_type': {'readonly': True}, + 'appeared_at_date_time': {'readonly': True}, + 'recommendation': {'readonly': True}, + 'severity': {'readonly': True}, + 'error_details': {'readonly': True}, + 'detailed_information': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'title': {'key': 'properties.title', 'type': 'str'}, + 'alert_type': {'key': 'properties.alertType', 'type': 'str'}, + 'appeared_at_date_time': {'key': 'properties.appearedAtDateTime', 'type': 'iso-8601'}, + 'recommendation': {'key': 'properties.recommendation', 'type': 'str'}, + 'severity': {'key': 'properties.severity', 'type': 'str'}, + 'error_details': {'key': 'properties.errorDetails', 'type': 'AlertErrorDetails'}, + 'detailed_information': {'key': 'properties.detailedInformation', 'type': '{str}'}, + } + + def __init__( + self, + **kwargs + ): + super(Alert, self).__init__(**kwargs) + self.system_data = None + self.title = None + self.alert_type = None + self.appeared_at_date_time = None + self.recommendation = None + self.severity = None + self.error_details = None + self.detailed_information = None + + +class AlertErrorDetails(msrest.serialization.Model): + """Error details for the alert. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar error_code: Error code. + :vartype error_code: str + :ivar error_message: Error Message. + :vartype error_message: str + :ivar occurrences: Number of occurrences. + :vartype occurrences: int + """ + + _validation = { + 'error_code': {'readonly': True}, + 'error_message': {'readonly': True}, + 'occurrences': {'readonly': True}, + } + + _attribute_map = { + 'error_code': {'key': 'errorCode', 'type': 'str'}, + 'error_message': {'key': 'errorMessage', 'type': 'str'}, + 'occurrences': {'key': 'occurrences', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(AlertErrorDetails, self).__init__(**kwargs) + self.error_code = None + self.error_message = None + self.occurrences = None + + +class AlertList(msrest.serialization.Model): + """Collection of alerts. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The value. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.Alert] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Alert]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AlertList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ArcAddon(Addon): + """Arc Addon. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Addon type.Constant filled by server. Possible values include: + "IotEdge", "ArcForKubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_12_01.models.AddonType + :ivar system_data: Addon type. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param subscription_id: Required. Arc resource subscription Id. + :type subscription_id: str + :param resource_group_name: Required. Arc resource group name. + :type resource_group_name: str + :param resource_name: Required. Arc resource Name. + :type resource_name: str + :param resource_location: Required. Arc resource location. + :type resource_location: str + :ivar version: Arc resource version. + :vartype version: str + :ivar host_platform: Host OS supported by the Arc addon. Possible values include: "Windows", + "Linux". + :vartype host_platform: str or ~azure.mgmt.databoxedge.v2020_12_01.models.PlatformType + :ivar host_platform_type: Platform where the runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.HostPlatformType + :ivar provisioning_state: Addon Provisioning State. Possible values include: "Invalid", + "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting". + :vartype provisioning_state: str or ~azure.mgmt.databoxedge.v2020_12_01.models.AddonState + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'subscription_id': {'required': True}, + 'resource_group_name': {'required': True}, + 'resource_name': {'required': True}, + 'resource_location': {'required': True}, + 'version': {'readonly': True}, + 'host_platform': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'subscription_id': {'key': 'properties.subscriptionId', 'type': 'str'}, + 'resource_group_name': {'key': 'properties.resourceGroupName', 'type': 'str'}, + 'resource_name': {'key': 'properties.resourceName', 'type': 'str'}, + 'resource_location': {'key': 'properties.resourceLocation', 'type': 'str'}, + 'version': {'key': 'properties.version', 'type': 'str'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + subscription_id: str, + resource_group_name: str, + resource_name: str, + resource_location: str, + **kwargs + ): + super(ArcAddon, self).__init__(**kwargs) + self.kind = 'ArcForKubernetes' # type: str + self.subscription_id = subscription_id + self.resource_group_name = resource_group_name + self.resource_name = resource_name + self.resource_location = resource_location + self.version = None + self.host_platform = None + self.host_platform_type = None + self.provisioning_state = None + + +class AsymmetricEncryptedSecret(msrest.serialization.Model): + """Represent the secrets intended for encryption with asymmetric key pair. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. The value of the secret. + :type value: str + :param encryption_cert_thumbprint: Thumbprint certificate used to encrypt \"Value\". If the + value is unencrypted, it will be null. + :type encryption_cert_thumbprint: str + :param encryption_algorithm: Required. The algorithm used to encrypt "Value". Possible values + include: "None", "AES256", "RSAES_PKCS1_v_1_5". + :type encryption_algorithm: str or + ~azure.mgmt.databoxedge.v2020_12_01.models.EncryptionAlgorithm + """ + + _validation = { + 'value': {'required': True}, + 'encryption_algorithm': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': 'str'}, + 'encryption_cert_thumbprint': {'key': 'encryptionCertThumbprint', 'type': 'str'}, + 'encryption_algorithm': {'key': 'encryptionAlgorithm', 'type': 'str'}, + } + + def __init__( + self, + *, + value: str, + encryption_algorithm: Union[str, "EncryptionAlgorithm"], + encryption_cert_thumbprint: Optional[str] = None, + **kwargs + ): + super(AsymmetricEncryptedSecret, self).__init__(**kwargs) + self.value = value + self.encryption_cert_thumbprint = encryption_cert_thumbprint + self.encryption_algorithm = encryption_algorithm + + +class Authentication(msrest.serialization.Model): + """Authentication mechanism for IoT devices. + + :param symmetric_key: Symmetric key for authentication. + :type symmetric_key: ~azure.mgmt.databoxedge.v2020_12_01.models.SymmetricKey + """ + + _attribute_map = { + 'symmetric_key': {'key': 'symmetricKey', 'type': 'SymmetricKey'}, + } + + def __init__( + self, + *, + symmetric_key: Optional["SymmetricKey"] = None, + **kwargs + ): + super(Authentication, self).__init__(**kwargs) + self.symmetric_key = symmetric_key + + +class AzureContainerInfo(msrest.serialization.Model): + """Azure container mapping of the endpoint. + + All required parameters must be populated in order to send to Azure. + + :param storage_account_credential_id: Required. ID of the storage account credential used to + access storage. + :type storage_account_credential_id: str + :param container_name: Required. Container name (Based on the data format specified, this + represents the name of Azure Files/Page blob/Block blob). + :type container_name: str + :param data_format: Required. Storage format used for the file represented by the share. + Possible values include: "BlockBlob", "PageBlob", "AzureFile". + :type data_format: str or ~azure.mgmt.databoxedge.v2020_12_01.models.AzureContainerDataFormat + """ + + _validation = { + 'storage_account_credential_id': {'required': True}, + 'container_name': {'required': True}, + 'data_format': {'required': True}, + } + + _attribute_map = { + 'storage_account_credential_id': {'key': 'storageAccountCredentialId', 'type': 'str'}, + 'container_name': {'key': 'containerName', 'type': 'str'}, + 'data_format': {'key': 'dataFormat', 'type': 'str'}, + } + + def __init__( + self, + *, + storage_account_credential_id: str, + container_name: str, + data_format: Union[str, "AzureContainerDataFormat"], + **kwargs + ): + super(AzureContainerInfo, self).__init__(**kwargs) + self.storage_account_credential_id = storage_account_credential_id + self.container_name = container_name + self.data_format = data_format + + +class BandwidthSchedule(ARMBaseModel): + """The bandwidth schedule details. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Bandwidth object related to ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param start: Required. The start time of the schedule in UTC. + :type start: str + :param stop: Required. The stop time of the schedule in UTC. + :type stop: str + :param rate_in_mbps: Required. The bandwidth rate in Mbps. + :type rate_in_mbps: int + :param days: Required. The days of the week when this schedule is applicable. + :type days: list[str or ~azure.mgmt.databoxedge.v2020_12_01.models.DayOfWeek] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'start': {'required': True}, + 'stop': {'required': True}, + 'rate_in_mbps': {'required': True}, + 'days': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'start': {'key': 'properties.start', 'type': 'str'}, + 'stop': {'key': 'properties.stop', 'type': 'str'}, + 'rate_in_mbps': {'key': 'properties.rateInMbps', 'type': 'int'}, + 'days': {'key': 'properties.days', 'type': '[str]'}, + } + + def __init__( + self, + *, + start: str, + stop: str, + rate_in_mbps: int, + days: List[Union[str, "DayOfWeek"]], + **kwargs + ): + super(BandwidthSchedule, self).__init__(**kwargs) + self.system_data = None + self.start = start + self.stop = stop + self.rate_in_mbps = rate_in_mbps + self.days = days + + +class BandwidthSchedulesList(msrest.serialization.Model): + """The collection of bandwidth schedules. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of bandwidth schedules. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.BandwidthSchedule] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[BandwidthSchedule]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(BandwidthSchedulesList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ClientAccessRight(msrest.serialization.Model): + """The mapping between a particular client IP and the type of access client has on the NFS share. + + All required parameters must be populated in order to send to Azure. + + :param client: Required. IP of the client. + :type client: str + :param access_permission: Required. Type of access to be allowed for the client. Possible + values include: "NoAccess", "ReadOnly", "ReadWrite". + :type access_permission: str or ~azure.mgmt.databoxedge.v2020_12_01.models.ClientPermissionType + """ + + _validation = { + 'client': {'required': True}, + 'access_permission': {'required': True}, + } + + _attribute_map = { + 'client': {'key': 'client', 'type': 'str'}, + 'access_permission': {'key': 'accessPermission', 'type': 'str'}, + } + + def __init__( + self, + *, + client: str, + access_permission: Union[str, "ClientPermissionType"], + **kwargs + ): + super(ClientAccessRight, self).__init__(**kwargs) + self.client = client + self.access_permission = access_permission + + +class Role(ARMBaseModel): + """Compute role. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: CloudEdgeManagementRole, IoTRole, KubernetesRole, MECRole. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_12_01.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + } + + _subtype_map = { + 'kind': {'CloudEdgeManagement': 'CloudEdgeManagementRole', 'IOT': 'IoTRole', 'Kubernetes': 'KubernetesRole', 'MEC': 'MECRole'} + } + + def __init__( + self, + **kwargs + ): + super(Role, self).__init__(**kwargs) + self.kind = 'Role' # type: str + self.system_data = None + + +class CloudEdgeManagementRole(Role): + """CloudEdgeManagementRole role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_12_01.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :ivar local_management_status: Local Edge Management Status. Possible values include: + "Enabled", "Disabled". + :vartype local_management_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.RoleStatus + :ivar edge_profile: Edge Profile of the resource. + :vartype edge_profile: ~azure.mgmt.databoxedge.v2020_12_01.models.EdgeProfile + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'local_management_status': {'readonly': True}, + 'edge_profile': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'local_management_status': {'key': 'properties.localManagementStatus', 'type': 'str'}, + 'edge_profile': {'key': 'properties.edgeProfile', 'type': 'EdgeProfile'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + *, + role_status: Optional[Union[str, "RoleStatus"]] = None, + **kwargs + ): + super(CloudEdgeManagementRole, self).__init__(**kwargs) + self.kind = 'CloudEdgeManagement' # type: str + self.local_management_status = None + self.edge_profile = None + self.role_status = role_status + + +class CloudErrorBody(msrest.serialization.Model): + """An error response from the service. + + :param code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :type code: str + :param message: A message describing the error, intended to be suitable for display in a user + interface. + :type message: str + :param details: A list of additional details about the error. + :type details: list[~azure.mgmt.databoxedge.v2020_12_01.models.CloudErrorBody] + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[CloudErrorBody]'}, + } + + def __init__( + self, + *, + code: Optional[str] = None, + message: Optional[str] = None, + details: Optional[List["CloudErrorBody"]] = None, + **kwargs + ): + super(CloudErrorBody, self).__init__(**kwargs) + self.code = code + self.message = message + self.details = details + + +class CniConfig(msrest.serialization.Model): + """Cni configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: Cni type. + :vartype type: str + :ivar version: Cni version. + :vartype version: str + :ivar pod_subnet: Pod Subnet. + :vartype pod_subnet: str + :ivar service_subnet: Service subnet. + :vartype service_subnet: str + """ + + _validation = { + 'type': {'readonly': True}, + 'version': {'readonly': True}, + 'pod_subnet': {'readonly': True}, + 'service_subnet': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + 'pod_subnet': {'key': 'podSubnet', 'type': 'str'}, + 'service_subnet': {'key': 'serviceSubnet', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(CniConfig, self).__init__(**kwargs) + self.type = None + self.version = None + self.pod_subnet = None + self.service_subnet = None + + +class ComputeResource(msrest.serialization.Model): + """Compute infrastructure Resource. + + All required parameters must be populated in order to send to Azure. + + :param processor_count: Required. Processor count. + :type processor_count: int + :param memory_in_gb: Required. Memory in GB. + :type memory_in_gb: long + """ + + _validation = { + 'processor_count': {'required': True}, + 'memory_in_gb': {'required': True}, + } + + _attribute_map = { + 'processor_count': {'key': 'processorCount', 'type': 'int'}, + 'memory_in_gb': {'key': 'memoryInGB', 'type': 'long'}, + } + + def __init__( + self, + *, + processor_count: int, + memory_in_gb: int, + **kwargs + ): + super(ComputeResource, self).__init__(**kwargs) + self.processor_count = processor_count + self.memory_in_gb = memory_in_gb + + +class ContactDetails(msrest.serialization.Model): + """Contains all the contact details of the customer. + + All required parameters must be populated in order to send to Azure. + + :param contact_person: Required. The contact person name. + :type contact_person: str + :param company_name: Required. The name of the company. + :type company_name: str + :param phone: Required. The phone number. + :type phone: str + :param email_list: Required. The email list. + :type email_list: list[str] + """ + + _validation = { + 'contact_person': {'required': True}, + 'company_name': {'required': True}, + 'phone': {'required': True}, + 'email_list': {'required': True}, + } + + _attribute_map = { + 'contact_person': {'key': 'contactPerson', 'type': 'str'}, + 'company_name': {'key': 'companyName', 'type': 'str'}, + 'phone': {'key': 'phone', 'type': 'str'}, + 'email_list': {'key': 'emailList', 'type': '[str]'}, + } + + def __init__( + self, + *, + contact_person: str, + company_name: str, + phone: str, + email_list: List[str], + **kwargs + ): + super(ContactDetails, self).__init__(**kwargs) + self.contact_person = contact_person + self.company_name = company_name + self.phone = phone + self.email_list = email_list + + +class Container(ARMBaseModel): + """Represents a container on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Container in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :ivar container_status: Current status of the container. Possible values include: "OK", + "Offline", "Unknown", "Updating", "NeedsAttention". + :vartype container_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.ContainerStatus + :param data_format: Required. DataFormat for Container. Possible values include: "BlockBlob", + "PageBlob", "AzureFile". + :type data_format: str or ~azure.mgmt.databoxedge.v2020_12_01.models.AzureContainerDataFormat + :ivar refresh_details: Details of the refresh job on this container. + :vartype refresh_details: ~azure.mgmt.databoxedge.v2020_12_01.models.RefreshDetails + :ivar created_date_time: The UTC time when container got created. + :vartype created_date_time: ~datetime.datetime + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'container_status': {'readonly': True}, + 'data_format': {'required': True}, + 'refresh_details': {'readonly': True}, + 'created_date_time': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'container_status': {'key': 'properties.containerStatus', 'type': 'str'}, + 'data_format': {'key': 'properties.dataFormat', 'type': 'str'}, + 'refresh_details': {'key': 'properties.refreshDetails', 'type': 'RefreshDetails'}, + 'created_date_time': {'key': 'properties.createdDateTime', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + data_format: Union[str, "AzureContainerDataFormat"], + **kwargs + ): + super(Container, self).__init__(**kwargs) + self.system_data = None + self.container_status = None + self.data_format = data_format + self.refresh_details = None + self.created_date_time = None + + +class ContainerList(msrest.serialization.Model): + """Collection of all the containers on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of containers. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.Container] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Container]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ContainerList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class DataBoxEdgeDevice(ARMBaseModel): + """The Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param location: Required. The location of the device. This is a supported and registered Azure + geographical region (for example, West US, East US, or Southeast Asia). The geographical region + of a device cannot be changed once it is created, but if an identical geographical region is + specified on update, the request will succeed. + :type location: str + :param tags: A set of tags. The list of tags that describe the device. These tags can be used + to view and group this device (across resource groups). + :type tags: dict[str, str] + :param sku: The SKU type. + :type sku: ~azure.mgmt.databoxedge.v2020_12_01.models.Sku + :param etag: The etag for the devices. + :type etag: str + :param identity: Msi identity of the resource. + :type identity: ~azure.mgmt.databoxedge.v2020_12_01.models.ResourceIdentity + :ivar kind: The etag for the devices. Possible values include: "AzureDataBoxGateway", + "AzureStackEdge", "AzureStackHub", "AzureModularDataCentre". + :vartype kind: str or ~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDeviceKind + :ivar system_data: DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param data_box_edge_device_status: The status of the Data Box Edge/Gateway device. Possible + values include: "ReadyToSetup", "Online", "Offline", "NeedsAttention", "Disconnected", + "PartiallyDisconnected", "Maintenance". + :type data_box_edge_device_status: str or + ~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDeviceStatus + :ivar serial_number: The Serial Number of Data Box Edge/Gateway device. + :vartype serial_number: str + :ivar description: The Description of the Data Box Edge/Gateway device. + :vartype description: str + :ivar model_description: The description of the Data Box Edge/Gateway device model. + :vartype model_description: str + :ivar device_type: The type of the Data Box Edge/Gateway device. Possible values include: + "DataBoxEdgeDevice". + :vartype device_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.DeviceType + :ivar friendly_name: The Data Box Edge/Gateway device name. + :vartype friendly_name: str + :ivar culture: The Data Box Edge/Gateway device culture. + :vartype culture: str + :ivar device_model: The Data Box Edge/Gateway device model. + :vartype device_model: str + :ivar device_software_version: The Data Box Edge/Gateway device software version. + :vartype device_software_version: str + :ivar device_local_capacity: The Data Box Edge/Gateway device local capacity in MB. + :vartype device_local_capacity: long + :ivar time_zone: The Data Box Edge/Gateway device timezone. + :vartype time_zone: str + :ivar device_hcs_version: The device software version number of the device (eg: 1.2.18105.6). + :vartype device_hcs_version: str + :ivar configured_role_types: Type of compute roles configured. + :vartype configured_role_types: list[str or + ~azure.mgmt.databoxedge.v2020_12_01.models.RoleTypes] + :ivar node_count: The number of nodes in the cluster. + :vartype node_count: int + :ivar resource_move_details: The details of the move operation on this resource. + :vartype resource_move_details: ~azure.mgmt.databoxedge.v2020_12_01.models.ResourceMoveDetails + :ivar edge_profile: The details of Edge Profile for this resource. + :vartype edge_profile: ~azure.mgmt.databoxedge.v2020_12_01.models.EdgeProfile + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'kind': {'readonly': True}, + 'system_data': {'readonly': True}, + 'serial_number': {'readonly': True}, + 'description': {'readonly': True}, + 'model_description': {'readonly': True}, + 'device_type': {'readonly': True}, + 'friendly_name': {'readonly': True}, + 'culture': {'readonly': True}, + 'device_model': {'readonly': True}, + 'device_software_version': {'readonly': True}, + 'device_local_capacity': {'readonly': True}, + 'time_zone': {'readonly': True}, + 'device_hcs_version': {'readonly': True}, + 'configured_role_types': {'readonly': True}, + 'node_count': {'readonly': True}, + 'resource_move_details': {'readonly': True}, + 'edge_profile': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'sku': {'key': 'sku', 'type': 'Sku'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'identity': {'key': 'identity', 'type': 'ResourceIdentity'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'data_box_edge_device_status': {'key': 'properties.dataBoxEdgeDeviceStatus', 'type': 'str'}, + 'serial_number': {'key': 'properties.serialNumber', 'type': 'str'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'model_description': {'key': 'properties.modelDescription', 'type': 'str'}, + 'device_type': {'key': 'properties.deviceType', 'type': 'str'}, + 'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'}, + 'culture': {'key': 'properties.culture', 'type': 'str'}, + 'device_model': {'key': 'properties.deviceModel', 'type': 'str'}, + 'device_software_version': {'key': 'properties.deviceSoftwareVersion', 'type': 'str'}, + 'device_local_capacity': {'key': 'properties.deviceLocalCapacity', 'type': 'long'}, + 'time_zone': {'key': 'properties.timeZone', 'type': 'str'}, + 'device_hcs_version': {'key': 'properties.deviceHcsVersion', 'type': 'str'}, + 'configured_role_types': {'key': 'properties.configuredRoleTypes', 'type': '[str]'}, + 'node_count': {'key': 'properties.nodeCount', 'type': 'int'}, + 'resource_move_details': {'key': 'properties.resourceMoveDetails', 'type': 'ResourceMoveDetails'}, + 'edge_profile': {'key': 'properties.edgeProfile', 'type': 'EdgeProfile'}, + } + + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + sku: Optional["Sku"] = None, + etag: Optional[str] = None, + identity: Optional["ResourceIdentity"] = None, + data_box_edge_device_status: Optional[Union[str, "DataBoxEdgeDeviceStatus"]] = None, + **kwargs + ): + super(DataBoxEdgeDevice, self).__init__(**kwargs) + self.location = location + self.tags = tags + self.sku = sku + self.etag = etag + self.identity = identity + self.kind = None + self.system_data = None + self.data_box_edge_device_status = data_box_edge_device_status + self.serial_number = None + self.description = None + self.model_description = None + self.device_type = None + self.friendly_name = None + self.culture = None + self.device_model = None + self.device_software_version = None + self.device_local_capacity = None + self.time_zone = None + self.device_hcs_version = None + self.configured_role_types = None + self.node_count = None + self.resource_move_details = None + self.edge_profile = None + + +class DataBoxEdgeDeviceExtendedInfo(ARMBaseModel): + """The extended Info of the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param encryption_key_thumbprint: The digital signature of encrypted certificate. + :type encryption_key_thumbprint: str + :param encryption_key: The public part of the encryption certificate. Client uses this to + encrypt any secret. + :type encryption_key: str + :ivar resource_key: The Resource ID of the Resource. + :vartype resource_key: str + :param client_secret_store_id: The Key Vault ARM Id for client secrets. + :type client_secret_store_id: str + :param client_secret_store_url: The url to access the Client Key Vault. + :type client_secret_store_url: str + :param channel_integrity_key_name: The name of Channel Integrity Key stored in the Client Key + Vault. + :type channel_integrity_key_name: str + :param channel_integrity_key_version: The version of Channel Integrity Key stored in the Client + Key Vault. + :type channel_integrity_key_version: str + :param key_vault_sync_status: Key vault sync status. Possible values include: "KeyVaultSynced", + "KeyVaultSyncFailed", "KeyVaultNotConfigured", "KeyVaultSyncPending", "KeyVaultSyncing". + :type key_vault_sync_status: str or + ~azure.mgmt.databoxedge.v2020_12_01.models.KeyVaultSyncStatus + :ivar device_secrets: Device secrets, will be returned only with ODataFilter + $expand=deviceSecrets. + :vartype device_secrets: ~azure.mgmt.databoxedge.v2020_12_01.models.DeviceSecrets + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'resource_key': {'readonly': True}, + 'device_secrets': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'encryption_key_thumbprint': {'key': 'properties.encryptionKeyThumbprint', 'type': 'str'}, + 'encryption_key': {'key': 'properties.encryptionKey', 'type': 'str'}, + 'resource_key': {'key': 'properties.resourceKey', 'type': 'str'}, + 'client_secret_store_id': {'key': 'properties.clientSecretStoreId', 'type': 'str'}, + 'client_secret_store_url': {'key': 'properties.clientSecretStoreUrl', 'type': 'str'}, + 'channel_integrity_key_name': {'key': 'properties.channelIntegrityKeyName', 'type': 'str'}, + 'channel_integrity_key_version': {'key': 'properties.channelIntegrityKeyVersion', 'type': 'str'}, + 'key_vault_sync_status': {'key': 'properties.keyVaultSyncStatus', 'type': 'str'}, + 'device_secrets': {'key': 'properties.deviceSecrets', 'type': 'DeviceSecrets'}, + } + + def __init__( + self, + *, + encryption_key_thumbprint: Optional[str] = None, + encryption_key: Optional[str] = None, + client_secret_store_id: Optional[str] = None, + client_secret_store_url: Optional[str] = None, + channel_integrity_key_name: Optional[str] = None, + channel_integrity_key_version: Optional[str] = None, + key_vault_sync_status: Optional[Union[str, "KeyVaultSyncStatus"]] = None, + **kwargs + ): + super(DataBoxEdgeDeviceExtendedInfo, self).__init__(**kwargs) + self.encryption_key_thumbprint = encryption_key_thumbprint + self.encryption_key = encryption_key + self.resource_key = None + self.client_secret_store_id = client_secret_store_id + self.client_secret_store_url = client_secret_store_url + self.channel_integrity_key_name = channel_integrity_key_name + self.channel_integrity_key_version = channel_integrity_key_version + self.key_vault_sync_status = key_vault_sync_status + self.device_secrets = None + + +class DataBoxEdgeDeviceExtendedInfoPatch(msrest.serialization.Model): + """The Data Box Edge/Gateway device extended info patch. + + :param client_secret_store_id: The Key Vault ARM Id for client secrets. + :type client_secret_store_id: str + :param client_secret_store_url: The url to access the Client Key Vault. + :type client_secret_store_url: str + :param channel_integrity_key_name: The name for Channel Integrity Key stored in the Client Key + Vault. + :type channel_integrity_key_name: str + :param channel_integrity_key_version: The version of Channel Integrity Key stored in the Client + Key Vault. + :type channel_integrity_key_version: str + :param sync_status: For changing or to initiate the resync to key-vault set the status to + KeyVaultSyncPending, rest of the status will not be applicable. Possible values include: + "KeyVaultSynced", "KeyVaultSyncFailed", "KeyVaultNotConfigured", "KeyVaultSyncPending", + "KeyVaultSyncing". + :type sync_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.KeyVaultSyncStatus + """ + + _attribute_map = { + 'client_secret_store_id': {'key': 'clientSecretStoreId', 'type': 'str'}, + 'client_secret_store_url': {'key': 'clientSecretStoreUrl', 'type': 'str'}, + 'channel_integrity_key_name': {'key': 'channelIntegrityKeyName', 'type': 'str'}, + 'channel_integrity_key_version': {'key': 'channelIntegrityKeyVersion', 'type': 'str'}, + 'sync_status': {'key': 'syncStatus', 'type': 'str'}, + } + + def __init__( + self, + *, + client_secret_store_id: Optional[str] = None, + client_secret_store_url: Optional[str] = None, + channel_integrity_key_name: Optional[str] = None, + channel_integrity_key_version: Optional[str] = None, + sync_status: Optional[Union[str, "KeyVaultSyncStatus"]] = None, + **kwargs + ): + super(DataBoxEdgeDeviceExtendedInfoPatch, self).__init__(**kwargs) + self.client_secret_store_id = client_secret_store_id + self.client_secret_store_url = client_secret_store_url + self.channel_integrity_key_name = channel_integrity_key_name + self.channel_integrity_key_version = channel_integrity_key_version + self.sync_status = sync_status + + +class DataBoxEdgeDeviceList(msrest.serialization.Model): + """The collection of Data Box Edge/Gateway devices. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of Data Box Edge/Gateway devices. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDevice] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DataBoxEdgeDevice]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeDeviceList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class DataBoxEdgeDevicePatch(msrest.serialization.Model): + """The Data Box Edge/Gateway device patch. + + :param tags: A set of tags. The tags attached to the Data Box Edge/Gateway resource. + :type tags: dict[str, str] + :param identity: Msi identity of the resource. + :type identity: ~azure.mgmt.databoxedge.v2020_12_01.models.ResourceIdentity + :param edge_profile: Edge Profile property of the Data Box Edge/Gateway device. + :type edge_profile: ~azure.mgmt.databoxedge.v2020_12_01.models.EdgeProfilePatch + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + 'identity': {'key': 'identity', 'type': 'ResourceIdentity'}, + 'edge_profile': {'key': 'properties.edgeProfile', 'type': 'EdgeProfilePatch'}, + } + + def __init__( + self, + *, + tags: Optional[Dict[str, str]] = None, + identity: Optional["ResourceIdentity"] = None, + edge_profile: Optional["EdgeProfilePatch"] = None, + **kwargs + ): + super(DataBoxEdgeDevicePatch, self).__init__(**kwargs) + self.tags = tags + self.identity = identity + self.edge_profile = edge_profile + + +class DataBoxEdgeMoveRequest(msrest.serialization.Model): + """Resource Move details. + + All required parameters must be populated in order to send to Azure. + + :param target_resource_group: Required. Target resource group ARMId. + :type target_resource_group: str + :param resources: Required. List of resources to be moved. + :type resources: list[str] + """ + + _validation = { + 'target_resource_group': {'required': True}, + 'resources': {'required': True}, + } + + _attribute_map = { + 'target_resource_group': {'key': 'targetResourceGroup', 'type': 'str'}, + 'resources': {'key': 'resources', 'type': '[str]'}, + } + + def __init__( + self, + *, + target_resource_group: str, + resources: List[str], + **kwargs + ): + super(DataBoxEdgeMoveRequest, self).__init__(**kwargs) + self.target_resource_group = target_resource_group + self.resources = resources + + +class DataBoxEdgeSku(msrest.serialization.Model): + """The Sku information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar resource_type: The type of the resource. + :vartype resource_type: str + :ivar name: The Sku name. Possible values include: "Gateway", "Edge", "TEA_1Node", + "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", + "TEA_4Node_UPS_Heater", "TMA", "TDC", "TCA_Small", "GPU", "TCA_Large", "EdgeP_Base", + "EdgeP_High", "EdgePR_Base", "EdgePR_Base_UPS", "EdgeMR_Mini", "RCA_Small", "RCA_Large", "RDC". + :vartype name: str or ~azure.mgmt.databoxedge.v2020_12_01.models.SkuName + :ivar kind: The Sku kind. + :vartype kind: str + :ivar tier: The Sku tier. Possible values include: "Standard". + :vartype tier: str or ~azure.mgmt.databoxedge.v2020_12_01.models.SkuTier + :ivar size: The Sku kind. + :vartype size: str + :ivar family: The Sku family. + :vartype family: str + :ivar locations: Availability of the Sku for the region. + :vartype locations: list[str] + :ivar api_versions: The API versions in which Sku is available. + :vartype api_versions: list[str] + :ivar location_info: Availability of the Sku for the location/zone/site. + :vartype location_info: list[~azure.mgmt.databoxedge.v2020_12_01.models.SkuLocationInfo] + :ivar costs: The pricing info of the Sku. + :vartype costs: list[~azure.mgmt.databoxedge.v2020_12_01.models.SkuCost] + :ivar signup_option: Sku can be signed up by customer or not. Possible values include: "None", + "Available". + :vartype signup_option: str or ~azure.mgmt.databoxedge.v2020_12_01.models.SkuSignupOption + :ivar version: Availability of the Sku as preview/stable. Possible values include: "Stable", + "Preview". + :vartype version: str or ~azure.mgmt.databoxedge.v2020_12_01.models.SkuVersion + :ivar availability: Links to the next set of results. Possible values include: "Available", + "Unavailable". + :vartype availability: str or ~azure.mgmt.databoxedge.v2020_12_01.models.SkuAvailability + :ivar shipment_types: List of Shipment Types supported by this SKU. + :vartype shipment_types: list[str or ~azure.mgmt.databoxedge.v2020_12_01.models.ShipmentType] + :ivar capabilities: The capability info of the SKU. + :vartype capabilities: list[~azure.mgmt.databoxedge.v2020_12_01.models.SkuCapability] + """ + + _validation = { + 'resource_type': {'readonly': True}, + 'name': {'readonly': True}, + 'kind': {'readonly': True}, + 'tier': {'readonly': True}, + 'size': {'readonly': True}, + 'family': {'readonly': True}, + 'locations': {'readonly': True}, + 'api_versions': {'readonly': True}, + 'location_info': {'readonly': True}, + 'costs': {'readonly': True}, + 'signup_option': {'readonly': True}, + 'version': {'readonly': True}, + 'availability': {'readonly': True}, + 'shipment_types': {'readonly': True}, + 'capabilities': {'readonly': True}, + } + + _attribute_map = { + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'size': {'key': 'size', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'locations': {'key': 'locations', 'type': '[str]'}, + 'api_versions': {'key': 'apiVersions', 'type': '[str]'}, + 'location_info': {'key': 'locationInfo', 'type': '[SkuLocationInfo]'}, + 'costs': {'key': 'costs', 'type': '[SkuCost]'}, + 'signup_option': {'key': 'signupOption', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + 'availability': {'key': 'availability', 'type': 'str'}, + 'shipment_types': {'key': 'shipmentTypes', 'type': '[str]'}, + 'capabilities': {'key': 'capabilities', 'type': '[SkuCapability]'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeSku, self).__init__(**kwargs) + self.resource_type = None + self.name = None + self.kind = None + self.tier = None + self.size = None + self.family = None + self.locations = None + self.api_versions = None + self.location_info = None + self.costs = None + self.signup_option = None + self.version = None + self.availability = None + self.shipment_types = None + self.capabilities = None + + +class DataBoxEdgeSkuList(msrest.serialization.Model): + """List of SKU Information objects. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of ResourceType Sku. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeSku] + :ivar next_link: Links to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DataBoxEdgeSku]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeSkuList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class DCAccessCode(msrest.serialization.Model): + """DC Access code in the case of Self Managed Shipping. + + :param auth_code: DCAccess Code for the Self Managed shipment. + :type auth_code: str + """ + + _attribute_map = { + 'auth_code': {'key': 'properties.authCode', 'type': 'str'}, + } + + def __init__( + self, + *, + auth_code: Optional[str] = None, + **kwargs + ): + super(DCAccessCode, self).__init__(**kwargs) + self.auth_code = auth_code + + +class DeviceSecrets(msrest.serialization.Model): + """Device Secrets. + + :param hcs_data_volume_bit_locker_external_key: Keyvault Id of + HcsDataVolumeBitLockerExternalKey. + :type hcs_data_volume_bit_locker_external_key: + ~azure.mgmt.databoxedge.v2020_12_01.models.Secret + :param hcs_internal_volume_bit_locker_external_key: Keyvault Id of + HcsInternalVolumeBitLockerExternalKey. + :type hcs_internal_volume_bit_locker_external_key: + ~azure.mgmt.databoxedge.v2020_12_01.models.Secret + :param system_volume_bit_locker_recovery_key: Keyvault Id of SystemVolumeBitLockerRecoveryKey. + :type system_volume_bit_locker_recovery_key: ~azure.mgmt.databoxedge.v2020_12_01.models.Secret + :param sed_encryption_external_key_id: Keyvault Id of SEDEncryptionExternalKeyId. + :type sed_encryption_external_key_id: ~azure.mgmt.databoxedge.v2020_12_01.models.Secret + :param sed_encryption_external_key: Keyvault Id of SEDEncryptionExternalKey. + :type sed_encryption_external_key: ~azure.mgmt.databoxedge.v2020_12_01.models.Secret + :param bmc_default_user_password: Keyvault Id of BMCDefaultUserPassword. + :type bmc_default_user_password: ~azure.mgmt.databoxedge.v2020_12_01.models.Secret + :param rotate_key_for_data_volume_bitlocker: Keyvault Id of RotateKeyForDataVolumeBitlocker. + :type rotate_key_for_data_volume_bitlocker: ~azure.mgmt.databoxedge.v2020_12_01.models.Secret + :param rotate_keys_for_sed_drives_serialized: Keyvault Id of RotateKeysForSedDrivesSerialized. + :type rotate_keys_for_sed_drives_serialized: ~azure.mgmt.databoxedge.v2020_12_01.models.Secret + """ + + _attribute_map = { + 'hcs_data_volume_bit_locker_external_key': {'key': 'hcsDataVolumeBitLockerExternalKey', 'type': 'Secret'}, + 'hcs_internal_volume_bit_locker_external_key': {'key': 'hcsInternalVolumeBitLockerExternalKey', 'type': 'Secret'}, + 'system_volume_bit_locker_recovery_key': {'key': 'systemVolumeBitLockerRecoveryKey', 'type': 'Secret'}, + 'sed_encryption_external_key_id': {'key': 'sedEncryptionExternalKeyId', 'type': 'Secret'}, + 'sed_encryption_external_key': {'key': 'sedEncryptionExternalKey', 'type': 'Secret'}, + 'bmc_default_user_password': {'key': 'bmcDefaultUserPassword', 'type': 'Secret'}, + 'rotate_key_for_data_volume_bitlocker': {'key': 'rotateKeyForDataVolumeBitlocker', 'type': 'Secret'}, + 'rotate_keys_for_sed_drives_serialized': {'key': 'rotateKeysForSedDrivesSerialized', 'type': 'Secret'}, + } + + def __init__( + self, + *, + hcs_data_volume_bit_locker_external_key: Optional["Secret"] = None, + hcs_internal_volume_bit_locker_external_key: Optional["Secret"] = None, + system_volume_bit_locker_recovery_key: Optional["Secret"] = None, + sed_encryption_external_key_id: Optional["Secret"] = None, + sed_encryption_external_key: Optional["Secret"] = None, + bmc_default_user_password: Optional["Secret"] = None, + rotate_key_for_data_volume_bitlocker: Optional["Secret"] = None, + rotate_keys_for_sed_drives_serialized: Optional["Secret"] = None, + **kwargs + ): + super(DeviceSecrets, self).__init__(**kwargs) + self.hcs_data_volume_bit_locker_external_key = hcs_data_volume_bit_locker_external_key + self.hcs_internal_volume_bit_locker_external_key = hcs_internal_volume_bit_locker_external_key + self.system_volume_bit_locker_recovery_key = system_volume_bit_locker_recovery_key + self.sed_encryption_external_key_id = sed_encryption_external_key_id + self.sed_encryption_external_key = sed_encryption_external_key + self.bmc_default_user_password = bmc_default_user_password + self.rotate_key_for_data_volume_bitlocker = rotate_key_for_data_volume_bitlocker + self.rotate_keys_for_sed_drives_serialized = rotate_keys_for_sed_drives_serialized + + +class EdgeProfile(msrest.serialization.Model): + """Details about Edge Profile for the resource. + + :param subscription: Edge Profile Subscription. + :type subscription: ~azure.mgmt.databoxedge.v2020_12_01.models.EdgeProfileSubscription + """ + + _attribute_map = { + 'subscription': {'key': 'subscription', 'type': 'EdgeProfileSubscription'}, + } + + def __init__( + self, + *, + subscription: Optional["EdgeProfileSubscription"] = None, + **kwargs + ): + super(EdgeProfile, self).__init__(**kwargs) + self.subscription = subscription + + +class EdgeProfilePatch(msrest.serialization.Model): + """The Data Box Edge/Gateway Edge Profile patch. + + :param subscription: The Data Box Edge/Gateway Edge Profile Subscription patch. + :type subscription: ~azure.mgmt.databoxedge.v2020_12_01.models.EdgeProfileSubscriptionPatch + """ + + _attribute_map = { + 'subscription': {'key': 'subscription', 'type': 'EdgeProfileSubscriptionPatch'}, + } + + def __init__( + self, + *, + subscription: Optional["EdgeProfileSubscriptionPatch"] = None, + **kwargs + ): + super(EdgeProfilePatch, self).__init__(**kwargs) + self.subscription = subscription + + +class EdgeProfileSubscription(msrest.serialization.Model): + """Subscription details for the Edge Profile. + + :param registration_id: Edge Subscription Registration ID. + :type registration_id: str + :param id: ARM ID of the subscription. + :type id: str + :param state: Possible values include: "Registered", "Warned", "Suspended", "Deleted", + "Unregistered". + :type state: str or ~azure.mgmt.databoxedge.v2020_12_01.models.SubscriptionState + :param registration_date: + :type registration_date: str + :param subscription_id: + :type subscription_id: str + :param tenant_id: + :type tenant_id: str + :param location_placement_id: + :type location_placement_id: str + :param quota_id: + :type quota_id: str + :param serialized_details: + :type serialized_details: str + :param registered_features: + :type registered_features: + list[~azure.mgmt.databoxedge.v2020_12_01.models.SubscriptionRegisteredFeatures] + """ + + _attribute_map = { + 'registration_id': {'key': 'registrationId', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + 'registration_date': {'key': 'registrationDate', 'type': 'str'}, + 'subscription_id': {'key': 'subscriptionId', 'type': 'str'}, + 'tenant_id': {'key': 'properties.tenantId', 'type': 'str'}, + 'location_placement_id': {'key': 'properties.locationPlacementId', 'type': 'str'}, + 'quota_id': {'key': 'properties.quotaId', 'type': 'str'}, + 'serialized_details': {'key': 'properties.serializedDetails', 'type': 'str'}, + 'registered_features': {'key': 'properties.registeredFeatures', 'type': '[SubscriptionRegisteredFeatures]'}, + } + + def __init__( + self, + *, + registration_id: Optional[str] = None, + id: Optional[str] = None, + state: Optional[Union[str, "SubscriptionState"]] = None, + registration_date: Optional[str] = None, + subscription_id: Optional[str] = None, + tenant_id: Optional[str] = None, + location_placement_id: Optional[str] = None, + quota_id: Optional[str] = None, + serialized_details: Optional[str] = None, + registered_features: Optional[List["SubscriptionRegisteredFeatures"]] = None, + **kwargs + ): + super(EdgeProfileSubscription, self).__init__(**kwargs) + self.registration_id = registration_id + self.id = id + self.state = state + self.registration_date = registration_date + self.subscription_id = subscription_id + self.tenant_id = tenant_id + self.location_placement_id = location_placement_id + self.quota_id = quota_id + self.serialized_details = serialized_details + self.registered_features = registered_features + + +class EdgeProfileSubscriptionPatch(msrest.serialization.Model): + """The Data Box Edge/Gateway Edge Profile Subscription patch. + + :param id: The path ID that uniquely identifies the subscription of the edge profile. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + **kwargs + ): + super(EdgeProfileSubscriptionPatch, self).__init__(**kwargs) + self.id = id + + +class EtcdInfo(msrest.serialization.Model): + """Etcd configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: Etcd type. + :vartype type: str + :ivar version: Etcd version. + :vartype version: str + """ + + _validation = { + 'type': {'readonly': True}, + 'version': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EtcdInfo, self).__init__(**kwargs) + self.type = None + self.version = None + + +class Trigger(ARMBaseModel): + """Trigger details. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: FileEventTrigger, PeriodicTimerEventTrigger. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Trigger in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: + "FileEvent", "PeriodicTimerEvent". + :type kind: str or ~azure.mgmt.databoxedge.v2020_12_01.models.TriggerEventType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'kind': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'kind': {'key': 'kind', 'type': 'str'}, + } + + _subtype_map = { + 'kind': {'FileEvent': 'FileEventTrigger', 'PeriodicTimerEvent': 'PeriodicTimerEventTrigger'} + } + + def __init__( + self, + **kwargs + ): + super(Trigger, self).__init__(**kwargs) + self.system_data = None + self.kind = 'Trigger' # type: str + + +class FileEventTrigger(Trigger): + """Trigger details. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Trigger in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: + "FileEvent", "PeriodicTimerEvent". + :type kind: str or ~azure.mgmt.databoxedge.v2020_12_01.models.TriggerEventType + :param source_info: Required. File event source details. + :type source_info: ~azure.mgmt.databoxedge.v2020_12_01.models.FileSourceInfo + :param sink_info: Required. Role sink info. + :type sink_info: ~azure.mgmt.databoxedge.v2020_12_01.models.RoleSinkInfo + :param custom_context_tag: A custom context tag typically used to correlate the trigger against + its usage. For example, if a periodic timer trigger is intended for certain specific IoT + modules in the device, the tag can be the name or the image URL of the module. + :type custom_context_tag: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'kind': {'required': True}, + 'source_info': {'required': True}, + 'sink_info': {'required': True}, + 'custom_context_tag': {'max_length': 192, 'min_length': 0}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'source_info': {'key': 'properties.sourceInfo', 'type': 'FileSourceInfo'}, + 'sink_info': {'key': 'properties.sinkInfo', 'type': 'RoleSinkInfo'}, + 'custom_context_tag': {'key': 'properties.customContextTag', 'type': 'str'}, + } + + def __init__( + self, + *, + source_info: "FileSourceInfo", + sink_info: "RoleSinkInfo", + custom_context_tag: Optional[str] = None, + **kwargs + ): + super(FileEventTrigger, self).__init__(**kwargs) + self.kind = 'FileEvent' # type: str + self.source_info = source_info + self.sink_info = sink_info + self.custom_context_tag = custom_context_tag + + +class FileSourceInfo(msrest.serialization.Model): + """File source details. + + All required parameters must be populated in order to send to Azure. + + :param share_id: Required. File share ID. + :type share_id: str + """ + + _validation = { + 'share_id': {'required': True}, + } + + _attribute_map = { + 'share_id': {'key': 'shareId', 'type': 'str'}, + } + + def __init__( + self, + *, + share_id: str, + **kwargs + ): + super(FileSourceInfo, self).__init__(**kwargs) + self.share_id = share_id + + +class GenerateCertResponse(msrest.serialization.Model): + """Used in activation key generation flow. + + :param public_key: Gets or sets base64 encoded certificate raw data, + this is the public part needed to be uploaded to cert vault. + :type public_key: str + :param private_key: Gets or sets base64 encoded private part of the certificate, + needed to form the activation key. + :type private_key: str + :param expiry_time_in_utc: Gets or sets expiry time in UTC. + :type expiry_time_in_utc: str + """ + + _attribute_map = { + 'public_key': {'key': 'publicKey', 'type': 'str'}, + 'private_key': {'key': 'privateKey', 'type': 'str'}, + 'expiry_time_in_utc': {'key': 'expiryTimeInUTC', 'type': 'str'}, + } + + def __init__( + self, + *, + public_key: Optional[str] = None, + private_key: Optional[str] = None, + expiry_time_in_utc: Optional[str] = None, + **kwargs + ): + super(GenerateCertResponse, self).__init__(**kwargs) + self.public_key = public_key + self.private_key = private_key + self.expiry_time_in_utc = expiry_time_in_utc + + +class ImageRepositoryCredential(msrest.serialization.Model): + """Image repository credential. + + All required parameters must be populated in order to send to Azure. + + :param image_repository_url: Required. Image repository url (e.g.: mcr.microsoft.com). + :type image_repository_url: str + :param user_name: Required. Repository user name. + :type user_name: str + :param password: Repository user password. + :type password: ~azure.mgmt.databoxedge.v2020_12_01.models.AsymmetricEncryptedSecret + """ + + _validation = { + 'image_repository_url': {'required': True}, + 'user_name': {'required': True}, + } + + _attribute_map = { + 'image_repository_url': {'key': 'imageRepositoryUrl', 'type': 'str'}, + 'user_name': {'key': 'userName', 'type': 'str'}, + 'password': {'key': 'password', 'type': 'AsymmetricEncryptedSecret'}, + } + + def __init__( + self, + *, + image_repository_url: str, + user_name: str, + password: Optional["AsymmetricEncryptedSecret"] = None, + **kwargs + ): + super(ImageRepositoryCredential, self).__init__(**kwargs) + self.image_repository_url = image_repository_url + self.user_name = user_name + self.password = password + + +class IoTAddon(Addon): + """IoT Addon. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Addon type.Constant filled by server. Possible values include: + "IotEdge", "ArcForKubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_12_01.models.AddonType + :ivar system_data: Addon type. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param io_t_device_details: Required. IoT device metadata to which appliance needs to be + connected. + :type io_t_device_details: ~azure.mgmt.databoxedge.v2020_12_01.models.IoTDeviceInfo + :param io_t_edge_device_details: Required. IoT edge device to which the IoT Addon needs to be + configured. + :type io_t_edge_device_details: ~azure.mgmt.databoxedge.v2020_12_01.models.IoTDeviceInfo + :ivar version: Version of IoT running on the appliance. + :vartype version: str + :ivar host_platform: Host OS supported by the IoT addon. Possible values include: "Windows", + "Linux". + :vartype host_platform: str or ~azure.mgmt.databoxedge.v2020_12_01.models.PlatformType + :ivar host_platform_type: Platform where the runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.HostPlatformType + :ivar provisioning_state: Addon Provisioning State. Possible values include: "Invalid", + "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting". + :vartype provisioning_state: str or ~azure.mgmt.databoxedge.v2020_12_01.models.AddonState + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'io_t_device_details': {'required': True}, + 'io_t_edge_device_details': {'required': True}, + 'version': {'readonly': True}, + 'host_platform': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'io_t_device_details': {'key': 'properties.ioTDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'io_t_edge_device_details': {'key': 'properties.ioTEdgeDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'version': {'key': 'properties.version', 'type': 'str'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + io_t_device_details: "IoTDeviceInfo", + io_t_edge_device_details: "IoTDeviceInfo", + **kwargs + ): + super(IoTAddon, self).__init__(**kwargs) + self.kind = 'IotEdge' # type: str + self.io_t_device_details = io_t_device_details + self.io_t_edge_device_details = io_t_edge_device_details + self.version = None + self.host_platform = None + self.host_platform_type = None + self.provisioning_state = None + + +class IoTDeviceInfo(msrest.serialization.Model): + """Metadata of IoT device/IoT Edge device to be configured. + + All required parameters must be populated in order to send to Azure. + + :param device_id: Required. ID of the IoT device/edge device. + :type device_id: str + :param io_t_host_hub: Required. Host name for the IoT hub associated to the device. + :type io_t_host_hub: str + :param io_t_host_hub_id: Id for the IoT hub associated to the device. + :type io_t_host_hub_id: str + :param authentication: Encrypted IoT device/IoT edge device connection string. + :type authentication: ~azure.mgmt.databoxedge.v2020_12_01.models.Authentication + """ + + _validation = { + 'device_id': {'required': True}, + 'io_t_host_hub': {'required': True}, + } + + _attribute_map = { + 'device_id': {'key': 'deviceId', 'type': 'str'}, + 'io_t_host_hub': {'key': 'ioTHostHub', 'type': 'str'}, + 'io_t_host_hub_id': {'key': 'ioTHostHubId', 'type': 'str'}, + 'authentication': {'key': 'authentication', 'type': 'Authentication'}, + } + + def __init__( + self, + *, + device_id: str, + io_t_host_hub: str, + io_t_host_hub_id: Optional[str] = None, + authentication: Optional["Authentication"] = None, + **kwargs + ): + super(IoTDeviceInfo, self).__init__(**kwargs) + self.device_id = device_id + self.io_t_host_hub = io_t_host_hub + self.io_t_host_hub_id = io_t_host_hub_id + self.authentication = authentication + + +class IoTEdgeAgentInfo(msrest.serialization.Model): + """IoT edge agent details is optional, this will be used for download system Agent module while bootstrapping IoT Role if specified. + + All required parameters must be populated in order to send to Azure. + + :param image_name: Required. Name of the IoT edge agent image. + :type image_name: str + :param tag: Required. Image Tag. + :type tag: str + :param image_repository: Image repository details. + :type image_repository: ~azure.mgmt.databoxedge.v2020_12_01.models.ImageRepositoryCredential + """ + + _validation = { + 'image_name': {'required': True}, + 'tag': {'required': True}, + } + + _attribute_map = { + 'image_name': {'key': 'imageName', 'type': 'str'}, + 'tag': {'key': 'tag', 'type': 'str'}, + 'image_repository': {'key': 'imageRepository', 'type': 'ImageRepositoryCredential'}, + } + + def __init__( + self, + *, + image_name: str, + tag: str, + image_repository: Optional["ImageRepositoryCredential"] = None, + **kwargs + ): + super(IoTEdgeAgentInfo, self).__init__(**kwargs) + self.image_name = image_name + self.tag = tag + self.image_repository = image_repository + + +class IoTRole(Role): + """Compute role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_12_01.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param host_platform: Host OS supported by the IoT role. Possible values include: "Windows", + "Linux". + :type host_platform: str or ~azure.mgmt.databoxedge.v2020_12_01.models.PlatformType + :param io_t_device_details: IoT device metadata to which data box edge device needs to be + connected. + :type io_t_device_details: ~azure.mgmt.databoxedge.v2020_12_01.models.IoTDeviceInfo + :param io_t_edge_device_details: IoT edge device to which the IoT role needs to be configured. + :type io_t_edge_device_details: ~azure.mgmt.databoxedge.v2020_12_01.models.IoTDeviceInfo + :param share_mappings: Mount points of shares in role(s). + :type share_mappings: list[~azure.mgmt.databoxedge.v2020_12_01.models.MountPointMap] + :param io_t_edge_agent_info: Iot edge agent details to download the agent and bootstrap iot + runtime. + :type io_t_edge_agent_info: ~azure.mgmt.databoxedge.v2020_12_01.models.IoTEdgeAgentInfo + :ivar host_platform_type: Platform where the Iot runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.HostPlatformType + :param compute_resource: Resource allocation. + :type compute_resource: ~azure.mgmt.databoxedge.v2020_12_01.models.ComputeResource + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'io_t_device_details': {'key': 'properties.ioTDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'io_t_edge_device_details': {'key': 'properties.ioTEdgeDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'share_mappings': {'key': 'properties.shareMappings', 'type': '[MountPointMap]'}, + 'io_t_edge_agent_info': {'key': 'properties.ioTEdgeAgentInfo', 'type': 'IoTEdgeAgentInfo'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'compute_resource': {'key': 'properties.computeResource', 'type': 'ComputeResource'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + *, + host_platform: Optional[Union[str, "PlatformType"]] = None, + io_t_device_details: Optional["IoTDeviceInfo"] = None, + io_t_edge_device_details: Optional["IoTDeviceInfo"] = None, + share_mappings: Optional[List["MountPointMap"]] = None, + io_t_edge_agent_info: Optional["IoTEdgeAgentInfo"] = None, + compute_resource: Optional["ComputeResource"] = None, + role_status: Optional[Union[str, "RoleStatus"]] = None, + **kwargs + ): + super(IoTRole, self).__init__(**kwargs) + self.kind = 'IOT' # type: str + self.host_platform = host_platform + self.io_t_device_details = io_t_device_details + self.io_t_edge_device_details = io_t_edge_device_details + self.share_mappings = share_mappings + self.io_t_edge_agent_info = io_t_edge_agent_info + self.host_platform_type = None + self.compute_resource = compute_resource + self.role_status = role_status + + +class Ipv4Config(msrest.serialization.Model): + """Details related to the IPv4 address configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar ip_address: The IPv4 address of the network adapter. + :vartype ip_address: str + :ivar subnet: The IPv4 subnet of the network adapter. + :vartype subnet: str + :ivar gateway: The IPv4 gateway of the network adapter. + :vartype gateway: str + """ + + _validation = { + 'ip_address': {'readonly': True}, + 'subnet': {'readonly': True}, + 'gateway': {'readonly': True}, + } + + _attribute_map = { + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + 'subnet': {'key': 'subnet', 'type': 'str'}, + 'gateway': {'key': 'gateway', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Ipv4Config, self).__init__(**kwargs) + self.ip_address = None + self.subnet = None + self.gateway = None + + +class Ipv6Config(msrest.serialization.Model): + """Details related to the IPv6 address configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar ip_address: The IPv6 address of the network adapter. + :vartype ip_address: str + :ivar prefix_length: The IPv6 prefix of the network adapter. + :vartype prefix_length: int + :ivar gateway: The IPv6 gateway of the network adapter. + :vartype gateway: str + """ + + _validation = { + 'ip_address': {'readonly': True}, + 'prefix_length': {'readonly': True}, + 'gateway': {'readonly': True}, + } + + _attribute_map = { + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + 'prefix_length': {'key': 'prefixLength', 'type': 'int'}, + 'gateway': {'key': 'gateway', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Ipv6Config, self).__init__(**kwargs) + self.ip_address = None + self.prefix_length = None + self.gateway = None + + +class Job(msrest.serialization.Model): + """A device job. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The name of the object. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar status: The current status of the job. Possible values include: "Invalid", "Running", + "Succeeded", "Failed", "Canceled", "Paused", "Scheduled". + :vartype status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.JobStatus + :ivar start_time: The UTC date and time at which the job started. + :vartype start_time: ~datetime.datetime + :ivar end_time: The UTC date and time at which the job completed. + :vartype end_time: ~datetime.datetime + :ivar percent_complete: The percentage of the job that is complete. + :vartype percent_complete: int + :ivar error: The error details. + :vartype error: ~azure.mgmt.databoxedge.v2020_12_01.models.JobErrorDetails + :ivar job_type: The type of the job. Possible values include: "Invalid", "ScanForUpdates", + "DownloadUpdates", "InstallUpdates", "RefreshShare", "RefreshContainer", "Backup", "Restore", + "TriggerSupportPackage". + :vartype job_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.JobType + :ivar current_stage: Current stage of the update operation. Possible values include: "Unknown", + "Initial", "ScanStarted", "ScanComplete", "ScanFailed", "DownloadStarted", "DownloadComplete", + "DownloadFailed", "InstallStarted", "InstallComplete", "InstallFailed", "RebootInitiated", + "Success", "Failure", "RescanStarted", "RescanComplete", "RescanFailed". + :vartype current_stage: str or ~azure.mgmt.databoxedge.v2020_12_01.models.UpdateOperationStage + :ivar download_progress: The download progress. + :vartype download_progress: ~azure.mgmt.databoxedge.v2020_12_01.models.UpdateDownloadProgress + :ivar install_progress: The install progress. + :vartype install_progress: ~azure.mgmt.databoxedge.v2020_12_01.models.UpdateInstallProgress + :ivar total_refresh_errors: Total number of errors encountered during the refresh process. + :vartype total_refresh_errors: int + :ivar error_manifest_file: Local share/remote container relative path to the error manifest + file of the refresh. + :vartype error_manifest_file: str + :ivar refreshed_entity_id: ARM ID of the entity that was refreshed. + :vartype refreshed_entity_id: str + :param folder: If only subfolders need to be refreshed, then the subfolder path inside the + share or container. (The path is empty if there are no subfolders.). + :type folder: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'status': {'readonly': True}, + 'start_time': {'readonly': True}, + 'end_time': {'readonly': True}, + 'percent_complete': {'readonly': True}, + 'error': {'readonly': True}, + 'job_type': {'readonly': True}, + 'current_stage': {'readonly': True}, + 'download_progress': {'readonly': True}, + 'install_progress': {'readonly': True}, + 'total_refresh_errors': {'readonly': True}, + 'error_manifest_file': {'readonly': True}, + 'refreshed_entity_id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'percent_complete': {'key': 'percentComplete', 'type': 'int'}, + 'error': {'key': 'error', 'type': 'JobErrorDetails'}, + 'job_type': {'key': 'properties.jobType', 'type': 'str'}, + 'current_stage': {'key': 'properties.currentStage', 'type': 'str'}, + 'download_progress': {'key': 'properties.downloadProgress', 'type': 'UpdateDownloadProgress'}, + 'install_progress': {'key': 'properties.installProgress', 'type': 'UpdateInstallProgress'}, + 'total_refresh_errors': {'key': 'properties.totalRefreshErrors', 'type': 'int'}, + 'error_manifest_file': {'key': 'properties.errorManifestFile', 'type': 'str'}, + 'refreshed_entity_id': {'key': 'properties.refreshedEntityId', 'type': 'str'}, + 'folder': {'key': 'properties.folder', 'type': 'str'}, + } + + def __init__( + self, + *, + folder: Optional[str] = None, + **kwargs + ): + super(Job, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.status = None + self.start_time = None + self.end_time = None + self.percent_complete = None + self.error = None + self.job_type = None + self.current_stage = None + self.download_progress = None + self.install_progress = None + self.total_refresh_errors = None + self.error_manifest_file = None + self.refreshed_entity_id = None + self.folder = folder + + +class JobErrorDetails(msrest.serialization.Model): + """The job error information containing the list of job errors. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar error_details: The error details. + :vartype error_details: list[~azure.mgmt.databoxedge.v2020_12_01.models.JobErrorItem] + :ivar code: The code intended for programmatic access. + :vartype code: str + :ivar message: The message that describes the error in detail. + :vartype message: str + """ + + _validation = { + 'error_details': {'readonly': True}, + 'code': {'readonly': True}, + 'message': {'readonly': True}, + } + + _attribute_map = { + 'error_details': {'key': 'errorDetails', 'type': '[JobErrorItem]'}, + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(JobErrorDetails, self).__init__(**kwargs) + self.error_details = None + self.code = None + self.message = None + + +class JobErrorItem(msrest.serialization.Model): + """The job error items. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar recommendations: The recommended actions. + :vartype recommendations: list[str] + :ivar code: The code intended for programmatic access. + :vartype code: str + :ivar message: The message that describes the error in detail. + :vartype message: str + """ + + _validation = { + 'recommendations': {'readonly': True}, + 'code': {'readonly': True}, + 'message': {'readonly': True}, + } + + _attribute_map = { + 'recommendations': {'key': 'recommendations', 'type': '[str]'}, + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(JobErrorItem, self).__init__(**kwargs) + self.recommendations = None + self.code = None + self.message = None + + +class KubernetesClusterInfo(msrest.serialization.Model): + """Kubernetes cluster configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar etcd_info: Etcd configuration. + :vartype etcd_info: ~azure.mgmt.databoxedge.v2020_12_01.models.EtcdInfo + :ivar nodes: Kubernetes cluster nodes. + :vartype nodes: list[~azure.mgmt.databoxedge.v2020_12_01.models.NodeInfo] + :param version: Required. Kubernetes cluster version. + :type version: str + """ + + _validation = { + 'etcd_info': {'readonly': True}, + 'nodes': {'readonly': True}, + 'version': {'required': True}, + } + + _attribute_map = { + 'etcd_info': {'key': 'etcdInfo', 'type': 'EtcdInfo'}, + 'nodes': {'key': 'nodes', 'type': '[NodeInfo]'}, + 'version': {'key': 'version', 'type': 'str'}, + } + + def __init__( + self, + *, + version: str, + **kwargs + ): + super(KubernetesClusterInfo, self).__init__(**kwargs) + self.etcd_info = None + self.nodes = None + self.version = version + + +class KubernetesIPConfiguration(msrest.serialization.Model): + """Kubernetes node IP configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar port: Port of the Kubernetes node. + :vartype port: str + :param ip_address: IP address of the Kubernetes node. + :type ip_address: str + """ + + _validation = { + 'port': {'readonly': True}, + } + + _attribute_map = { + 'port': {'key': 'port', 'type': 'str'}, + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + } + + def __init__( + self, + *, + ip_address: Optional[str] = None, + **kwargs + ): + super(KubernetesIPConfiguration, self).__init__(**kwargs) + self.port = None + self.ip_address = ip_address + + +class KubernetesRole(Role): + """Kubernetes role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_12_01.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param host_platform: Host OS supported by the Kubernetes role. Possible values include: + "Windows", "Linux". + :type host_platform: str or ~azure.mgmt.databoxedge.v2020_12_01.models.PlatformType + :ivar provisioning_state: State of Kubernetes deployment. Possible values include: "Invalid", + "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting". + :vartype provisioning_state: str or ~azure.mgmt.databoxedge.v2020_12_01.models.KubernetesState + :ivar host_platform_type: Platform where the runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.HostPlatformType + :param kubernetes_cluster_info: Kubernetes cluster configuration. + :type kubernetes_cluster_info: ~azure.mgmt.databoxedge.v2020_12_01.models.KubernetesClusterInfo + :param kubernetes_role_resources: Kubernetes role resources. + :type kubernetes_role_resources: + ~azure.mgmt.databoxedge.v2020_12_01.models.KubernetesRoleResources + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'kubernetes_cluster_info': {'key': 'properties.kubernetesClusterInfo', 'type': 'KubernetesClusterInfo'}, + 'kubernetes_role_resources': {'key': 'properties.kubernetesRoleResources', 'type': 'KubernetesRoleResources'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + *, + host_platform: Optional[Union[str, "PlatformType"]] = None, + kubernetes_cluster_info: Optional["KubernetesClusterInfo"] = None, + kubernetes_role_resources: Optional["KubernetesRoleResources"] = None, + role_status: Optional[Union[str, "RoleStatus"]] = None, + **kwargs + ): + super(KubernetesRole, self).__init__(**kwargs) + self.kind = 'Kubernetes' # type: str + self.host_platform = host_platform + self.provisioning_state = None + self.host_platform_type = None + self.kubernetes_cluster_info = kubernetes_cluster_info + self.kubernetes_role_resources = kubernetes_role_resources + self.role_status = role_status + + +class KubernetesRoleCompute(msrest.serialization.Model): + """Kubernetes role compute resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param vm_profile: Required. VM profile. + :type vm_profile: str + :ivar memory_in_bytes: Memory in bytes. + :vartype memory_in_bytes: long + :ivar processor_count: Processor count. + :vartype processor_count: int + """ + + _validation = { + 'vm_profile': {'required': True}, + 'memory_in_bytes': {'readonly': True}, + 'processor_count': {'readonly': True}, + } + + _attribute_map = { + 'vm_profile': {'key': 'vmProfile', 'type': 'str'}, + 'memory_in_bytes': {'key': 'memoryInBytes', 'type': 'long'}, + 'processor_count': {'key': 'processorCount', 'type': 'int'}, + } + + def __init__( + self, + *, + vm_profile: str, + **kwargs + ): + super(KubernetesRoleCompute, self).__init__(**kwargs) + self.vm_profile = vm_profile + self.memory_in_bytes = None + self.processor_count = None + + +class KubernetesRoleNetwork(msrest.serialization.Model): + """Kubernetes role network resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar cni_config: Cni configuration. + :vartype cni_config: ~azure.mgmt.databoxedge.v2020_12_01.models.CniConfig + :ivar load_balancer_config: Load balancer configuration. + :vartype load_balancer_config: ~azure.mgmt.databoxedge.v2020_12_01.models.LoadBalancerConfig + """ + + _validation = { + 'cni_config': {'readonly': True}, + 'load_balancer_config': {'readonly': True}, + } + + _attribute_map = { + 'cni_config': {'key': 'cniConfig', 'type': 'CniConfig'}, + 'load_balancer_config': {'key': 'loadBalancerConfig', 'type': 'LoadBalancerConfig'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleNetwork, self).__init__(**kwargs) + self.cni_config = None + self.load_balancer_config = None + + +class KubernetesRoleResources(msrest.serialization.Model): + """Kubernetes role resources. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param storage: Kubernetes role storage resource. + :type storage: ~azure.mgmt.databoxedge.v2020_12_01.models.KubernetesRoleStorage + :param compute: Required. Kubernetes role compute resource. + :type compute: ~azure.mgmt.databoxedge.v2020_12_01.models.KubernetesRoleCompute + :ivar network: Kubernetes role network resource. + :vartype network: ~azure.mgmt.databoxedge.v2020_12_01.models.KubernetesRoleNetwork + """ + + _validation = { + 'compute': {'required': True}, + 'network': {'readonly': True}, + } + + _attribute_map = { + 'storage': {'key': 'storage', 'type': 'KubernetesRoleStorage'}, + 'compute': {'key': 'compute', 'type': 'KubernetesRoleCompute'}, + 'network': {'key': 'network', 'type': 'KubernetesRoleNetwork'}, + } + + def __init__( + self, + *, + compute: "KubernetesRoleCompute", + storage: Optional["KubernetesRoleStorage"] = None, + **kwargs + ): + super(KubernetesRoleResources, self).__init__(**kwargs) + self.storage = storage + self.compute = compute + self.network = None + + +class KubernetesRoleStorage(msrest.serialization.Model): + """Kubernetes role storage resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar storage_classes: Kubernetes storage class info. + :vartype storage_classes: + list[~azure.mgmt.databoxedge.v2020_12_01.models.KubernetesRoleStorageClassInfo] + :param endpoints: Mount points of shares in role(s). + :type endpoints: list[~azure.mgmt.databoxedge.v2020_12_01.models.MountPointMap] + """ + + _validation = { + 'storage_classes': {'readonly': True}, + } + + _attribute_map = { + 'storage_classes': {'key': 'storageClasses', 'type': '[KubernetesRoleStorageClassInfo]'}, + 'endpoints': {'key': 'endpoints', 'type': '[MountPointMap]'}, + } + + def __init__( + self, + *, + endpoints: Optional[List["MountPointMap"]] = None, + **kwargs + ): + super(KubernetesRoleStorage, self).__init__(**kwargs) + self.storage_classes = None + self.endpoints = endpoints + + +class KubernetesRoleStorageClassInfo(msrest.serialization.Model): + """Kubernetes storage class info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Storage class name. + :vartype name: str + :ivar type: Storage class type. + :vartype type: str + :ivar posix_compliant: If provisioned storage is posix compliant. Possible values include: + "Invalid", "Enabled", "Disabled". + :vartype posix_compliant: str or + ~azure.mgmt.databoxedge.v2020_12_01.models.PosixComplianceStatus + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'posix_compliant': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'posix_compliant': {'key': 'posixCompliant', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleStorageClassInfo, self).__init__(**kwargs) + self.name = None + self.type = None + self.posix_compliant = None + + +class LoadBalancerConfig(msrest.serialization.Model): + """Load balancer configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: Load balancer type. + :vartype type: str + :ivar version: Load balancer version. + :vartype version: str + """ + + _validation = { + 'type': {'readonly': True}, + 'version': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LoadBalancerConfig, self).__init__(**kwargs) + self.type = None + self.version = None + + +class MECRole(Role): + """MEC role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_12_01.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param connection_string: Activation key of the MEC. + :type connection_string: ~azure.mgmt.databoxedge.v2020_12_01.models.AsymmetricEncryptedSecret + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'connection_string': {'key': 'properties.connectionString', 'type': 'AsymmetricEncryptedSecret'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + *, + connection_string: Optional["AsymmetricEncryptedSecret"] = None, + role_status: Optional[Union[str, "RoleStatus"]] = None, + **kwargs + ): + super(MECRole, self).__init__(**kwargs) + self.kind = 'MEC' # type: str + self.connection_string = connection_string + self.role_status = role_status + + +class MetricConfiguration(msrest.serialization.Model): + """Metric configuration. + + All required parameters must be populated in order to send to Azure. + + :param resource_id: Required. The Resource ID on which the metrics should be pushed. + :type resource_id: str + :param mdm_account: The MDM account to which the counters should be pushed. + :type mdm_account: str + :param metric_name_space: The MDM namespace to which the counters should be pushed. This is + required if MDMAccount is specified. + :type metric_name_space: str + :param counter_sets: Required. Host name for the IoT hub associated to the device. + :type counter_sets: list[~azure.mgmt.databoxedge.v2020_12_01.models.MetricCounterSet] + """ + + _validation = { + 'resource_id': {'required': True}, + 'counter_sets': {'required': True}, + } + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'mdm_account': {'key': 'mdmAccount', 'type': 'str'}, + 'metric_name_space': {'key': 'metricNameSpace', 'type': 'str'}, + 'counter_sets': {'key': 'counterSets', 'type': '[MetricCounterSet]'}, + } + + def __init__( + self, + *, + resource_id: str, + counter_sets: List["MetricCounterSet"], + mdm_account: Optional[str] = None, + metric_name_space: Optional[str] = None, + **kwargs + ): + super(MetricConfiguration, self).__init__(**kwargs) + self.resource_id = resource_id + self.mdm_account = mdm_account + self.metric_name_space = metric_name_space + self.counter_sets = counter_sets + + +class MetricCounter(msrest.serialization.Model): + """The metric counter. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The counter name. + :type name: str + :param instance: The instance from which counter should be collected. + :type instance: str + :param dimension_filter: The dimension filter. + :type dimension_filter: list[~azure.mgmt.databoxedge.v2020_12_01.models.MetricDimension] + :param additional_dimensions: The additional dimensions to be added to metric. + :type additional_dimensions: list[~azure.mgmt.databoxedge.v2020_12_01.models.MetricDimension] + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'instance': {'key': 'instance', 'type': 'str'}, + 'dimension_filter': {'key': 'dimensionFilter', 'type': '[MetricDimension]'}, + 'additional_dimensions': {'key': 'additionalDimensions', 'type': '[MetricDimension]'}, + } + + def __init__( + self, + *, + name: str, + instance: Optional[str] = None, + dimension_filter: Optional[List["MetricDimension"]] = None, + additional_dimensions: Optional[List["MetricDimension"]] = None, + **kwargs + ): + super(MetricCounter, self).__init__(**kwargs) + self.name = name + self.instance = instance + self.dimension_filter = dimension_filter + self.additional_dimensions = additional_dimensions + + +class MetricCounterSet(msrest.serialization.Model): + """The metric counter set. + + All required parameters must be populated in order to send to Azure. + + :param counters: Required. The counters that should be collected in this set. + :type counters: list[~azure.mgmt.databoxedge.v2020_12_01.models.MetricCounter] + """ + + _validation = { + 'counters': {'required': True}, + } + + _attribute_map = { + 'counters': {'key': 'counters', 'type': '[MetricCounter]'}, + } + + def __init__( + self, + *, + counters: List["MetricCounter"], + **kwargs + ): + super(MetricCounterSet, self).__init__(**kwargs) + self.counters = counters + + +class MetricDimension(msrest.serialization.Model): + """The metric dimension. + + All required parameters must be populated in order to send to Azure. + + :param source_type: Required. The dimension type. + :type source_type: str + :param source_name: Required. The dimension value. + :type source_name: str + """ + + _validation = { + 'source_type': {'required': True}, + 'source_name': {'required': True}, + } + + _attribute_map = { + 'source_type': {'key': 'sourceType', 'type': 'str'}, + 'source_name': {'key': 'sourceName', 'type': 'str'}, + } + + def __init__( + self, + *, + source_type: str, + source_name: str, + **kwargs + ): + super(MetricDimension, self).__init__(**kwargs) + self.source_type = source_type + self.source_name = source_name + + +class MetricDimensionV1(msrest.serialization.Model): + """Metric Dimension v1. + + :param name: Name of the metrics dimension. + :type name: str + :param display_name: Display name of the metrics dimension. + :type display_name: str + :param to_be_exported_for_shoebox: To be exported to shoe box. + :type to_be_exported_for_shoebox: bool + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'to_be_exported_for_shoebox': {'key': 'toBeExportedForShoebox', 'type': 'bool'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + display_name: Optional[str] = None, + to_be_exported_for_shoebox: Optional[bool] = None, + **kwargs + ): + super(MetricDimensionV1, self).__init__(**kwargs) + self.name = name + self.display_name = display_name + self.to_be_exported_for_shoebox = to_be_exported_for_shoebox + + +class MetricSpecificationV1(msrest.serialization.Model): + """Metric specification version 1. + + :param name: Name of the metric. + :type name: str + :param display_name: Display name of the metric. + :type display_name: str + :param display_description: Description of the metric to be displayed. + :type display_description: str + :param unit: Metric units. Possible values include: "NotSpecified", "Percent", "Count", + "Seconds", "Milliseconds", "Bytes", "BytesPerSecond", "CountPerSecond". + :type unit: str or ~azure.mgmt.databoxedge.v2020_12_01.models.MetricUnit + :param aggregation_type: Metric aggregation type. Possible values include: "NotSpecified", + "None", "Average", "Minimum", "Maximum", "Total", "Count". + :type aggregation_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.MetricAggregationType + :param dimensions: Metric dimensions, other than default dimension which is resource. + :type dimensions: list[~azure.mgmt.databoxedge.v2020_12_01.models.MetricDimensionV1] + :param fill_gap_with_zero: Set true to fill the gaps with zero. + :type fill_gap_with_zero: bool + :param category: Metric category. Possible values include: "Capacity", "Transaction". + :type category: str or ~azure.mgmt.databoxedge.v2020_12_01.models.MetricCategory + :param resource_id_dimension_name_override: Resource name override. + :type resource_id_dimension_name_override: str + :param supported_time_grain_types: Support granularity of metrics. + :type supported_time_grain_types: list[str or + ~azure.mgmt.databoxedge.v2020_12_01.models.TimeGrain] + :param supported_aggregation_types: Support metric aggregation type. + :type supported_aggregation_types: list[str or + ~azure.mgmt.databoxedge.v2020_12_01.models.MetricAggregationType] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'display_description': {'key': 'displayDescription', 'type': 'str'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, + 'dimensions': {'key': 'dimensions', 'type': '[MetricDimensionV1]'}, + 'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'}, + 'category': {'key': 'category', 'type': 'str'}, + 'resource_id_dimension_name_override': {'key': 'resourceIdDimensionNameOverride', 'type': 'str'}, + 'supported_time_grain_types': {'key': 'supportedTimeGrainTypes', 'type': '[str]'}, + 'supported_aggregation_types': {'key': 'supportedAggregationTypes', 'type': '[str]'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + display_name: Optional[str] = None, + display_description: Optional[str] = None, + unit: Optional[Union[str, "MetricUnit"]] = None, + aggregation_type: Optional[Union[str, "MetricAggregationType"]] = None, + dimensions: Optional[List["MetricDimensionV1"]] = None, + fill_gap_with_zero: Optional[bool] = None, + category: Optional[Union[str, "MetricCategory"]] = None, + resource_id_dimension_name_override: Optional[str] = None, + supported_time_grain_types: Optional[List[Union[str, "TimeGrain"]]] = None, + supported_aggregation_types: Optional[List[Union[str, "MetricAggregationType"]]] = None, + **kwargs + ): + super(MetricSpecificationV1, self).__init__(**kwargs) + self.name = name + self.display_name = display_name + self.display_description = display_description + self.unit = unit + self.aggregation_type = aggregation_type + self.dimensions = dimensions + self.fill_gap_with_zero = fill_gap_with_zero + self.category = category + self.resource_id_dimension_name_override = resource_id_dimension_name_override + self.supported_time_grain_types = supported_time_grain_types + self.supported_aggregation_types = supported_aggregation_types + + +class MonitoringMetricConfiguration(ARMBaseModel): + """The metric setting details for the role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param metric_configurations: Required. The metrics configuration details. + :type metric_configurations: + list[~azure.mgmt.databoxedge.v2020_12_01.models.MetricConfiguration] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'metric_configurations': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'metric_configurations': {'key': 'properties.metricConfigurations', 'type': '[MetricConfiguration]'}, + } + + def __init__( + self, + *, + metric_configurations: List["MetricConfiguration"], + **kwargs + ): + super(MonitoringMetricConfiguration, self).__init__(**kwargs) + self.metric_configurations = metric_configurations + + +class MonitoringMetricConfigurationList(msrest.serialization.Model): + """Collection of metric configurations. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of metric configurations. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.MonitoringMetricConfiguration] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[MonitoringMetricConfiguration]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MonitoringMetricConfigurationList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class MountPointMap(msrest.serialization.Model): + """The share mount point. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param share_id: Required. ID of the share mounted to the role VM. + :type share_id: str + :ivar role_id: ID of the role to which share is mounted. + :vartype role_id: str + :ivar mount_point: Mount point for the share. + :vartype mount_point: str + :ivar mount_type: Mounting type. Possible values include: "Volume", "HostPath". + :vartype mount_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.MountType + :ivar role_type: Role type. Possible values include: "IOT", "ASA", "Functions", "Cognitive", + "MEC", "CloudEdgeManagement", "Kubernetes". + :vartype role_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.RoleTypes + """ + + _validation = { + 'share_id': {'required': True}, + 'role_id': {'readonly': True}, + 'mount_point': {'readonly': True}, + 'mount_type': {'readonly': True}, + 'role_type': {'readonly': True}, + } + + _attribute_map = { + 'share_id': {'key': 'shareId', 'type': 'str'}, + 'role_id': {'key': 'roleId', 'type': 'str'}, + 'mount_point': {'key': 'mountPoint', 'type': 'str'}, + 'mount_type': {'key': 'mountType', 'type': 'str'}, + 'role_type': {'key': 'roleType', 'type': 'str'}, + } + + def __init__( + self, + *, + share_id: str, + **kwargs + ): + super(MountPointMap, self).__init__(**kwargs) + self.share_id = share_id + self.role_id = None + self.mount_point = None + self.mount_type = None + self.role_type = None + + +class NetworkAdapter(msrest.serialization.Model): + """Represents the networkAdapter on a device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar adapter_id: Instance ID of network adapter. + :vartype adapter_id: str + :ivar adapter_position: Hardware position of network adapter. + :vartype adapter_position: ~azure.mgmt.databoxedge.v2020_12_01.models.NetworkAdapterPosition + :ivar index: Logical index of the adapter. + :vartype index: int + :ivar node_id: Node ID of the network adapter. + :vartype node_id: str + :ivar network_adapter_name: Network adapter name. + :vartype network_adapter_name: str + :ivar label: Hardware label for the adapter. + :vartype label: str + :ivar mac_address: MAC address. + :vartype mac_address: str + :ivar link_speed: Link speed. + :vartype link_speed: long + :ivar status: Value indicating whether this adapter is valid. Possible values include: + "Inactive", "Active". + :vartype status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.NetworkAdapterStatus + :param rdma_status: Value indicating whether this adapter is RDMA capable. Possible values + include: "Incapable", "Capable". + :type rdma_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.NetworkAdapterRDMAStatus + :param dhcp_status: Value indicating whether this adapter has DHCP enabled. Possible values + include: "Disabled", "Enabled". + :type dhcp_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.NetworkAdapterDHCPStatus + :ivar ipv4_configuration: The IPv4 configuration of the network adapter. + :vartype ipv4_configuration: ~azure.mgmt.databoxedge.v2020_12_01.models.Ipv4Config + :ivar ipv6_configuration: The IPv6 configuration of the network adapter. + :vartype ipv6_configuration: ~azure.mgmt.databoxedge.v2020_12_01.models.Ipv6Config + :ivar ipv6_link_local_address: The IPv6 local address. + :vartype ipv6_link_local_address: str + :ivar dns_servers: The list of DNS Servers of the device. + :vartype dns_servers: list[str] + """ + + _validation = { + 'adapter_id': {'readonly': True}, + 'adapter_position': {'readonly': True}, + 'index': {'readonly': True}, + 'node_id': {'readonly': True}, + 'network_adapter_name': {'readonly': True}, + 'label': {'readonly': True}, + 'mac_address': {'readonly': True}, + 'link_speed': {'readonly': True}, + 'status': {'readonly': True}, + 'ipv4_configuration': {'readonly': True}, + 'ipv6_configuration': {'readonly': True}, + 'ipv6_link_local_address': {'readonly': True}, + 'dns_servers': {'readonly': True}, + } + + _attribute_map = { + 'adapter_id': {'key': 'adapterId', 'type': 'str'}, + 'adapter_position': {'key': 'adapterPosition', 'type': 'NetworkAdapterPosition'}, + 'index': {'key': 'index', 'type': 'int'}, + 'node_id': {'key': 'nodeId', 'type': 'str'}, + 'network_adapter_name': {'key': 'networkAdapterName', 'type': 'str'}, + 'label': {'key': 'label', 'type': 'str'}, + 'mac_address': {'key': 'macAddress', 'type': 'str'}, + 'link_speed': {'key': 'linkSpeed', 'type': 'long'}, + 'status': {'key': 'status', 'type': 'str'}, + 'rdma_status': {'key': 'rdmaStatus', 'type': 'str'}, + 'dhcp_status': {'key': 'dhcpStatus', 'type': 'str'}, + 'ipv4_configuration': {'key': 'ipv4Configuration', 'type': 'Ipv4Config'}, + 'ipv6_configuration': {'key': 'ipv6Configuration', 'type': 'Ipv6Config'}, + 'ipv6_link_local_address': {'key': 'ipv6LinkLocalAddress', 'type': 'str'}, + 'dns_servers': {'key': 'dnsServers', 'type': '[str]'}, + } + + def __init__( + self, + *, + rdma_status: Optional[Union[str, "NetworkAdapterRDMAStatus"]] = None, + dhcp_status: Optional[Union[str, "NetworkAdapterDHCPStatus"]] = None, + **kwargs + ): + super(NetworkAdapter, self).__init__(**kwargs) + self.adapter_id = None + self.adapter_position = None + self.index = None + self.node_id = None + self.network_adapter_name = None + self.label = None + self.mac_address = None + self.link_speed = None + self.status = None + self.rdma_status = rdma_status + self.dhcp_status = dhcp_status + self.ipv4_configuration = None + self.ipv6_configuration = None + self.ipv6_link_local_address = None + self.dns_servers = None + + +class NetworkAdapterPosition(msrest.serialization.Model): + """The network adapter position. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar network_group: The network group. Possible values include: "None", "NonRDMA", "RDMA". + :vartype network_group: str or ~azure.mgmt.databoxedge.v2020_12_01.models.NetworkGroup + :ivar port: The port. + :vartype port: int + """ + + _validation = { + 'network_group': {'readonly': True}, + 'port': {'readonly': True}, + } + + _attribute_map = { + 'network_group': {'key': 'networkGroup', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkAdapterPosition, self).__init__(**kwargs) + self.network_group = None + self.port = None + + +class NetworkSettings(ARMBaseModel): + """The network settings of a device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar network_adapters: The network adapter list on the device. + :vartype network_adapters: list[~azure.mgmt.databoxedge.v2020_12_01.models.NetworkAdapter] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'network_adapters': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'network_adapters': {'key': 'properties.networkAdapters', 'type': '[NetworkAdapter]'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkSettings, self).__init__(**kwargs) + self.network_adapters = None + + +class Node(ARMBaseModel): + """Represents a single node in a Data box Edge/Gateway device +Gateway devices, standalone Edge devices and a single node cluster Edge device will all have 1 node +Multi-node Edge devices will have more than 1 nodes. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar node_status: The current status of the individual node. Possible values include: + "Unknown", "Up", "Down", "Rebooting", "ShuttingDown". + :vartype node_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.NodeStatus + :ivar node_chassis_serial_number: Serial number of the Chassis. + :vartype node_chassis_serial_number: str + :ivar node_serial_number: Serial number of the individual node. + :vartype node_serial_number: str + :ivar node_display_name: Display Name of the individual node. + :vartype node_display_name: str + :ivar node_friendly_software_version: Friendly software version name that is currently + installed on the node. + :vartype node_friendly_software_version: str + :ivar node_hcs_version: HCS version that is currently installed on the node. + :vartype node_hcs_version: str + :ivar node_instance_id: Guid instance id of the node. + :vartype node_instance_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'node_status': {'readonly': True}, + 'node_chassis_serial_number': {'readonly': True}, + 'node_serial_number': {'readonly': True}, + 'node_display_name': {'readonly': True}, + 'node_friendly_software_version': {'readonly': True}, + 'node_hcs_version': {'readonly': True}, + 'node_instance_id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'node_status': {'key': 'properties.nodeStatus', 'type': 'str'}, + 'node_chassis_serial_number': {'key': 'properties.nodeChassisSerialNumber', 'type': 'str'}, + 'node_serial_number': {'key': 'properties.nodeSerialNumber', 'type': 'str'}, + 'node_display_name': {'key': 'properties.nodeDisplayName', 'type': 'str'}, + 'node_friendly_software_version': {'key': 'properties.nodeFriendlySoftwareVersion', 'type': 'str'}, + 'node_hcs_version': {'key': 'properties.nodeHcsVersion', 'type': 'str'}, + 'node_instance_id': {'key': 'properties.nodeInstanceId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Node, self).__init__(**kwargs) + self.node_status = None + self.node_chassis_serial_number = None + self.node_serial_number = None + self.node_display_name = None + self.node_friendly_software_version = None + self.node_hcs_version = None + self.node_instance_id = None + + +class NodeInfo(msrest.serialization.Model): + """Kubernetes node info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Node name. + :vartype name: str + :ivar type: Node type - Master/Worker. Possible values include: "Invalid", "Master", "Worker". + :vartype type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.KubernetesNodeType + :param ip_configuration: IP Configuration of the Kubernetes node. + :type ip_configuration: + list[~azure.mgmt.databoxedge.v2020_12_01.models.KubernetesIPConfiguration] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'ip_configuration': {'key': 'ipConfiguration', 'type': '[KubernetesIPConfiguration]'}, + } + + def __init__( + self, + *, + ip_configuration: Optional[List["KubernetesIPConfiguration"]] = None, + **kwargs + ): + super(NodeInfo, self).__init__(**kwargs) + self.name = None + self.type = None + self.ip_configuration = ip_configuration + + +class NodeList(msrest.serialization.Model): + """Collection of Nodes. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of Nodes. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.Node] + :param next_link: Link to the next set of results. + :type next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Node]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + next_link: Optional[str] = None, + **kwargs + ): + super(NodeList, self).__init__(**kwargs) + self.value = None + self.next_link = next_link + + +class Operation(msrest.serialization.Model): + """Operations. + + :param name: Name of the operation. + :type name: str + :param is_data_action: Is data action. + :type is_data_action: bool + :param display: Properties displayed for the operation. + :type display: ~azure.mgmt.databoxedge.v2020_12_01.models.OperationDisplay + :param origin: Origin of the operation. + :type origin: str + :param service_specification: Service specification. + :type service_specification: ~azure.mgmt.databoxedge.v2020_12_01.models.ServiceSpecification + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, + 'display': {'key': 'display', 'type': 'OperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'service_specification': {'key': 'properties.serviceSpecification', 'type': 'ServiceSpecification'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + is_data_action: Optional[bool] = None, + display: Optional["OperationDisplay"] = None, + origin: Optional[str] = None, + service_specification: Optional["ServiceSpecification"] = None, + **kwargs + ): + super(Operation, self).__init__(**kwargs) + self.name = name + self.is_data_action = is_data_action + self.display = display + self.origin = origin + self.service_specification = service_specification + + +class OperationDisplay(msrest.serialization.Model): + """Operation display properties. + + :param provider: Provider name. + :type provider: str + :param resource: The type of resource in which the operation is performed. + :type resource: str + :param operation: Operation to be performed on the resource. + :type operation: str + :param description: Description of the operation to be performed. + :type description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + *, + provider: Optional[str] = None, + resource: Optional[str] = None, + operation: Optional[str] = None, + description: Optional[str] = None, + **kwargs + ): + super(OperationDisplay, self).__init__(**kwargs) + self.provider = provider + self.resource = resource + self.operation = operation + self.description = description + + +class OperationsList(msrest.serialization.Model): + """The list of operations used for the discovery of available provider operations. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. The value. + :type value: list[~azure.mgmt.databoxedge.v2020_12_01.models.Operation] + :param next_link: Link to the next set of results. + :type next_link: str + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Operation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: List["Operation"], + next_link: Optional[str] = None, + **kwargs + ): + super(OperationsList, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class Order(ARMBaseModel): + """The order details. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param contact_information: The contact details. + :type contact_information: ~azure.mgmt.databoxedge.v2020_12_01.models.ContactDetails + :param shipping_address: The shipping address. + :type shipping_address: ~azure.mgmt.databoxedge.v2020_12_01.models.Address + :ivar current_status: Current status of the order. + :vartype current_status: ~azure.mgmt.databoxedge.v2020_12_01.models.OrderStatus + :ivar order_history: List of status changes in the order. + :vartype order_history: list[~azure.mgmt.databoxedge.v2020_12_01.models.OrderStatus] + :ivar serial_number: Serial number of the device. + :vartype serial_number: str + :ivar delivery_tracking_info: Tracking information for the package delivered to the customer + whether it has an original or a replacement device. + :vartype delivery_tracking_info: list[~azure.mgmt.databoxedge.v2020_12_01.models.TrackingInfo] + :ivar return_tracking_info: Tracking information for the package returned from the customer + whether it has an original or a replacement device. + :vartype return_tracking_info: list[~azure.mgmt.databoxedge.v2020_12_01.models.TrackingInfo] + :param shipment_type: ShipmentType of the order. Possible values include: "NotApplicable", + "ShippedToCustomer", "SelfPickup". + :type shipment_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.ShipmentType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'current_status': {'readonly': True}, + 'order_history': {'readonly': True}, + 'serial_number': {'readonly': True}, + 'delivery_tracking_info': {'readonly': True}, + 'return_tracking_info': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'contact_information': {'key': 'properties.contactInformation', 'type': 'ContactDetails'}, + 'shipping_address': {'key': 'properties.shippingAddress', 'type': 'Address'}, + 'current_status': {'key': 'properties.currentStatus', 'type': 'OrderStatus'}, + 'order_history': {'key': 'properties.orderHistory', 'type': '[OrderStatus]'}, + 'serial_number': {'key': 'properties.serialNumber', 'type': 'str'}, + 'delivery_tracking_info': {'key': 'properties.deliveryTrackingInfo', 'type': '[TrackingInfo]'}, + 'return_tracking_info': {'key': 'properties.returnTrackingInfo', 'type': '[TrackingInfo]'}, + 'shipment_type': {'key': 'properties.shipmentType', 'type': 'str'}, + } + + def __init__( + self, + *, + contact_information: Optional["ContactDetails"] = None, + shipping_address: Optional["Address"] = None, + shipment_type: Optional[Union[str, "ShipmentType"]] = None, + **kwargs + ): + super(Order, self).__init__(**kwargs) + self.contact_information = contact_information + self.shipping_address = shipping_address + self.current_status = None + self.order_history = None + self.serial_number = None + self.delivery_tracking_info = None + self.return_tracking_info = None + self.shipment_type = shipment_type + + +class OrderList(msrest.serialization.Model): + """List of order entities. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of orders. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.Order] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Order]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OrderList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class OrderStatus(msrest.serialization.Model): + """Represents a single status change. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param status: Required. Status of the order as per the allowed status types. Possible values + include: "Untracked", "AwaitingFulfilment", "AwaitingPreparation", "AwaitingShipment", + "Shipped", "Arriving", "Delivered", "ReplacementRequested", "LostDevice", "Declined", + "ReturnInitiated", "AwaitingReturnShipment", "ShippedBack", "CollectedAtMicrosoft", + "AwaitingPickup", "PickupCompleted", "AwaitingDrop". + :type status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.OrderState + :ivar update_date_time: Time of status update. + :vartype update_date_time: ~datetime.datetime + :param comments: Comments related to this status change. + :type comments: str + :ivar tracking_information: Tracking information related to the state in the ordering flow. + :vartype tracking_information: ~azure.mgmt.databoxedge.v2020_12_01.models.TrackingInfo + :ivar additional_order_details: Dictionary to hold generic information which is not stored + by the already existing properties. + :vartype additional_order_details: dict[str, str] + """ + + _validation = { + 'status': {'required': True}, + 'update_date_time': {'readonly': True}, + 'tracking_information': {'readonly': True}, + 'additional_order_details': {'readonly': True}, + } + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + 'update_date_time': {'key': 'updateDateTime', 'type': 'iso-8601'}, + 'comments': {'key': 'comments', 'type': 'str'}, + 'tracking_information': {'key': 'trackingInformation', 'type': 'TrackingInfo'}, + 'additional_order_details': {'key': 'additionalOrderDetails', 'type': '{str}'}, + } + + def __init__( + self, + *, + status: Union[str, "OrderState"], + comments: Optional[str] = None, + **kwargs + ): + super(OrderStatus, self).__init__(**kwargs) + self.status = status + self.update_date_time = None + self.comments = comments + self.tracking_information = None + self.additional_order_details = None + + +class PeriodicTimerEventTrigger(Trigger): + """Trigger details. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Trigger in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: + "FileEvent", "PeriodicTimerEvent". + :type kind: str or ~azure.mgmt.databoxedge.v2020_12_01.models.TriggerEventType + :param source_info: Required. Periodic timer details. + :type source_info: ~azure.mgmt.databoxedge.v2020_12_01.models.PeriodicTimerSourceInfo + :param sink_info: Required. Role Sink information. + :type sink_info: ~azure.mgmt.databoxedge.v2020_12_01.models.RoleSinkInfo + :param custom_context_tag: A custom context tag typically used to correlate the trigger against + its usage. For example, if a periodic timer trigger is intended for certain specific IoT + modules in the device, the tag can be the name or the image URL of the module. + :type custom_context_tag: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'kind': {'required': True}, + 'source_info': {'required': True}, + 'sink_info': {'required': True}, + 'custom_context_tag': {'max_length': 192, 'min_length': 0}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'source_info': {'key': 'properties.sourceInfo', 'type': 'PeriodicTimerSourceInfo'}, + 'sink_info': {'key': 'properties.sinkInfo', 'type': 'RoleSinkInfo'}, + 'custom_context_tag': {'key': 'properties.customContextTag', 'type': 'str'}, + } + + def __init__( + self, + *, + source_info: "PeriodicTimerSourceInfo", + sink_info: "RoleSinkInfo", + custom_context_tag: Optional[str] = None, + **kwargs + ): + super(PeriodicTimerEventTrigger, self).__init__(**kwargs) + self.kind = 'PeriodicTimerEvent' # type: str + self.source_info = source_info + self.sink_info = sink_info + self.custom_context_tag = custom_context_tag + + +class PeriodicTimerSourceInfo(msrest.serialization.Model): + """Periodic timer event source. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. The time of the day that results in a valid trigger. Schedule is + computed with reference to the time specified upto seconds. If timezone is not specified the + time will considered to be in device timezone. The value will always be returned as UTC time. + :type start_time: ~datetime.datetime + :param schedule: Required. Periodic frequency at which timer event needs to be raised. Supports + daily, hourly, minutes, and seconds. + :type schedule: str + :param topic: Topic where periodic events are published to IoT device. + :type topic: str + """ + + _validation = { + 'start_time': {'required': True}, + 'schedule': {'required': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'schedule': {'key': 'schedule', 'type': 'str'}, + 'topic': {'key': 'topic', 'type': 'str'}, + } + + def __init__( + self, + *, + start_time: datetime.datetime, + schedule: str, + topic: Optional[str] = None, + **kwargs + ): + super(PeriodicTimerSourceInfo, self).__init__(**kwargs) + self.start_time = start_time + self.schedule = schedule + self.topic = topic + + +class RefreshDetails(msrest.serialization.Model): + """Fields for tracking refresh job on the share or container. + + :param in_progress_refresh_job_id: If a refresh job is currently in progress on this share or + container, this field indicates the ARM resource ID of that job. The field is empty if no job + is in progress. + :type in_progress_refresh_job_id: str + :param last_completed_refresh_job_time_in_utc: Indicates the completed time for the last + refresh job on this particular share or container, if any.This could be a failed job or a + successful job. + :type last_completed_refresh_job_time_in_utc: ~datetime.datetime + :param error_manifest_file: Indicates the relative path of the error xml for the last refresh + job on this particular share or container, if any. This could be a failed job or a successful + job. + :type error_manifest_file: str + :param last_job: Indicates the id of the last refresh job on this particular share or + container,if any. This could be a failed job or a successful job. + :type last_job: str + """ + + _attribute_map = { + 'in_progress_refresh_job_id': {'key': 'inProgressRefreshJobId', 'type': 'str'}, + 'last_completed_refresh_job_time_in_utc': {'key': 'lastCompletedRefreshJobTimeInUTC', 'type': 'iso-8601'}, + 'error_manifest_file': {'key': 'errorManifestFile', 'type': 'str'}, + 'last_job': {'key': 'lastJob', 'type': 'str'}, + } + + def __init__( + self, + *, + in_progress_refresh_job_id: Optional[str] = None, + last_completed_refresh_job_time_in_utc: Optional[datetime.datetime] = None, + error_manifest_file: Optional[str] = None, + last_job: Optional[str] = None, + **kwargs + ): + super(RefreshDetails, self).__init__(**kwargs) + self.in_progress_refresh_job_id = in_progress_refresh_job_id + self.last_completed_refresh_job_time_in_utc = last_completed_refresh_job_time_in_utc + self.error_manifest_file = error_manifest_file + self.last_job = last_job + + +class ResourceIdentity(msrest.serialization.Model): + """Msi identity details of the resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param type: Identity type. Possible values include: "None", "SystemAssigned", "UserAssigned". + :type type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.MsiIdentityType + :ivar principal_id: Service Principal Id backing the Msi. + :vartype principal_id: str + :ivar tenant_id: Home Tenant Id. + :vartype tenant_id: str + """ + + _validation = { + 'principal_id': {'readonly': True}, + 'tenant_id': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'principal_id': {'key': 'principalId', 'type': 'str'}, + 'tenant_id': {'key': 'tenantId', 'type': 'str'}, + } + + def __init__( + self, + *, + type: Optional[Union[str, "MsiIdentityType"]] = None, + **kwargs + ): + super(ResourceIdentity, self).__init__(**kwargs) + self.type = type + self.principal_id = None + self.tenant_id = None + + +class ResourceMoveDetails(msrest.serialization.Model): + """Fields for tracking resource move. + + :param operation_in_progress: Denotes whether move operation is in progress. Possible values + include: "None", "ResourceMoveInProgress", "ResourceMoveFailed". + :type operation_in_progress: str or + ~azure.mgmt.databoxedge.v2020_12_01.models.ResourceMoveStatus + :param operation_in_progress_lock_timeout_in_utc: Denotes the timeout of the operation to + finish. + :type operation_in_progress_lock_timeout_in_utc: ~datetime.datetime + """ + + _attribute_map = { + 'operation_in_progress': {'key': 'operationInProgress', 'type': 'str'}, + 'operation_in_progress_lock_timeout_in_utc': {'key': 'operationInProgressLockTimeoutInUTC', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + operation_in_progress: Optional[Union[str, "ResourceMoveStatus"]] = None, + operation_in_progress_lock_timeout_in_utc: Optional[datetime.datetime] = None, + **kwargs + ): + super(ResourceMoveDetails, self).__init__(**kwargs) + self.operation_in_progress = operation_in_progress + self.operation_in_progress_lock_timeout_in_utc = operation_in_progress_lock_timeout_in_utc + + +class ResourceTypeSku(msrest.serialization.Model): + """Resource type Sku object. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar resource_type: The resource type. + :vartype resource_type: str + :ivar skus: The skus. + :vartype skus: list[~azure.mgmt.databoxedge.v2020_12_01.models.SkuInformation] + """ + + _validation = { + 'resource_type': {'readonly': True}, + 'skus': {'readonly': True}, + } + + _attribute_map = { + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'skus': {'key': 'skus', 'type': '[SkuInformation]'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceTypeSku, self).__init__(**kwargs) + self.resource_type = None + self.skus = None + + +class RoleList(msrest.serialization.Model): + """Collection of all the roles on the Data Box Edge device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The Value. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.Role] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Role]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RoleList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class RoleSinkInfo(msrest.serialization.Model): + """Compute role against which events will be raised. + + All required parameters must be populated in order to send to Azure. + + :param role_id: Required. Compute role ID. + :type role_id: str + """ + + _validation = { + 'role_id': {'required': True}, + } + + _attribute_map = { + 'role_id': {'key': 'roleId', 'type': 'str'}, + } + + def __init__( + self, + *, + role_id: str, + **kwargs + ): + super(RoleSinkInfo, self).__init__(**kwargs) + self.role_id = role_id + + +class Secret(msrest.serialization.Model): + """Holds device secret either as a KeyVault reference or as an encrypted value. + + :param encrypted_secret: Encrypted (using device public key) secret value. + :type encrypted_secret: ~azure.mgmt.databoxedge.v2020_12_01.models.AsymmetricEncryptedSecret + :param key_vault_id: Id of the Key-Vault where secret is stored (ex: + secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740). + :type key_vault_id: str + """ + + _attribute_map = { + 'encrypted_secret': {'key': 'encryptedSecret', 'type': 'AsymmetricEncryptedSecret'}, + 'key_vault_id': {'key': 'keyVaultId', 'type': 'str'}, + } + + def __init__( + self, + *, + encrypted_secret: Optional["AsymmetricEncryptedSecret"] = None, + key_vault_id: Optional[str] = None, + **kwargs + ): + super(Secret, self).__init__(**kwargs) + self.encrypted_secret = encrypted_secret + self.key_vault_id = key_vault_id + + +class SecuritySettings(ARMBaseModel): + """The security settings of a device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param device_admin_password: Required. Device administrator password as an encrypted string + (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual + password should have at least 8 characters that are a combination of uppercase, lowercase, + numeric, and special characters. + :type device_admin_password: + ~azure.mgmt.databoxedge.v2020_12_01.models.AsymmetricEncryptedSecret + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'device_admin_password': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'device_admin_password': {'key': 'properties.deviceAdminPassword', 'type': 'AsymmetricEncryptedSecret'}, + } + + def __init__( + self, + *, + device_admin_password: "AsymmetricEncryptedSecret", + **kwargs + ): + super(SecuritySettings, self).__init__(**kwargs) + self.device_admin_password = device_admin_password + + +class ServiceSpecification(msrest.serialization.Model): + """Service specification. + + :param metric_specifications: Metric specification as defined by shoebox. + :type metric_specifications: + list[~azure.mgmt.databoxedge.v2020_12_01.models.MetricSpecificationV1] + """ + + _attribute_map = { + 'metric_specifications': {'key': 'metricSpecifications', 'type': '[MetricSpecificationV1]'}, + } + + def __init__( + self, + *, + metric_specifications: Optional[List["MetricSpecificationV1"]] = None, + **kwargs + ): + super(ServiceSpecification, self).__init__(**kwargs) + self.metric_specifications = metric_specifications + + +class Share(ARMBaseModel): + """Represents a share on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Share on ASE device. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param description: Description for the share. + :type description: str + :param share_status: Required. Current status of the share. Possible values include: "Offline", + "Unknown", "OK", "Updating", "NeedsAttention". + :type share_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.ShareStatus + :param monitoring_status: Required. Current monitoring status of the share. Possible values + include: "Enabled", "Disabled". + :type monitoring_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.MonitoringStatus + :param azure_container_info: Azure container mapping for the share. + :type azure_container_info: ~azure.mgmt.databoxedge.v2020_12_01.models.AzureContainerInfo + :param access_protocol: Required. Access protocol to be used by the share. Possible values + include: "SMB", "NFS". + :type access_protocol: str or ~azure.mgmt.databoxedge.v2020_12_01.models.ShareAccessProtocol + :param user_access_rights: Mapping of users and corresponding access rights on the share + (required for SMB protocol). + :type user_access_rights: list[~azure.mgmt.databoxedge.v2020_12_01.models.UserAccessRight] + :param client_access_rights: List of IP addresses and corresponding access rights on the + share(required for NFS protocol). + :type client_access_rights: list[~azure.mgmt.databoxedge.v2020_12_01.models.ClientAccessRight] + :param refresh_details: Details of the refresh job on this share. + :type refresh_details: ~azure.mgmt.databoxedge.v2020_12_01.models.RefreshDetails + :ivar share_mappings: Share mount point to the role. + :vartype share_mappings: list[~azure.mgmt.databoxedge.v2020_12_01.models.MountPointMap] + :param data_policy: Data policy of the share. Possible values include: "Cloud", "Local". + :type data_policy: str or ~azure.mgmt.databoxedge.v2020_12_01.models.DataPolicy + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'share_status': {'required': True}, + 'monitoring_status': {'required': True}, + 'access_protocol': {'required': True}, + 'share_mappings': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'share_status': {'key': 'properties.shareStatus', 'type': 'str'}, + 'monitoring_status': {'key': 'properties.monitoringStatus', 'type': 'str'}, + 'azure_container_info': {'key': 'properties.azureContainerInfo', 'type': 'AzureContainerInfo'}, + 'access_protocol': {'key': 'properties.accessProtocol', 'type': 'str'}, + 'user_access_rights': {'key': 'properties.userAccessRights', 'type': '[UserAccessRight]'}, + 'client_access_rights': {'key': 'properties.clientAccessRights', 'type': '[ClientAccessRight]'}, + 'refresh_details': {'key': 'properties.refreshDetails', 'type': 'RefreshDetails'}, + 'share_mappings': {'key': 'properties.shareMappings', 'type': '[MountPointMap]'}, + 'data_policy': {'key': 'properties.dataPolicy', 'type': 'str'}, + } + + def __init__( + self, + *, + share_status: Union[str, "ShareStatus"], + monitoring_status: Union[str, "MonitoringStatus"], + access_protocol: Union[str, "ShareAccessProtocol"], + description: Optional[str] = None, + azure_container_info: Optional["AzureContainerInfo"] = None, + user_access_rights: Optional[List["UserAccessRight"]] = None, + client_access_rights: Optional[List["ClientAccessRight"]] = None, + refresh_details: Optional["RefreshDetails"] = None, + data_policy: Optional[Union[str, "DataPolicy"]] = None, + **kwargs + ): + super(Share, self).__init__(**kwargs) + self.system_data = None + self.description = description + self.share_status = share_status + self.monitoring_status = monitoring_status + self.azure_container_info = azure_container_info + self.access_protocol = access_protocol + self.user_access_rights = user_access_rights + self.client_access_rights = client_access_rights + self.refresh_details = refresh_details + self.share_mappings = None + self.data_policy = data_policy + + +class ShareAccessRight(msrest.serialization.Model): + """Specifies the mapping between this particular user and the type of access he has on shares on this device. + + All required parameters must be populated in order to send to Azure. + + :param share_id: Required. The share ID. + :type share_id: str + :param access_type: Required. Type of access to be allowed on the share for this user. Possible + values include: "Change", "Read", "Custom". + :type access_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.ShareAccessType + """ + + _validation = { + 'share_id': {'required': True}, + 'access_type': {'required': True}, + } + + _attribute_map = { + 'share_id': {'key': 'shareId', 'type': 'str'}, + 'access_type': {'key': 'accessType', 'type': 'str'}, + } + + def __init__( + self, + *, + share_id: str, + access_type: Union[str, "ShareAccessType"], + **kwargs + ): + super(ShareAccessRight, self).__init__(**kwargs) + self.share_id = share_id + self.access_type = access_type + + +class ShareList(msrest.serialization.Model): + """Collection of all the shares on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of shares. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.Share] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Share]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ShareList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class Sku(msrest.serialization.Model): + """The SKU type. + + :param name: SKU name. Possible values include: "Gateway", "Edge", "TEA_1Node", + "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", + "TEA_4Node_UPS_Heater", "TMA", "TDC", "TCA_Small", "GPU", "TCA_Large", "EdgeP_Base", + "EdgeP_High", "EdgePR_Base", "EdgePR_Base_UPS", "EdgeMR_Mini", "RCA_Small", "RCA_Large", "RDC". + :type name: str or ~azure.mgmt.databoxedge.v2020_12_01.models.SkuName + :param tier: The SKU tier. This is based on the SKU name. Possible values include: "Standard". + :type tier: str or ~azure.mgmt.databoxedge.v2020_12_01.models.SkuTier + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[Union[str, "SkuName"]] = None, + tier: Optional[Union[str, "SkuTier"]] = None, + **kwargs + ): + super(Sku, self).__init__(**kwargs) + self.name = name + self.tier = tier + + +class SkuCapability(msrest.serialization.Model): + """The metadata to describe the capability. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: An invariant to describe the feature. + :vartype name: str + :ivar value: An invariant if the feature is measured by quantity. + :vartype value: str + """ + + _validation = { + 'name': {'readonly': True}, + 'value': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuCapability, self).__init__(**kwargs) + self.name = None + self.value = None + + +class SkuCost(msrest.serialization.Model): + """The metadata for retrieving price info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar meter_id: Used for querying price from commerce. + :vartype meter_id: str + :ivar quantity: The cost quantity. + :vartype quantity: long + :ivar extended_unit: The extended unit. + :vartype extended_unit: str + """ + + _validation = { + 'meter_id': {'readonly': True}, + 'quantity': {'readonly': True}, + 'extended_unit': {'readonly': True}, + } + + _attribute_map = { + 'meter_id': {'key': 'meterId', 'type': 'str'}, + 'quantity': {'key': 'quantity', 'type': 'long'}, + 'extended_unit': {'key': 'extendedUnit', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuCost, self).__init__(**kwargs) + self.meter_id = None + self.quantity = None + self.extended_unit = None + + +class SkuInformation(msrest.serialization.Model): + """Sku information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: The sku name. + :vartype name: str + :ivar tier: The sku tier. + :vartype tier: str + :ivar kind: The sku kind. + :vartype kind: str + :ivar family: The Sku family. + :vartype family: str + :ivar costs: The pricing info of the Sku. + :vartype costs: list[~azure.mgmt.databoxedge.v2020_12_01.models.SkuCost] + :ivar locations: The locations where Sku is available. + :vartype locations: list[str] + :ivar location_info: The locations where Sku is available with zones and sites info. + :vartype location_info: list[~azure.mgmt.databoxedge.v2020_12_01.models.SkuLocationInfo] + :ivar required_quota_ids: The required quotaIds for the sku to be available. + :vartype required_quota_ids: list[str] + :ivar required_features: The required features for the sku to be available. + :vartype required_features: list[str] + """ + + _validation = { + 'name': {'readonly': True}, + 'tier': {'readonly': True}, + 'kind': {'readonly': True}, + 'family': {'readonly': True}, + 'costs': {'readonly': True}, + 'locations': {'readonly': True}, + 'location_info': {'readonly': True}, + 'required_quota_ids': {'readonly': True}, + 'required_features': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'costs': {'key': 'costs', 'type': '[SkuCost]'}, + 'locations': {'key': 'locations', 'type': '[str]'}, + 'location_info': {'key': 'locationInfo', 'type': '[SkuLocationInfo]'}, + 'required_quota_ids': {'key': 'requiredQuotaIds', 'type': '[str]'}, + 'required_features': {'key': 'requiredFeatures', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuInformation, self).__init__(**kwargs) + self.name = None + self.tier = None + self.kind = None + self.family = None + self.costs = None + self.locations = None + self.location_info = None + self.required_quota_ids = None + self.required_features = None + + +class SkuInformationList(msrest.serialization.Model): + """List of SKU Information objects. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of ResourceTypeSku objects. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.ResourceTypeSku] + :ivar next_link: Links to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ResourceTypeSku]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuInformationList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SkuLocationInfo(msrest.serialization.Model): + """The location info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar location: The location. + :vartype location: str + :ivar zones: The zones. + :vartype zones: list[str] + :ivar sites: The sites. + :vartype sites: list[str] + """ + + _validation = { + 'location': {'readonly': True}, + 'zones': {'readonly': True}, + 'sites': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + 'sites': {'key': 'sites', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuLocationInfo, self).__init__(**kwargs) + self.location = None + self.zones = None + self.sites = None + + +class StorageAccount(ARMBaseModel): + """Represents a Storage Account on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: StorageAccount object on ASE device. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param description: Description for the storage Account. + :type description: str + :param storage_account_status: Current status of the storage account. Possible values include: + "OK", "Offline", "Unknown", "Updating", "NeedsAttention". + :type storage_account_status: str or + ~azure.mgmt.databoxedge.v2020_12_01.models.StorageAccountStatus + :param data_policy: Required. Data policy of the storage Account. Possible values include: + "Cloud", "Local". + :type data_policy: str or ~azure.mgmt.databoxedge.v2020_12_01.models.DataPolicy + :param storage_account_credential_id: Storage Account Credential Id. + :type storage_account_credential_id: str + :ivar blob_endpoint: BlobEndpoint of Storage Account. + :vartype blob_endpoint: str + :ivar container_count: The Container Count. Present only for Storage Accounts with DataPolicy + set to Cloud. + :vartype container_count: int + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'data_policy': {'required': True}, + 'blob_endpoint': {'readonly': True}, + 'container_count': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'storage_account_status': {'key': 'properties.storageAccountStatus', 'type': 'str'}, + 'data_policy': {'key': 'properties.dataPolicy', 'type': 'str'}, + 'storage_account_credential_id': {'key': 'properties.storageAccountCredentialId', 'type': 'str'}, + 'blob_endpoint': {'key': 'properties.blobEndpoint', 'type': 'str'}, + 'container_count': {'key': 'properties.containerCount', 'type': 'int'}, + } + + def __init__( + self, + *, + data_policy: Union[str, "DataPolicy"], + description: Optional[str] = None, + storage_account_status: Optional[Union[str, "StorageAccountStatus"]] = None, + storage_account_credential_id: Optional[str] = None, + **kwargs + ): + super(StorageAccount, self).__init__(**kwargs) + self.system_data = None + self.description = description + self.storage_account_status = storage_account_status + self.data_policy = data_policy + self.storage_account_credential_id = storage_account_credential_id + self.blob_endpoint = None + self.container_count = None + + +class StorageAccountCredential(ARMBaseModel): + """The storage account credential. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: StorageAccountCredential object. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param alias: Required. Alias for the storage account. + :type alias: str + :param user_name: Username for the storage account. + :type user_name: str + :param account_key: Encrypted storage key. + :type account_key: ~azure.mgmt.databoxedge.v2020_12_01.models.AsymmetricEncryptedSecret + :param connection_string: Connection string for the storage account. Use this string if + username and account key are not specified. + :type connection_string: str + :param ssl_status: Required. Signifies whether SSL needs to be enabled or not. Possible values + include: "Enabled", "Disabled". + :type ssl_status: str or ~azure.mgmt.databoxedge.v2020_12_01.models.SSLStatus + :param blob_domain_name: Blob end point for private clouds. + :type blob_domain_name: str + :param account_type: Required. Type of storage accessed on the storage account. Possible values + include: "GeneralPurposeStorage", "BlobStorage". + :type account_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.AccountType + :param storage_account_id: Id of the storage account. + :type storage_account_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'alias': {'required': True}, + 'ssl_status': {'required': True}, + 'account_type': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'alias': {'key': 'properties.alias', 'type': 'str'}, + 'user_name': {'key': 'properties.userName', 'type': 'str'}, + 'account_key': {'key': 'properties.accountKey', 'type': 'AsymmetricEncryptedSecret'}, + 'connection_string': {'key': 'properties.connectionString', 'type': 'str'}, + 'ssl_status': {'key': 'properties.sslStatus', 'type': 'str'}, + 'blob_domain_name': {'key': 'properties.blobDomainName', 'type': 'str'}, + 'account_type': {'key': 'properties.accountType', 'type': 'str'}, + 'storage_account_id': {'key': 'properties.storageAccountId', 'type': 'str'}, + } + + def __init__( + self, + *, + alias: str, + ssl_status: Union[str, "SSLStatus"], + account_type: Union[str, "AccountType"], + user_name: Optional[str] = None, + account_key: Optional["AsymmetricEncryptedSecret"] = None, + connection_string: Optional[str] = None, + blob_domain_name: Optional[str] = None, + storage_account_id: Optional[str] = None, + **kwargs + ): + super(StorageAccountCredential, self).__init__(**kwargs) + self.system_data = None + self.alias = alias + self.user_name = user_name + self.account_key = account_key + self.connection_string = connection_string + self.ssl_status = ssl_status + self.blob_domain_name = blob_domain_name + self.account_type = account_type + self.storage_account_id = storage_account_id + + +class StorageAccountCredentialList(msrest.serialization.Model): + """The collection of storage account credentials. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The value. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.StorageAccountCredential] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[StorageAccountCredential]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StorageAccountCredentialList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class StorageAccountList(msrest.serialization.Model): + """Collection of all the Storage Accounts on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of storageAccounts. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.StorageAccount] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[StorageAccount]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StorageAccountList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SubscriptionRegisteredFeatures(msrest.serialization.Model): + """SubscriptionRegisteredFeatures. + + :param name: + :type name: str + :param state: + :type state: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + state: Optional[str] = None, + **kwargs + ): + super(SubscriptionRegisteredFeatures, self).__init__(**kwargs) + self.name = name + self.state = state + + +class SymmetricKey(msrest.serialization.Model): + """Symmetric key for authentication. + + :param connection_string: Connection string based on the symmetric key. + :type connection_string: ~azure.mgmt.databoxedge.v2020_12_01.models.AsymmetricEncryptedSecret + """ + + _attribute_map = { + 'connection_string': {'key': 'connectionString', 'type': 'AsymmetricEncryptedSecret'}, + } + + def __init__( + self, + *, + connection_string: Optional["AsymmetricEncryptedSecret"] = None, + **kwargs + ): + super(SymmetricKey, self).__init__(**kwargs) + self.connection_string = connection_string + + +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :param created_by: The identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :type created_by_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.CreatedByType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: ~datetime.datetime + :param last_modified_by: The identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :type last_modified_by_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.CreatedByType + :param last_modified_at: The type of identity that last modified the resource. + :type last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + created_by: Optional[str] = None, + created_by_type: Optional[Union[str, "CreatedByType"]] = None, + created_at: Optional[datetime.datetime] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[Union[str, "CreatedByType"]] = None, + last_modified_at: Optional[datetime.datetime] = None, + **kwargs + ): + super(SystemData, self).__init__(**kwargs) + self.created_by = created_by + self.created_by_type = created_by_type + self.created_at = created_at + self.last_modified_by = last_modified_by + self.last_modified_by_type = last_modified_by_type + self.last_modified_at = last_modified_at + + +class TrackingInfo(msrest.serialization.Model): + """Tracking courier information. + + :param serial_number: Serial number of the device being tracked. + :type serial_number: str + :param carrier_name: Name of the carrier used in the delivery. + :type carrier_name: str + :param tracking_id: Tracking ID of the shipment. + :type tracking_id: str + :param tracking_url: Tracking URL of the shipment. + :type tracking_url: str + """ + + _attribute_map = { + 'serial_number': {'key': 'serialNumber', 'type': 'str'}, + 'carrier_name': {'key': 'carrierName', 'type': 'str'}, + 'tracking_id': {'key': 'trackingId', 'type': 'str'}, + 'tracking_url': {'key': 'trackingUrl', 'type': 'str'}, + } + + def __init__( + self, + *, + serial_number: Optional[str] = None, + carrier_name: Optional[str] = None, + tracking_id: Optional[str] = None, + tracking_url: Optional[str] = None, + **kwargs + ): + super(TrackingInfo, self).__init__(**kwargs) + self.serial_number = serial_number + self.carrier_name = carrier_name + self.tracking_id = tracking_id + self.tracking_url = tracking_url + + +class TriggerList(msrest.serialization.Model): + """Collection of all trigger on the data box edge device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of triggers. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.Trigger] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Trigger]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TriggerList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class UpdateDownloadProgress(msrest.serialization.Model): + """Details about the download progress of update. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar download_phase: The download phase. Possible values include: "Unknown", "Initializing", + "Downloading", "Verifying". + :vartype download_phase: str or ~azure.mgmt.databoxedge.v2020_12_01.models.DownloadPhase + :ivar percent_complete: Percentage of completion. + :vartype percent_complete: int + :ivar total_bytes_to_download: Total bytes to download. + :vartype total_bytes_to_download: float + :ivar total_bytes_downloaded: Total bytes downloaded. + :vartype total_bytes_downloaded: float + :ivar number_of_updates_to_download: Number of updates to download. + :vartype number_of_updates_to_download: int + :ivar number_of_updates_downloaded: Number of updates downloaded. + :vartype number_of_updates_downloaded: int + """ + + _validation = { + 'download_phase': {'readonly': True}, + 'percent_complete': {'readonly': True}, + 'total_bytes_to_download': {'readonly': True}, + 'total_bytes_downloaded': {'readonly': True}, + 'number_of_updates_to_download': {'readonly': True}, + 'number_of_updates_downloaded': {'readonly': True}, + } + + _attribute_map = { + 'download_phase': {'key': 'downloadPhase', 'type': 'str'}, + 'percent_complete': {'key': 'percentComplete', 'type': 'int'}, + 'total_bytes_to_download': {'key': 'totalBytesToDownload', 'type': 'float'}, + 'total_bytes_downloaded': {'key': 'totalBytesDownloaded', 'type': 'float'}, + 'number_of_updates_to_download': {'key': 'numberOfUpdatesToDownload', 'type': 'int'}, + 'number_of_updates_downloaded': {'key': 'numberOfUpdatesDownloaded', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(UpdateDownloadProgress, self).__init__(**kwargs) + self.download_phase = None + self.percent_complete = None + self.total_bytes_to_download = None + self.total_bytes_downloaded = None + self.number_of_updates_to_download = None + self.number_of_updates_downloaded = None + + +class UpdateInstallProgress(msrest.serialization.Model): + """Progress details during installation of updates. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar percent_complete: Percentage completed. + :vartype percent_complete: int + :ivar number_of_updates_to_install: Number of updates to install. + :vartype number_of_updates_to_install: int + :ivar number_of_updates_installed: Number of updates installed. + :vartype number_of_updates_installed: int + """ + + _validation = { + 'percent_complete': {'readonly': True}, + 'number_of_updates_to_install': {'readonly': True}, + 'number_of_updates_installed': {'readonly': True}, + } + + _attribute_map = { + 'percent_complete': {'key': 'percentComplete', 'type': 'int'}, + 'number_of_updates_to_install': {'key': 'numberOfUpdatesToInstall', 'type': 'int'}, + 'number_of_updates_installed': {'key': 'numberOfUpdatesInstalled', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(UpdateInstallProgress, self).__init__(**kwargs) + self.percent_complete = None + self.number_of_updates_to_install = None + self.number_of_updates_installed = None + + +class UpdateSummary(ARMBaseModel): + """Details about ongoing updates and availability of updates on the device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param device_version_number: The current version of the device in format: 1.2.17312.13.",. + :type device_version_number: str + :param friendly_device_version_name: The current version of the device in text format. + :type friendly_device_version_name: str + :param device_last_scanned_date_time: The last time when a scan was done on the device. + :type device_last_scanned_date_time: ~datetime.datetime + :param last_completed_scan_job_date_time: The time when the last scan job was completed + (success/cancelled/failed) on the appliance. + :type last_completed_scan_job_date_time: ~datetime.datetime + :ivar last_completed_download_job_date_time: The time when the last Download job was completed + (success/cancelled/failed) on the appliance. + :vartype last_completed_download_job_date_time: ~datetime.datetime + :ivar last_completed_install_job_date_time: The time when the last Install job was completed + (success/cancelled/failed) on the appliance. + :vartype last_completed_install_job_date_time: ~datetime.datetime + :ivar total_number_of_updates_available: The number of updates available for the current device + version as per the last device scan. + :vartype total_number_of_updates_available: int + :ivar total_number_of_updates_pending_download: The total number of items pending download. + :vartype total_number_of_updates_pending_download: int + :ivar total_number_of_updates_pending_install: The total number of items pending install. + :vartype total_number_of_updates_pending_install: int + :ivar reboot_behavior: Indicates if updates are available and at least one of the updates needs + a reboot. Possible values include: "NeverReboots", "RequiresReboot", "RequestReboot". + :vartype reboot_behavior: str or + ~azure.mgmt.databoxedge.v2020_12_01.models.InstallRebootBehavior + :ivar ongoing_update_operation: The current update operation. Possible values include: "None", + "Scan", "Download", "Install". + :vartype ongoing_update_operation: str or + ~azure.mgmt.databoxedge.v2020_12_01.models.UpdateOperation + :ivar in_progress_download_job_id: The job ID of the download job in progress. + :vartype in_progress_download_job_id: str + :ivar in_progress_install_job_id: The job ID of the install job in progress. + :vartype in_progress_install_job_id: str + :ivar in_progress_download_job_started_date_time: The time when the currently running download + (if any) started. + :vartype in_progress_download_job_started_date_time: ~datetime.datetime + :ivar in_progress_install_job_started_date_time: The time when the currently running install + (if any) started. + :vartype in_progress_install_job_started_date_time: ~datetime.datetime + :ivar update_titles: The list of updates available for install. + :vartype update_titles: list[str] + :ivar total_update_size_in_bytes: The total size of updates available for download in bytes. + :vartype total_update_size_in_bytes: float + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'last_completed_download_job_date_time': {'readonly': True}, + 'last_completed_install_job_date_time': {'readonly': True}, + 'total_number_of_updates_available': {'readonly': True}, + 'total_number_of_updates_pending_download': {'readonly': True}, + 'total_number_of_updates_pending_install': {'readonly': True}, + 'reboot_behavior': {'readonly': True}, + 'ongoing_update_operation': {'readonly': True}, + 'in_progress_download_job_id': {'readonly': True}, + 'in_progress_install_job_id': {'readonly': True}, + 'in_progress_download_job_started_date_time': {'readonly': True}, + 'in_progress_install_job_started_date_time': {'readonly': True}, + 'update_titles': {'readonly': True}, + 'total_update_size_in_bytes': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'device_version_number': {'key': 'properties.deviceVersionNumber', 'type': 'str'}, + 'friendly_device_version_name': {'key': 'properties.friendlyDeviceVersionName', 'type': 'str'}, + 'device_last_scanned_date_time': {'key': 'properties.deviceLastScannedDateTime', 'type': 'iso-8601'}, + 'last_completed_scan_job_date_time': {'key': 'properties.lastCompletedScanJobDateTime', 'type': 'iso-8601'}, + 'last_completed_download_job_date_time': {'key': 'properties.lastCompletedDownloadJobDateTime', 'type': 'iso-8601'}, + 'last_completed_install_job_date_time': {'key': 'properties.lastCompletedInstallJobDateTime', 'type': 'iso-8601'}, + 'total_number_of_updates_available': {'key': 'properties.totalNumberOfUpdatesAvailable', 'type': 'int'}, + 'total_number_of_updates_pending_download': {'key': 'properties.totalNumberOfUpdatesPendingDownload', 'type': 'int'}, + 'total_number_of_updates_pending_install': {'key': 'properties.totalNumberOfUpdatesPendingInstall', 'type': 'int'}, + 'reboot_behavior': {'key': 'properties.rebootBehavior', 'type': 'str'}, + 'ongoing_update_operation': {'key': 'properties.ongoingUpdateOperation', 'type': 'str'}, + 'in_progress_download_job_id': {'key': 'properties.inProgressDownloadJobId', 'type': 'str'}, + 'in_progress_install_job_id': {'key': 'properties.inProgressInstallJobId', 'type': 'str'}, + 'in_progress_download_job_started_date_time': {'key': 'properties.inProgressDownloadJobStartedDateTime', 'type': 'iso-8601'}, + 'in_progress_install_job_started_date_time': {'key': 'properties.inProgressInstallJobStartedDateTime', 'type': 'iso-8601'}, + 'update_titles': {'key': 'properties.updateTitles', 'type': '[str]'}, + 'total_update_size_in_bytes': {'key': 'properties.totalUpdateSizeInBytes', 'type': 'float'}, + } + + def __init__( + self, + *, + device_version_number: Optional[str] = None, + friendly_device_version_name: Optional[str] = None, + device_last_scanned_date_time: Optional[datetime.datetime] = None, + last_completed_scan_job_date_time: Optional[datetime.datetime] = None, + **kwargs + ): + super(UpdateSummary, self).__init__(**kwargs) + self.device_version_number = device_version_number + self.friendly_device_version_name = friendly_device_version_name + self.device_last_scanned_date_time = device_last_scanned_date_time + self.last_completed_scan_job_date_time = last_completed_scan_job_date_time + self.last_completed_download_job_date_time = None + self.last_completed_install_job_date_time = None + self.total_number_of_updates_available = None + self.total_number_of_updates_pending_download = None + self.total_number_of_updates_pending_install = None + self.reboot_behavior = None + self.ongoing_update_operation = None + self.in_progress_download_job_id = None + self.in_progress_install_job_id = None + self.in_progress_download_job_started_date_time = None + self.in_progress_install_job_started_date_time = None + self.update_titles = None + self.total_update_size_in_bytes = None + + +class UploadCertificateRequest(msrest.serialization.Model): + """The upload certificate request. + + All required parameters must be populated in order to send to Azure. + + :param authentication_type: The authentication type. Possible values include: "Invalid", + "AzureActiveDirectory". + :type authentication_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.AuthenticationType + :param certificate: Required. The base64 encoded certificate raw data. + :type certificate: str + """ + + _validation = { + 'certificate': {'required': True}, + } + + _attribute_map = { + 'authentication_type': {'key': 'properties.authenticationType', 'type': 'str'}, + 'certificate': {'key': 'properties.certificate', 'type': 'str'}, + } + + def __init__( + self, + *, + certificate: str, + authentication_type: Optional[Union[str, "AuthenticationType"]] = None, + **kwargs + ): + super(UploadCertificateRequest, self).__init__(**kwargs) + self.authentication_type = authentication_type + self.certificate = certificate + + +class UploadCertificateResponse(msrest.serialization.Model): + """The upload registration certificate response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param auth_type: Specifies authentication type. Possible values include: "Invalid", + "AzureActiveDirectory". + :type auth_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.AuthenticationType + :ivar resource_id: The resource ID of the Data Box Edge/Gateway device. + :vartype resource_id: str + :ivar aad_authority: Azure Active Directory tenant authority. + :vartype aad_authority: str + :ivar aad_tenant_id: Azure Active Directory tenant ID. + :vartype aad_tenant_id: str + :ivar service_principal_client_id: Azure Active Directory service principal client ID. + :vartype service_principal_client_id: str + :ivar service_principal_object_id: Azure Active Directory service principal object ID. + :vartype service_principal_object_id: str + :ivar azure_management_endpoint_audience: The azure management endpoint audience. + :vartype azure_management_endpoint_audience: str + :ivar aad_audience: Identifier of the target resource that is the recipient of the requested + token. + :vartype aad_audience: str + """ + + _validation = { + 'resource_id': {'readonly': True}, + 'aad_authority': {'readonly': True}, + 'aad_tenant_id': {'readonly': True}, + 'service_principal_client_id': {'readonly': True}, + 'service_principal_object_id': {'readonly': True}, + 'azure_management_endpoint_audience': {'readonly': True}, + 'aad_audience': {'readonly': True}, + } + + _attribute_map = { + 'auth_type': {'key': 'authType', 'type': 'str'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'aad_authority': {'key': 'aadAuthority', 'type': 'str'}, + 'aad_tenant_id': {'key': 'aadTenantId', 'type': 'str'}, + 'service_principal_client_id': {'key': 'servicePrincipalClientId', 'type': 'str'}, + 'service_principal_object_id': {'key': 'servicePrincipalObjectId', 'type': 'str'}, + 'azure_management_endpoint_audience': {'key': 'azureManagementEndpointAudience', 'type': 'str'}, + 'aad_audience': {'key': 'aadAudience', 'type': 'str'}, + } + + def __init__( + self, + *, + auth_type: Optional[Union[str, "AuthenticationType"]] = None, + **kwargs + ): + super(UploadCertificateResponse, self).__init__(**kwargs) + self.auth_type = auth_type + self.resource_id = None + self.aad_authority = None + self.aad_tenant_id = None + self.service_principal_client_id = None + self.service_principal_object_id = None + self.azure_management_endpoint_audience = None + self.aad_audience = None + + +class User(ARMBaseModel): + """Represents a user who has access to one or more shares on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: User in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_12_01.models.SystemData + :param encrypted_password: The password details. + :type encrypted_password: ~azure.mgmt.databoxedge.v2020_12_01.models.AsymmetricEncryptedSecret + :ivar share_access_rights: List of shares that the user has rights on. This field should not be + specified during user creation. + :vartype share_access_rights: list[~azure.mgmt.databoxedge.v2020_12_01.models.ShareAccessRight] + :param user_type: Required. Type of the user. Possible values include: "Share", + "LocalManagement", "ARM". + :type user_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.UserType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'share_access_rights': {'readonly': True}, + 'user_type': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'encrypted_password': {'key': 'properties.encryptedPassword', 'type': 'AsymmetricEncryptedSecret'}, + 'share_access_rights': {'key': 'properties.shareAccessRights', 'type': '[ShareAccessRight]'}, + 'user_type': {'key': 'properties.userType', 'type': 'str'}, + } + + def __init__( + self, + *, + user_type: Union[str, "UserType"], + encrypted_password: Optional["AsymmetricEncryptedSecret"] = None, + **kwargs + ): + super(User, self).__init__(**kwargs) + self.system_data = None + self.encrypted_password = encrypted_password + self.share_access_rights = None + self.user_type = user_type + + +class UserAccessRight(msrest.serialization.Model): + """The mapping between a particular user and the access type on the SMB share. + + All required parameters must be populated in order to send to Azure. + + :param user_id: Required. User ID (already existing in the device). + :type user_id: str + :param access_type: Required. Type of access to be allowed for the user. Possible values + include: "Change", "Read", "Custom". + :type access_type: str or ~azure.mgmt.databoxedge.v2020_12_01.models.ShareAccessType + """ + + _validation = { + 'user_id': {'required': True}, + 'access_type': {'required': True}, + } + + _attribute_map = { + 'user_id': {'key': 'userId', 'type': 'str'}, + 'access_type': {'key': 'accessType', 'type': 'str'}, + } + + def __init__( + self, + *, + user_id: str, + access_type: Union[str, "ShareAccessType"], + **kwargs + ): + super(UserAccessRight, self).__init__(**kwargs) + self.user_id = user_id + self.access_type = access_type + + +class UserList(msrest.serialization.Model): + """Collection of users. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of users. + :vartype value: list[~azure.mgmt.databoxedge.v2020_12_01.models.User] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[User]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UserList, self).__init__(**kwargs) + self.value = None + self.next_link = None diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/__init__.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/__init__.py new file mode 100644 index 000000000000..d70057be6458 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/__init__.py @@ -0,0 +1,47 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._operations import Operations +from ._available_skus_operations import AvailableSkusOperations +from ._devices_operations import DevicesOperations +from ._alerts_operations import AlertsOperations +from ._bandwidth_schedules_operations import BandwidthSchedulesOperations +from ._jobs_operations import JobsOperations +from ._nodes_operations import NodesOperations +from ._operations_status_operations import OperationsStatusOperations +from ._orders_operations import OrdersOperations +from ._roles_operations import RolesOperations +from ._addons_operations import AddonsOperations +from ._monitoring_config_operations import MonitoringConfigOperations +from ._shares_operations import SharesOperations +from ._storage_account_credentials_operations import StorageAccountCredentialsOperations +from ._storage_accounts_operations import StorageAccountsOperations +from ._containers_operations import ContainersOperations +from ._triggers_operations import TriggersOperations +from ._users_operations import UsersOperations + +__all__ = [ + 'Operations', + 'AvailableSkusOperations', + 'DevicesOperations', + 'AlertsOperations', + 'BandwidthSchedulesOperations', + 'JobsOperations', + 'NodesOperations', + 'OperationsStatusOperations', + 'OrdersOperations', + 'RolesOperations', + 'AddonsOperations', + 'MonitoringConfigOperations', + 'SharesOperations', + 'StorageAccountCredentialsOperations', + 'StorageAccountsOperations', + 'ContainersOperations', + 'TriggersOperations', + 'UsersOperations', +] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_addons_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_addons_operations.py new file mode 100644 index 000000000000..09c62f5d0066 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_addons_operations.py @@ -0,0 +1,460 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class AddonsOperations(object): + """AddonsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_role( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.AddonList"] + """Lists all the addons configured in the role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AddonList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.AddonList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AddonList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_role.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AddonList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_role.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons'} # type: ignore + + def get( + self, + device_name, # type: str + role_name, # type: str + addon_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Addon" + """Gets a specific addon by name. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param addon_name: The addon name. + :type addon_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Addon, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.Addon + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Addon"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Addon', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + role_name, # type: str + addon_name, # type: str + resource_group_name, # type: str + addon, # type: "_models.Addon" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.Addon"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Addon"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(addon, 'Addon') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Addon', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + role_name, # type: str + addon_name, # type: str + resource_group_name, # type: str + addon, # type: "_models.Addon" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Addon"] + """Create or update a addon. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param addon_name: The addon name. + :type addon_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param addon: The addon properties. + :type addon: ~azure.mgmt.databoxedge.v2020_12_01.models.Addon + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Addon or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_12_01.models.Addon] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Addon"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + role_name=role_name, + addon_name=addon_name, + resource_group_name=resource_group_name, + addon=addon, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Addon', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + role_name, # type: str + addon_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + role_name, # type: str + addon_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the addon on the device. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param addon_name: The addon name. + :type addon_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + role_name=role_name, + addon_name=addon_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_alerts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_alerts_operations.py new file mode 100644 index 000000000000..f77ba9c4b82e --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_alerts_operations.py @@ -0,0 +1,186 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class AlertsOperations(object): + """AlertsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.AlertList"] + """Gets all the alerts for a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AlertList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.AlertList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AlertList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AlertList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Alert" + """Gets an alert by name. + + Gets an alert by name. + + :param device_name: The device name. + :type device_name: str + :param name: The alert name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Alert, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.Alert + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Alert"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Alert', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_available_skus_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_available_skus_operations.py new file mode 100644 index 000000000000..36b72ea14e57 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_available_skus_operations.py @@ -0,0 +1,115 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class AvailableSkusOperations(object): + """AvailableSkusOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.DataBoxEdgeSkuList"] + """List all the available Skus and information related to them. + + List all the available Skus and information related to them. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataBoxEdgeSkuList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeSkuList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeSkuList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeSkuList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataBoxEdge/availableSkus'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_bandwidth_schedules_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_bandwidth_schedules_operations.py new file mode 100644 index 000000000000..3d7a92ff7fdb --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_bandwidth_schedules_operations.py @@ -0,0 +1,438 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class BandwidthSchedulesOperations(object): + """BandwidthSchedulesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.BandwidthSchedulesList"] + """Gets all the bandwidth schedules for a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either BandwidthSchedulesList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.BandwidthSchedulesList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedulesList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('BandwidthSchedulesList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.BandwidthSchedule" + """Gets the properties of the specified bandwidth schedule. + + :param device_name: The device name. + :type device_name: str + :param name: The bandwidth schedule name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: BandwidthSchedule, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.BandwidthSchedule + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('BandwidthSchedule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + parameters, # type: "_models.BandwidthSchedule" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.BandwidthSchedule"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.BandwidthSchedule"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'BandwidthSchedule') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('BandwidthSchedule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + parameters, # type: "_models.BandwidthSchedule" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.BandwidthSchedule"] + """Creates or updates a bandwidth schedule. + + :param device_name: The device name. + :type device_name: str + :param name: The bandwidth schedule name which needs to be added/updated. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The bandwidth schedule to be added or updated. + :type parameters: ~azure.mgmt.databoxedge.v2020_12_01.models.BandwidthSchedule + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either BandwidthSchedule or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_12_01.models.BandwidthSchedule] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedule"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('BandwidthSchedule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified bandwidth schedule. + + :param device_name: The device name. + :type device_name: str + :param name: The bandwidth schedule name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_containers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_containers_operations.py new file mode 100644 index 000000000000..43552ff41f6d --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_containers_operations.py @@ -0,0 +1,592 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ContainersOperations(object): + """ContainersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_storage_account( + self, + device_name, # type: str + storage_account_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ContainerList"] + """Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device. + + Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The storage Account name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ContainerList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.ContainerList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ContainerList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_storage_account.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ContainerList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_storage_account.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers'} # type: ignore + + def get( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Container" + """Gets a container by name. + + Gets a container by name. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container Name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Container, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.Container + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Container"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Container', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + container, # type: "_models.Container" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.Container"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Container"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(container, 'Container') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Container', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + container, # type: "_models.Container" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Container"] + """Creates a new container or updates an existing container on the device. + + Creates a new container or updates an existing container on the device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param container: The container properties. + :type container: ~azure.mgmt.databoxedge.v2020_12_01.models.Container + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Container or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_12_01.models.Container] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Container"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + storage_account_name=storage_account_name, + container_name=container_name, + resource_group_name=resource_group_name, + container=container, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Container', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the container on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + storage_account_name=storage_account_name, + container_name=container_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + def _refresh_initial( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._refresh_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _refresh_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}/refresh'} # type: ignore + + def begin_refresh( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Refreshes the container metadata with the data from the cloud. + + Refreshes the container metadata with the data from the cloud. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._refresh_initial( + device_name=device_name, + storage_account_name=storage_account_name, + container_name=container_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_refresh.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}/refresh'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_devices_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_devices_operations.py new file mode 100644 index 000000000000..ff371ee8fd4a --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_devices_operations.py @@ -0,0 +1,1389 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class DevicesOperations(object): + """DevicesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_subscription( + self, + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.DataBoxEdgeDeviceList"] + """Gets all the Data Box Edge/Data Box Gateway devices in a subscription. + + :param expand: Specify $expand=details to populate additional fields related to the resource or + Specify $skipToken=:code:`` to populate the next page in the list. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDeviceList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeDeviceList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.DataBoxEdgeDeviceList"] + """Gets all the Data Box Edge/Data Box Gateway devices in a resource group. + + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param expand: Specify $expand=details to populate additional fields related to the resource or + Specify $skipToken=:code:`` to populate the next page in the list. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDeviceList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeDeviceList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices'} # type: ignore + + def get( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.DataBoxEdgeDevice" + """Gets the properties of the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDevice, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDevice + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + resource_group_name, # type: str + data_box_edge_device, # type: "_models.DataBoxEdgeDevice" + **kwargs # type: Any + ): + # type: (...) -> "_models.DataBoxEdgeDevice" + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(data_box_edge_device, 'DataBoxEdgeDevice') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + resource_group_name, # type: str + data_box_edge_device, # type: "_models.DataBoxEdgeDevice" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.DataBoxEdgeDevice"] + """Creates or updates a Data Box Edge/Data Box Gateway resource. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param data_box_edge_device: The resource object. + :type data_box_edge_device: ~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDevice + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either DataBoxEdgeDevice or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDevice] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + resource_group_name=resource_group_name, + data_box_edge_device=data_box_edge_device, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + def update( + self, + device_name, # type: str + resource_group_name, # type: str + parameters, # type: "_models.DataBoxEdgeDevicePatch" + **kwargs # type: Any + ): + # type: (...) -> "_models.DataBoxEdgeDevice" + """Modifies a Data Box Edge/Data Box Gateway resource. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The resource parameters. + :type parameters: ~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDevicePatch + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDevice, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDevice + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DataBoxEdgeDevicePatch') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + def _download_updates_initial( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._download_updates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _download_updates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/downloadUpdates'} # type: ignore + + def begin_download_updates( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Downloads the updates on a Data Box Edge/Data Box Gateway device. + + Downloads the updates on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._download_updates_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_download_updates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/downloadUpdates'} # type: ignore + + def generate_certificate( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.GenerateCertResponse" + """Generates certificate for activation key. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: GenerateCertResponse, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.GenerateCertResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.GenerateCertResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.generate_certificate.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('GenerateCertResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + generate_certificate.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/generateCertificate'} # type: ignore + + def get_extended_information( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.DataBoxEdgeDeviceExtendedInfo" + """Gets additional information for the specified Azure Stack Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDeviceExtendedInfo, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDeviceExtendedInfo + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceExtendedInfo"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get_extended_information.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDeviceExtendedInfo', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_extended_information.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/getExtendedInformation'} # type: ignore + + def _install_updates_initial( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._install_updates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _install_updates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/installUpdates'} # type: ignore + + def begin_install_updates( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Installs the updates on the Data Box Edge/Data Box Gateway device. + + Installs the updates on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._install_updates_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_install_updates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/installUpdates'} # type: ignore + + def get_network_settings( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkSettings" + """Gets the network settings of the specified Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkSettings, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.NetworkSettings + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSettings"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get_network_settings.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkSettings', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_network_settings.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/networkSettings/default'} # type: ignore + + def _scan_for_updates_initial( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._scan_for_updates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _scan_for_updates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/scanForUpdates'} # type: ignore + + def begin_scan_for_updates( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Scans for updates on a Data Box Edge/Data Box Gateway device. + + Scans for updates on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._scan_for_updates_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_scan_for_updates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/scanForUpdates'} # type: ignore + + def _create_or_update_security_settings_initial( + self, + device_name, # type: str + resource_group_name, # type: str + security_settings, # type: "_models.SecuritySettings" + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_security_settings_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(security_settings, 'SecuritySettings') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _create_or_update_security_settings_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/securitySettings/default/update'} # type: ignore + + def begin_create_or_update_security_settings( + self, + device_name, # type: str + resource_group_name, # type: str + security_settings, # type: "_models.SecuritySettings" + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Updates the security settings on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param security_settings: The security settings. + :type security_settings: ~azure.mgmt.databoxedge.v2020_12_01.models.SecuritySettings + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_security_settings_initial( + device_name=device_name, + resource_group_name=resource_group_name, + security_settings=security_settings, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update_security_settings.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/securitySettings/default/update'} # type: ignore + + def update_extended_information( + self, + device_name, # type: str + resource_group_name, # type: str + parameters, # type: "_models.DataBoxEdgeDeviceExtendedInfoPatch" + **kwargs # type: Any + ): + # type: (...) -> "_models.DataBoxEdgeDeviceExtendedInfo" + """Gets additional information for the specified Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The patch object. + :type parameters: ~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDeviceExtendedInfoPatch + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDeviceExtendedInfo, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.DataBoxEdgeDeviceExtendedInfo + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceExtendedInfo"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_extended_information.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DataBoxEdgeDeviceExtendedInfoPatch') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDeviceExtendedInfo', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_extended_information.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/updateExtendedInformation'} # type: ignore + + def get_update_summary( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.UpdateSummary" + """Gets information about the availability of updates based on the last scan of the device. It also gets information about any ongoing download or install jobs on the device. + + Gets information about the availability of updates based on the last scan of the device. It + also gets information about any ongoing download or install jobs on the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: UpdateSummary, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.UpdateSummary + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UpdateSummary"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get_update_summary.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('UpdateSummary', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_update_summary.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/updateSummary/default'} # type: ignore + + def upload_certificate( + self, + device_name, # type: str + resource_group_name, # type: str + parameters, # type: "_models.UploadCertificateRequest" + **kwargs # type: Any + ): + # type: (...) -> "_models.UploadCertificateResponse" + """Uploads registration certificate for the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The upload certificate request. + :type parameters: ~azure.mgmt.databoxedge.v2020_12_01.models.UploadCertificateRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :return: UploadCertificateResponse, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.UploadCertificateResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UploadCertificateResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.upload_certificate.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'UploadCertificateRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('UploadCertificateResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + upload_certificate.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/uploadCertificate'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_jobs_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_jobs_operations.py new file mode 100644 index 000000000000..0f247c2dadde --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_jobs_operations.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class JobsOperations(object): + """JobsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Job" + """Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The job name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Job, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.Job + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Job', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/jobs/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_monitoring_config_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_monitoring_config_operations.py new file mode 100644 index 000000000000..b7a1149d557f --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_monitoring_config_operations.py @@ -0,0 +1,450 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class MonitoringConfigOperations(object): + """MonitoringConfigOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.MonitoringMetricConfigurationList"] + """Lists metric configurations in a role. + + Lists metric configurations in a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either MonitoringMetricConfigurationList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.MonitoringMetricConfigurationList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.MonitoringMetricConfigurationList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('MonitoringMetricConfigurationList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig'} # type: ignore + + def get( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.MonitoringMetricConfiguration" + """Gets a metric configuration of a role. + + Gets a metric configuration of a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: MonitoringMetricConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.MonitoringMetricConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.MonitoringMetricConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('MonitoringMetricConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + monitoring_metric_configuration, # type: "_models.MonitoringMetricConfiguration" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.MonitoringMetricConfiguration"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.MonitoringMetricConfiguration"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(monitoring_metric_configuration, 'MonitoringMetricConfiguration') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('MonitoringMetricConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + monitoring_metric_configuration, # type: "_models.MonitoringMetricConfiguration" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.MonitoringMetricConfiguration"] + """Creates a new metric configuration or updates an existing one for a role. + + Creates a new metric configuration or updates an existing one for a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param monitoring_metric_configuration: The metric configuration. + :type monitoring_metric_configuration: ~azure.mgmt.databoxedge.v2020_12_01.models.MonitoringMetricConfiguration + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either MonitoringMetricConfiguration or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_12_01.models.MonitoringMetricConfiguration] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.MonitoringMetricConfiguration"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + role_name=role_name, + resource_group_name=resource_group_name, + monitoring_metric_configuration=monitoring_metric_configuration, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('MonitoringMetricConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """deletes a new metric configuration for a role. + + deletes a new metric configuration for a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + role_name=role_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_nodes_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_nodes_operations.py new file mode 100644 index 000000000000..78229359702b --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_nodes_operations.py @@ -0,0 +1,121 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class NodesOperations(object): + """NodesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NodeList"] + """Gets all the nodes currently configured under this Data Box Edge device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NodeList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.NodeList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NodeList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NodeList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/nodes'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_operations.py new file mode 100644 index 000000000000..90ce016c463a --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_operations.py @@ -0,0 +1,111 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class Operations(object): + """Operations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.OperationsList"] + """List all the supported operations. + + List all the supported operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationsList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.OperationsList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationsList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('OperationsList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/providers/Microsoft.DataBoxEdge/operations'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_operations_status_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_operations_status_operations.py new file mode 100644 index 000000000000..f1f15e5aa3c9 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_operations_status_operations.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class OperationsStatusOperations(object): + """OperationsStatusOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Job" + """Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The job name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Job, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.Job + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Job', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/operationsStatus/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_orders_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_orders_operations.py new file mode 100644 index 000000000000..6895a9da9339 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_orders_operations.py @@ -0,0 +1,489 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class OrdersOperations(object): + """OrdersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.OrderList"] + """Lists all the orders related to a Data Box Edge/Data Box Gateway device. + + Lists all the orders related to a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OrderList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.OrderList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OrderList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('OrderList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders'} # type: ignore + + def get( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Order" + """Gets a specific order by name. + + Gets a specific order by name. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Order, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.Order + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Order"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Order', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + resource_group_name, # type: str + order, # type: "_models.Order" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.Order"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Order"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(order, 'Order') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Order', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + resource_group_name, # type: str + order, # type: "_models.Order" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Order"] + """Creates or updates an order. + + Creates or updates an order. + + :param device_name: The order details of a device. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param order: The order to be created or updated. + :type order: ~azure.mgmt.databoxedge.v2020_12_01.models.Order + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Order or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_12_01.models.Order] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Order"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + resource_group_name=resource_group_name, + order=order, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Order', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the order related to the device. + + Deletes the order related to the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + def list_dc_access_code( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.DCAccessCode" + """Gets the DCAccess Code. + + Gets the DCAccess Code. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DCAccessCode, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.DCAccessCode + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DCAccessCode"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.list_dc_access_code.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DCAccessCode', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_dc_access_code.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default/listDCAccessCode'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_roles_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_roles_operations.py new file mode 100644 index 000000000000..3d7eaba27c8a --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_roles_operations.py @@ -0,0 +1,438 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class RolesOperations(object): + """RolesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.RoleList"] + """Lists all the roles configured in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either RoleList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.RoleList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RoleList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('RoleList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Role" + """Gets a specific role by name. + + :param device_name: The device name. + :type device_name: str + :param name: The role name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Role, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.Role + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Role"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Role', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + role, # type: "_models.Role" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.Role"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Role"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(role, 'Role') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Role', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + role, # type: "_models.Role" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Role"] + """Create or update a role. + + :param device_name: The device name. + :type device_name: str + :param name: The role name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param role: The role properties. + :type role: ~azure.mgmt.databoxedge.v2020_12_01.models.Role + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Role or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_12_01.models.Role] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Role"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + role=role, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Role', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the role on the device. + + :param device_name: The device name. + :type device_name: str + :param name: The role name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_shares_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_shares_operations.py new file mode 100644 index 000000000000..d0bb45caa897 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_shares_operations.py @@ -0,0 +1,563 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class SharesOperations(object): + """SharesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ShareList"] + """Lists all the shares in a Data Box Edge/Data Box Gateway device. + + Lists all the shares in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ShareList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.ShareList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ShareList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ShareList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Share" + """Gets a share by name. + + Gets a share by name. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Share, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.Share + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Share"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Share', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + share, # type: "_models.Share" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.Share"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Share"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(share, 'Share') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Share', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + share, # type: "_models.Share" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Share"] + """Creates a new share or updates an existing share on the device. + + Creates a new share or updates an existing share on the device. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param share: The share properties. + :type share: ~azure.mgmt.databoxedge.v2020_12_01.models.Share + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Share or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_12_01.models.Share] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Share"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + share=share, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Share', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the share on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + def _refresh_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._refresh_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _refresh_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}/refresh'} # type: ignore + + def begin_refresh( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Refreshes the share metadata with the data from the cloud. + + Refreshes the share metadata with the data from the cloud. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._refresh_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_refresh.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}/refresh'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_storage_account_credentials_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_storage_account_credentials_operations.py new file mode 100644 index 000000000000..77dd4662c491 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_storage_account_credentials_operations.py @@ -0,0 +1,440 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class StorageAccountCredentialsOperations(object): + """StorageAccountCredentialsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.StorageAccountCredentialList"] + """Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device. + + Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StorageAccountCredentialList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.StorageAccountCredentialList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredentialList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('StorageAccountCredentialList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.StorageAccountCredential" + """Gets the properties of the specified storage account credential. + + :param device_name: The device name. + :type device_name: str + :param name: The storage account credential name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: StorageAccountCredential, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.StorageAccountCredential + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredential"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('StorageAccountCredential', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + storage_account_credential, # type: "_models.StorageAccountCredential" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.StorageAccountCredential"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.StorageAccountCredential"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(storage_account_credential, 'StorageAccountCredential') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('StorageAccountCredential', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + storage_account_credential, # type: "_models.StorageAccountCredential" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.StorageAccountCredential"] + """Creates or updates the storage account credential. + + :param device_name: The device name. + :type device_name: str + :param name: The storage account credential name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param storage_account_credential: The storage account credential. + :type storage_account_credential: ~azure.mgmt.databoxedge.v2020_12_01.models.StorageAccountCredential + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either StorageAccountCredential or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_12_01.models.StorageAccountCredential] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredential"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + storage_account_credential=storage_account_credential, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('StorageAccountCredential', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the storage account credential. + + :param device_name: The device name. + :type device_name: str + :param name: The storage account credential name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_storage_accounts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_storage_accounts_operations.py new file mode 100644 index 000000000000..e62921192cf6 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_storage_accounts_operations.py @@ -0,0 +1,444 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class StorageAccountsOperations(object): + """StorageAccountsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.StorageAccountList"] + """Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device. + + Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StorageAccountList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.StorageAccountList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('StorageAccountList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts'} # type: ignore + + def get( + self, + device_name, # type: str + storage_account_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.StorageAccount" + """Gets a StorageAccount by name. + + Gets a StorageAccount by name. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The storage account name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: StorageAccount, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.StorageAccount + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('StorageAccount', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + storage_account_name, # type: str + resource_group_name, # type: str + storage_account, # type: "_models.StorageAccount" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.StorageAccount"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.StorageAccount"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(storage_account, 'StorageAccount') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('StorageAccount', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + storage_account_name, # type: str + resource_group_name, # type: str + storage_account, # type: "_models.StorageAccount" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.StorageAccount"] + """Creates a new StorageAccount or updates an existing StorageAccount on the device. + + Creates a new StorageAccount or updates an existing StorageAccount on the device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The StorageAccount name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param storage_account: The StorageAccount properties. + :type storage_account: ~azure.mgmt.databoxedge.v2020_12_01.models.StorageAccount + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either StorageAccount or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_12_01.models.StorageAccount] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + storage_account_name=storage_account_name, + resource_group_name=resource_group_name, + storage_account=storage_account, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('StorageAccount', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + storage_account_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + storage_account_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the StorageAccount on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The StorageAccount name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + storage_account_name=storage_account_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_triggers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_triggers_operations.py new file mode 100644 index 000000000000..121a94ea9905 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_triggers_operations.py @@ -0,0 +1,444 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class TriggersOperations(object): + """TriggersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + filter=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.TriggerList"] + """Lists all the triggers configured in the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param filter: Specify $filter='CustomContextTag eq :code:``' to filter on custom context + tag property. + :type filter: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TriggerList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.TriggerList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TriggerList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if filter is not None: + query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('TriggerList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Trigger" + """Get a specific trigger by name. + + :param device_name: The device name. + :type device_name: str + :param name: The trigger name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Trigger, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.Trigger + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Trigger"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Trigger', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + trigger, # type: "_models.Trigger" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.Trigger"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Trigger"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(trigger, 'Trigger') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Trigger', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + trigger, # type: "_models.Trigger" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Trigger"] + """Creates or updates a trigger. + + :param device_name: Creates or updates a trigger. + :type device_name: str + :param name: The trigger name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param trigger: The trigger. + :type trigger: ~azure.mgmt.databoxedge.v2020_12_01.models.Trigger + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Trigger or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_12_01.models.Trigger] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Trigger"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + trigger=trigger, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Trigger', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the trigger on the gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The trigger name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_users_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_users_operations.py new file mode 100644 index 000000000000..774e1ad9db56 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/operations/_users_operations.py @@ -0,0 +1,444 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class UsersOperations(object): + """UsersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_12_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + filter=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.UserList"] + """Gets all the users registered on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param filter: Specify $filter='Type eq :code:``' to filter on user type property. + :type filter: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either UserList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_12_01.models.UserList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UserList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if filter is not None: + query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('UserList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.User" + """Gets the properties of the specified user. + + :param device_name: The device name. + :type device_name: str + :param name: The user name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: User, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_12_01.models.User + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.User"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('User', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + user, # type: "_models.User" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.User"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.User"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(user, 'User') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('User', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + user, # type: "_models.User" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.User"] + """Creates a new user or updates an existing user's information on a Data Box Edge/Data Box + Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The user name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param user: The user details. + :type user: ~azure.mgmt.databoxedge.v2020_12_01.models.User + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either User or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_12_01.models.User] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.User"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + user=user, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('User', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the user on a databox edge/gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The user name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/py.typed b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/py.typed new file mode 100644 index 000000000000..e5aff4f83af8 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/datab/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561. \ No newline at end of file diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/_configuration.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/_configuration.py index 739a6465e6e6..58d4b497e3aa 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/_configuration.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/_configuration.py @@ -8,7 +8,7 @@ # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- -from typing import Any +from typing import TYPE_CHECKING from azure.core.configuration import Configuration from azure.core.pipeline import policies @@ -16,6 +16,11 @@ from ._version import VERSION +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + from azure.core.credentials import TokenCredential class DataBoxEdgeManagementClientConfiguration(Configuration): """Configuration for DataBoxEdgeManagementClient. diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/_data_box_edge_management_client.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/_data_box_edge_management_client.py index 62b25226810b..cc262d6f2e12 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/_data_box_edge_management_client.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/_data_box_edge_management_client.py @@ -9,13 +9,22 @@ # regenerated. # -------------------------------------------------------------------------- -from azure.mgmt.core import ARMPipelineClient -from msrest import Serializer, Deserializer +from typing import TYPE_CHECKING +from azure.mgmt.core import ARMPipelineClient from azure.profiles import KnownProfiles, ProfileDefinition from azure.profiles.multiapiclient import MultiApiClientMixin +from msrest import Deserializer, Serializer + from ._configuration import DataBoxEdgeManagementClientConfiguration +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Optional + + from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse + class _SDKClient(object): def __init__(self, *args, **kwargs): """This is a fake class to support current implemetation of MultiApiClientMixin." @@ -38,19 +47,21 @@ class DataBoxEdgeManagementClient(MultiApiClientMixin, _SDKClient): :type credential: ~azure.core.credentials.TokenCredential :param subscription_id: The subscription ID. :type subscription_id: str - :param str api_version: API version to use if no profile is provided, or if - missing in profile. - :param str base_url: Service URL + :param api_version: API version to use if no profile is provided, or if missing in profile. + :type api_version: str + :param base_url: Service URL + :type base_url: str :param profile: A profile definition, from KnownProfiles to dict. :type profile: azure.profiles.KnownProfiles :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. """ - DEFAULT_API_VERSION = '2019-08-01' + DEFAULT_API_VERSION = '2020-09-01' _PROFILE_TAG = "azure.mgmt.databoxedge.DataBoxEdgeManagementClient" LATEST_PROFILE = ProfileDefinition({ _PROFILE_TAG: { None: DEFAULT_API_VERSION, + 'skus': '2019-08-01', }}, _PROFILE_TAG + " latest" ) @@ -59,9 +70,9 @@ def __init__( self, credential, # type: "TokenCredential" subscription_id, # type: str - api_version=None, - base_url=None, - profile=KnownProfiles.default, + api_version=None, # type: Optional[str] + base_url=None, # type: Optional[str] + profile=KnownProfiles.default, # type: KnownProfiles **kwargs # type: Any ): if not base_url: @@ -85,6 +96,9 @@ def models(cls, api_version=DEFAULT_API_VERSION): * 2019-07-01: :mod:`v2019_07_01.models` * 2019-08-01: :mod:`v2019_08_01.models` * 2020-05-01-preview: :mod:`v2020_05_01_preview.models` + * 2020-09-01: :mod:`v2020_09_01.models` + * 2020-09-01-preview: :mod:`v2020_09_01_preview.models` + * 2021-02-01-preview: :mod:`v2021_02_01_preview.models` """ if api_version == '2019-03-01': from .v2019_03_01 import models @@ -98,8 +112,36 @@ def models(cls, api_version=DEFAULT_API_VERSION): elif api_version == '2020-05-01-preview': from .v2020_05_01_preview import models return models + elif api_version == '2020-09-01': + from .v2020_09_01 import models + return models + elif api_version == '2020-09-01-preview': + from .v2020_09_01_preview import models + return models + elif api_version == '2021-02-01-preview': + from .v2021_02_01_preview import models + return models raise ValueError("API version {} is not available".format(api_version)) + @property + def addons(self): + """Instance depends on the API version: + + * 2020-09-01: :class:`AddonsOperations` + * 2020-09-01-preview: :class:`AddonsOperations` + * 2021-02-01-preview: :class:`AddonsOperations` + """ + api_version = self._get_api_version('addons') + if api_version == '2020-09-01': + from .v2020_09_01.operations import AddonsOperations as OperationClass + elif api_version == '2020-09-01-preview': + from .v2020_09_01_preview.operations import AddonsOperations as OperationClass + elif api_version == '2021-02-01-preview': + from .v2021_02_01_preview.operations import AddonsOperations as OperationClass + else: + raise ValueError("API version {} does not have operation group 'addons'".format(api_version)) + return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + @property def alerts(self): """Instance depends on the API version: @@ -108,6 +150,9 @@ def alerts(self): * 2019-07-01: :class:`AlertsOperations` * 2019-08-01: :class:`AlertsOperations` * 2020-05-01-preview: :class:`AlertsOperations` + * 2020-09-01: :class:`AlertsOperations` + * 2020-09-01-preview: :class:`AlertsOperations` + * 2021-02-01-preview: :class:`AlertsOperations` """ api_version = self._get_api_version('alerts') if api_version == '2019-03-01': @@ -118,6 +163,12 @@ def alerts(self): from .v2019_08_01.operations import AlertsOperations as OperationClass elif api_version == '2020-05-01-preview': from .v2020_05_01_preview.operations import AlertsOperations as OperationClass + elif api_version == '2020-09-01': + from .v2020_09_01.operations import AlertsOperations as OperationClass + elif api_version == '2020-09-01-preview': + from .v2020_09_01_preview.operations import AlertsOperations as OperationClass + elif api_version == '2021-02-01-preview': + from .v2021_02_01_preview.operations import AlertsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'alerts'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -127,10 +178,19 @@ def available_skus(self): """Instance depends on the API version: * 2020-05-01-preview: :class:`AvailableSkusOperations` + * 2020-09-01: :class:`AvailableSkusOperations` + * 2020-09-01-preview: :class:`AvailableSkusOperations` + * 2021-02-01-preview: :class:`AvailableSkusOperations` """ api_version = self._get_api_version('available_skus') if api_version == '2020-05-01-preview': from .v2020_05_01_preview.operations import AvailableSkusOperations as OperationClass + elif api_version == '2020-09-01': + from .v2020_09_01.operations import AvailableSkusOperations as OperationClass + elif api_version == '2020-09-01-preview': + from .v2020_09_01_preview.operations import AvailableSkusOperations as OperationClass + elif api_version == '2021-02-01-preview': + from .v2021_02_01_preview.operations import AvailableSkusOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'available_skus'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -143,6 +203,9 @@ def bandwidth_schedules(self): * 2019-07-01: :class:`BandwidthSchedulesOperations` * 2019-08-01: :class:`BandwidthSchedulesOperations` * 2020-05-01-preview: :class:`BandwidthSchedulesOperations` + * 2020-09-01: :class:`BandwidthSchedulesOperations` + * 2020-09-01-preview: :class:`BandwidthSchedulesOperations` + * 2021-02-01-preview: :class:`BandwidthSchedulesOperations` """ api_version = self._get_api_version('bandwidth_schedules') if api_version == '2019-03-01': @@ -153,6 +216,12 @@ def bandwidth_schedules(self): from .v2019_08_01.operations import BandwidthSchedulesOperations as OperationClass elif api_version == '2020-05-01-preview': from .v2020_05_01_preview.operations import BandwidthSchedulesOperations as OperationClass + elif api_version == '2020-09-01': + from .v2020_09_01.operations import BandwidthSchedulesOperations as OperationClass + elif api_version == '2020-09-01-preview': + from .v2020_09_01_preview.operations import BandwidthSchedulesOperations as OperationClass + elif api_version == '2021-02-01-preview': + from .v2021_02_01_preview.operations import BandwidthSchedulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'bandwidth_schedules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -163,12 +232,21 @@ def containers(self): * 2019-08-01: :class:`ContainersOperations` * 2020-05-01-preview: :class:`ContainersOperations` + * 2020-09-01: :class:`ContainersOperations` + * 2020-09-01-preview: :class:`ContainersOperations` + * 2021-02-01-preview: :class:`ContainersOperations` """ api_version = self._get_api_version('containers') if api_version == '2019-08-01': from .v2019_08_01.operations import ContainersOperations as OperationClass elif api_version == '2020-05-01-preview': from .v2020_05_01_preview.operations import ContainersOperations as OperationClass + elif api_version == '2020-09-01': + from .v2020_09_01.operations import ContainersOperations as OperationClass + elif api_version == '2020-09-01-preview': + from .v2020_09_01_preview.operations import ContainersOperations as OperationClass + elif api_version == '2021-02-01-preview': + from .v2021_02_01_preview.operations import ContainersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'containers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -181,6 +259,9 @@ def devices(self): * 2019-07-01: :class:`DevicesOperations` * 2019-08-01: :class:`DevicesOperations` * 2020-05-01-preview: :class:`DevicesOperations` + * 2020-09-01: :class:`DevicesOperations` + * 2020-09-01-preview: :class:`DevicesOperations` + * 2021-02-01-preview: :class:`DevicesOperations` """ api_version = self._get_api_version('devices') if api_version == '2019-03-01': @@ -191,6 +272,12 @@ def devices(self): from .v2019_08_01.operations import DevicesOperations as OperationClass elif api_version == '2020-05-01-preview': from .v2020_05_01_preview.operations import DevicesOperations as OperationClass + elif api_version == '2020-09-01': + from .v2020_09_01.operations import DevicesOperations as OperationClass + elif api_version == '2020-09-01-preview': + from .v2020_09_01_preview.operations import DevicesOperations as OperationClass + elif api_version == '2021-02-01-preview': + from .v2021_02_01_preview.operations import DevicesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'devices'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -203,6 +290,9 @@ def jobs(self): * 2019-07-01: :class:`JobsOperations` * 2019-08-01: :class:`JobsOperations` * 2020-05-01-preview: :class:`JobsOperations` + * 2020-09-01: :class:`JobsOperations` + * 2020-09-01-preview: :class:`JobsOperations` + * 2021-02-01-preview: :class:`JobsOperations` """ api_version = self._get_api_version('jobs') if api_version == '2019-03-01': @@ -213,10 +303,35 @@ def jobs(self): from .v2019_08_01.operations import JobsOperations as OperationClass elif api_version == '2020-05-01-preview': from .v2020_05_01_preview.operations import JobsOperations as OperationClass + elif api_version == '2020-09-01': + from .v2020_09_01.operations import JobsOperations as OperationClass + elif api_version == '2020-09-01-preview': + from .v2020_09_01_preview.operations import JobsOperations as OperationClass + elif api_version == '2021-02-01-preview': + from .v2021_02_01_preview.operations import JobsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'jobs'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + @property + def monitoring_config(self): + """Instance depends on the API version: + + * 2020-09-01: :class:`MonitoringConfigOperations` + * 2020-09-01-preview: :class:`MonitoringConfigOperations` + * 2021-02-01-preview: :class:`MonitoringConfigOperations` + """ + api_version = self._get_api_version('monitoring_config') + if api_version == '2020-09-01': + from .v2020_09_01.operations import MonitoringConfigOperations as OperationClass + elif api_version == '2020-09-01-preview': + from .v2020_09_01_preview.operations import MonitoringConfigOperations as OperationClass + elif api_version == '2021-02-01-preview': + from .v2021_02_01_preview.operations import MonitoringConfigOperations as OperationClass + else: + raise ValueError("API version {} does not have operation group 'monitoring_config'".format(api_version)) + return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + @property def nodes(self): """Instance depends on the API version: @@ -224,6 +339,9 @@ def nodes(self): * 2019-07-01: :class:`NodesOperations` * 2019-08-01: :class:`NodesOperations` * 2020-05-01-preview: :class:`NodesOperations` + * 2020-09-01: :class:`NodesOperations` + * 2020-09-01-preview: :class:`NodesOperations` + * 2021-02-01-preview: :class:`NodesOperations` """ api_version = self._get_api_version('nodes') if api_version == '2019-07-01': @@ -232,6 +350,12 @@ def nodes(self): from .v2019_08_01.operations import NodesOperations as OperationClass elif api_version == '2020-05-01-preview': from .v2020_05_01_preview.operations import NodesOperations as OperationClass + elif api_version == '2020-09-01': + from .v2020_09_01.operations import NodesOperations as OperationClass + elif api_version == '2020-09-01-preview': + from .v2020_09_01_preview.operations import NodesOperations as OperationClass + elif api_version == '2021-02-01-preview': + from .v2021_02_01_preview.operations import NodesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'nodes'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -244,6 +368,9 @@ def operations(self): * 2019-07-01: :class:`Operations` * 2019-08-01: :class:`Operations` * 2020-05-01-preview: :class:`Operations` + * 2020-09-01: :class:`Operations` + * 2020-09-01-preview: :class:`Operations` + * 2021-02-01-preview: :class:`Operations` """ api_version = self._get_api_version('operations') if api_version == '2019-03-01': @@ -254,6 +381,12 @@ def operations(self): from .v2019_08_01.operations import Operations as OperationClass elif api_version == '2020-05-01-preview': from .v2020_05_01_preview.operations import Operations as OperationClass + elif api_version == '2020-09-01': + from .v2020_09_01.operations import Operations as OperationClass + elif api_version == '2020-09-01-preview': + from .v2020_09_01_preview.operations import Operations as OperationClass + elif api_version == '2021-02-01-preview': + from .v2021_02_01_preview.operations import Operations as OperationClass else: raise ValueError("API version {} does not have operation group 'operations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -266,6 +399,9 @@ def operations_status(self): * 2019-07-01: :class:`OperationsStatusOperations` * 2019-08-01: :class:`OperationsStatusOperations` * 2020-05-01-preview: :class:`OperationsStatusOperations` + * 2020-09-01: :class:`OperationsStatusOperations` + * 2020-09-01-preview: :class:`OperationsStatusOperations` + * 2021-02-01-preview: :class:`OperationsStatusOperations` """ api_version = self._get_api_version('operations_status') if api_version == '2019-03-01': @@ -276,6 +412,12 @@ def operations_status(self): from .v2019_08_01.operations import OperationsStatusOperations as OperationClass elif api_version == '2020-05-01-preview': from .v2020_05_01_preview.operations import OperationsStatusOperations as OperationClass + elif api_version == '2020-09-01': + from .v2020_09_01.operations import OperationsStatusOperations as OperationClass + elif api_version == '2020-09-01-preview': + from .v2020_09_01_preview.operations import OperationsStatusOperations as OperationClass + elif api_version == '2021-02-01-preview': + from .v2021_02_01_preview.operations import OperationsStatusOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'operations_status'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -288,6 +430,9 @@ def orders(self): * 2019-07-01: :class:`OrdersOperations` * 2019-08-01: :class:`OrdersOperations` * 2020-05-01-preview: :class:`OrdersOperations` + * 2020-09-01: :class:`OrdersOperations` + * 2020-09-01-preview: :class:`OrdersOperations` + * 2021-02-01-preview: :class:`OrdersOperations` """ api_version = self._get_api_version('orders') if api_version == '2019-03-01': @@ -298,6 +443,12 @@ def orders(self): from .v2019_08_01.operations import OrdersOperations as OperationClass elif api_version == '2020-05-01-preview': from .v2020_05_01_preview.operations import OrdersOperations as OperationClass + elif api_version == '2020-09-01': + from .v2020_09_01.operations import OrdersOperations as OperationClass + elif api_version == '2020-09-01-preview': + from .v2020_09_01_preview.operations import OrdersOperations as OperationClass + elif api_version == '2021-02-01-preview': + from .v2021_02_01_preview.operations import OrdersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'orders'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -310,6 +461,9 @@ def roles(self): * 2019-07-01: :class:`RolesOperations` * 2019-08-01: :class:`RolesOperations` * 2020-05-01-preview: :class:`RolesOperations` + * 2020-09-01: :class:`RolesOperations` + * 2020-09-01-preview: :class:`RolesOperations` + * 2021-02-01-preview: :class:`RolesOperations` """ api_version = self._get_api_version('roles') if api_version == '2019-03-01': @@ -320,6 +474,12 @@ def roles(self): from .v2019_08_01.operations import RolesOperations as OperationClass elif api_version == '2020-05-01-preview': from .v2020_05_01_preview.operations import RolesOperations as OperationClass + elif api_version == '2020-09-01': + from .v2020_09_01.operations import RolesOperations as OperationClass + elif api_version == '2020-09-01-preview': + from .v2020_09_01_preview.operations import RolesOperations as OperationClass + elif api_version == '2021-02-01-preview': + from .v2021_02_01_preview.operations import RolesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'roles'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -332,6 +492,9 @@ def shares(self): * 2019-07-01: :class:`SharesOperations` * 2019-08-01: :class:`SharesOperations` * 2020-05-01-preview: :class:`SharesOperations` + * 2020-09-01: :class:`SharesOperations` + * 2020-09-01-preview: :class:`SharesOperations` + * 2021-02-01-preview: :class:`SharesOperations` """ api_version = self._get_api_version('shares') if api_version == '2019-03-01': @@ -342,6 +505,12 @@ def shares(self): from .v2019_08_01.operations import SharesOperations as OperationClass elif api_version == '2020-05-01-preview': from .v2020_05_01_preview.operations import SharesOperations as OperationClass + elif api_version == '2020-09-01': + from .v2020_09_01.operations import SharesOperations as OperationClass + elif api_version == '2020-09-01-preview': + from .v2020_09_01_preview.operations import SharesOperations as OperationClass + elif api_version == '2021-02-01-preview': + from .v2021_02_01_preview.operations import SharesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'shares'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -370,6 +539,9 @@ def storage_account_credentials(self): * 2019-07-01: :class:`StorageAccountCredentialsOperations` * 2019-08-01: :class:`StorageAccountCredentialsOperations` * 2020-05-01-preview: :class:`StorageAccountCredentialsOperations` + * 2020-09-01: :class:`StorageAccountCredentialsOperations` + * 2020-09-01-preview: :class:`StorageAccountCredentialsOperations` + * 2021-02-01-preview: :class:`StorageAccountCredentialsOperations` """ api_version = self._get_api_version('storage_account_credentials') if api_version == '2019-03-01': @@ -380,6 +552,12 @@ def storage_account_credentials(self): from .v2019_08_01.operations import StorageAccountCredentialsOperations as OperationClass elif api_version == '2020-05-01-preview': from .v2020_05_01_preview.operations import StorageAccountCredentialsOperations as OperationClass + elif api_version == '2020-09-01': + from .v2020_09_01.operations import StorageAccountCredentialsOperations as OperationClass + elif api_version == '2020-09-01-preview': + from .v2020_09_01_preview.operations import StorageAccountCredentialsOperations as OperationClass + elif api_version == '2021-02-01-preview': + from .v2021_02_01_preview.operations import StorageAccountCredentialsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'storage_account_credentials'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -390,12 +568,21 @@ def storage_accounts(self): * 2019-08-01: :class:`StorageAccountsOperations` * 2020-05-01-preview: :class:`StorageAccountsOperations` + * 2020-09-01: :class:`StorageAccountsOperations` + * 2020-09-01-preview: :class:`StorageAccountsOperations` + * 2021-02-01-preview: :class:`StorageAccountsOperations` """ api_version = self._get_api_version('storage_accounts') if api_version == '2019-08-01': from .v2019_08_01.operations import StorageAccountsOperations as OperationClass elif api_version == '2020-05-01-preview': from .v2020_05_01_preview.operations import StorageAccountsOperations as OperationClass + elif api_version == '2020-09-01': + from .v2020_09_01.operations import StorageAccountsOperations as OperationClass + elif api_version == '2020-09-01-preview': + from .v2020_09_01_preview.operations import StorageAccountsOperations as OperationClass + elif api_version == '2021-02-01-preview': + from .v2021_02_01_preview.operations import StorageAccountsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'storage_accounts'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -408,6 +595,9 @@ def triggers(self): * 2019-07-01: :class:`TriggersOperations` * 2019-08-01: :class:`TriggersOperations` * 2020-05-01-preview: :class:`TriggersOperations` + * 2020-09-01: :class:`TriggersOperations` + * 2020-09-01-preview: :class:`TriggersOperations` + * 2021-02-01-preview: :class:`TriggersOperations` """ api_version = self._get_api_version('triggers') if api_version == '2019-03-01': @@ -418,6 +608,12 @@ def triggers(self): from .v2019_08_01.operations import TriggersOperations as OperationClass elif api_version == '2020-05-01-preview': from .v2020_05_01_preview.operations import TriggersOperations as OperationClass + elif api_version == '2020-09-01': + from .v2020_09_01.operations import TriggersOperations as OperationClass + elif api_version == '2020-09-01-preview': + from .v2020_09_01_preview.operations import TriggersOperations as OperationClass + elif api_version == '2021-02-01-preview': + from .v2021_02_01_preview.operations import TriggersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'triggers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -430,6 +626,9 @@ def users(self): * 2019-07-01: :class:`UsersOperations` * 2019-08-01: :class:`UsersOperations` * 2020-05-01-preview: :class:`UsersOperations` + * 2020-09-01: :class:`UsersOperations` + * 2020-09-01-preview: :class:`UsersOperations` + * 2021-02-01-preview: :class:`UsersOperations` """ api_version = self._get_api_version('users') if api_version == '2019-03-01': @@ -440,6 +639,12 @@ def users(self): from .v2019_08_01.operations import UsersOperations as OperationClass elif api_version == '2020-05-01-preview': from .v2020_05_01_preview.operations import UsersOperations as OperationClass + elif api_version == '2020-09-01': + from .v2020_09_01.operations import UsersOperations as OperationClass + elif api_version == '2020-09-01-preview': + from .v2020_09_01_preview.operations import UsersOperations as OperationClass + elif api_version == '2021-02-01-preview': + from .v2021_02_01_preview.operations import UsersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'users'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/_version.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/_version.py index 515f51c112dd..6fbca6ef56c6 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/_version.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/_version.py @@ -6,5 +6,5 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "1.0.0b1" +VERSION = "1.0.0" diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/aio/_configuration.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/aio/_configuration.py index 3459da57bf3e..38cf64f9ae5c 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/aio/_configuration.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/aio/_configuration.py @@ -8,7 +8,7 @@ # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- -from typing import Any +from typing import Any, TYPE_CHECKING from azure.core.configuration import Configuration from azure.core.pipeline import policies @@ -16,6 +16,9 @@ from .._version import VERSION +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential class DataBoxEdgeManagementClientConfiguration(Configuration): """Configuration for DataBoxEdgeManagementClient. @@ -31,8 +34,8 @@ class DataBoxEdgeManagementClientConfiguration(Configuration): def __init__( self, - credential, # type: "AsyncTokenCredential" - subscription_id, # type: str + credential: "AsyncTokenCredential", + subscription_id: str, **kwargs # type: Any ) -> None: if credential is None: diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/aio/_data_box_edge_management_client.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/aio/_data_box_edge_management_client.py index b13bb58e88bb..b06c547cfb2e 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/aio/_data_box_edge_management_client.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/aio/_data_box_edge_management_client.py @@ -9,13 +9,20 @@ # regenerated. # -------------------------------------------------------------------------- -from azure.mgmt.core import AsyncARMPipelineClient -from msrest import Serializer, Deserializer +from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core import AsyncARMPipelineClient from azure.profiles import KnownProfiles, ProfileDefinition from azure.profiles.multiapiclient import MultiApiClientMixin +from msrest import Deserializer, Serializer + from ._configuration import DataBoxEdgeManagementClientConfiguration +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + class _SDKClient(object): def __init__(self, *args, **kwargs): """This is a fake class to support current implemetation of MultiApiClientMixin." @@ -38,30 +45,32 @@ class DataBoxEdgeManagementClient(MultiApiClientMixin, _SDKClient): :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: The subscription ID. :type subscription_id: str - :param str api_version: API version to use if no profile is provided, or if - missing in profile. - :param str base_url: Service URL + :param api_version: API version to use if no profile is provided, or if missing in profile. + :type api_version: str + :param base_url: Service URL + :type base_url: str :param profile: A profile definition, from KnownProfiles to dict. :type profile: azure.profiles.KnownProfiles :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. """ - DEFAULT_API_VERSION = '2019-08-01' + DEFAULT_API_VERSION = '2020-09-01' _PROFILE_TAG = "azure.mgmt.databoxedge.DataBoxEdgeManagementClient" LATEST_PROFILE = ProfileDefinition({ _PROFILE_TAG: { None: DEFAULT_API_VERSION, + 'skus': '2019-08-01', }}, _PROFILE_TAG + " latest" ) def __init__( self, - credential, # type: "AsyncTokenCredential" - subscription_id, # type: str - api_version=None, - base_url=None, - profile=KnownProfiles.default, + credential: "AsyncTokenCredential", + subscription_id: str, + api_version: Optional[str] = None, + base_url: Optional[str] = None, + profile: KnownProfiles = KnownProfiles.default, **kwargs # type: Any ) -> None: if not base_url: @@ -85,6 +94,9 @@ def models(cls, api_version=DEFAULT_API_VERSION): * 2019-07-01: :mod:`v2019_07_01.models` * 2019-08-01: :mod:`v2019_08_01.models` * 2020-05-01-preview: :mod:`v2020_05_01_preview.models` + * 2020-09-01: :mod:`v2020_09_01.models` + * 2020-09-01-preview: :mod:`v2020_09_01_preview.models` + * 2021-02-01-preview: :mod:`v2021_02_01_preview.models` """ if api_version == '2019-03-01': from ..v2019_03_01 import models @@ -98,8 +110,36 @@ def models(cls, api_version=DEFAULT_API_VERSION): elif api_version == '2020-05-01-preview': from ..v2020_05_01_preview import models return models + elif api_version == '2020-09-01': + from ..v2020_09_01 import models + return models + elif api_version == '2020-09-01-preview': + from ..v2020_09_01_preview import models + return models + elif api_version == '2021-02-01-preview': + from ..v2021_02_01_preview import models + return models raise ValueError("API version {} is not available".format(api_version)) + @property + def addons(self): + """Instance depends on the API version: + + * 2020-09-01: :class:`AddonsOperations` + * 2020-09-01-preview: :class:`AddonsOperations` + * 2021-02-01-preview: :class:`AddonsOperations` + """ + api_version = self._get_api_version('addons') + if api_version == '2020-09-01': + from ..v2020_09_01.aio.operations import AddonsOperations as OperationClass + elif api_version == '2020-09-01-preview': + from ..v2020_09_01_preview.aio.operations import AddonsOperations as OperationClass + elif api_version == '2021-02-01-preview': + from ..v2021_02_01_preview.aio.operations import AddonsOperations as OperationClass + else: + raise ValueError("API version {} does not have operation group 'addons'".format(api_version)) + return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + @property def alerts(self): """Instance depends on the API version: @@ -108,6 +148,9 @@ def alerts(self): * 2019-07-01: :class:`AlertsOperations` * 2019-08-01: :class:`AlertsOperations` * 2020-05-01-preview: :class:`AlertsOperations` + * 2020-09-01: :class:`AlertsOperations` + * 2020-09-01-preview: :class:`AlertsOperations` + * 2021-02-01-preview: :class:`AlertsOperations` """ api_version = self._get_api_version('alerts') if api_version == '2019-03-01': @@ -118,6 +161,12 @@ def alerts(self): from ..v2019_08_01.aio.operations import AlertsOperations as OperationClass elif api_version == '2020-05-01-preview': from ..v2020_05_01_preview.aio.operations import AlertsOperations as OperationClass + elif api_version == '2020-09-01': + from ..v2020_09_01.aio.operations import AlertsOperations as OperationClass + elif api_version == '2020-09-01-preview': + from ..v2020_09_01_preview.aio.operations import AlertsOperations as OperationClass + elif api_version == '2021-02-01-preview': + from ..v2021_02_01_preview.aio.operations import AlertsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'alerts'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -127,10 +176,19 @@ def available_skus(self): """Instance depends on the API version: * 2020-05-01-preview: :class:`AvailableSkusOperations` + * 2020-09-01: :class:`AvailableSkusOperations` + * 2020-09-01-preview: :class:`AvailableSkusOperations` + * 2021-02-01-preview: :class:`AvailableSkusOperations` """ api_version = self._get_api_version('available_skus') if api_version == '2020-05-01-preview': from ..v2020_05_01_preview.aio.operations import AvailableSkusOperations as OperationClass + elif api_version == '2020-09-01': + from ..v2020_09_01.aio.operations import AvailableSkusOperations as OperationClass + elif api_version == '2020-09-01-preview': + from ..v2020_09_01_preview.aio.operations import AvailableSkusOperations as OperationClass + elif api_version == '2021-02-01-preview': + from ..v2021_02_01_preview.aio.operations import AvailableSkusOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'available_skus'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -143,6 +201,9 @@ def bandwidth_schedules(self): * 2019-07-01: :class:`BandwidthSchedulesOperations` * 2019-08-01: :class:`BandwidthSchedulesOperations` * 2020-05-01-preview: :class:`BandwidthSchedulesOperations` + * 2020-09-01: :class:`BandwidthSchedulesOperations` + * 2020-09-01-preview: :class:`BandwidthSchedulesOperations` + * 2021-02-01-preview: :class:`BandwidthSchedulesOperations` """ api_version = self._get_api_version('bandwidth_schedules') if api_version == '2019-03-01': @@ -153,6 +214,12 @@ def bandwidth_schedules(self): from ..v2019_08_01.aio.operations import BandwidthSchedulesOperations as OperationClass elif api_version == '2020-05-01-preview': from ..v2020_05_01_preview.aio.operations import BandwidthSchedulesOperations as OperationClass + elif api_version == '2020-09-01': + from ..v2020_09_01.aio.operations import BandwidthSchedulesOperations as OperationClass + elif api_version == '2020-09-01-preview': + from ..v2020_09_01_preview.aio.operations import BandwidthSchedulesOperations as OperationClass + elif api_version == '2021-02-01-preview': + from ..v2021_02_01_preview.aio.operations import BandwidthSchedulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'bandwidth_schedules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -163,12 +230,21 @@ def containers(self): * 2019-08-01: :class:`ContainersOperations` * 2020-05-01-preview: :class:`ContainersOperations` + * 2020-09-01: :class:`ContainersOperations` + * 2020-09-01-preview: :class:`ContainersOperations` + * 2021-02-01-preview: :class:`ContainersOperations` """ api_version = self._get_api_version('containers') if api_version == '2019-08-01': from ..v2019_08_01.aio.operations import ContainersOperations as OperationClass elif api_version == '2020-05-01-preview': from ..v2020_05_01_preview.aio.operations import ContainersOperations as OperationClass + elif api_version == '2020-09-01': + from ..v2020_09_01.aio.operations import ContainersOperations as OperationClass + elif api_version == '2020-09-01-preview': + from ..v2020_09_01_preview.aio.operations import ContainersOperations as OperationClass + elif api_version == '2021-02-01-preview': + from ..v2021_02_01_preview.aio.operations import ContainersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'containers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -181,6 +257,9 @@ def devices(self): * 2019-07-01: :class:`DevicesOperations` * 2019-08-01: :class:`DevicesOperations` * 2020-05-01-preview: :class:`DevicesOperations` + * 2020-09-01: :class:`DevicesOperations` + * 2020-09-01-preview: :class:`DevicesOperations` + * 2021-02-01-preview: :class:`DevicesOperations` """ api_version = self._get_api_version('devices') if api_version == '2019-03-01': @@ -191,6 +270,12 @@ def devices(self): from ..v2019_08_01.aio.operations import DevicesOperations as OperationClass elif api_version == '2020-05-01-preview': from ..v2020_05_01_preview.aio.operations import DevicesOperations as OperationClass + elif api_version == '2020-09-01': + from ..v2020_09_01.aio.operations import DevicesOperations as OperationClass + elif api_version == '2020-09-01-preview': + from ..v2020_09_01_preview.aio.operations import DevicesOperations as OperationClass + elif api_version == '2021-02-01-preview': + from ..v2021_02_01_preview.aio.operations import DevicesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'devices'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -203,6 +288,9 @@ def jobs(self): * 2019-07-01: :class:`JobsOperations` * 2019-08-01: :class:`JobsOperations` * 2020-05-01-preview: :class:`JobsOperations` + * 2020-09-01: :class:`JobsOperations` + * 2020-09-01-preview: :class:`JobsOperations` + * 2021-02-01-preview: :class:`JobsOperations` """ api_version = self._get_api_version('jobs') if api_version == '2019-03-01': @@ -213,10 +301,35 @@ def jobs(self): from ..v2019_08_01.aio.operations import JobsOperations as OperationClass elif api_version == '2020-05-01-preview': from ..v2020_05_01_preview.aio.operations import JobsOperations as OperationClass + elif api_version == '2020-09-01': + from ..v2020_09_01.aio.operations import JobsOperations as OperationClass + elif api_version == '2020-09-01-preview': + from ..v2020_09_01_preview.aio.operations import JobsOperations as OperationClass + elif api_version == '2021-02-01-preview': + from ..v2021_02_01_preview.aio.operations import JobsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'jobs'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + @property + def monitoring_config(self): + """Instance depends on the API version: + + * 2020-09-01: :class:`MonitoringConfigOperations` + * 2020-09-01-preview: :class:`MonitoringConfigOperations` + * 2021-02-01-preview: :class:`MonitoringConfigOperations` + """ + api_version = self._get_api_version('monitoring_config') + if api_version == '2020-09-01': + from ..v2020_09_01.aio.operations import MonitoringConfigOperations as OperationClass + elif api_version == '2020-09-01-preview': + from ..v2020_09_01_preview.aio.operations import MonitoringConfigOperations as OperationClass + elif api_version == '2021-02-01-preview': + from ..v2021_02_01_preview.aio.operations import MonitoringConfigOperations as OperationClass + else: + raise ValueError("API version {} does not have operation group 'monitoring_config'".format(api_version)) + return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + @property def nodes(self): """Instance depends on the API version: @@ -224,6 +337,9 @@ def nodes(self): * 2019-07-01: :class:`NodesOperations` * 2019-08-01: :class:`NodesOperations` * 2020-05-01-preview: :class:`NodesOperations` + * 2020-09-01: :class:`NodesOperations` + * 2020-09-01-preview: :class:`NodesOperations` + * 2021-02-01-preview: :class:`NodesOperations` """ api_version = self._get_api_version('nodes') if api_version == '2019-07-01': @@ -232,6 +348,12 @@ def nodes(self): from ..v2019_08_01.aio.operations import NodesOperations as OperationClass elif api_version == '2020-05-01-preview': from ..v2020_05_01_preview.aio.operations import NodesOperations as OperationClass + elif api_version == '2020-09-01': + from ..v2020_09_01.aio.operations import NodesOperations as OperationClass + elif api_version == '2020-09-01-preview': + from ..v2020_09_01_preview.aio.operations import NodesOperations as OperationClass + elif api_version == '2021-02-01-preview': + from ..v2021_02_01_preview.aio.operations import NodesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'nodes'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -244,6 +366,9 @@ def operations(self): * 2019-07-01: :class:`Operations` * 2019-08-01: :class:`Operations` * 2020-05-01-preview: :class:`Operations` + * 2020-09-01: :class:`Operations` + * 2020-09-01-preview: :class:`Operations` + * 2021-02-01-preview: :class:`Operations` """ api_version = self._get_api_version('operations') if api_version == '2019-03-01': @@ -254,6 +379,12 @@ def operations(self): from ..v2019_08_01.aio.operations import Operations as OperationClass elif api_version == '2020-05-01-preview': from ..v2020_05_01_preview.aio.operations import Operations as OperationClass + elif api_version == '2020-09-01': + from ..v2020_09_01.aio.operations import Operations as OperationClass + elif api_version == '2020-09-01-preview': + from ..v2020_09_01_preview.aio.operations import Operations as OperationClass + elif api_version == '2021-02-01-preview': + from ..v2021_02_01_preview.aio.operations import Operations as OperationClass else: raise ValueError("API version {} does not have operation group 'operations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -266,6 +397,9 @@ def operations_status(self): * 2019-07-01: :class:`OperationsStatusOperations` * 2019-08-01: :class:`OperationsStatusOperations` * 2020-05-01-preview: :class:`OperationsStatusOperations` + * 2020-09-01: :class:`OperationsStatusOperations` + * 2020-09-01-preview: :class:`OperationsStatusOperations` + * 2021-02-01-preview: :class:`OperationsStatusOperations` """ api_version = self._get_api_version('operations_status') if api_version == '2019-03-01': @@ -276,6 +410,12 @@ def operations_status(self): from ..v2019_08_01.aio.operations import OperationsStatusOperations as OperationClass elif api_version == '2020-05-01-preview': from ..v2020_05_01_preview.aio.operations import OperationsStatusOperations as OperationClass + elif api_version == '2020-09-01': + from ..v2020_09_01.aio.operations import OperationsStatusOperations as OperationClass + elif api_version == '2020-09-01-preview': + from ..v2020_09_01_preview.aio.operations import OperationsStatusOperations as OperationClass + elif api_version == '2021-02-01-preview': + from ..v2021_02_01_preview.aio.operations import OperationsStatusOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'operations_status'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -288,6 +428,9 @@ def orders(self): * 2019-07-01: :class:`OrdersOperations` * 2019-08-01: :class:`OrdersOperations` * 2020-05-01-preview: :class:`OrdersOperations` + * 2020-09-01: :class:`OrdersOperations` + * 2020-09-01-preview: :class:`OrdersOperations` + * 2021-02-01-preview: :class:`OrdersOperations` """ api_version = self._get_api_version('orders') if api_version == '2019-03-01': @@ -298,6 +441,12 @@ def orders(self): from ..v2019_08_01.aio.operations import OrdersOperations as OperationClass elif api_version == '2020-05-01-preview': from ..v2020_05_01_preview.aio.operations import OrdersOperations as OperationClass + elif api_version == '2020-09-01': + from ..v2020_09_01.aio.operations import OrdersOperations as OperationClass + elif api_version == '2020-09-01-preview': + from ..v2020_09_01_preview.aio.operations import OrdersOperations as OperationClass + elif api_version == '2021-02-01-preview': + from ..v2021_02_01_preview.aio.operations import OrdersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'orders'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -310,6 +459,9 @@ def roles(self): * 2019-07-01: :class:`RolesOperations` * 2019-08-01: :class:`RolesOperations` * 2020-05-01-preview: :class:`RolesOperations` + * 2020-09-01: :class:`RolesOperations` + * 2020-09-01-preview: :class:`RolesOperations` + * 2021-02-01-preview: :class:`RolesOperations` """ api_version = self._get_api_version('roles') if api_version == '2019-03-01': @@ -320,6 +472,12 @@ def roles(self): from ..v2019_08_01.aio.operations import RolesOperations as OperationClass elif api_version == '2020-05-01-preview': from ..v2020_05_01_preview.aio.operations import RolesOperations as OperationClass + elif api_version == '2020-09-01': + from ..v2020_09_01.aio.operations import RolesOperations as OperationClass + elif api_version == '2020-09-01-preview': + from ..v2020_09_01_preview.aio.operations import RolesOperations as OperationClass + elif api_version == '2021-02-01-preview': + from ..v2021_02_01_preview.aio.operations import RolesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'roles'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -332,6 +490,9 @@ def shares(self): * 2019-07-01: :class:`SharesOperations` * 2019-08-01: :class:`SharesOperations` * 2020-05-01-preview: :class:`SharesOperations` + * 2020-09-01: :class:`SharesOperations` + * 2020-09-01-preview: :class:`SharesOperations` + * 2021-02-01-preview: :class:`SharesOperations` """ api_version = self._get_api_version('shares') if api_version == '2019-03-01': @@ -342,6 +503,12 @@ def shares(self): from ..v2019_08_01.aio.operations import SharesOperations as OperationClass elif api_version == '2020-05-01-preview': from ..v2020_05_01_preview.aio.operations import SharesOperations as OperationClass + elif api_version == '2020-09-01': + from ..v2020_09_01.aio.operations import SharesOperations as OperationClass + elif api_version == '2020-09-01-preview': + from ..v2020_09_01_preview.aio.operations import SharesOperations as OperationClass + elif api_version == '2021-02-01-preview': + from ..v2021_02_01_preview.aio.operations import SharesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'shares'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -370,6 +537,9 @@ def storage_account_credentials(self): * 2019-07-01: :class:`StorageAccountCredentialsOperations` * 2019-08-01: :class:`StorageAccountCredentialsOperations` * 2020-05-01-preview: :class:`StorageAccountCredentialsOperations` + * 2020-09-01: :class:`StorageAccountCredentialsOperations` + * 2020-09-01-preview: :class:`StorageAccountCredentialsOperations` + * 2021-02-01-preview: :class:`StorageAccountCredentialsOperations` """ api_version = self._get_api_version('storage_account_credentials') if api_version == '2019-03-01': @@ -380,6 +550,12 @@ def storage_account_credentials(self): from ..v2019_08_01.aio.operations import StorageAccountCredentialsOperations as OperationClass elif api_version == '2020-05-01-preview': from ..v2020_05_01_preview.aio.operations import StorageAccountCredentialsOperations as OperationClass + elif api_version == '2020-09-01': + from ..v2020_09_01.aio.operations import StorageAccountCredentialsOperations as OperationClass + elif api_version == '2020-09-01-preview': + from ..v2020_09_01_preview.aio.operations import StorageAccountCredentialsOperations as OperationClass + elif api_version == '2021-02-01-preview': + from ..v2021_02_01_preview.aio.operations import StorageAccountCredentialsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'storage_account_credentials'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -390,12 +566,21 @@ def storage_accounts(self): * 2019-08-01: :class:`StorageAccountsOperations` * 2020-05-01-preview: :class:`StorageAccountsOperations` + * 2020-09-01: :class:`StorageAccountsOperations` + * 2020-09-01-preview: :class:`StorageAccountsOperations` + * 2021-02-01-preview: :class:`StorageAccountsOperations` """ api_version = self._get_api_version('storage_accounts') if api_version == '2019-08-01': from ..v2019_08_01.aio.operations import StorageAccountsOperations as OperationClass elif api_version == '2020-05-01-preview': from ..v2020_05_01_preview.aio.operations import StorageAccountsOperations as OperationClass + elif api_version == '2020-09-01': + from ..v2020_09_01.aio.operations import StorageAccountsOperations as OperationClass + elif api_version == '2020-09-01-preview': + from ..v2020_09_01_preview.aio.operations import StorageAccountsOperations as OperationClass + elif api_version == '2021-02-01-preview': + from ..v2021_02_01_preview.aio.operations import StorageAccountsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'storage_accounts'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -408,6 +593,9 @@ def triggers(self): * 2019-07-01: :class:`TriggersOperations` * 2019-08-01: :class:`TriggersOperations` * 2020-05-01-preview: :class:`TriggersOperations` + * 2020-09-01: :class:`TriggersOperations` + * 2020-09-01-preview: :class:`TriggersOperations` + * 2021-02-01-preview: :class:`TriggersOperations` """ api_version = self._get_api_version('triggers') if api_version == '2019-03-01': @@ -418,6 +606,12 @@ def triggers(self): from ..v2019_08_01.aio.operations import TriggersOperations as OperationClass elif api_version == '2020-05-01-preview': from ..v2020_05_01_preview.aio.operations import TriggersOperations as OperationClass + elif api_version == '2020-09-01': + from ..v2020_09_01.aio.operations import TriggersOperations as OperationClass + elif api_version == '2020-09-01-preview': + from ..v2020_09_01_preview.aio.operations import TriggersOperations as OperationClass + elif api_version == '2021-02-01-preview': + from ..v2021_02_01_preview.aio.operations import TriggersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'triggers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -430,6 +624,9 @@ def users(self): * 2019-07-01: :class:`UsersOperations` * 2019-08-01: :class:`UsersOperations` * 2020-05-01-preview: :class:`UsersOperations` + * 2020-09-01: :class:`UsersOperations` + * 2020-09-01-preview: :class:`UsersOperations` + * 2021-02-01-preview: :class:`UsersOperations` """ api_version = self._get_api_version('users') if api_version == '2019-03-01': @@ -440,6 +637,12 @@ def users(self): from ..v2019_08_01.aio.operations import UsersOperations as OperationClass elif api_version == '2020-05-01-preview': from ..v2020_05_01_preview.aio.operations import UsersOperations as OperationClass + elif api_version == '2020-09-01': + from ..v2020_09_01.aio.operations import UsersOperations as OperationClass + elif api_version == '2020-09-01-preview': + from ..v2020_09_01_preview.aio.operations import UsersOperations as OperationClass + elif api_version == '2021-02-01-preview': + from ..v2021_02_01_preview.aio.operations import UsersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'users'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/models.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/models.py index 11b69d16b48b..04574f8c176c 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/models.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/models.py @@ -5,3 +5,4 @@ # license information. # -------------------------------------------------------------------------- from .v2019_08_01.models import * +from .v2020_09_01.models import * diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/_data_box_edge_management_client.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/_data_box_edge_management_client.py index 1fffaa8df0f3..03360a537bb9 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/_data_box_edge_management_client.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/_data_box_edge_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import DataBoxEdgeManagementClientConfiguration from .operations import Operations @@ -37,29 +38,29 @@ class DataBoxEdgeManagementClient(object): """The DataBoxEdge Client. :ivar operations: Operations operations - :vartype operations: azure.mgmt.databoxedge.operations.Operations + :vartype operations: azure.mgmt.databoxedge.v2019_03_01.operations.Operations :ivar devices: DevicesOperations operations - :vartype devices: azure.mgmt.databoxedge.operations.DevicesOperations + :vartype devices: azure.mgmt.databoxedge.v2019_03_01.operations.DevicesOperations :ivar alerts: AlertsOperations operations - :vartype alerts: azure.mgmt.databoxedge.operations.AlertsOperations + :vartype alerts: azure.mgmt.databoxedge.v2019_03_01.operations.AlertsOperations :ivar bandwidth_schedules: BandwidthSchedulesOperations operations - :vartype bandwidth_schedules: azure.mgmt.databoxedge.operations.BandwidthSchedulesOperations + :vartype bandwidth_schedules: azure.mgmt.databoxedge.v2019_03_01.operations.BandwidthSchedulesOperations :ivar jobs: JobsOperations operations - :vartype jobs: azure.mgmt.databoxedge.operations.JobsOperations + :vartype jobs: azure.mgmt.databoxedge.v2019_03_01.operations.JobsOperations :ivar operations_status: OperationsStatusOperations operations - :vartype operations_status: azure.mgmt.databoxedge.operations.OperationsStatusOperations + :vartype operations_status: azure.mgmt.databoxedge.v2019_03_01.operations.OperationsStatusOperations :ivar orders: OrdersOperations operations - :vartype orders: azure.mgmt.databoxedge.operations.OrdersOperations + :vartype orders: azure.mgmt.databoxedge.v2019_03_01.operations.OrdersOperations :ivar roles: RolesOperations operations - :vartype roles: azure.mgmt.databoxedge.operations.RolesOperations + :vartype roles: azure.mgmt.databoxedge.v2019_03_01.operations.RolesOperations :ivar shares: SharesOperations operations - :vartype shares: azure.mgmt.databoxedge.operations.SharesOperations + :vartype shares: azure.mgmt.databoxedge.v2019_03_01.operations.SharesOperations :ivar storage_account_credentials: StorageAccountCredentialsOperations operations - :vartype storage_account_credentials: azure.mgmt.databoxedge.operations.StorageAccountCredentialsOperations + :vartype storage_account_credentials: azure.mgmt.databoxedge.v2019_03_01.operations.StorageAccountCredentialsOperations :ivar triggers: TriggersOperations operations - :vartype triggers: azure.mgmt.databoxedge.operations.TriggersOperations + :vartype triggers: azure.mgmt.databoxedge.v2019_03_01.operations.TriggersOperations :ivar users: UsersOperations operations - :vartype users: azure.mgmt.databoxedge.operations.UsersOperations + :vartype users: azure.mgmt.databoxedge.v2019_03_01.operations.UsersOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials.TokenCredential :param subscription_id: The subscription ID. @@ -111,6 +112,24 @@ def __init__( self.users = UsersOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/_metadata.json b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/_metadata.json index b7c9e5bf5f70..589c36de0e28 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/_metadata.json +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": false + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"DataBoxEdgeManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"DataBoxEdgeManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription ID.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_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\": [\"TokenCredential\"]}}}", + "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": { "operations": "Operations", @@ -64,9 +110,5 @@ "storage_account_credentials": "StorageAccountCredentialsOperations", "triggers": "TriggersOperations", "users": "UsersOperations" - }, - "operation_mixins": { - }, - "sync_imports": "None", - "async_imports": "None" + } } \ No newline at end of file diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/_data_box_edge_management_client.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/_data_box_edge_management_client.py index 3d95d06a6453..02a2f028deb6 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/_data_box_edge_management_client.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/_data_box_edge_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -35,29 +36,29 @@ class DataBoxEdgeManagementClient(object): """The DataBoxEdge Client. :ivar operations: Operations operations - :vartype operations: azure.mgmt.databoxedge.aio.operations.Operations + :vartype operations: azure.mgmt.databoxedge.v2019_03_01.aio.operations.Operations :ivar devices: DevicesOperations operations - :vartype devices: azure.mgmt.databoxedge.aio.operations.DevicesOperations + :vartype devices: azure.mgmt.databoxedge.v2019_03_01.aio.operations.DevicesOperations :ivar alerts: AlertsOperations operations - :vartype alerts: azure.mgmt.databoxedge.aio.operations.AlertsOperations + :vartype alerts: azure.mgmt.databoxedge.v2019_03_01.aio.operations.AlertsOperations :ivar bandwidth_schedules: BandwidthSchedulesOperations operations - :vartype bandwidth_schedules: azure.mgmt.databoxedge.aio.operations.BandwidthSchedulesOperations + :vartype bandwidth_schedules: azure.mgmt.databoxedge.v2019_03_01.aio.operations.BandwidthSchedulesOperations :ivar jobs: JobsOperations operations - :vartype jobs: azure.mgmt.databoxedge.aio.operations.JobsOperations + :vartype jobs: azure.mgmt.databoxedge.v2019_03_01.aio.operations.JobsOperations :ivar operations_status: OperationsStatusOperations operations - :vartype operations_status: azure.mgmt.databoxedge.aio.operations.OperationsStatusOperations + :vartype operations_status: azure.mgmt.databoxedge.v2019_03_01.aio.operations.OperationsStatusOperations :ivar orders: OrdersOperations operations - :vartype orders: azure.mgmt.databoxedge.aio.operations.OrdersOperations + :vartype orders: azure.mgmt.databoxedge.v2019_03_01.aio.operations.OrdersOperations :ivar roles: RolesOperations operations - :vartype roles: azure.mgmt.databoxedge.aio.operations.RolesOperations + :vartype roles: azure.mgmt.databoxedge.v2019_03_01.aio.operations.RolesOperations :ivar shares: SharesOperations operations - :vartype shares: azure.mgmt.databoxedge.aio.operations.SharesOperations + :vartype shares: azure.mgmt.databoxedge.v2019_03_01.aio.operations.SharesOperations :ivar storage_account_credentials: StorageAccountCredentialsOperations operations - :vartype storage_account_credentials: azure.mgmt.databoxedge.aio.operations.StorageAccountCredentialsOperations + :vartype storage_account_credentials: azure.mgmt.databoxedge.v2019_03_01.aio.operations.StorageAccountCredentialsOperations :ivar triggers: TriggersOperations operations - :vartype triggers: azure.mgmt.databoxedge.aio.operations.TriggersOperations + :vartype triggers: azure.mgmt.databoxedge.v2019_03_01.aio.operations.TriggersOperations :ivar users: UsersOperations operations - :vartype users: azure.mgmt.databoxedge.aio.operations.UsersOperations + :vartype users: azure.mgmt.databoxedge.v2019_03_01.aio.operations.UsersOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: The subscription ID. @@ -108,6 +109,23 @@ def __init__( self.users = UsersOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_alerts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_alerts_operations.py index e9b958a74f48..9b4a8bd1eee8 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_alerts_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_alerts_operations.py @@ -26,7 +26,7 @@ class AlertsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_03_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AlertList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.AlertList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_03_01.models.AlertList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.AlertList"] @@ -134,7 +134,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Alert, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Alert + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.Alert :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Alert"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_bandwidth_schedules_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_bandwidth_schedules_operations.py index 64259f54be4b..daeb130f0fa5 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_bandwidth_schedules_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_bandwidth_schedules_operations.py @@ -28,7 +28,7 @@ class BandwidthSchedulesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_03_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BandwidthSchedulesList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.BandwidthSchedulesList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_03_01.models.BandwidthSchedulesList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedulesList"] @@ -134,7 +134,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BandwidthSchedule, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.BandwidthSchedule + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.BandwidthSchedule :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedule"] @@ -253,15 +253,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param parameters: The bandwidth schedule to be added or updated. - :type parameters: ~azure.mgmt.databoxedge.models.BandwidthSchedule + :type parameters: ~azure.mgmt.databoxedge.v2019_03_01.models.BandwidthSchedule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BandwidthSchedule or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.BandwidthSchedule] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_03_01.models.BandwidthSchedule] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -375,8 +375,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_devices_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_devices_operations.py index 363529f031b4..8d94f947e8d9 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_devices_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_devices_operations.py @@ -28,7 +28,7 @@ class DevicesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_03_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list_by_subscription( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_03_01.models.DataBoxEdgeDeviceList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] @@ -130,7 +130,7 @@ def list_by_resource_group( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_03_01.models.DataBoxEdgeDeviceList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] @@ -205,7 +205,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataBoxEdgeDevice, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevice + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.DataBoxEdgeDevice :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] @@ -316,15 +316,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param data_box_edge_device: The resource object. - :type data_box_edge_device: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevice + :type data_box_edge_device: ~azure.mgmt.databoxedge.v2019_03_01.models.DataBoxEdgeDevice :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DataBoxEdgeDevice or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.DataBoxEdgeDevice] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_03_01.models.DataBoxEdgeDevice] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -431,8 +431,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -495,10 +495,10 @@ async def update( :param resource_group_name: The resource group name. :type resource_group_name: str :param parameters: The resource parameters. - :type parameters: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevicePatch + :type parameters: ~azure.mgmt.databoxedge.v2019_03_01.models.DataBoxEdgeDevicePatch :keyword callable cls: A custom type or function that will be passed the direct response :return: DataBoxEdgeDevice, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevice + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.DataBoxEdgeDevice :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] @@ -607,8 +607,8 @@ async def begin_download_updates( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -671,7 +671,7 @@ async def get_extended_information( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataBoxEdgeDeviceExtendedInfo, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceExtendedInfo + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.DataBoxEdgeDeviceExtendedInfo :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceExtendedInfo"] @@ -775,8 +775,8 @@ async def begin_install_updates( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -839,7 +839,7 @@ async def get_network_settings( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkSettings, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.NetworkSettings + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.NetworkSettings :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSettings"] @@ -943,8 +943,8 @@ async def begin_scan_for_updates( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1057,11 +1057,11 @@ async def begin_create_or_update_security_settings( :param resource_group_name: The resource group name. :type resource_group_name: str :param security_settings: The security settings. - :type security_settings: ~azure.mgmt.databoxedge.models.SecuritySettings + :type security_settings: ~azure.mgmt.databoxedge.v2019_03_01.models.SecuritySettings :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1128,7 +1128,7 @@ async def get_update_summary( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: UpdateSummary, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.UpdateSummary + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.UpdateSummary :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.UpdateSummary"] @@ -1186,10 +1186,10 @@ async def upload_certificate( :param resource_group_name: The resource group name. :type resource_group_name: str :param parameters: The upload certificate request. - :type parameters: ~azure.mgmt.databoxedge.models.UploadCertificateRequest + :type parameters: ~azure.mgmt.databoxedge.v2019_03_01.models.UploadCertificateRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: UploadCertificateResponse, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.UploadCertificateResponse + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.UploadCertificateResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.UploadCertificateResponse"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_jobs_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_jobs_operations.py index 72cd5502030c..235b4f5cd3cf 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_jobs_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_jobs_operations.py @@ -25,7 +25,7 @@ class JobsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_03_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Job, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Job + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.Job :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_operations.py index 00d071f25815..196ad6bf122d 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_operations.py @@ -26,7 +26,7 @@ class Operations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_03_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -51,7 +51,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OperationsList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.OperationsList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_03_01.models.OperationsList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationsList"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_operations_status_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_operations_status_operations.py index d480c8f1dffe..4eb25dfba79d 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_operations_status_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_operations_status_operations.py @@ -25,7 +25,7 @@ class OperationsStatusOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_03_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Job, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Job + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.Job :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_orders_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_orders_operations.py index d3c4ead468e5..0fe065e6e1bf 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_orders_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_orders_operations.py @@ -28,7 +28,7 @@ class OrdersOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_03_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OrderList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.OrderList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_03_01.models.OrderList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.OrderList"] @@ -135,7 +135,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Order, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Order + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.Order :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Order"] @@ -250,15 +250,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param order: The order to be created or updated. - :type order: ~azure.mgmt.databoxedge.models.Order + :type order: ~azure.mgmt.databoxedge.v2019_03_01.models.Order :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Order or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.Order] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_03_01.models.Order] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -367,8 +367,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_roles_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_roles_operations.py index e2af6b264eb7..0ba335a802c4 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_roles_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_roles_operations.py @@ -28,7 +28,7 @@ class RolesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_03_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either RoleList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.RoleList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_03_01.models.RoleList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.RoleList"] @@ -134,7 +134,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Role, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Role + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.Role :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Role"] @@ -253,15 +253,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param role: The role properties. - :type role: ~azure.mgmt.databoxedge.models.Role + :type role: ~azure.mgmt.databoxedge.v2019_03_01.models.Role :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Role or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.Role] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_03_01.models.Role] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -375,8 +375,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_shares_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_shares_operations.py index 28650efb18f2..01dbe891f708 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_shares_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_shares_operations.py @@ -28,7 +28,7 @@ class SharesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_03_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ShareList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.ShareList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_03_01.models.ShareList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.ShareList"] @@ -138,7 +138,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Share, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Share + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.Share :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Share"] @@ -259,15 +259,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param share: The share properties. - :type share: ~azure.mgmt.databoxedge.models.Share + :type share: ~azure.mgmt.databoxedge.v2019_03_01.models.Share :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Share or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.Share] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_03_01.models.Share] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -381,8 +381,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -498,8 +498,8 @@ async def begin_refresh( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_storage_account_credentials_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_storage_account_credentials_operations.py index 9c8c5e3c3653..df213b29b49d 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_storage_account_credentials_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_storage_account_credentials_operations.py @@ -28,7 +28,7 @@ class StorageAccountCredentialsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_03_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountCredentialList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.StorageAccountCredentialList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_03_01.models.StorageAccountCredentialList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredentialList"] @@ -136,7 +136,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountCredential, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.StorageAccountCredential + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.StorageAccountCredential :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredential"] @@ -255,15 +255,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param storage_account_credential: The storage account credential. - :type storage_account_credential: ~azure.mgmt.databoxedge.models.StorageAccountCredential + :type storage_account_credential: ~azure.mgmt.databoxedge.v2019_03_01.models.StorageAccountCredential :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either StorageAccountCredential or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.StorageAccountCredential] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_03_01.models.StorageAccountCredential] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -377,8 +377,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_triggers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_triggers_operations.py index 703fdbb28ebe..33ecf8aa7a8d 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_triggers_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_triggers_operations.py @@ -28,7 +28,7 @@ class TriggersOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_03_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -61,7 +61,7 @@ def list_by_data_box_edge_device( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either TriggerList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.TriggerList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_03_01.models.TriggerList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.TriggerList"] @@ -140,7 +140,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Trigger, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Trigger + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.Trigger :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Trigger"] @@ -259,15 +259,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param trigger: The trigger. - :type trigger: ~azure.mgmt.databoxedge.models.Trigger + :type trigger: ~azure.mgmt.databoxedge.v2019_03_01.models.Trigger :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Trigger or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.Trigger] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_03_01.models.Trigger] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -381,8 +381,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_users_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_users_operations.py index 3346ab0f28e3..303c99d24052 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_users_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/aio/operations/_users_operations.py @@ -28,7 +28,7 @@ class UsersOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_03_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either UserList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.UserList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_03_01.models.UserList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.UserList"] @@ -134,7 +134,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: User, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.User + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.User :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.User"] @@ -253,15 +253,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param user: The user details. - :type user: ~azure.mgmt.databoxedge.models.User + :type user: ~azure.mgmt.databoxedge.v2019_03_01.models.User :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either User or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.User] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_03_01.models.User] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -375,8 +375,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/models/_models.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/models/_models.py index 8a6a8c0b789e..721721347494 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/models/_models.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/models/_models.py @@ -118,9 +118,9 @@ class Alert(ARMBaseModel): :vartype recommendation: str :ivar severity: Severity of the alert. Possible values include: "Informational", "Warning", "Critical". - :vartype severity: str or ~azure.mgmt.databoxedge.models.AlertSeverity + :vartype severity: str or ~azure.mgmt.databoxedge.v2019_03_01.models.AlertSeverity :ivar error_details: Error details of the alert. - :vartype error_details: ~azure.mgmt.databoxedge.models.AlertErrorDetails + :vartype error_details: ~azure.mgmt.databoxedge.v2019_03_01.models.AlertErrorDetails :ivar detailed_information: Alert details. :vartype detailed_information: dict[str, str] """ @@ -206,7 +206,7 @@ class AlertList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The value. - :vartype value: list[~azure.mgmt.databoxedge.models.Alert] + :vartype value: list[~azure.mgmt.databoxedge.v2019_03_01.models.Alert] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -242,7 +242,8 @@ class AsymmetricEncryptedSecret(msrest.serialization.Model): :type encryption_cert_thumbprint: str :param encryption_algorithm: Required. The algorithm used to encrypt "Value". Possible values include: "None", "AES256", "RSAES_PKCS1_v_1_5". - :type encryption_algorithm: str or ~azure.mgmt.databoxedge.models.EncryptionAlgorithm + :type encryption_algorithm: str or + ~azure.mgmt.databoxedge.v2019_03_01.models.EncryptionAlgorithm """ _validation = { @@ -270,7 +271,7 @@ class Authentication(msrest.serialization.Model): """Authentication mechanism for IoT devices. :param symmetric_key: Symmetric key for authentication. - :type symmetric_key: ~azure.mgmt.databoxedge.models.SymmetricKey + :type symmetric_key: ~azure.mgmt.databoxedge.v2019_03_01.models.SymmetricKey """ _attribute_map = { @@ -298,7 +299,7 @@ class AzureContainerInfo(msrest.serialization.Model): :type container_name: str :param data_format: Required. Storage format used for the file represented by the share. Possible values include: "BlockBlob", "PageBlob", "AzureFile". - :type data_format: str or ~azure.mgmt.databoxedge.models.AzureContainerDataFormat + :type data_format: str or ~azure.mgmt.databoxedge.v2019_03_01.models.AzureContainerDataFormat """ _validation = { @@ -343,7 +344,7 @@ class BandwidthSchedule(ARMBaseModel): :param rate_in_mbps: Required. The bandwidth rate in Mbps. :type rate_in_mbps: int :param days: Required. The days of the week when this schedule is applicable. - :type days: list[str or ~azure.mgmt.databoxedge.models.DayOfWeek] + :type days: list[str or ~azure.mgmt.databoxedge.v2019_03_01.models.DayOfWeek] """ _validation = { @@ -383,7 +384,7 @@ class BandwidthSchedulesList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of bandwidth schedules. - :vartype value: list[~azure.mgmt.databoxedge.models.BandwidthSchedule] + :vartype value: list[~azure.mgmt.databoxedge.v2019_03_01.models.BandwidthSchedule] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -416,7 +417,7 @@ class ClientAccessRight(msrest.serialization.Model): :type client: str :param access_permission: Required. Type of access to be allowed for the client. Possible values include: "NoAccess", "ReadOnly", "ReadWrite". - :type access_permission: str or ~azure.mgmt.databoxedge.models.ClientPermissionType + :type access_permission: str or ~azure.mgmt.databoxedge.v2019_03_01.models.ClientPermissionType """ _validation = { @@ -448,7 +449,7 @@ class CloudErrorBody(msrest.serialization.Model): interface. :type message: str :param details: A list of additional details about the error. - :type details: list[~azure.mgmt.databoxedge.models.CloudErrorBody] + :type details: list[~azure.mgmt.databoxedge.v2019_03_01.models.CloudErrorBody] """ _attribute_map = { @@ -529,14 +530,14 @@ class DataBoxEdgeDevice(ARMBaseModel): to view and group this device (across resource groups). :type tags: dict[str, str] :param sku: The SKU type. - :type sku: ~azure.mgmt.databoxedge.models.Sku + :type sku: ~azure.mgmt.databoxedge.v2019_03_01.models.Sku :param etag: The etag for the devices. :type etag: str :param data_box_edge_device_status: The status of the Data Box Edge/Gateway device. Possible values include: "ReadyToSetup", "Online", "Offline", "NeedsAttention", "Disconnected", "PartiallyDisconnected". :type data_box_edge_device_status: str or - ~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceStatus + ~azure.mgmt.databoxedge.v2019_03_01.models.DataBoxEdgeDeviceStatus :ivar serial_number: The Serial Number of Data Box Edge/Gateway device. :vartype serial_number: str :param description: The Description of the Data Box Edge/Gateway device. @@ -545,7 +546,7 @@ class DataBoxEdgeDevice(ARMBaseModel): :type model_description: str :ivar device_type: The type of the Data Box Edge/Gateway device. Possible values include: "DataBoxEdgeDevice". - :vartype device_type: str or ~azure.mgmt.databoxedge.models.DeviceType + :vartype device_type: str or ~azure.mgmt.databoxedge.v2019_03_01.models.DeviceType :param friendly_name: The Data Box Edge/Gateway device name. :type friendly_name: str :ivar culture: The Data Box Edge/Gateway device culture. @@ -561,7 +562,8 @@ class DataBoxEdgeDevice(ARMBaseModel): :ivar device_hcs_version: The device software version number of the device (eg: 1.2.18105.6). :vartype device_hcs_version: str :ivar configured_role_types: Type of compute roles configured. - :vartype configured_role_types: list[str or ~azure.mgmt.databoxedge.models.RoleTypes] + :vartype configured_role_types: list[str or + ~azure.mgmt.databoxedge.v2019_03_01.models.RoleTypes] """ _validation = { @@ -679,7 +681,7 @@ class DataBoxEdgeDeviceList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of Data Box Edge/Gateway devices. - :vartype value: list[~azure.mgmt.databoxedge.models.DataBoxEdgeDevice] + :vartype value: list[~azure.mgmt.databoxedge.v2019_03_01.models.DataBoxEdgeDevice] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -740,7 +742,7 @@ class Trigger(ARMBaseModel): :vartype type: str :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: "FileEvent", "PeriodicTimerEvent". - :type kind: str or ~azure.mgmt.databoxedge.models.TriggerEventType + :type kind: str or ~azure.mgmt.databoxedge.v2019_03_01.models.TriggerEventType """ _validation = { @@ -784,11 +786,11 @@ class FileEventTrigger(Trigger): :vartype type: str :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: "FileEvent", "PeriodicTimerEvent". - :type kind: str or ~azure.mgmt.databoxedge.models.TriggerEventType + :type kind: str or ~azure.mgmt.databoxedge.v2019_03_01.models.TriggerEventType :param source_info: Required. File event source details. - :type source_info: ~azure.mgmt.databoxedge.models.FileSourceInfo + :type source_info: ~azure.mgmt.databoxedge.v2019_03_01.models.FileSourceInfo :param sink_info: Required. Role sink info. - :type sink_info: ~azure.mgmt.databoxedge.models.RoleSinkInfo + :type sink_info: ~azure.mgmt.databoxedge.v2019_03_01.models.RoleSinkInfo :param custom_context_tag: A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module. @@ -860,7 +862,7 @@ class IoTDeviceInfo(msrest.serialization.Model): :param io_t_host_hub: Required. Host name for the IoT hub associated to the device. :type io_t_host_hub: str :param authentication: IoT device authentication info. - :type authentication: ~azure.mgmt.databoxedge.models.Authentication + :type authentication: ~azure.mgmt.databoxedge.v2019_03_01.models.Authentication """ _validation = { @@ -902,7 +904,7 @@ class Role(ARMBaseModel): :vartype type: str :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", "ASA", "Functions", "Cognitive". - :type kind: str or ~azure.mgmt.databoxedge.models.RoleTypes + :type kind: str or ~azure.mgmt.databoxedge.v2019_03_01.models.RoleTypes """ _validation = { @@ -946,19 +948,19 @@ class IoTRole(Role): :vartype type: str :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", "ASA", "Functions", "Cognitive". - :type kind: str or ~azure.mgmt.databoxedge.models.RoleTypes + :type kind: str or ~azure.mgmt.databoxedge.v2019_03_01.models.RoleTypes :param host_platform: Host OS supported by the IoT role. Possible values include: "Windows", "Linux". - :type host_platform: str or ~azure.mgmt.databoxedge.models.PlatformType + :type host_platform: str or ~azure.mgmt.databoxedge.v2019_03_01.models.PlatformType :param io_t_device_details: IoT device metadata to which data box edge device needs to be connected. - :type io_t_device_details: ~azure.mgmt.databoxedge.models.IoTDeviceInfo + :type io_t_device_details: ~azure.mgmt.databoxedge.v2019_03_01.models.IoTDeviceInfo :param io_t_edge_device_details: IoT edge device to which the IoT role needs to be configured. - :type io_t_edge_device_details: ~azure.mgmt.databoxedge.models.IoTDeviceInfo + :type io_t_edge_device_details: ~azure.mgmt.databoxedge.v2019_03_01.models.IoTDeviceInfo :param share_mappings: Mount points of shares in role(s). - :type share_mappings: list[~azure.mgmt.databoxedge.models.MountPointMap] + :type share_mappings: list[~azure.mgmt.databoxedge.v2019_03_01.models.MountPointMap] :param role_status: Role status. Possible values include: "Enabled", "Disabled". - :type role_status: str or ~azure.mgmt.databoxedge.models.RoleStatus + :type role_status: str or ~azure.mgmt.databoxedge.v2019_03_01.models.RoleStatus """ _validation = { @@ -1076,7 +1078,7 @@ class Job(msrest.serialization.Model): :vartype type: str :ivar status: The current status of the job. Possible values include: "Invalid", "Running", "Succeeded", "Failed", "Canceled", "Paused", "Scheduled". - :vartype status: str or ~azure.mgmt.databoxedge.models.JobStatus + :vartype status: str or ~azure.mgmt.databoxedge.v2019_03_01.models.JobStatus :ivar start_time: The UTC date and time at which the job started. :vartype start_time: ~datetime.datetime :ivar end_time: The UTC date and time at which the job completed. @@ -1084,19 +1086,19 @@ class Job(msrest.serialization.Model): :ivar percent_complete: The percentage of the job that is complete. :vartype percent_complete: int :ivar error: The error details. - :vartype error: ~azure.mgmt.databoxedge.models.JobErrorDetails + :vartype error: ~azure.mgmt.databoxedge.v2019_03_01.models.JobErrorDetails :ivar job_type: The type of the job. Possible values include: "Invalid", "ScanForUpdates", "DownloadUpdates", "InstallUpdates", "RefreshShare". - :vartype job_type: str or ~azure.mgmt.databoxedge.models.JobType + :vartype job_type: str or ~azure.mgmt.databoxedge.v2019_03_01.models.JobType :ivar current_stage: Current stage of the update operation. Possible values include: "Unknown", "Initial", "ScanStarted", "ScanComplete", "ScanFailed", "DownloadStarted", "DownloadComplete", "DownloadFailed", "InstallStarted", "InstallComplete", "InstallFailed", "RebootInitiated", "Success", "Failure", "RescanStarted", "RescanComplete", "RescanFailed". - :vartype current_stage: str or ~azure.mgmt.databoxedge.models.UpdateOperationStage + :vartype current_stage: str or ~azure.mgmt.databoxedge.v2019_03_01.models.UpdateOperationStage :ivar download_progress: The download progress. - :vartype download_progress: ~azure.mgmt.databoxedge.models.UpdateDownloadProgress + :vartype download_progress: ~azure.mgmt.databoxedge.v2019_03_01.models.UpdateDownloadProgress :ivar install_progress: The install progress. - :vartype install_progress: ~azure.mgmt.databoxedge.models.UpdateInstallProgress + :vartype install_progress: ~azure.mgmt.databoxedge.v2019_03_01.models.UpdateInstallProgress :ivar total_refresh_errors: Total number of errors encountered during the refresh process. :vartype total_refresh_errors: int :ivar error_manifest_file: Local share/remote container relative path to the error manifest @@ -1175,7 +1177,7 @@ class JobErrorDetails(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar error_details: The error details. - :vartype error_details: list[~azure.mgmt.databoxedge.models.JobErrorItem] + :vartype error_details: list[~azure.mgmt.databoxedge.v2019_03_01.models.JobErrorItem] :ivar code: The code intended for programmatic access. :vartype code: str :ivar message: The message that describes the error in detail. @@ -1277,23 +1279,24 @@ class MetricSpecificationV1(msrest.serialization.Model): :type display_description: str :param unit: Metric units. Possible values include: "NotSpecified", "Percent", "Count", "Seconds", "Milliseconds", "Bytes", "BytesPerSecond", "CountPerSecond". - :type unit: str or ~azure.mgmt.databoxedge.models.MetricUnit + :type unit: str or ~azure.mgmt.databoxedge.v2019_03_01.models.MetricUnit :param aggregation_type: Metric aggregation type. Possible values include: "NotSpecified", "None", "Average", "Minimum", "Maximum", "Total", "Count". - :type aggregation_type: str or ~azure.mgmt.databoxedge.models.MetricAggregationType + :type aggregation_type: str or ~azure.mgmt.databoxedge.v2019_03_01.models.MetricAggregationType :param dimensions: Metric dimensions, other than default dimension which is resource. - :type dimensions: list[~azure.mgmt.databoxedge.models.MetricDimensionV1] + :type dimensions: list[~azure.mgmt.databoxedge.v2019_03_01.models.MetricDimensionV1] :param fill_gap_with_zero: Set true to fill the gaps with zero. :type fill_gap_with_zero: bool :param category: Metric category. Possible values include: "Capacity", "Transaction". - :type category: str or ~azure.mgmt.databoxedge.models.MetricCategory + :type category: str or ~azure.mgmt.databoxedge.v2019_03_01.models.MetricCategory :param resource_id_dimension_name_override: Resource name override. :type resource_id_dimension_name_override: str :param supported_time_grain_types: Support granularity of metrics. - :type supported_time_grain_types: list[str or ~azure.mgmt.databoxedge.models.TimeGrain] + :type supported_time_grain_types: list[str or + ~azure.mgmt.databoxedge.v2019_03_01.models.TimeGrain] :param supported_aggregation_types: Support metric aggregation type. :type supported_aggregation_types: list[str or - ~azure.mgmt.databoxedge.models.MetricAggregationType] + ~azure.mgmt.databoxedge.v2019_03_01.models.MetricAggregationType] """ _attribute_map = { @@ -1342,7 +1345,7 @@ class MountPointMap(msrest.serialization.Model): :ivar mount_point: Mount point for the share. :vartype mount_point: str :ivar role_type: Role type. Possible values include: "IOT", "ASA", "Functions", "Cognitive". - :vartype role_type: str or ~azure.mgmt.databoxedge.models.RoleTypes + :vartype role_type: str or ~azure.mgmt.databoxedge.v2019_03_01.models.RoleTypes """ _validation = { @@ -1378,7 +1381,7 @@ class NetworkAdapter(msrest.serialization.Model): :ivar adapter_id: Instance ID of network adapter. :vartype adapter_id: str :ivar adapter_position: Hardware position of network adapter. - :vartype adapter_position: ~azure.mgmt.databoxedge.models.NetworkAdapterPosition + :vartype adapter_position: ~azure.mgmt.databoxedge.v2019_03_01.models.NetworkAdapterPosition :ivar index: Logical index of the adapter. :vartype index: int :ivar node_id: Node ID of the network adapter. @@ -1393,17 +1396,17 @@ class NetworkAdapter(msrest.serialization.Model): :vartype link_speed: long :ivar status: Value indicating whether this adapter is valid. Possible values include: "Inactive", "Active". - :vartype status: str or ~azure.mgmt.databoxedge.models.NetworkAdapterStatus + :vartype status: str or ~azure.mgmt.databoxedge.v2019_03_01.models.NetworkAdapterStatus :param rdma_status: Value indicating whether this adapter is RDMA capable. Possible values include: "Incapable", "Capable". - :type rdma_status: str or ~azure.mgmt.databoxedge.models.NetworkAdapterRDMAStatus + :type rdma_status: str or ~azure.mgmt.databoxedge.v2019_03_01.models.NetworkAdapterRDMAStatus :param dhcp_status: Value indicating whether this adapter has DHCP enabled. Possible values include: "Disabled", "Enabled". - :type dhcp_status: str or ~azure.mgmt.databoxedge.models.NetworkAdapterDHCPStatus + :type dhcp_status: str or ~azure.mgmt.databoxedge.v2019_03_01.models.NetworkAdapterDHCPStatus :ivar ipv4_configuration: The IPv4 configuration of the network adapter. - :vartype ipv4_configuration: ~azure.mgmt.databoxedge.models.Ipv4Config + :vartype ipv4_configuration: ~azure.mgmt.databoxedge.v2019_03_01.models.Ipv4Config :ivar ipv6_configuration: The IPv6 configuration of the network adapter. - :vartype ipv6_configuration: ~azure.mgmt.databoxedge.models.Ipv6Config + :vartype ipv6_configuration: ~azure.mgmt.databoxedge.v2019_03_01.models.Ipv6Config :ivar ipv6_link_local_address: The IPv6 local address. :vartype ipv6_link_local_address: str :ivar dns_servers: The list of DNS Servers of the device. @@ -1472,7 +1475,7 @@ class NetworkAdapterPosition(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar network_group: The network group. Possible values include: "None", "NonRDMA", "RDMA". - :vartype network_group: str or ~azure.mgmt.databoxedge.models.NetworkGroup + :vartype network_group: str or ~azure.mgmt.databoxedge.v2019_03_01.models.NetworkGroup :ivar port: The port. :vartype port: int """ @@ -1508,7 +1511,7 @@ class NetworkSettings(ARMBaseModel): :ivar type: The hierarchical type of the object. :vartype type: str :ivar network_adapters: The network adapter list on the device. - :vartype network_adapters: list[~azure.mgmt.databoxedge.models.NetworkAdapter] + :vartype network_adapters: list[~azure.mgmt.databoxedge.v2019_03_01.models.NetworkAdapter] """ _validation = { @@ -1539,11 +1542,11 @@ class Operation(msrest.serialization.Model): :param name: Name of the operation. :type name: str :param display: Properties displayed for the operation. - :type display: ~azure.mgmt.databoxedge.models.OperationDisplay + :type display: ~azure.mgmt.databoxedge.v2019_03_01.models.OperationDisplay :param origin: Origin of the operation. :type origin: str :param service_specification: Service specification. - :type service_specification: ~azure.mgmt.databoxedge.models.ServiceSpecification + :type service_specification: ~azure.mgmt.databoxedge.v2019_03_01.models.ServiceSpecification """ _attribute_map = { @@ -1601,7 +1604,7 @@ class OperationsList(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. The value. - :type value: list[~azure.mgmt.databoxedge.models.Operation] + :type value: list[~azure.mgmt.databoxedge.v2019_03_01.models.Operation] :param next_link: Link to the next set of results. :type next_link: str """ @@ -1636,21 +1639,21 @@ class Order(ARMBaseModel): :ivar type: The hierarchical type of the object. :vartype type: str :param contact_information: The contact details. - :type contact_information: ~azure.mgmt.databoxedge.models.ContactDetails + :type contact_information: ~azure.mgmt.databoxedge.v2019_03_01.models.ContactDetails :param shipping_address: The shipping address. - :type shipping_address: ~azure.mgmt.databoxedge.models.Address + :type shipping_address: ~azure.mgmt.databoxedge.v2019_03_01.models.Address :param current_status: Current status of the order. - :type current_status: ~azure.mgmt.databoxedge.models.OrderStatus + :type current_status: ~azure.mgmt.databoxedge.v2019_03_01.models.OrderStatus :ivar order_history: List of status changes in the order. - :vartype order_history: list[~azure.mgmt.databoxedge.models.OrderStatus] + :vartype order_history: list[~azure.mgmt.databoxedge.v2019_03_01.models.OrderStatus] :ivar serial_number: Serial number of the device. :vartype serial_number: str :ivar delivery_tracking_info: Tracking information for the package delivered to the customer whether it has an original or a replacement device. - :vartype delivery_tracking_info: list[~azure.mgmt.databoxedge.models.TrackingInfo] + :vartype delivery_tracking_info: list[~azure.mgmt.databoxedge.v2019_03_01.models.TrackingInfo] :ivar return_tracking_info: Tracking information for the package returned from the customer whether it has an original or a replacement device. - :vartype return_tracking_info: list[~azure.mgmt.databoxedge.models.TrackingInfo] + :vartype return_tracking_info: list[~azure.mgmt.databoxedge.v2019_03_01.models.TrackingInfo] """ _validation = { @@ -1696,7 +1699,7 @@ class OrderList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of orders. - :vartype value: list[~azure.mgmt.databoxedge.models.Order] + :vartype value: list[~azure.mgmt.databoxedge.v2019_03_01.models.Order] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -1731,7 +1734,7 @@ class OrderStatus(msrest.serialization.Model): include: "Untracked", "AwaitingFulfilment", "AwaitingPreparation", "AwaitingShipment", "Shipped", "Arriving", "Delivered", "ReplacementRequested", "LostDevice", "Declined", "ReturnInitiated", "AwaitingReturnShipment", "ShippedBack", "CollectedAtMicrosoft". - :type status: str or ~azure.mgmt.databoxedge.models.OrderState + :type status: str or ~azure.mgmt.databoxedge.v2019_03_01.models.OrderState :ivar update_date_time: Time of status update. :vartype update_date_time: ~datetime.datetime :param comments: Comments related to this status change. @@ -1774,11 +1777,11 @@ class PeriodicTimerEventTrigger(Trigger): :vartype type: str :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: "FileEvent", "PeriodicTimerEvent". - :type kind: str or ~azure.mgmt.databoxedge.models.TriggerEventType + :type kind: str or ~azure.mgmt.databoxedge.v2019_03_01.models.TriggerEventType :param source_info: Required. Periodic timer details. - :type source_info: ~azure.mgmt.databoxedge.models.PeriodicTimerSourceInfo + :type source_info: ~azure.mgmt.databoxedge.v2019_03_01.models.PeriodicTimerSourceInfo :param sink_info: Required. Role Sink information. - :type sink_info: ~azure.mgmt.databoxedge.models.RoleSinkInfo + :type sink_info: ~azure.mgmt.databoxedge.v2019_03_01.models.RoleSinkInfo :param custom_context_tag: A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module. @@ -1894,7 +1897,7 @@ class RoleList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The Value. - :vartype value: list[~azure.mgmt.databoxedge.models.Role] + :vartype value: list[~azure.mgmt.databoxedge.v2019_03_01.models.Role] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -1960,7 +1963,8 @@ class SecuritySettings(ARMBaseModel): (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual password should have at least 8 characters that are a combination of uppercase, lowercase, numeric, and special characters. - :type device_admin_password: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type device_admin_password: + ~azure.mgmt.databoxedge.v2019_03_01.models.AsymmetricEncryptedSecret """ _validation = { @@ -1989,7 +1993,8 @@ class ServiceSpecification(msrest.serialization.Model): """Service specification. :param metric_specifications: Metric specification as defined by shoebox. - :type metric_specifications: list[~azure.mgmt.databoxedge.models.MetricSpecificationV1] + :type metric_specifications: + list[~azure.mgmt.databoxedge.v2019_03_01.models.MetricSpecificationV1] """ _attribute_map = { @@ -2021,27 +2026,27 @@ class Share(ARMBaseModel): :type description: str :param share_status: Required. Current status of the share. Possible values include: "Online", "Offline". - :type share_status: str or ~azure.mgmt.databoxedge.models.ShareStatus + :type share_status: str or ~azure.mgmt.databoxedge.v2019_03_01.models.ShareStatus :param monitoring_status: Required. Current monitoring status of the share. Possible values include: "Enabled", "Disabled". - :type monitoring_status: str or ~azure.mgmt.databoxedge.models.MonitoringStatus + :type monitoring_status: str or ~azure.mgmt.databoxedge.v2019_03_01.models.MonitoringStatus :param azure_container_info: Azure container mapping for the share. - :type azure_container_info: ~azure.mgmt.databoxedge.models.AzureContainerInfo + :type azure_container_info: ~azure.mgmt.databoxedge.v2019_03_01.models.AzureContainerInfo :param access_protocol: Required. Access protocol to be used by the share. Possible values include: "SMB", "NFS". - :type access_protocol: str or ~azure.mgmt.databoxedge.models.ShareAccessProtocol + :type access_protocol: str or ~azure.mgmt.databoxedge.v2019_03_01.models.ShareAccessProtocol :param user_access_rights: Mapping of users and corresponding access rights on the share (required for SMB protocol). - :type user_access_rights: list[~azure.mgmt.databoxedge.models.UserAccessRight] + :type user_access_rights: list[~azure.mgmt.databoxedge.v2019_03_01.models.UserAccessRight] :param client_access_rights: List of IP addresses and corresponding access rights on the share(required for NFS protocol). - :type client_access_rights: list[~azure.mgmt.databoxedge.models.ClientAccessRight] + :type client_access_rights: list[~azure.mgmt.databoxedge.v2019_03_01.models.ClientAccessRight] :param refresh_details: Details of the refresh job on this share. - :type refresh_details: ~azure.mgmt.databoxedge.models.RefreshDetails + :type refresh_details: ~azure.mgmt.databoxedge.v2019_03_01.models.RefreshDetails :ivar share_mappings: Share mount point to the role. - :vartype share_mappings: list[~azure.mgmt.databoxedge.models.MountPointMap] + :vartype share_mappings: list[~azure.mgmt.databoxedge.v2019_03_01.models.MountPointMap] :param data_policy: Data policy of the share. Possible values include: "Cloud", "Local". - :type data_policy: str or ~azure.mgmt.databoxedge.models.DataPolicy + :type data_policy: str or ~azure.mgmt.databoxedge.v2019_03_01.models.DataPolicy """ _validation = { @@ -2096,7 +2101,7 @@ class ShareAccessRight(msrest.serialization.Model): :type share_id: str :param access_type: Required. Type of access to be allowed on the share for this user. Possible values include: "Change", "Read", "Custom". - :type access_type: str or ~azure.mgmt.databoxedge.models.ShareAccessType + :type access_type: str or ~azure.mgmt.databoxedge.v2019_03_01.models.ShareAccessType """ _validation = { @@ -2124,7 +2129,7 @@ class ShareList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of shares. - :vartype value: list[~azure.mgmt.databoxedge.models.Share] + :vartype value: list[~azure.mgmt.databoxedge.v2019_03_01.models.Share] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2152,9 +2157,9 @@ class Sku(msrest.serialization.Model): """The SKU type. :param name: SKU name. Possible values include: "Gateway", "Edge". - :type name: str or ~azure.mgmt.databoxedge.models.SkuName + :type name: str or ~azure.mgmt.databoxedge.v2019_03_01.models.SkuName :param tier: The SKU tier. This is based on the SKU name. Possible values include: "Standard". - :type tier: str or ~azure.mgmt.databoxedge.models.SkuTier + :type tier: str or ~azure.mgmt.databoxedge.v2019_03_01.models.SkuTier """ _attribute_map = { @@ -2189,18 +2194,18 @@ class StorageAccountCredential(ARMBaseModel): :param user_name: Username for the storage account. :type user_name: str :param account_key: Encrypted storage key. - :type account_key: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type account_key: ~azure.mgmt.databoxedge.v2019_03_01.models.AsymmetricEncryptedSecret :param connection_string: Connection string for the storage account. Use this string if username and account key are not specified. :type connection_string: str :param ssl_status: Required. Signifies whether SSL needs to be enabled or not. Possible values include: "Enabled", "Disabled". - :type ssl_status: str or ~azure.mgmt.databoxedge.models.SSLStatus + :type ssl_status: str or ~azure.mgmt.databoxedge.v2019_03_01.models.SSLStatus :param blob_domain_name: Blob end point for private clouds. :type blob_domain_name: str :param account_type: Required. Type of storage accessed on the storage account. Possible values include: "GeneralPurposeStorage", "BlobStorage". - :type account_type: str or ~azure.mgmt.databoxedge.models.AccountType + :type account_type: str or ~azure.mgmt.databoxedge.v2019_03_01.models.AccountType """ _validation = { @@ -2245,7 +2250,7 @@ class StorageAccountCredentialList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The value. - :vartype value: list[~azure.mgmt.databoxedge.models.StorageAccountCredential] + :vartype value: list[~azure.mgmt.databoxedge.v2019_03_01.models.StorageAccountCredential] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2273,7 +2278,7 @@ class SymmetricKey(msrest.serialization.Model): """Symmetric key for authentication. :param connection_string: Connection string based on the symmetric key. - :type connection_string: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type connection_string: ~azure.mgmt.databoxedge.v2019_03_01.models.AsymmetricEncryptedSecret """ _attribute_map = { @@ -2325,7 +2330,7 @@ class TriggerList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of triggers. - :vartype value: list[~azure.mgmt.databoxedge.models.Trigger] + :vartype value: list[~azure.mgmt.databoxedge.v2019_03_01.models.Trigger] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2356,7 +2361,7 @@ class UpdateDownloadProgress(msrest.serialization.Model): :ivar download_phase: The download phase. Possible values include: "Unknown", "Initializing", "Downloading", "Verifying". - :vartype download_phase: str or ~azure.mgmt.databoxedge.models.DownloadPhase + :vartype download_phase: str or ~azure.mgmt.databoxedge.v2019_03_01.models.DownloadPhase :ivar percent_complete: Percentage of completion. :vartype percent_complete: int :ivar total_bytes_to_download: Total bytes to download. @@ -2470,10 +2475,12 @@ class UpdateSummary(ARMBaseModel): :vartype total_number_of_updates_pending_install: int :ivar reboot_behavior: Indicates if updates are available and at least one of the updates needs a reboot. Possible values include: "NeverReboots", "RequiresReboot", "RequestReboot". - :vartype reboot_behavior: str or ~azure.mgmt.databoxedge.models.InstallRebootBehavior + :vartype reboot_behavior: str or + ~azure.mgmt.databoxedge.v2019_03_01.models.InstallRebootBehavior :ivar ongoing_update_operation: The current update operation. Possible values include: "None", "Scan", "Download", "Install". - :vartype ongoing_update_operation: str or ~azure.mgmt.databoxedge.models.UpdateOperation + :vartype ongoing_update_operation: str or + ~azure.mgmt.databoxedge.v2019_03_01.models.UpdateOperation :ivar in_progress_download_job_id: The job ID of the download job in progress. :vartype in_progress_download_job_id: str :ivar in_progress_install_job_id: The job ID of the install job in progress. @@ -2563,7 +2570,7 @@ class UploadCertificateRequest(msrest.serialization.Model): :param authentication_type: The authentication type. Possible values include: "Invalid", "AzureActiveDirectory". - :type authentication_type: str or ~azure.mgmt.databoxedge.models.AuthenticationType + :type authentication_type: str or ~azure.mgmt.databoxedge.v2019_03_01.models.AuthenticationType :param certificate: Required. The base64 encoded certificate raw data. :type certificate: str """ @@ -2593,7 +2600,7 @@ class UploadCertificateResponse(msrest.serialization.Model): :param auth_type: Specifies authentication type. Possible values include: "Invalid", "AzureActiveDirectory". - :type auth_type: str or ~azure.mgmt.databoxedge.models.AuthenticationType + :type auth_type: str or ~azure.mgmt.databoxedge.v2019_03_01.models.AuthenticationType :param resource_id: Required. The resource ID of the Data Box Edge/Gateway device. :type resource_id: str :param aad_authority: Required. Azure Active Directory tenant authority. @@ -2655,10 +2662,10 @@ class User(ARMBaseModel): :ivar type: The hierarchical type of the object. :vartype type: str :param encrypted_password: The password details. - :type encrypted_password: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type encrypted_password: ~azure.mgmt.databoxedge.v2019_03_01.models.AsymmetricEncryptedSecret :param share_access_rights: List of shares that the user has rights on. This field should not be specified during user creation. - :type share_access_rights: list[~azure.mgmt.databoxedge.models.ShareAccessRight] + :type share_access_rights: list[~azure.mgmt.databoxedge.v2019_03_01.models.ShareAccessRight] """ _validation = { @@ -2693,7 +2700,7 @@ class UserAccessRight(msrest.serialization.Model): :type user_id: str :param access_type: Required. Type of access to be allowed for the user. Possible values include: "Change", "Read", "Custom". - :type access_type: str or ~azure.mgmt.databoxedge.models.ShareAccessType + :type access_type: str or ~azure.mgmt.databoxedge.v2019_03_01.models.ShareAccessType """ _validation = { @@ -2721,7 +2728,7 @@ class UserList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of users. - :vartype value: list[~azure.mgmt.databoxedge.models.User] + :vartype value: list[~azure.mgmt.databoxedge.v2019_03_01.models.User] :ivar next_link: Link to the next set of results. :vartype next_link: str """ diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/models/_models_py3.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/models/_models_py3.py index 0db07a2a7ba0..14dd7a6c2d22 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/models/_models_py3.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/models/_models_py3.py @@ -131,9 +131,9 @@ class Alert(ARMBaseModel): :vartype recommendation: str :ivar severity: Severity of the alert. Possible values include: "Informational", "Warning", "Critical". - :vartype severity: str or ~azure.mgmt.databoxedge.models.AlertSeverity + :vartype severity: str or ~azure.mgmt.databoxedge.v2019_03_01.models.AlertSeverity :ivar error_details: Error details of the alert. - :vartype error_details: ~azure.mgmt.databoxedge.models.AlertErrorDetails + :vartype error_details: ~azure.mgmt.databoxedge.v2019_03_01.models.AlertErrorDetails :ivar detailed_information: Alert details. :vartype detailed_information: dict[str, str] """ @@ -219,7 +219,7 @@ class AlertList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The value. - :vartype value: list[~azure.mgmt.databoxedge.models.Alert] + :vartype value: list[~azure.mgmt.databoxedge.v2019_03_01.models.Alert] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -255,7 +255,8 @@ class AsymmetricEncryptedSecret(msrest.serialization.Model): :type encryption_cert_thumbprint: str :param encryption_algorithm: Required. The algorithm used to encrypt "Value". Possible values include: "None", "AES256", "RSAES_PKCS1_v_1_5". - :type encryption_algorithm: str or ~azure.mgmt.databoxedge.models.EncryptionAlgorithm + :type encryption_algorithm: str or + ~azure.mgmt.databoxedge.v2019_03_01.models.EncryptionAlgorithm """ _validation = { @@ -287,7 +288,7 @@ class Authentication(msrest.serialization.Model): """Authentication mechanism for IoT devices. :param symmetric_key: Symmetric key for authentication. - :type symmetric_key: ~azure.mgmt.databoxedge.models.SymmetricKey + :type symmetric_key: ~azure.mgmt.databoxedge.v2019_03_01.models.SymmetricKey """ _attribute_map = { @@ -317,7 +318,7 @@ class AzureContainerInfo(msrest.serialization.Model): :type container_name: str :param data_format: Required. Storage format used for the file represented by the share. Possible values include: "BlockBlob", "PageBlob", "AzureFile". - :type data_format: str or ~azure.mgmt.databoxedge.models.AzureContainerDataFormat + :type data_format: str or ~azure.mgmt.databoxedge.v2019_03_01.models.AzureContainerDataFormat """ _validation = { @@ -366,7 +367,7 @@ class BandwidthSchedule(ARMBaseModel): :param rate_in_mbps: Required. The bandwidth rate in Mbps. :type rate_in_mbps: int :param days: Required. The days of the week when this schedule is applicable. - :type days: list[str or ~azure.mgmt.databoxedge.models.DayOfWeek] + :type days: list[str or ~azure.mgmt.databoxedge.v2019_03_01.models.DayOfWeek] """ _validation = { @@ -411,7 +412,7 @@ class BandwidthSchedulesList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of bandwidth schedules. - :vartype value: list[~azure.mgmt.databoxedge.models.BandwidthSchedule] + :vartype value: list[~azure.mgmt.databoxedge.v2019_03_01.models.BandwidthSchedule] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -444,7 +445,7 @@ class ClientAccessRight(msrest.serialization.Model): :type client: str :param access_permission: Required. Type of access to be allowed for the client. Possible values include: "NoAccess", "ReadOnly", "ReadWrite". - :type access_permission: str or ~azure.mgmt.databoxedge.models.ClientPermissionType + :type access_permission: str or ~azure.mgmt.databoxedge.v2019_03_01.models.ClientPermissionType """ _validation = { @@ -479,7 +480,7 @@ class CloudErrorBody(msrest.serialization.Model): interface. :type message: str :param details: A list of additional details about the error. - :type details: list[~azure.mgmt.databoxedge.models.CloudErrorBody] + :type details: list[~azure.mgmt.databoxedge.v2019_03_01.models.CloudErrorBody] """ _attribute_map = { @@ -569,14 +570,14 @@ class DataBoxEdgeDevice(ARMBaseModel): to view and group this device (across resource groups). :type tags: dict[str, str] :param sku: The SKU type. - :type sku: ~azure.mgmt.databoxedge.models.Sku + :type sku: ~azure.mgmt.databoxedge.v2019_03_01.models.Sku :param etag: The etag for the devices. :type etag: str :param data_box_edge_device_status: The status of the Data Box Edge/Gateway device. Possible values include: "ReadyToSetup", "Online", "Offline", "NeedsAttention", "Disconnected", "PartiallyDisconnected". :type data_box_edge_device_status: str or - ~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceStatus + ~azure.mgmt.databoxedge.v2019_03_01.models.DataBoxEdgeDeviceStatus :ivar serial_number: The Serial Number of Data Box Edge/Gateway device. :vartype serial_number: str :param description: The Description of the Data Box Edge/Gateway device. @@ -585,7 +586,7 @@ class DataBoxEdgeDevice(ARMBaseModel): :type model_description: str :ivar device_type: The type of the Data Box Edge/Gateway device. Possible values include: "DataBoxEdgeDevice". - :vartype device_type: str or ~azure.mgmt.databoxedge.models.DeviceType + :vartype device_type: str or ~azure.mgmt.databoxedge.v2019_03_01.models.DeviceType :param friendly_name: The Data Box Edge/Gateway device name. :type friendly_name: str :ivar culture: The Data Box Edge/Gateway device culture. @@ -601,7 +602,8 @@ class DataBoxEdgeDevice(ARMBaseModel): :ivar device_hcs_version: The device software version number of the device (eg: 1.2.18105.6). :vartype device_hcs_version: str :ivar configured_role_types: Type of compute roles configured. - :vartype configured_role_types: list[str or ~azure.mgmt.databoxedge.models.RoleTypes] + :vartype configured_role_types: list[str or + ~azure.mgmt.databoxedge.v2019_03_01.models.RoleTypes] """ _validation = { @@ -731,7 +733,7 @@ class DataBoxEdgeDeviceList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of Data Box Edge/Gateway devices. - :vartype value: list[~azure.mgmt.databoxedge.models.DataBoxEdgeDevice] + :vartype value: list[~azure.mgmt.databoxedge.v2019_03_01.models.DataBoxEdgeDevice] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -794,7 +796,7 @@ class Trigger(ARMBaseModel): :vartype type: str :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: "FileEvent", "PeriodicTimerEvent". - :type kind: str or ~azure.mgmt.databoxedge.models.TriggerEventType + :type kind: str or ~azure.mgmt.databoxedge.v2019_03_01.models.TriggerEventType """ _validation = { @@ -838,11 +840,11 @@ class FileEventTrigger(Trigger): :vartype type: str :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: "FileEvent", "PeriodicTimerEvent". - :type kind: str or ~azure.mgmt.databoxedge.models.TriggerEventType + :type kind: str or ~azure.mgmt.databoxedge.v2019_03_01.models.TriggerEventType :param source_info: Required. File event source details. - :type source_info: ~azure.mgmt.databoxedge.models.FileSourceInfo + :type source_info: ~azure.mgmt.databoxedge.v2019_03_01.models.FileSourceInfo :param sink_info: Required. Role sink info. - :type sink_info: ~azure.mgmt.databoxedge.models.RoleSinkInfo + :type sink_info: ~azure.mgmt.databoxedge.v2019_03_01.models.RoleSinkInfo :param custom_context_tag: A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module. @@ -920,7 +922,7 @@ class IoTDeviceInfo(msrest.serialization.Model): :param io_t_host_hub: Required. Host name for the IoT hub associated to the device. :type io_t_host_hub: str :param authentication: IoT device authentication info. - :type authentication: ~azure.mgmt.databoxedge.models.Authentication + :type authentication: ~azure.mgmt.databoxedge.v2019_03_01.models.Authentication """ _validation = { @@ -966,7 +968,7 @@ class Role(ARMBaseModel): :vartype type: str :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", "ASA", "Functions", "Cognitive". - :type kind: str or ~azure.mgmt.databoxedge.models.RoleTypes + :type kind: str or ~azure.mgmt.databoxedge.v2019_03_01.models.RoleTypes """ _validation = { @@ -1010,19 +1012,19 @@ class IoTRole(Role): :vartype type: str :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", "ASA", "Functions", "Cognitive". - :type kind: str or ~azure.mgmt.databoxedge.models.RoleTypes + :type kind: str or ~azure.mgmt.databoxedge.v2019_03_01.models.RoleTypes :param host_platform: Host OS supported by the IoT role. Possible values include: "Windows", "Linux". - :type host_platform: str or ~azure.mgmt.databoxedge.models.PlatformType + :type host_platform: str or ~azure.mgmt.databoxedge.v2019_03_01.models.PlatformType :param io_t_device_details: IoT device metadata to which data box edge device needs to be connected. - :type io_t_device_details: ~azure.mgmt.databoxedge.models.IoTDeviceInfo + :type io_t_device_details: ~azure.mgmt.databoxedge.v2019_03_01.models.IoTDeviceInfo :param io_t_edge_device_details: IoT edge device to which the IoT role needs to be configured. - :type io_t_edge_device_details: ~azure.mgmt.databoxedge.models.IoTDeviceInfo + :type io_t_edge_device_details: ~azure.mgmt.databoxedge.v2019_03_01.models.IoTDeviceInfo :param share_mappings: Mount points of shares in role(s). - :type share_mappings: list[~azure.mgmt.databoxedge.models.MountPointMap] + :type share_mappings: list[~azure.mgmt.databoxedge.v2019_03_01.models.MountPointMap] :param role_status: Role status. Possible values include: "Enabled", "Disabled". - :type role_status: str or ~azure.mgmt.databoxedge.models.RoleStatus + :type role_status: str or ~azure.mgmt.databoxedge.v2019_03_01.models.RoleStatus """ _validation = { @@ -1146,7 +1148,7 @@ class Job(msrest.serialization.Model): :vartype type: str :ivar status: The current status of the job. Possible values include: "Invalid", "Running", "Succeeded", "Failed", "Canceled", "Paused", "Scheduled". - :vartype status: str or ~azure.mgmt.databoxedge.models.JobStatus + :vartype status: str or ~azure.mgmt.databoxedge.v2019_03_01.models.JobStatus :ivar start_time: The UTC date and time at which the job started. :vartype start_time: ~datetime.datetime :ivar end_time: The UTC date and time at which the job completed. @@ -1154,19 +1156,19 @@ class Job(msrest.serialization.Model): :ivar percent_complete: The percentage of the job that is complete. :vartype percent_complete: int :ivar error: The error details. - :vartype error: ~azure.mgmt.databoxedge.models.JobErrorDetails + :vartype error: ~azure.mgmt.databoxedge.v2019_03_01.models.JobErrorDetails :ivar job_type: The type of the job. Possible values include: "Invalid", "ScanForUpdates", "DownloadUpdates", "InstallUpdates", "RefreshShare". - :vartype job_type: str or ~azure.mgmt.databoxedge.models.JobType + :vartype job_type: str or ~azure.mgmt.databoxedge.v2019_03_01.models.JobType :ivar current_stage: Current stage of the update operation. Possible values include: "Unknown", "Initial", "ScanStarted", "ScanComplete", "ScanFailed", "DownloadStarted", "DownloadComplete", "DownloadFailed", "InstallStarted", "InstallComplete", "InstallFailed", "RebootInitiated", "Success", "Failure", "RescanStarted", "RescanComplete", "RescanFailed". - :vartype current_stage: str or ~azure.mgmt.databoxedge.models.UpdateOperationStage + :vartype current_stage: str or ~azure.mgmt.databoxedge.v2019_03_01.models.UpdateOperationStage :ivar download_progress: The download progress. - :vartype download_progress: ~azure.mgmt.databoxedge.models.UpdateDownloadProgress + :vartype download_progress: ~azure.mgmt.databoxedge.v2019_03_01.models.UpdateDownloadProgress :ivar install_progress: The install progress. - :vartype install_progress: ~azure.mgmt.databoxedge.models.UpdateInstallProgress + :vartype install_progress: ~azure.mgmt.databoxedge.v2019_03_01.models.UpdateInstallProgress :ivar total_refresh_errors: Total number of errors encountered during the refresh process. :vartype total_refresh_errors: int :ivar error_manifest_file: Local share/remote container relative path to the error manifest @@ -1247,7 +1249,7 @@ class JobErrorDetails(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar error_details: The error details. - :vartype error_details: list[~azure.mgmt.databoxedge.models.JobErrorItem] + :vartype error_details: list[~azure.mgmt.databoxedge.v2019_03_01.models.JobErrorItem] :ivar code: The code intended for programmatic access. :vartype code: str :ivar message: The message that describes the error in detail. @@ -1353,23 +1355,24 @@ class MetricSpecificationV1(msrest.serialization.Model): :type display_description: str :param unit: Metric units. Possible values include: "NotSpecified", "Percent", "Count", "Seconds", "Milliseconds", "Bytes", "BytesPerSecond", "CountPerSecond". - :type unit: str or ~azure.mgmt.databoxedge.models.MetricUnit + :type unit: str or ~azure.mgmt.databoxedge.v2019_03_01.models.MetricUnit :param aggregation_type: Metric aggregation type. Possible values include: "NotSpecified", "None", "Average", "Minimum", "Maximum", "Total", "Count". - :type aggregation_type: str or ~azure.mgmt.databoxedge.models.MetricAggregationType + :type aggregation_type: str or ~azure.mgmt.databoxedge.v2019_03_01.models.MetricAggregationType :param dimensions: Metric dimensions, other than default dimension which is resource. - :type dimensions: list[~azure.mgmt.databoxedge.models.MetricDimensionV1] + :type dimensions: list[~azure.mgmt.databoxedge.v2019_03_01.models.MetricDimensionV1] :param fill_gap_with_zero: Set true to fill the gaps with zero. :type fill_gap_with_zero: bool :param category: Metric category. Possible values include: "Capacity", "Transaction". - :type category: str or ~azure.mgmt.databoxedge.models.MetricCategory + :type category: str or ~azure.mgmt.databoxedge.v2019_03_01.models.MetricCategory :param resource_id_dimension_name_override: Resource name override. :type resource_id_dimension_name_override: str :param supported_time_grain_types: Support granularity of metrics. - :type supported_time_grain_types: list[str or ~azure.mgmt.databoxedge.models.TimeGrain] + :type supported_time_grain_types: list[str or + ~azure.mgmt.databoxedge.v2019_03_01.models.TimeGrain] :param supported_aggregation_types: Support metric aggregation type. :type supported_aggregation_types: list[str or - ~azure.mgmt.databoxedge.models.MetricAggregationType] + ~azure.mgmt.databoxedge.v2019_03_01.models.MetricAggregationType] """ _attribute_map = { @@ -1430,7 +1433,7 @@ class MountPointMap(msrest.serialization.Model): :ivar mount_point: Mount point for the share. :vartype mount_point: str :ivar role_type: Role type. Possible values include: "IOT", "ASA", "Functions", "Cognitive". - :vartype role_type: str or ~azure.mgmt.databoxedge.models.RoleTypes + :vartype role_type: str or ~azure.mgmt.databoxedge.v2019_03_01.models.RoleTypes """ _validation = { @@ -1468,7 +1471,7 @@ class NetworkAdapter(msrest.serialization.Model): :ivar adapter_id: Instance ID of network adapter. :vartype adapter_id: str :ivar adapter_position: Hardware position of network adapter. - :vartype adapter_position: ~azure.mgmt.databoxedge.models.NetworkAdapterPosition + :vartype adapter_position: ~azure.mgmt.databoxedge.v2019_03_01.models.NetworkAdapterPosition :ivar index: Logical index of the adapter. :vartype index: int :ivar node_id: Node ID of the network adapter. @@ -1483,17 +1486,17 @@ class NetworkAdapter(msrest.serialization.Model): :vartype link_speed: long :ivar status: Value indicating whether this adapter is valid. Possible values include: "Inactive", "Active". - :vartype status: str or ~azure.mgmt.databoxedge.models.NetworkAdapterStatus + :vartype status: str or ~azure.mgmt.databoxedge.v2019_03_01.models.NetworkAdapterStatus :param rdma_status: Value indicating whether this adapter is RDMA capable. Possible values include: "Incapable", "Capable". - :type rdma_status: str or ~azure.mgmt.databoxedge.models.NetworkAdapterRDMAStatus + :type rdma_status: str or ~azure.mgmt.databoxedge.v2019_03_01.models.NetworkAdapterRDMAStatus :param dhcp_status: Value indicating whether this adapter has DHCP enabled. Possible values include: "Disabled", "Enabled". - :type dhcp_status: str or ~azure.mgmt.databoxedge.models.NetworkAdapterDHCPStatus + :type dhcp_status: str or ~azure.mgmt.databoxedge.v2019_03_01.models.NetworkAdapterDHCPStatus :ivar ipv4_configuration: The IPv4 configuration of the network adapter. - :vartype ipv4_configuration: ~azure.mgmt.databoxedge.models.Ipv4Config + :vartype ipv4_configuration: ~azure.mgmt.databoxedge.v2019_03_01.models.Ipv4Config :ivar ipv6_configuration: The IPv6 configuration of the network adapter. - :vartype ipv6_configuration: ~azure.mgmt.databoxedge.models.Ipv6Config + :vartype ipv6_configuration: ~azure.mgmt.databoxedge.v2019_03_01.models.Ipv6Config :ivar ipv6_link_local_address: The IPv6 local address. :vartype ipv6_link_local_address: str :ivar dns_servers: The list of DNS Servers of the device. @@ -1565,7 +1568,7 @@ class NetworkAdapterPosition(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar network_group: The network group. Possible values include: "None", "NonRDMA", "RDMA". - :vartype network_group: str or ~azure.mgmt.databoxedge.models.NetworkGroup + :vartype network_group: str or ~azure.mgmt.databoxedge.v2019_03_01.models.NetworkGroup :ivar port: The port. :vartype port: int """ @@ -1601,7 +1604,7 @@ class NetworkSettings(ARMBaseModel): :ivar type: The hierarchical type of the object. :vartype type: str :ivar network_adapters: The network adapter list on the device. - :vartype network_adapters: list[~azure.mgmt.databoxedge.models.NetworkAdapter] + :vartype network_adapters: list[~azure.mgmt.databoxedge.v2019_03_01.models.NetworkAdapter] """ _validation = { @@ -1632,11 +1635,11 @@ class Operation(msrest.serialization.Model): :param name: Name of the operation. :type name: str :param display: Properties displayed for the operation. - :type display: ~azure.mgmt.databoxedge.models.OperationDisplay + :type display: ~azure.mgmt.databoxedge.v2019_03_01.models.OperationDisplay :param origin: Origin of the operation. :type origin: str :param service_specification: Service specification. - :type service_specification: ~azure.mgmt.databoxedge.models.ServiceSpecification + :type service_specification: ~azure.mgmt.databoxedge.v2019_03_01.models.ServiceSpecification """ _attribute_map = { @@ -1704,7 +1707,7 @@ class OperationsList(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. The value. - :type value: list[~azure.mgmt.databoxedge.models.Operation] + :type value: list[~azure.mgmt.databoxedge.v2019_03_01.models.Operation] :param next_link: Link to the next set of results. :type next_link: str """ @@ -1742,21 +1745,21 @@ class Order(ARMBaseModel): :ivar type: The hierarchical type of the object. :vartype type: str :param contact_information: The contact details. - :type contact_information: ~azure.mgmt.databoxedge.models.ContactDetails + :type contact_information: ~azure.mgmt.databoxedge.v2019_03_01.models.ContactDetails :param shipping_address: The shipping address. - :type shipping_address: ~azure.mgmt.databoxedge.models.Address + :type shipping_address: ~azure.mgmt.databoxedge.v2019_03_01.models.Address :param current_status: Current status of the order. - :type current_status: ~azure.mgmt.databoxedge.models.OrderStatus + :type current_status: ~azure.mgmt.databoxedge.v2019_03_01.models.OrderStatus :ivar order_history: List of status changes in the order. - :vartype order_history: list[~azure.mgmt.databoxedge.models.OrderStatus] + :vartype order_history: list[~azure.mgmt.databoxedge.v2019_03_01.models.OrderStatus] :ivar serial_number: Serial number of the device. :vartype serial_number: str :ivar delivery_tracking_info: Tracking information for the package delivered to the customer whether it has an original or a replacement device. - :vartype delivery_tracking_info: list[~azure.mgmt.databoxedge.models.TrackingInfo] + :vartype delivery_tracking_info: list[~azure.mgmt.databoxedge.v2019_03_01.models.TrackingInfo] :ivar return_tracking_info: Tracking information for the package returned from the customer whether it has an original or a replacement device. - :vartype return_tracking_info: list[~azure.mgmt.databoxedge.models.TrackingInfo] + :vartype return_tracking_info: list[~azure.mgmt.databoxedge.v2019_03_01.models.TrackingInfo] """ _validation = { @@ -1806,7 +1809,7 @@ class OrderList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of orders. - :vartype value: list[~azure.mgmt.databoxedge.models.Order] + :vartype value: list[~azure.mgmt.databoxedge.v2019_03_01.models.Order] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -1841,7 +1844,7 @@ class OrderStatus(msrest.serialization.Model): include: "Untracked", "AwaitingFulfilment", "AwaitingPreparation", "AwaitingShipment", "Shipped", "Arriving", "Delivered", "ReplacementRequested", "LostDevice", "Declined", "ReturnInitiated", "AwaitingReturnShipment", "ShippedBack", "CollectedAtMicrosoft". - :type status: str or ~azure.mgmt.databoxedge.models.OrderState + :type status: str or ~azure.mgmt.databoxedge.v2019_03_01.models.OrderState :ivar update_date_time: Time of status update. :vartype update_date_time: ~datetime.datetime :param comments: Comments related to this status change. @@ -1887,11 +1890,11 @@ class PeriodicTimerEventTrigger(Trigger): :vartype type: str :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: "FileEvent", "PeriodicTimerEvent". - :type kind: str or ~azure.mgmt.databoxedge.models.TriggerEventType + :type kind: str or ~azure.mgmt.databoxedge.v2019_03_01.models.TriggerEventType :param source_info: Required. Periodic timer details. - :type source_info: ~azure.mgmt.databoxedge.models.PeriodicTimerSourceInfo + :type source_info: ~azure.mgmt.databoxedge.v2019_03_01.models.PeriodicTimerSourceInfo :param sink_info: Required. Role Sink information. - :type sink_info: ~azure.mgmt.databoxedge.models.RoleSinkInfo + :type sink_info: ~azure.mgmt.databoxedge.v2019_03_01.models.RoleSinkInfo :param custom_context_tag: A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module. @@ -2020,7 +2023,7 @@ class RoleList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The Value. - :vartype value: list[~azure.mgmt.databoxedge.models.Role] + :vartype value: list[~azure.mgmt.databoxedge.v2019_03_01.models.Role] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2088,7 +2091,8 @@ class SecuritySettings(ARMBaseModel): (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual password should have at least 8 characters that are a combination of uppercase, lowercase, numeric, and special characters. - :type device_admin_password: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type device_admin_password: + ~azure.mgmt.databoxedge.v2019_03_01.models.AsymmetricEncryptedSecret """ _validation = { @@ -2119,7 +2123,8 @@ class ServiceSpecification(msrest.serialization.Model): """Service specification. :param metric_specifications: Metric specification as defined by shoebox. - :type metric_specifications: list[~azure.mgmt.databoxedge.models.MetricSpecificationV1] + :type metric_specifications: + list[~azure.mgmt.databoxedge.v2019_03_01.models.MetricSpecificationV1] """ _attribute_map = { @@ -2153,27 +2158,27 @@ class Share(ARMBaseModel): :type description: str :param share_status: Required. Current status of the share. Possible values include: "Online", "Offline". - :type share_status: str or ~azure.mgmt.databoxedge.models.ShareStatus + :type share_status: str or ~azure.mgmt.databoxedge.v2019_03_01.models.ShareStatus :param monitoring_status: Required. Current monitoring status of the share. Possible values include: "Enabled", "Disabled". - :type monitoring_status: str or ~azure.mgmt.databoxedge.models.MonitoringStatus + :type monitoring_status: str or ~azure.mgmt.databoxedge.v2019_03_01.models.MonitoringStatus :param azure_container_info: Azure container mapping for the share. - :type azure_container_info: ~azure.mgmt.databoxedge.models.AzureContainerInfo + :type azure_container_info: ~azure.mgmt.databoxedge.v2019_03_01.models.AzureContainerInfo :param access_protocol: Required. Access protocol to be used by the share. Possible values include: "SMB", "NFS". - :type access_protocol: str or ~azure.mgmt.databoxedge.models.ShareAccessProtocol + :type access_protocol: str or ~azure.mgmt.databoxedge.v2019_03_01.models.ShareAccessProtocol :param user_access_rights: Mapping of users and corresponding access rights on the share (required for SMB protocol). - :type user_access_rights: list[~azure.mgmt.databoxedge.models.UserAccessRight] + :type user_access_rights: list[~azure.mgmt.databoxedge.v2019_03_01.models.UserAccessRight] :param client_access_rights: List of IP addresses and corresponding access rights on the share(required for NFS protocol). - :type client_access_rights: list[~azure.mgmt.databoxedge.models.ClientAccessRight] + :type client_access_rights: list[~azure.mgmt.databoxedge.v2019_03_01.models.ClientAccessRight] :param refresh_details: Details of the refresh job on this share. - :type refresh_details: ~azure.mgmt.databoxedge.models.RefreshDetails + :type refresh_details: ~azure.mgmt.databoxedge.v2019_03_01.models.RefreshDetails :ivar share_mappings: Share mount point to the role. - :vartype share_mappings: list[~azure.mgmt.databoxedge.models.MountPointMap] + :vartype share_mappings: list[~azure.mgmt.databoxedge.v2019_03_01.models.MountPointMap] :param data_policy: Data policy of the share. Possible values include: "Cloud", "Local". - :type data_policy: str or ~azure.mgmt.databoxedge.models.DataPolicy + :type data_policy: str or ~azure.mgmt.databoxedge.v2019_03_01.models.DataPolicy """ _validation = { @@ -2238,7 +2243,7 @@ class ShareAccessRight(msrest.serialization.Model): :type share_id: str :param access_type: Required. Type of access to be allowed on the share for this user. Possible values include: "Change", "Read", "Custom". - :type access_type: str or ~azure.mgmt.databoxedge.models.ShareAccessType + :type access_type: str or ~azure.mgmt.databoxedge.v2019_03_01.models.ShareAccessType """ _validation = { @@ -2269,7 +2274,7 @@ class ShareList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of shares. - :vartype value: list[~azure.mgmt.databoxedge.models.Share] + :vartype value: list[~azure.mgmt.databoxedge.v2019_03_01.models.Share] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2297,9 +2302,9 @@ class Sku(msrest.serialization.Model): """The SKU type. :param name: SKU name. Possible values include: "Gateway", "Edge". - :type name: str or ~azure.mgmt.databoxedge.models.SkuName + :type name: str or ~azure.mgmt.databoxedge.v2019_03_01.models.SkuName :param tier: The SKU tier. This is based on the SKU name. Possible values include: "Standard". - :type tier: str or ~azure.mgmt.databoxedge.models.SkuTier + :type tier: str or ~azure.mgmt.databoxedge.v2019_03_01.models.SkuTier """ _attribute_map = { @@ -2337,18 +2342,18 @@ class StorageAccountCredential(ARMBaseModel): :param user_name: Username for the storage account. :type user_name: str :param account_key: Encrypted storage key. - :type account_key: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type account_key: ~azure.mgmt.databoxedge.v2019_03_01.models.AsymmetricEncryptedSecret :param connection_string: Connection string for the storage account. Use this string if username and account key are not specified. :type connection_string: str :param ssl_status: Required. Signifies whether SSL needs to be enabled or not. Possible values include: "Enabled", "Disabled". - :type ssl_status: str or ~azure.mgmt.databoxedge.models.SSLStatus + :type ssl_status: str or ~azure.mgmt.databoxedge.v2019_03_01.models.SSLStatus :param blob_domain_name: Blob end point for private clouds. :type blob_domain_name: str :param account_type: Required. Type of storage accessed on the storage account. Possible values include: "GeneralPurposeStorage", "BlobStorage". - :type account_type: str or ~azure.mgmt.databoxedge.models.AccountType + :type account_type: str or ~azure.mgmt.databoxedge.v2019_03_01.models.AccountType """ _validation = { @@ -2401,7 +2406,7 @@ class StorageAccountCredentialList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The value. - :vartype value: list[~azure.mgmt.databoxedge.models.StorageAccountCredential] + :vartype value: list[~azure.mgmt.databoxedge.v2019_03_01.models.StorageAccountCredential] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2429,7 +2434,7 @@ class SymmetricKey(msrest.serialization.Model): """Symmetric key for authentication. :param connection_string: Connection string based on the symmetric key. - :type connection_string: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type connection_string: ~azure.mgmt.databoxedge.v2019_03_01.models.AsymmetricEncryptedSecret """ _attribute_map = { @@ -2488,7 +2493,7 @@ class TriggerList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of triggers. - :vartype value: list[~azure.mgmt.databoxedge.models.Trigger] + :vartype value: list[~azure.mgmt.databoxedge.v2019_03_01.models.Trigger] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2519,7 +2524,7 @@ class UpdateDownloadProgress(msrest.serialization.Model): :ivar download_phase: The download phase. Possible values include: "Unknown", "Initializing", "Downloading", "Verifying". - :vartype download_phase: str or ~azure.mgmt.databoxedge.models.DownloadPhase + :vartype download_phase: str or ~azure.mgmt.databoxedge.v2019_03_01.models.DownloadPhase :ivar percent_complete: Percentage of completion. :vartype percent_complete: int :ivar total_bytes_to_download: Total bytes to download. @@ -2633,10 +2638,12 @@ class UpdateSummary(ARMBaseModel): :vartype total_number_of_updates_pending_install: int :ivar reboot_behavior: Indicates if updates are available and at least one of the updates needs a reboot. Possible values include: "NeverReboots", "RequiresReboot", "RequestReboot". - :vartype reboot_behavior: str or ~azure.mgmt.databoxedge.models.InstallRebootBehavior + :vartype reboot_behavior: str or + ~azure.mgmt.databoxedge.v2019_03_01.models.InstallRebootBehavior :ivar ongoing_update_operation: The current update operation. Possible values include: "None", "Scan", "Download", "Install". - :vartype ongoing_update_operation: str or ~azure.mgmt.databoxedge.models.UpdateOperation + :vartype ongoing_update_operation: str or + ~azure.mgmt.databoxedge.v2019_03_01.models.UpdateOperation :ivar in_progress_download_job_id: The job ID of the download job in progress. :vartype in_progress_download_job_id: str :ivar in_progress_install_job_id: The job ID of the install job in progress. @@ -2731,7 +2738,7 @@ class UploadCertificateRequest(msrest.serialization.Model): :param authentication_type: The authentication type. Possible values include: "Invalid", "AzureActiveDirectory". - :type authentication_type: str or ~azure.mgmt.databoxedge.models.AuthenticationType + :type authentication_type: str or ~azure.mgmt.databoxedge.v2019_03_01.models.AuthenticationType :param certificate: Required. The base64 encoded certificate raw data. :type certificate: str """ @@ -2764,7 +2771,7 @@ class UploadCertificateResponse(msrest.serialization.Model): :param auth_type: Specifies authentication type. Possible values include: "Invalid", "AzureActiveDirectory". - :type auth_type: str or ~azure.mgmt.databoxedge.models.AuthenticationType + :type auth_type: str or ~azure.mgmt.databoxedge.v2019_03_01.models.AuthenticationType :param resource_id: Required. The resource ID of the Data Box Edge/Gateway device. :type resource_id: str :param aad_authority: Required. Azure Active Directory tenant authority. @@ -2834,10 +2841,10 @@ class User(ARMBaseModel): :ivar type: The hierarchical type of the object. :vartype type: str :param encrypted_password: The password details. - :type encrypted_password: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type encrypted_password: ~azure.mgmt.databoxedge.v2019_03_01.models.AsymmetricEncryptedSecret :param share_access_rights: List of shares that the user has rights on. This field should not be specified during user creation. - :type share_access_rights: list[~azure.mgmt.databoxedge.models.ShareAccessRight] + :type share_access_rights: list[~azure.mgmt.databoxedge.v2019_03_01.models.ShareAccessRight] """ _validation = { @@ -2875,7 +2882,7 @@ class UserAccessRight(msrest.serialization.Model): :type user_id: str :param access_type: Required. Type of access to be allowed for the user. Possible values include: "Change", "Read", "Custom". - :type access_type: str or ~azure.mgmt.databoxedge.models.ShareAccessType + :type access_type: str or ~azure.mgmt.databoxedge.v2019_03_01.models.ShareAccessType """ _validation = { @@ -2906,7 +2913,7 @@ class UserList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of users. - :vartype value: list[~azure.mgmt.databoxedge.models.User] + :vartype value: list[~azure.mgmt.databoxedge.v2019_03_01.models.User] :ivar next_link: Link to the next set of results. :vartype next_link: str """ diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_alerts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_alerts_operations.py index d0efcdb78f35..23704e68521d 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_alerts_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_alerts_operations.py @@ -30,7 +30,7 @@ class AlertsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_03_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AlertList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.AlertList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_03_01.models.AlertList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.AlertList"] @@ -140,7 +140,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Alert, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Alert + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.Alert :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Alert"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_bandwidth_schedules_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_bandwidth_schedules_operations.py index 29a5590c7043..fb1ea0ce78d2 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_bandwidth_schedules_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_bandwidth_schedules_operations.py @@ -32,7 +32,7 @@ class BandwidthSchedulesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_03_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BandwidthSchedulesList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.BandwidthSchedulesList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_03_01.models.BandwidthSchedulesList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedulesList"] @@ -140,7 +140,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BandwidthSchedule, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.BandwidthSchedule + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.BandwidthSchedule :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedule"] @@ -261,15 +261,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param parameters: The bandwidth schedule to be added or updated. - :type parameters: ~azure.mgmt.databoxedge.models.BandwidthSchedule + :type parameters: ~azure.mgmt.databoxedge.v2019_03_01.models.BandwidthSchedule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BandwidthSchedule or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.BandwidthSchedule] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_03_01.models.BandwidthSchedule] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -385,8 +385,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_devices_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_devices_operations.py index b745ac80cc23..eafcd638a8ef 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_devices_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_devices_operations.py @@ -32,7 +32,7 @@ class DevicesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_03_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list_by_subscription( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_03_01.models.DataBoxEdgeDeviceList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] @@ -136,7 +136,7 @@ def list_by_resource_group( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_03_01.models.DataBoxEdgeDeviceList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] @@ -212,7 +212,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataBoxEdgeDevice, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevice + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.DataBoxEdgeDevice :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] @@ -325,15 +325,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param data_box_edge_device: The resource object. - :type data_box_edge_device: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevice + :type data_box_edge_device: ~azure.mgmt.databoxedge.v2019_03_01.models.DataBoxEdgeDevice :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DataBoxEdgeDevice or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.DataBoxEdgeDevice] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_03_01.models.DataBoxEdgeDevice] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -442,8 +442,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -507,10 +507,10 @@ def update( :param resource_group_name: The resource group name. :type resource_group_name: str :param parameters: The resource parameters. - :type parameters: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevicePatch + :type parameters: ~azure.mgmt.databoxedge.v2019_03_01.models.DataBoxEdgeDevicePatch :keyword callable cls: A custom type or function that will be passed the direct response :return: DataBoxEdgeDevice, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevice + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.DataBoxEdgeDevice :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] @@ -621,8 +621,8 @@ def begin_download_updates( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -686,7 +686,7 @@ def get_extended_information( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataBoxEdgeDeviceExtendedInfo, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceExtendedInfo + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.DataBoxEdgeDeviceExtendedInfo :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceExtendedInfo"] @@ -792,8 +792,8 @@ def begin_install_updates( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -857,7 +857,7 @@ def get_network_settings( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkSettings, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.NetworkSettings + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.NetworkSettings :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSettings"] @@ -963,8 +963,8 @@ def begin_scan_for_updates( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1079,11 +1079,11 @@ def begin_create_or_update_security_settings( :param resource_group_name: The resource group name. :type resource_group_name: str :param security_settings: The security settings. - :type security_settings: ~azure.mgmt.databoxedge.models.SecuritySettings + :type security_settings: ~azure.mgmt.databoxedge.v2019_03_01.models.SecuritySettings :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1151,7 +1151,7 @@ def get_update_summary( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: UpdateSummary, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.UpdateSummary + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.UpdateSummary :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.UpdateSummary"] @@ -1210,10 +1210,10 @@ def upload_certificate( :param resource_group_name: The resource group name. :type resource_group_name: str :param parameters: The upload certificate request. - :type parameters: ~azure.mgmt.databoxedge.models.UploadCertificateRequest + :type parameters: ~azure.mgmt.databoxedge.v2019_03_01.models.UploadCertificateRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: UploadCertificateResponse, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.UploadCertificateResponse + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.UploadCertificateResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.UploadCertificateResponse"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_jobs_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_jobs_operations.py index b3248010bc16..425a366cf4bd 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_jobs_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_jobs_operations.py @@ -29,7 +29,7 @@ class JobsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_03_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -64,7 +64,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Job, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Job + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.Job :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_operations.py index 87a7d942fbb3..a12f6aa1e7c9 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_operations.py @@ -30,7 +30,7 @@ class Operations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_03_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -56,7 +56,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OperationsList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.OperationsList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_03_01.models.OperationsList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationsList"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_operations_status_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_operations_status_operations.py index b0b10d761105..57e5cb8d66d0 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_operations_status_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_operations_status_operations.py @@ -29,7 +29,7 @@ class OperationsStatusOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_03_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -64,7 +64,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Job, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Job + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.Job :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_orders_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_orders_operations.py index a5f925ecc9f7..6227f5ccf7f1 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_orders_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_orders_operations.py @@ -32,7 +32,7 @@ class OrdersOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_03_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -64,7 +64,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OrderList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.OrderList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_03_01.models.OrderList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.OrderList"] @@ -141,7 +141,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Order, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Order + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.Order :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Order"] @@ -258,15 +258,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param order: The order to be created or updated. - :type order: ~azure.mgmt.databoxedge.models.Order + :type order: ~azure.mgmt.databoxedge.v2019_03_01.models.Order :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Order or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.Order] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_03_01.models.Order] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -377,8 +377,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_roles_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_roles_operations.py index a73d4fbbae37..afb182c9818e 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_roles_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_roles_operations.py @@ -32,7 +32,7 @@ class RolesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_03_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either RoleList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.RoleList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_03_01.models.RoleList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.RoleList"] @@ -140,7 +140,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Role, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Role + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.Role :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Role"] @@ -261,15 +261,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param role: The role properties. - :type role: ~azure.mgmt.databoxedge.models.Role + :type role: ~azure.mgmt.databoxedge.v2019_03_01.models.Role :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Role or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.Role] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_03_01.models.Role] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -385,8 +385,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_shares_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_shares_operations.py index c5d116b84e35..294c68068676 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_shares_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_shares_operations.py @@ -32,7 +32,7 @@ class SharesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_03_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -64,7 +64,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ShareList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.ShareList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_03_01.models.ShareList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.ShareList"] @@ -144,7 +144,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Share, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Share + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.Share :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Share"] @@ -267,15 +267,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param share: The share properties. - :type share: ~azure.mgmt.databoxedge.models.Share + :type share: ~azure.mgmt.databoxedge.v2019_03_01.models.Share :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Share or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.Share] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_03_01.models.Share] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -391,8 +391,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -510,8 +510,8 @@ def begin_refresh( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_storage_account_credentials_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_storage_account_credentials_operations.py index ad26e5ff1a0a..869e22514f35 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_storage_account_credentials_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_storage_account_credentials_operations.py @@ -32,7 +32,7 @@ class StorageAccountCredentialsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_03_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -64,7 +64,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountCredentialList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.StorageAccountCredentialList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_03_01.models.StorageAccountCredentialList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredentialList"] @@ -142,7 +142,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountCredential, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.StorageAccountCredential + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.StorageAccountCredential :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredential"] @@ -263,15 +263,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param storage_account_credential: The storage account credential. - :type storage_account_credential: ~azure.mgmt.databoxedge.models.StorageAccountCredential + :type storage_account_credential: ~azure.mgmt.databoxedge.v2019_03_01.models.StorageAccountCredential :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either StorageAccountCredential or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.StorageAccountCredential] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_03_01.models.StorageAccountCredential] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -387,8 +387,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_triggers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_triggers_operations.py index 901b3bd7c2dd..269bedf97869 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_triggers_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_triggers_operations.py @@ -32,7 +32,7 @@ class TriggersOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_03_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -66,7 +66,7 @@ def list_by_data_box_edge_device( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either TriggerList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.TriggerList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_03_01.models.TriggerList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.TriggerList"] @@ -146,7 +146,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Trigger, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Trigger + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.Trigger :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Trigger"] @@ -267,15 +267,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param trigger: The trigger. - :type trigger: ~azure.mgmt.databoxedge.models.Trigger + :type trigger: ~azure.mgmt.databoxedge.v2019_03_01.models.Trigger :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Trigger or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.Trigger] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_03_01.models.Trigger] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -391,8 +391,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_users_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_users_operations.py index cb05fd2b2d94..e990e85a43cd 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_users_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_03_01/operations/_users_operations.py @@ -32,7 +32,7 @@ class UsersOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_03_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either UserList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.UserList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_03_01.models.UserList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.UserList"] @@ -140,7 +140,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: User, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.User + :rtype: ~azure.mgmt.databoxedge.v2019_03_01.models.User :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.User"] @@ -261,15 +261,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param user: The user details. - :type user: ~azure.mgmt.databoxedge.models.User + :type user: ~azure.mgmt.databoxedge.v2019_03_01.models.User :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either User or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.User] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_03_01.models.User] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -385,8 +385,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/_data_box_edge_management_client.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/_data_box_edge_management_client.py index a19d9246df54..b6bdb6e27a72 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/_data_box_edge_management_client.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/_data_box_edge_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import DataBoxEdgeManagementClientConfiguration from .operations import Operations @@ -38,31 +39,31 @@ class DataBoxEdgeManagementClient(object): """The DataBoxEdge Client. :ivar operations: Operations operations - :vartype operations: azure.mgmt.databoxedge.operations.Operations + :vartype operations: azure.mgmt.databoxedge.v2019_07_01.operations.Operations :ivar devices: DevicesOperations operations - :vartype devices: azure.mgmt.databoxedge.operations.DevicesOperations + :vartype devices: azure.mgmt.databoxedge.v2019_07_01.operations.DevicesOperations :ivar alerts: AlertsOperations operations - :vartype alerts: azure.mgmt.databoxedge.operations.AlertsOperations + :vartype alerts: azure.mgmt.databoxedge.v2019_07_01.operations.AlertsOperations :ivar bandwidth_schedules: BandwidthSchedulesOperations operations - :vartype bandwidth_schedules: azure.mgmt.databoxedge.operations.BandwidthSchedulesOperations + :vartype bandwidth_schedules: azure.mgmt.databoxedge.v2019_07_01.operations.BandwidthSchedulesOperations :ivar jobs: JobsOperations operations - :vartype jobs: azure.mgmt.databoxedge.operations.JobsOperations + :vartype jobs: azure.mgmt.databoxedge.v2019_07_01.operations.JobsOperations :ivar nodes: NodesOperations operations - :vartype nodes: azure.mgmt.databoxedge.operations.NodesOperations + :vartype nodes: azure.mgmt.databoxedge.v2019_07_01.operations.NodesOperations :ivar operations_status: OperationsStatusOperations operations - :vartype operations_status: azure.mgmt.databoxedge.operations.OperationsStatusOperations + :vartype operations_status: azure.mgmt.databoxedge.v2019_07_01.operations.OperationsStatusOperations :ivar orders: OrdersOperations operations - :vartype orders: azure.mgmt.databoxedge.operations.OrdersOperations + :vartype orders: azure.mgmt.databoxedge.v2019_07_01.operations.OrdersOperations :ivar roles: RolesOperations operations - :vartype roles: azure.mgmt.databoxedge.operations.RolesOperations + :vartype roles: azure.mgmt.databoxedge.v2019_07_01.operations.RolesOperations :ivar shares: SharesOperations operations - :vartype shares: azure.mgmt.databoxedge.operations.SharesOperations + :vartype shares: azure.mgmt.databoxedge.v2019_07_01.operations.SharesOperations :ivar storage_account_credentials: StorageAccountCredentialsOperations operations - :vartype storage_account_credentials: azure.mgmt.databoxedge.operations.StorageAccountCredentialsOperations + :vartype storage_account_credentials: azure.mgmt.databoxedge.v2019_07_01.operations.StorageAccountCredentialsOperations :ivar triggers: TriggersOperations operations - :vartype triggers: azure.mgmt.databoxedge.operations.TriggersOperations + :vartype triggers: azure.mgmt.databoxedge.v2019_07_01.operations.TriggersOperations :ivar users: UsersOperations operations - :vartype users: azure.mgmt.databoxedge.operations.UsersOperations + :vartype users: azure.mgmt.databoxedge.v2019_07_01.operations.UsersOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials.TokenCredential :param subscription_id: The subscription ID. @@ -116,6 +117,24 @@ def __init__( self.users = UsersOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/_metadata.json b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/_metadata.json index 1fb3173efb2d..8880d13820a0 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/_metadata.json +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": false + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"DataBoxEdgeManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"DataBoxEdgeManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription ID.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_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\": [\"TokenCredential\"]}}}", + "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": { "operations": "Operations", @@ -65,9 +111,5 @@ "storage_account_credentials": "StorageAccountCredentialsOperations", "triggers": "TriggersOperations", "users": "UsersOperations" - }, - "operation_mixins": { - }, - "sync_imports": "None", - "async_imports": "None" + } } \ No newline at end of file diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/_data_box_edge_management_client.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/_data_box_edge_management_client.py index 586f61a4d0dd..646214481c40 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/_data_box_edge_management_client.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/_data_box_edge_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -36,31 +37,31 @@ class DataBoxEdgeManagementClient(object): """The DataBoxEdge Client. :ivar operations: Operations operations - :vartype operations: azure.mgmt.databoxedge.aio.operations.Operations + :vartype operations: azure.mgmt.databoxedge.v2019_07_01.aio.operations.Operations :ivar devices: DevicesOperations operations - :vartype devices: azure.mgmt.databoxedge.aio.operations.DevicesOperations + :vartype devices: azure.mgmt.databoxedge.v2019_07_01.aio.operations.DevicesOperations :ivar alerts: AlertsOperations operations - :vartype alerts: azure.mgmt.databoxedge.aio.operations.AlertsOperations + :vartype alerts: azure.mgmt.databoxedge.v2019_07_01.aio.operations.AlertsOperations :ivar bandwidth_schedules: BandwidthSchedulesOperations operations - :vartype bandwidth_schedules: azure.mgmt.databoxedge.aio.operations.BandwidthSchedulesOperations + :vartype bandwidth_schedules: azure.mgmt.databoxedge.v2019_07_01.aio.operations.BandwidthSchedulesOperations :ivar jobs: JobsOperations operations - :vartype jobs: azure.mgmt.databoxedge.aio.operations.JobsOperations + :vartype jobs: azure.mgmt.databoxedge.v2019_07_01.aio.operations.JobsOperations :ivar nodes: NodesOperations operations - :vartype nodes: azure.mgmt.databoxedge.aio.operations.NodesOperations + :vartype nodes: azure.mgmt.databoxedge.v2019_07_01.aio.operations.NodesOperations :ivar operations_status: OperationsStatusOperations operations - :vartype operations_status: azure.mgmt.databoxedge.aio.operations.OperationsStatusOperations + :vartype operations_status: azure.mgmt.databoxedge.v2019_07_01.aio.operations.OperationsStatusOperations :ivar orders: OrdersOperations operations - :vartype orders: azure.mgmt.databoxedge.aio.operations.OrdersOperations + :vartype orders: azure.mgmt.databoxedge.v2019_07_01.aio.operations.OrdersOperations :ivar roles: RolesOperations operations - :vartype roles: azure.mgmt.databoxedge.aio.operations.RolesOperations + :vartype roles: azure.mgmt.databoxedge.v2019_07_01.aio.operations.RolesOperations :ivar shares: SharesOperations operations - :vartype shares: azure.mgmt.databoxedge.aio.operations.SharesOperations + :vartype shares: azure.mgmt.databoxedge.v2019_07_01.aio.operations.SharesOperations :ivar storage_account_credentials: StorageAccountCredentialsOperations operations - :vartype storage_account_credentials: azure.mgmt.databoxedge.aio.operations.StorageAccountCredentialsOperations + :vartype storage_account_credentials: azure.mgmt.databoxedge.v2019_07_01.aio.operations.StorageAccountCredentialsOperations :ivar triggers: TriggersOperations operations - :vartype triggers: azure.mgmt.databoxedge.aio.operations.TriggersOperations + :vartype triggers: azure.mgmt.databoxedge.v2019_07_01.aio.operations.TriggersOperations :ivar users: UsersOperations operations - :vartype users: azure.mgmt.databoxedge.aio.operations.UsersOperations + :vartype users: azure.mgmt.databoxedge.v2019_07_01.aio.operations.UsersOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: The subscription ID. @@ -113,6 +114,23 @@ def __init__( self.users = UsersOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_alerts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_alerts_operations.py index 9769b42437b8..63b2fd3d1975 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_alerts_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_alerts_operations.py @@ -26,7 +26,7 @@ class AlertsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AlertList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.AlertList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_07_01.models.AlertList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.AlertList"] @@ -134,7 +134,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Alert, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Alert + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.Alert :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Alert"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_bandwidth_schedules_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_bandwidth_schedules_operations.py index 3a13dd05ed1d..4206112163f5 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_bandwidth_schedules_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_bandwidth_schedules_operations.py @@ -28,7 +28,7 @@ class BandwidthSchedulesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BandwidthSchedulesList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.BandwidthSchedulesList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_07_01.models.BandwidthSchedulesList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedulesList"] @@ -134,7 +134,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BandwidthSchedule, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.BandwidthSchedule + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.BandwidthSchedule :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedule"] @@ -253,15 +253,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param parameters: The bandwidth schedule to be added or updated. - :type parameters: ~azure.mgmt.databoxedge.models.BandwidthSchedule + :type parameters: ~azure.mgmt.databoxedge.v2019_07_01.models.BandwidthSchedule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BandwidthSchedule or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.BandwidthSchedule] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_07_01.models.BandwidthSchedule] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -375,8 +375,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_devices_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_devices_operations.py index b108bb81fddc..3c9dbd934fa3 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_devices_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_devices_operations.py @@ -28,7 +28,7 @@ class DevicesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list_by_subscription( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_07_01.models.DataBoxEdgeDeviceList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] @@ -130,7 +130,7 @@ def list_by_resource_group( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_07_01.models.DataBoxEdgeDeviceList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] @@ -205,7 +205,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataBoxEdgeDevice, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevice + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.DataBoxEdgeDevice :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] @@ -316,15 +316,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param data_box_edge_device: The resource object. - :type data_box_edge_device: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevice + :type data_box_edge_device: ~azure.mgmt.databoxedge.v2019_07_01.models.DataBoxEdgeDevice :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DataBoxEdgeDevice or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.DataBoxEdgeDevice] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_07_01.models.DataBoxEdgeDevice] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -431,8 +431,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -495,10 +495,10 @@ async def update( :param resource_group_name: The resource group name. :type resource_group_name: str :param parameters: The resource parameters. - :type parameters: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevicePatch + :type parameters: ~azure.mgmt.databoxedge.v2019_07_01.models.DataBoxEdgeDevicePatch :keyword callable cls: A custom type or function that will be passed the direct response :return: DataBoxEdgeDevice, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevice + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.DataBoxEdgeDevice :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] @@ -607,8 +607,8 @@ async def begin_download_updates( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -671,7 +671,7 @@ async def get_extended_information( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataBoxEdgeDeviceExtendedInfo, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceExtendedInfo + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.DataBoxEdgeDeviceExtendedInfo :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceExtendedInfo"] @@ -775,8 +775,8 @@ async def begin_install_updates( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -839,7 +839,7 @@ async def get_network_settings( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkSettings, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.NetworkSettings + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.NetworkSettings :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSettings"] @@ -943,8 +943,8 @@ async def begin_scan_for_updates( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1057,11 +1057,11 @@ async def begin_create_or_update_security_settings( :param resource_group_name: The resource group name. :type resource_group_name: str :param security_settings: The security settings. - :type security_settings: ~azure.mgmt.databoxedge.models.SecuritySettings + :type security_settings: ~azure.mgmt.databoxedge.v2019_07_01.models.SecuritySettings :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1128,7 +1128,7 @@ async def get_update_summary( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: UpdateSummary, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.UpdateSummary + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.UpdateSummary :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.UpdateSummary"] @@ -1186,10 +1186,10 @@ async def upload_certificate( :param resource_group_name: The resource group name. :type resource_group_name: str :param parameters: The upload certificate request. - :type parameters: ~azure.mgmt.databoxedge.models.UploadCertificateRequest + :type parameters: ~azure.mgmt.databoxedge.v2019_07_01.models.UploadCertificateRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: UploadCertificateResponse, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.UploadCertificateResponse + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.UploadCertificateResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.UploadCertificateResponse"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_jobs_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_jobs_operations.py index 284905ef4dde..d37c2211462b 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_jobs_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_jobs_operations.py @@ -25,7 +25,7 @@ class JobsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Job, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Job + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.Job :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_nodes_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_nodes_operations.py index 9533ac908ce4..aa31f8eb7856 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_nodes_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_nodes_operations.py @@ -26,7 +26,7 @@ class NodesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NodeList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.NodeList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_07_01.models.NodeList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.NodeList"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_operations.py index b08bb07e8e06..54c30b0a7257 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_operations.py @@ -26,7 +26,7 @@ class Operations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -51,7 +51,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OperationsList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.OperationsList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_07_01.models.OperationsList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationsList"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_operations_status_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_operations_status_operations.py index 1b673adf4a2f..63dd79b27a4f 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_operations_status_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_operations_status_operations.py @@ -25,7 +25,7 @@ class OperationsStatusOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Job, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Job + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.Job :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_orders_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_orders_operations.py index be478844633b..96b8846d7b09 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_orders_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_orders_operations.py @@ -28,7 +28,7 @@ class OrdersOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OrderList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.OrderList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_07_01.models.OrderList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.OrderList"] @@ -135,7 +135,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Order, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Order + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.Order :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Order"] @@ -250,15 +250,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param order: The order to be created or updated. - :type order: ~azure.mgmt.databoxedge.models.Order + :type order: ~azure.mgmt.databoxedge.v2019_07_01.models.Order :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Order or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.Order] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_07_01.models.Order] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -367,8 +367,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_roles_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_roles_operations.py index 8cc79c9b3b92..a14931080c68 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_roles_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_roles_operations.py @@ -28,7 +28,7 @@ class RolesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either RoleList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.RoleList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_07_01.models.RoleList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.RoleList"] @@ -134,7 +134,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Role, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Role + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.Role :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Role"] @@ -253,15 +253,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param role: The role properties. - :type role: ~azure.mgmt.databoxedge.models.Role + :type role: ~azure.mgmt.databoxedge.v2019_07_01.models.Role :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Role or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.Role] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_07_01.models.Role] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -375,8 +375,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_shares_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_shares_operations.py index 1ecbb2530ab8..6954c5453482 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_shares_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_shares_operations.py @@ -28,7 +28,7 @@ class SharesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ShareList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.ShareList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_07_01.models.ShareList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.ShareList"] @@ -138,7 +138,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Share, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Share + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.Share :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Share"] @@ -259,15 +259,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param share: The share properties. - :type share: ~azure.mgmt.databoxedge.models.Share + :type share: ~azure.mgmt.databoxedge.v2019_07_01.models.Share :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Share or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.Share] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_07_01.models.Share] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -381,8 +381,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -498,8 +498,8 @@ async def begin_refresh( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_storage_account_credentials_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_storage_account_credentials_operations.py index fcad94d5f8ad..3b07e3ef0727 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_storage_account_credentials_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_storage_account_credentials_operations.py @@ -28,7 +28,7 @@ class StorageAccountCredentialsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountCredentialList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.StorageAccountCredentialList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_07_01.models.StorageAccountCredentialList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredentialList"] @@ -136,7 +136,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountCredential, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.StorageAccountCredential + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.StorageAccountCredential :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredential"] @@ -255,15 +255,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param storage_account_credential: The storage account credential. - :type storage_account_credential: ~azure.mgmt.databoxedge.models.StorageAccountCredential + :type storage_account_credential: ~azure.mgmt.databoxedge.v2019_07_01.models.StorageAccountCredential :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either StorageAccountCredential or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.StorageAccountCredential] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_07_01.models.StorageAccountCredential] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -377,8 +377,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_triggers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_triggers_operations.py index f95149848163..f6e6ef43282e 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_triggers_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_triggers_operations.py @@ -28,7 +28,7 @@ class TriggersOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -61,7 +61,7 @@ def list_by_data_box_edge_device( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either TriggerList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.TriggerList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_07_01.models.TriggerList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.TriggerList"] @@ -140,7 +140,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Trigger, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Trigger + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.Trigger :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Trigger"] @@ -259,15 +259,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param trigger: The trigger. - :type trigger: ~azure.mgmt.databoxedge.models.Trigger + :type trigger: ~azure.mgmt.databoxedge.v2019_07_01.models.Trigger :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Trigger or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.Trigger] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_07_01.models.Trigger] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -381,8 +381,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_users_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_users_operations.py index 6bef4166dc0d..e1ee77cc8705 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_users_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/aio/operations/_users_operations.py @@ -28,7 +28,7 @@ class UsersOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either UserList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.UserList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_07_01.models.UserList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.UserList"] @@ -134,7 +134,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: User, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.User + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.User :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.User"] @@ -254,15 +254,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param user: The user details. - :type user: ~azure.mgmt.databoxedge.models.User + :type user: ~azure.mgmt.databoxedge.v2019_07_01.models.User :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either User or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.User] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_07_01.models.User] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -376,8 +376,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/models/_models.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/models/_models.py index fd61be911978..9a3963db001b 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/models/_models.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/models/_models.py @@ -118,9 +118,9 @@ class Alert(ARMBaseModel): :vartype recommendation: str :ivar severity: Severity of the alert. Possible values include: "Informational", "Warning", "Critical". - :vartype severity: str or ~azure.mgmt.databoxedge.models.AlertSeverity + :vartype severity: str or ~azure.mgmt.databoxedge.v2019_07_01.models.AlertSeverity :ivar error_details: Error details of the alert. - :vartype error_details: ~azure.mgmt.databoxedge.models.AlertErrorDetails + :vartype error_details: ~azure.mgmt.databoxedge.v2019_07_01.models.AlertErrorDetails :ivar detailed_information: Alert details. :vartype detailed_information: dict[str, str] """ @@ -206,7 +206,7 @@ class AlertList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The value. - :vartype value: list[~azure.mgmt.databoxedge.models.Alert] + :vartype value: list[~azure.mgmt.databoxedge.v2019_07_01.models.Alert] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -242,7 +242,8 @@ class AsymmetricEncryptedSecret(msrest.serialization.Model): :type encryption_cert_thumbprint: str :param encryption_algorithm: Required. The algorithm used to encrypt "Value". Possible values include: "None", "AES256", "RSAES_PKCS1_v_1_5". - :type encryption_algorithm: str or ~azure.mgmt.databoxedge.models.EncryptionAlgorithm + :type encryption_algorithm: str or + ~azure.mgmt.databoxedge.v2019_07_01.models.EncryptionAlgorithm """ _validation = { @@ -270,7 +271,7 @@ class Authentication(msrest.serialization.Model): """Authentication mechanism for IoT devices. :param symmetric_key: Symmetric key for authentication. - :type symmetric_key: ~azure.mgmt.databoxedge.models.SymmetricKey + :type symmetric_key: ~azure.mgmt.databoxedge.v2019_07_01.models.SymmetricKey """ _attribute_map = { @@ -298,7 +299,7 @@ class AzureContainerInfo(msrest.serialization.Model): :type container_name: str :param data_format: Required. Storage format used for the file represented by the share. Possible values include: "BlockBlob", "PageBlob", "AzureFile". - :type data_format: str or ~azure.mgmt.databoxedge.models.AzureContainerDataFormat + :type data_format: str or ~azure.mgmt.databoxedge.v2019_07_01.models.AzureContainerDataFormat """ _validation = { @@ -343,7 +344,7 @@ class BandwidthSchedule(ARMBaseModel): :param rate_in_mbps: Required. The bandwidth rate in Mbps. :type rate_in_mbps: int :param days: Required. The days of the week when this schedule is applicable. - :type days: list[str or ~azure.mgmt.databoxedge.models.DayOfWeek] + :type days: list[str or ~azure.mgmt.databoxedge.v2019_07_01.models.DayOfWeek] """ _validation = { @@ -383,7 +384,7 @@ class BandwidthSchedulesList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of bandwidth schedules. - :vartype value: list[~azure.mgmt.databoxedge.models.BandwidthSchedule] + :vartype value: list[~azure.mgmt.databoxedge.v2019_07_01.models.BandwidthSchedule] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -416,7 +417,7 @@ class ClientAccessRight(msrest.serialization.Model): :type client: str :param access_permission: Required. Type of access to be allowed for the client. Possible values include: "NoAccess", "ReadOnly", "ReadWrite". - :type access_permission: str or ~azure.mgmt.databoxedge.models.ClientPermissionType + :type access_permission: str or ~azure.mgmt.databoxedge.v2019_07_01.models.ClientPermissionType """ _validation = { @@ -448,7 +449,7 @@ class CloudErrorBody(msrest.serialization.Model): interface. :type message: str :param details: A list of additional details about the error. - :type details: list[~azure.mgmt.databoxedge.models.CloudErrorBody] + :type details: list[~azure.mgmt.databoxedge.v2019_07_01.models.CloudErrorBody] """ _attribute_map = { @@ -529,14 +530,14 @@ class DataBoxEdgeDevice(ARMBaseModel): to view and group this device (across resource groups). :type tags: dict[str, str] :param sku: The SKU type. - :type sku: ~azure.mgmt.databoxedge.models.Sku + :type sku: ~azure.mgmt.databoxedge.v2019_07_01.models.Sku :param etag: The etag for the devices. :type etag: str :param data_box_edge_device_status: The status of the Data Box Edge/Gateway device. Possible values include: "ReadyToSetup", "Online", "Offline", "NeedsAttention", "Disconnected", "PartiallyDisconnected", "Maintenance". :type data_box_edge_device_status: str or - ~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceStatus + ~azure.mgmt.databoxedge.v2019_07_01.models.DataBoxEdgeDeviceStatus :ivar serial_number: The Serial Number of Data Box Edge/Gateway device. :vartype serial_number: str :param description: The Description of the Data Box Edge/Gateway device. @@ -545,7 +546,7 @@ class DataBoxEdgeDevice(ARMBaseModel): :type model_description: str :ivar device_type: The type of the Data Box Edge/Gateway device. Possible values include: "DataBoxEdgeDevice". - :vartype device_type: str or ~azure.mgmt.databoxedge.models.DeviceType + :vartype device_type: str or ~azure.mgmt.databoxedge.v2019_07_01.models.DeviceType :param friendly_name: The Data Box Edge/Gateway device name. :type friendly_name: str :ivar culture: The Data Box Edge/Gateway device culture. @@ -561,7 +562,8 @@ class DataBoxEdgeDevice(ARMBaseModel): :ivar device_hcs_version: The device software version number of the device (eg: 1.2.18105.6). :vartype device_hcs_version: str :ivar configured_role_types: Type of compute roles configured. - :vartype configured_role_types: list[str or ~azure.mgmt.databoxedge.models.RoleTypes] + :vartype configured_role_types: list[str or + ~azure.mgmt.databoxedge.v2019_07_01.models.RoleTypes] :ivar node_count: The number of nodes in the cluster. :vartype node_count: int """ @@ -684,7 +686,7 @@ class DataBoxEdgeDeviceList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of Data Box Edge/Gateway devices. - :vartype value: list[~azure.mgmt.databoxedge.models.DataBoxEdgeDevice] + :vartype value: list[~azure.mgmt.databoxedge.v2019_07_01.models.DataBoxEdgeDevice] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -745,7 +747,7 @@ class Trigger(ARMBaseModel): :vartype type: str :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: "FileEvent", "PeriodicTimerEvent". - :type kind: str or ~azure.mgmt.databoxedge.models.TriggerEventType + :type kind: str or ~azure.mgmt.databoxedge.v2019_07_01.models.TriggerEventType """ _validation = { @@ -789,11 +791,11 @@ class FileEventTrigger(Trigger): :vartype type: str :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: "FileEvent", "PeriodicTimerEvent". - :type kind: str or ~azure.mgmt.databoxedge.models.TriggerEventType + :type kind: str or ~azure.mgmt.databoxedge.v2019_07_01.models.TriggerEventType :param source_info: Required. File event source details. - :type source_info: ~azure.mgmt.databoxedge.models.FileSourceInfo + :type source_info: ~azure.mgmt.databoxedge.v2019_07_01.models.FileSourceInfo :param sink_info: Required. Role sink info. - :type sink_info: ~azure.mgmt.databoxedge.models.RoleSinkInfo + :type sink_info: ~azure.mgmt.databoxedge.v2019_07_01.models.RoleSinkInfo :param custom_context_tag: A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module. @@ -867,7 +869,7 @@ class IoTDeviceInfo(msrest.serialization.Model): :param io_t_host_hub_id: Id of the IoT hub associated to the device. :type io_t_host_hub_id: str :param authentication: IoT device authentication info. - :type authentication: ~azure.mgmt.databoxedge.models.Authentication + :type authentication: ~azure.mgmt.databoxedge.v2019_07_01.models.Authentication """ _validation = { @@ -911,7 +913,7 @@ class Role(ARMBaseModel): :vartype type: str :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", "ASA", "Functions", "Cognitive". - :type kind: str or ~azure.mgmt.databoxedge.models.RoleTypes + :type kind: str or ~azure.mgmt.databoxedge.v2019_07_01.models.RoleTypes """ _validation = { @@ -955,19 +957,19 @@ class IoTRole(Role): :vartype type: str :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", "ASA", "Functions", "Cognitive". - :type kind: str or ~azure.mgmt.databoxedge.models.RoleTypes + :type kind: str or ~azure.mgmt.databoxedge.v2019_07_01.models.RoleTypes :param host_platform: Host OS supported by the IoT role. Possible values include: "Windows", "Linux". - :type host_platform: str or ~azure.mgmt.databoxedge.models.PlatformType + :type host_platform: str or ~azure.mgmt.databoxedge.v2019_07_01.models.PlatformType :param io_t_device_details: IoT device metadata to which data box edge device needs to be connected. - :type io_t_device_details: ~azure.mgmt.databoxedge.models.IoTDeviceInfo + :type io_t_device_details: ~azure.mgmt.databoxedge.v2019_07_01.models.IoTDeviceInfo :param io_t_edge_device_details: IoT edge device to which the IoT role needs to be configured. - :type io_t_edge_device_details: ~azure.mgmt.databoxedge.models.IoTDeviceInfo + :type io_t_edge_device_details: ~azure.mgmt.databoxedge.v2019_07_01.models.IoTDeviceInfo :param share_mappings: Mount points of shares in role(s). - :type share_mappings: list[~azure.mgmt.databoxedge.models.MountPointMap] + :type share_mappings: list[~azure.mgmt.databoxedge.v2019_07_01.models.MountPointMap] :param role_status: Role status. Possible values include: "Enabled", "Disabled". - :type role_status: str or ~azure.mgmt.databoxedge.models.RoleStatus + :type role_status: str or ~azure.mgmt.databoxedge.v2019_07_01.models.RoleStatus """ _validation = { @@ -1085,7 +1087,7 @@ class Job(msrest.serialization.Model): :vartype type: str :ivar status: The current status of the job. Possible values include: "Invalid", "Running", "Succeeded", "Failed", "Canceled", "Paused", "Scheduled". - :vartype status: str or ~azure.mgmt.databoxedge.models.JobStatus + :vartype status: str or ~azure.mgmt.databoxedge.v2019_07_01.models.JobStatus :ivar start_time: The UTC date and time at which the job started. :vartype start_time: ~datetime.datetime :ivar end_time: The UTC date and time at which the job completed. @@ -1093,19 +1095,19 @@ class Job(msrest.serialization.Model): :ivar percent_complete: The percentage of the job that is complete. :vartype percent_complete: int :ivar error: The error details. - :vartype error: ~azure.mgmt.databoxedge.models.JobErrorDetails + :vartype error: ~azure.mgmt.databoxedge.v2019_07_01.models.JobErrorDetails :ivar job_type: The type of the job. Possible values include: "Invalid", "ScanForUpdates", "DownloadUpdates", "InstallUpdates", "RefreshShare". - :vartype job_type: str or ~azure.mgmt.databoxedge.models.JobType + :vartype job_type: str or ~azure.mgmt.databoxedge.v2019_07_01.models.JobType :ivar current_stage: Current stage of the update operation. Possible values include: "Unknown", "Initial", "ScanStarted", "ScanComplete", "ScanFailed", "DownloadStarted", "DownloadComplete", "DownloadFailed", "InstallStarted", "InstallComplete", "InstallFailed", "RebootInitiated", "Success", "Failure", "RescanStarted", "RescanComplete", "RescanFailed". - :vartype current_stage: str or ~azure.mgmt.databoxedge.models.UpdateOperationStage + :vartype current_stage: str or ~azure.mgmt.databoxedge.v2019_07_01.models.UpdateOperationStage :ivar download_progress: The download progress. - :vartype download_progress: ~azure.mgmt.databoxedge.models.UpdateDownloadProgress + :vartype download_progress: ~azure.mgmt.databoxedge.v2019_07_01.models.UpdateDownloadProgress :ivar install_progress: The install progress. - :vartype install_progress: ~azure.mgmt.databoxedge.models.UpdateInstallProgress + :vartype install_progress: ~azure.mgmt.databoxedge.v2019_07_01.models.UpdateInstallProgress :ivar total_refresh_errors: Total number of errors encountered during the refresh process. :vartype total_refresh_errors: int :ivar error_manifest_file: Local share/remote container relative path to the error manifest @@ -1184,7 +1186,7 @@ class JobErrorDetails(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar error_details: The error details. - :vartype error_details: list[~azure.mgmt.databoxedge.models.JobErrorItem] + :vartype error_details: list[~azure.mgmt.databoxedge.v2019_07_01.models.JobErrorItem] :ivar code: The code intended for programmatic access. :vartype code: str :ivar message: The message that describes the error in detail. @@ -1286,23 +1288,24 @@ class MetricSpecificationV1(msrest.serialization.Model): :type display_description: str :param unit: Metric units. Possible values include: "NotSpecified", "Percent", "Count", "Seconds", "Milliseconds", "Bytes", "BytesPerSecond", "CountPerSecond". - :type unit: str or ~azure.mgmt.databoxedge.models.MetricUnit + :type unit: str or ~azure.mgmt.databoxedge.v2019_07_01.models.MetricUnit :param aggregation_type: Metric aggregation type. Possible values include: "NotSpecified", "None", "Average", "Minimum", "Maximum", "Total", "Count". - :type aggregation_type: str or ~azure.mgmt.databoxedge.models.MetricAggregationType + :type aggregation_type: str or ~azure.mgmt.databoxedge.v2019_07_01.models.MetricAggregationType :param dimensions: Metric dimensions, other than default dimension which is resource. - :type dimensions: list[~azure.mgmt.databoxedge.models.MetricDimensionV1] + :type dimensions: list[~azure.mgmt.databoxedge.v2019_07_01.models.MetricDimensionV1] :param fill_gap_with_zero: Set true to fill the gaps with zero. :type fill_gap_with_zero: bool :param category: Metric category. Possible values include: "Capacity", "Transaction". - :type category: str or ~azure.mgmt.databoxedge.models.MetricCategory + :type category: str or ~azure.mgmt.databoxedge.v2019_07_01.models.MetricCategory :param resource_id_dimension_name_override: Resource name override. :type resource_id_dimension_name_override: str :param supported_time_grain_types: Support granularity of metrics. - :type supported_time_grain_types: list[str or ~azure.mgmt.databoxedge.models.TimeGrain] + :type supported_time_grain_types: list[str or + ~azure.mgmt.databoxedge.v2019_07_01.models.TimeGrain] :param supported_aggregation_types: Support metric aggregation type. :type supported_aggregation_types: list[str or - ~azure.mgmt.databoxedge.models.MetricAggregationType] + ~azure.mgmt.databoxedge.v2019_07_01.models.MetricAggregationType] """ _attribute_map = { @@ -1351,7 +1354,7 @@ class MountPointMap(msrest.serialization.Model): :ivar mount_point: Mount point for the share. :vartype mount_point: str :ivar role_type: Role type. Possible values include: "IOT", "ASA", "Functions", "Cognitive". - :vartype role_type: str or ~azure.mgmt.databoxedge.models.RoleTypes + :vartype role_type: str or ~azure.mgmt.databoxedge.v2019_07_01.models.RoleTypes """ _validation = { @@ -1387,7 +1390,7 @@ class NetworkAdapter(msrest.serialization.Model): :ivar adapter_id: Instance ID of network adapter. :vartype adapter_id: str :ivar adapter_position: Hardware position of network adapter. - :vartype adapter_position: ~azure.mgmt.databoxedge.models.NetworkAdapterPosition + :vartype adapter_position: ~azure.mgmt.databoxedge.v2019_07_01.models.NetworkAdapterPosition :ivar index: Logical index of the adapter. :vartype index: int :ivar node_id: Node ID of the network adapter. @@ -1402,17 +1405,17 @@ class NetworkAdapter(msrest.serialization.Model): :vartype link_speed: long :ivar status: Value indicating whether this adapter is valid. Possible values include: "Inactive", "Active". - :vartype status: str or ~azure.mgmt.databoxedge.models.NetworkAdapterStatus + :vartype status: str or ~azure.mgmt.databoxedge.v2019_07_01.models.NetworkAdapterStatus :param rdma_status: Value indicating whether this adapter is RDMA capable. Possible values include: "Incapable", "Capable". - :type rdma_status: str or ~azure.mgmt.databoxedge.models.NetworkAdapterRDMAStatus + :type rdma_status: str or ~azure.mgmt.databoxedge.v2019_07_01.models.NetworkAdapterRDMAStatus :param dhcp_status: Value indicating whether this adapter has DHCP enabled. Possible values include: "Disabled", "Enabled". - :type dhcp_status: str or ~azure.mgmt.databoxedge.models.NetworkAdapterDHCPStatus + :type dhcp_status: str or ~azure.mgmt.databoxedge.v2019_07_01.models.NetworkAdapterDHCPStatus :ivar ipv4_configuration: The IPv4 configuration of the network adapter. - :vartype ipv4_configuration: ~azure.mgmt.databoxedge.models.Ipv4Config + :vartype ipv4_configuration: ~azure.mgmt.databoxedge.v2019_07_01.models.Ipv4Config :ivar ipv6_configuration: The IPv6 configuration of the network adapter. - :vartype ipv6_configuration: ~azure.mgmt.databoxedge.models.Ipv6Config + :vartype ipv6_configuration: ~azure.mgmt.databoxedge.v2019_07_01.models.Ipv6Config :ivar ipv6_link_local_address: The IPv6 local address. :vartype ipv6_link_local_address: str :ivar dns_servers: The list of DNS Servers of the device. @@ -1481,7 +1484,7 @@ class NetworkAdapterPosition(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar network_group: The network group. Possible values include: "None", "NonRDMA", "RDMA". - :vartype network_group: str or ~azure.mgmt.databoxedge.models.NetworkGroup + :vartype network_group: str or ~azure.mgmt.databoxedge.v2019_07_01.models.NetworkGroup :ivar port: The port. :vartype port: int """ @@ -1517,7 +1520,7 @@ class NetworkSettings(ARMBaseModel): :ivar type: The hierarchical type of the object. :vartype type: str :ivar network_adapters: The network adapter list on the device. - :vartype network_adapters: list[~azure.mgmt.databoxedge.models.NetworkAdapter] + :vartype network_adapters: list[~azure.mgmt.databoxedge.v2019_07_01.models.NetworkAdapter] """ _validation = { @@ -1557,7 +1560,7 @@ class Node(ARMBaseModel): :vartype type: str :ivar node_status: The current status of the individual node. Possible values include: "Unknown", "Up", "Down", "Rebooting", "ShuttingDown". - :vartype node_status: str or ~azure.mgmt.databoxedge.models.NodeStatus + :vartype node_status: str or ~azure.mgmt.databoxedge.v2019_07_01.models.NodeStatus :ivar node_chassis_serial_number: Serial number of the Chassis. :vartype node_chassis_serial_number: str :ivar node_serial_number: Serial number of the individual node. @@ -1619,7 +1622,7 @@ class NodeList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of Nodes. - :vartype value: list[~azure.mgmt.databoxedge.models.Node] + :vartype value: list[~azure.mgmt.databoxedge.v2019_07_01.models.Node] """ _validation = { @@ -1644,11 +1647,11 @@ class Operation(msrest.serialization.Model): :param name: Name of the operation. :type name: str :param display: Properties displayed for the operation. - :type display: ~azure.mgmt.databoxedge.models.OperationDisplay + :type display: ~azure.mgmt.databoxedge.v2019_07_01.models.OperationDisplay :param origin: Origin of the operation. :type origin: str :param service_specification: Service specification. - :type service_specification: ~azure.mgmt.databoxedge.models.ServiceSpecification + :type service_specification: ~azure.mgmt.databoxedge.v2019_07_01.models.ServiceSpecification """ _attribute_map = { @@ -1706,7 +1709,7 @@ class OperationsList(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. The value. - :type value: list[~azure.mgmt.databoxedge.models.Operation] + :type value: list[~azure.mgmt.databoxedge.v2019_07_01.models.Operation] :param next_link: Link to the next set of results. :type next_link: str """ @@ -1741,21 +1744,21 @@ class Order(ARMBaseModel): :ivar type: The hierarchical type of the object. :vartype type: str :param contact_information: The contact details. - :type contact_information: ~azure.mgmt.databoxedge.models.ContactDetails + :type contact_information: ~azure.mgmt.databoxedge.v2019_07_01.models.ContactDetails :param shipping_address: The shipping address. - :type shipping_address: ~azure.mgmt.databoxedge.models.Address + :type shipping_address: ~azure.mgmt.databoxedge.v2019_07_01.models.Address :param current_status: Current status of the order. - :type current_status: ~azure.mgmt.databoxedge.models.OrderStatus + :type current_status: ~azure.mgmt.databoxedge.v2019_07_01.models.OrderStatus :ivar order_history: List of status changes in the order. - :vartype order_history: list[~azure.mgmt.databoxedge.models.OrderStatus] + :vartype order_history: list[~azure.mgmt.databoxedge.v2019_07_01.models.OrderStatus] :ivar serial_number: Serial number of the device. :vartype serial_number: str :ivar delivery_tracking_info: Tracking information for the package delivered to the customer whether it has an original or a replacement device. - :vartype delivery_tracking_info: list[~azure.mgmt.databoxedge.models.TrackingInfo] + :vartype delivery_tracking_info: list[~azure.mgmt.databoxedge.v2019_07_01.models.TrackingInfo] :ivar return_tracking_info: Tracking information for the package returned from the customer whether it has an original or a replacement device. - :vartype return_tracking_info: list[~azure.mgmt.databoxedge.models.TrackingInfo] + :vartype return_tracking_info: list[~azure.mgmt.databoxedge.v2019_07_01.models.TrackingInfo] """ _validation = { @@ -1801,7 +1804,7 @@ class OrderList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of orders. - :vartype value: list[~azure.mgmt.databoxedge.models.Order] + :vartype value: list[~azure.mgmt.databoxedge.v2019_07_01.models.Order] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -1836,7 +1839,7 @@ class OrderStatus(msrest.serialization.Model): include: "Untracked", "AwaitingFulfilment", "AwaitingPreparation", "AwaitingShipment", "Shipped", "Arriving", "Delivered", "ReplacementRequested", "LostDevice", "Declined", "ReturnInitiated", "AwaitingReturnShipment", "ShippedBack", "CollectedAtMicrosoft". - :type status: str or ~azure.mgmt.databoxedge.models.OrderState + :type status: str or ~azure.mgmt.databoxedge.v2019_07_01.models.OrderState :ivar update_date_time: Time of status update. :vartype update_date_time: ~datetime.datetime :param comments: Comments related to this status change. @@ -1879,11 +1882,11 @@ class PeriodicTimerEventTrigger(Trigger): :vartype type: str :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: "FileEvent", "PeriodicTimerEvent". - :type kind: str or ~azure.mgmt.databoxedge.models.TriggerEventType + :type kind: str or ~azure.mgmt.databoxedge.v2019_07_01.models.TriggerEventType :param source_info: Required. Periodic timer details. - :type source_info: ~azure.mgmt.databoxedge.models.PeriodicTimerSourceInfo + :type source_info: ~azure.mgmt.databoxedge.v2019_07_01.models.PeriodicTimerSourceInfo :param sink_info: Required. Role Sink information. - :type sink_info: ~azure.mgmt.databoxedge.models.RoleSinkInfo + :type sink_info: ~azure.mgmt.databoxedge.v2019_07_01.models.RoleSinkInfo :param custom_context_tag: A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module. @@ -1999,7 +2002,7 @@ class RoleList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The Value. - :vartype value: list[~azure.mgmt.databoxedge.models.Role] + :vartype value: list[~azure.mgmt.databoxedge.v2019_07_01.models.Role] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2065,7 +2068,8 @@ class SecuritySettings(ARMBaseModel): (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual password should have at least 8 characters that are a combination of uppercase, lowercase, numeric, and special characters. - :type device_admin_password: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type device_admin_password: + ~azure.mgmt.databoxedge.v2019_07_01.models.AsymmetricEncryptedSecret """ _validation = { @@ -2094,7 +2098,8 @@ class ServiceSpecification(msrest.serialization.Model): """Service specification. :param metric_specifications: Metric specification as defined by shoebox. - :type metric_specifications: list[~azure.mgmt.databoxedge.models.MetricSpecificationV1] + :type metric_specifications: + list[~azure.mgmt.databoxedge.v2019_07_01.models.MetricSpecificationV1] """ _attribute_map = { @@ -2126,27 +2131,27 @@ class Share(ARMBaseModel): :type description: str :param share_status: Required. Current status of the share. Possible values include: "Offline", "Unknown", "OK", "Updating", "NeedsAttention". - :type share_status: str or ~azure.mgmt.databoxedge.models.ShareStatus + :type share_status: str or ~azure.mgmt.databoxedge.v2019_07_01.models.ShareStatus :param monitoring_status: Required. Current monitoring status of the share. Possible values include: "Enabled", "Disabled". - :type monitoring_status: str or ~azure.mgmt.databoxedge.models.MonitoringStatus + :type monitoring_status: str or ~azure.mgmt.databoxedge.v2019_07_01.models.MonitoringStatus :param azure_container_info: Azure container mapping for the share. - :type azure_container_info: ~azure.mgmt.databoxedge.models.AzureContainerInfo + :type azure_container_info: ~azure.mgmt.databoxedge.v2019_07_01.models.AzureContainerInfo :param access_protocol: Required. Access protocol to be used by the share. Possible values include: "SMB", "NFS". - :type access_protocol: str or ~azure.mgmt.databoxedge.models.ShareAccessProtocol + :type access_protocol: str or ~azure.mgmt.databoxedge.v2019_07_01.models.ShareAccessProtocol :param user_access_rights: Mapping of users and corresponding access rights on the share (required for SMB protocol). - :type user_access_rights: list[~azure.mgmt.databoxedge.models.UserAccessRight] + :type user_access_rights: list[~azure.mgmt.databoxedge.v2019_07_01.models.UserAccessRight] :param client_access_rights: List of IP addresses and corresponding access rights on the share(required for NFS protocol). - :type client_access_rights: list[~azure.mgmt.databoxedge.models.ClientAccessRight] + :type client_access_rights: list[~azure.mgmt.databoxedge.v2019_07_01.models.ClientAccessRight] :param refresh_details: Details of the refresh job on this share. - :type refresh_details: ~azure.mgmt.databoxedge.models.RefreshDetails + :type refresh_details: ~azure.mgmt.databoxedge.v2019_07_01.models.RefreshDetails :ivar share_mappings: Share mount point to the role. - :vartype share_mappings: list[~azure.mgmt.databoxedge.models.MountPointMap] + :vartype share_mappings: list[~azure.mgmt.databoxedge.v2019_07_01.models.MountPointMap] :param data_policy: Data policy of the share. Possible values include: "Cloud", "Local". - :type data_policy: str or ~azure.mgmt.databoxedge.models.DataPolicy + :type data_policy: str or ~azure.mgmt.databoxedge.v2019_07_01.models.DataPolicy """ _validation = { @@ -2201,7 +2206,7 @@ class ShareAccessRight(msrest.serialization.Model): :type share_id: str :param access_type: Required. Type of access to be allowed on the share for this user. Possible values include: "Change", "Read", "Custom". - :type access_type: str or ~azure.mgmt.databoxedge.models.ShareAccessType + :type access_type: str or ~azure.mgmt.databoxedge.v2019_07_01.models.ShareAccessType """ _validation = { @@ -2229,7 +2234,7 @@ class ShareList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of shares. - :vartype value: list[~azure.mgmt.databoxedge.models.Share] + :vartype value: list[~azure.mgmt.databoxedge.v2019_07_01.models.Share] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2257,9 +2262,9 @@ class Sku(msrest.serialization.Model): """The SKU type. :param name: SKU name. Possible values include: "Gateway", "Edge". - :type name: str or ~azure.mgmt.databoxedge.models.SkuName + :type name: str or ~azure.mgmt.databoxedge.v2019_07_01.models.SkuName :param tier: The SKU tier. This is based on the SKU name. Possible values include: "Standard". - :type tier: str or ~azure.mgmt.databoxedge.models.SkuTier + :type tier: str or ~azure.mgmt.databoxedge.v2019_07_01.models.SkuTier """ _attribute_map = { @@ -2294,18 +2299,18 @@ class StorageAccountCredential(ARMBaseModel): :param user_name: Username for the storage account. :type user_name: str :param account_key: Encrypted storage key. - :type account_key: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type account_key: ~azure.mgmt.databoxedge.v2019_07_01.models.AsymmetricEncryptedSecret :param connection_string: Connection string for the storage account. Use this string if username and account key are not specified. :type connection_string: str :param ssl_status: Required. Signifies whether SSL needs to be enabled or not. Possible values include: "Enabled", "Disabled". - :type ssl_status: str or ~azure.mgmt.databoxedge.models.SSLStatus + :type ssl_status: str or ~azure.mgmt.databoxedge.v2019_07_01.models.SSLStatus :param blob_domain_name: Blob end point for private clouds. :type blob_domain_name: str :param account_type: Required. Type of storage accessed on the storage account. Possible values include: "GeneralPurposeStorage", "BlobStorage". - :type account_type: str or ~azure.mgmt.databoxedge.models.AccountType + :type account_type: str or ~azure.mgmt.databoxedge.v2019_07_01.models.AccountType :param storage_account_id: Id of the storage account. :type storage_account_id: str """ @@ -2354,7 +2359,7 @@ class StorageAccountCredentialList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The value. - :vartype value: list[~azure.mgmt.databoxedge.models.StorageAccountCredential] + :vartype value: list[~azure.mgmt.databoxedge.v2019_07_01.models.StorageAccountCredential] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2382,7 +2387,7 @@ class SymmetricKey(msrest.serialization.Model): """Symmetric key for authentication. :param connection_string: Connection string based on the symmetric key. - :type connection_string: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type connection_string: ~azure.mgmt.databoxedge.v2019_07_01.models.AsymmetricEncryptedSecret """ _attribute_map = { @@ -2434,7 +2439,7 @@ class TriggerList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of triggers. - :vartype value: list[~azure.mgmt.databoxedge.models.Trigger] + :vartype value: list[~azure.mgmt.databoxedge.v2019_07_01.models.Trigger] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2465,7 +2470,7 @@ class UpdateDownloadProgress(msrest.serialization.Model): :ivar download_phase: The download phase. Possible values include: "Unknown", "Initializing", "Downloading", "Verifying". - :vartype download_phase: str or ~azure.mgmt.databoxedge.models.DownloadPhase + :vartype download_phase: str or ~azure.mgmt.databoxedge.v2019_07_01.models.DownloadPhase :ivar percent_complete: Percentage of completion. :vartype percent_complete: int :ivar total_bytes_to_download: Total bytes to download. @@ -2579,10 +2584,12 @@ class UpdateSummary(ARMBaseModel): :vartype total_number_of_updates_pending_install: int :ivar reboot_behavior: Indicates if updates are available and at least one of the updates needs a reboot. Possible values include: "NeverReboots", "RequiresReboot", "RequestReboot". - :vartype reboot_behavior: str or ~azure.mgmt.databoxedge.models.InstallRebootBehavior + :vartype reboot_behavior: str or + ~azure.mgmt.databoxedge.v2019_07_01.models.InstallRebootBehavior :ivar ongoing_update_operation: The current update operation. Possible values include: "None", "Scan", "Download", "Install". - :vartype ongoing_update_operation: str or ~azure.mgmt.databoxedge.models.UpdateOperation + :vartype ongoing_update_operation: str or + ~azure.mgmt.databoxedge.v2019_07_01.models.UpdateOperation :ivar in_progress_download_job_id: The job ID of the download job in progress. :vartype in_progress_download_job_id: str :ivar in_progress_install_job_id: The job ID of the install job in progress. @@ -2672,7 +2679,7 @@ class UploadCertificateRequest(msrest.serialization.Model): :param authentication_type: The authentication type. Possible values include: "Invalid", "AzureActiveDirectory". - :type authentication_type: str or ~azure.mgmt.databoxedge.models.AuthenticationType + :type authentication_type: str or ~azure.mgmt.databoxedge.v2019_07_01.models.AuthenticationType :param certificate: Required. The base64 encoded certificate raw data. :type certificate: str """ @@ -2702,7 +2709,7 @@ class UploadCertificateResponse(msrest.serialization.Model): :param auth_type: Specifies authentication type. Possible values include: "Invalid", "AzureActiveDirectory". - :type auth_type: str or ~azure.mgmt.databoxedge.models.AuthenticationType + :type auth_type: str or ~azure.mgmt.databoxedge.v2019_07_01.models.AuthenticationType :param resource_id: Required. The resource ID of the Data Box Edge/Gateway device. :type resource_id: str :param aad_authority: Required. Azure Active Directory tenant authority. @@ -2764,10 +2771,10 @@ class User(ARMBaseModel): :ivar type: The hierarchical type of the object. :vartype type: str :param encrypted_password: The password details. - :type encrypted_password: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type encrypted_password: ~azure.mgmt.databoxedge.v2019_07_01.models.AsymmetricEncryptedSecret :param share_access_rights: List of shares that the user has rights on. This field should not be specified during user creation. - :type share_access_rights: list[~azure.mgmt.databoxedge.models.ShareAccessRight] + :type share_access_rights: list[~azure.mgmt.databoxedge.v2019_07_01.models.ShareAccessRight] """ _validation = { @@ -2802,7 +2809,7 @@ class UserAccessRight(msrest.serialization.Model): :type user_id: str :param access_type: Required. Type of access to be allowed for the user. Possible values include: "Change", "Read", "Custom". - :type access_type: str or ~azure.mgmt.databoxedge.models.ShareAccessType + :type access_type: str or ~azure.mgmt.databoxedge.v2019_07_01.models.ShareAccessType """ _validation = { @@ -2830,7 +2837,7 @@ class UserList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of users. - :vartype value: list[~azure.mgmt.databoxedge.models.User] + :vartype value: list[~azure.mgmt.databoxedge.v2019_07_01.models.User] :ivar next_link: Link to the next set of results. :vartype next_link: str """ diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/models/_models_py3.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/models/_models_py3.py index 1097569d7632..8ae27675c6ba 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/models/_models_py3.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/models/_models_py3.py @@ -131,9 +131,9 @@ class Alert(ARMBaseModel): :vartype recommendation: str :ivar severity: Severity of the alert. Possible values include: "Informational", "Warning", "Critical". - :vartype severity: str or ~azure.mgmt.databoxedge.models.AlertSeverity + :vartype severity: str or ~azure.mgmt.databoxedge.v2019_07_01.models.AlertSeverity :ivar error_details: Error details of the alert. - :vartype error_details: ~azure.mgmt.databoxedge.models.AlertErrorDetails + :vartype error_details: ~azure.mgmt.databoxedge.v2019_07_01.models.AlertErrorDetails :ivar detailed_information: Alert details. :vartype detailed_information: dict[str, str] """ @@ -219,7 +219,7 @@ class AlertList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The value. - :vartype value: list[~azure.mgmt.databoxedge.models.Alert] + :vartype value: list[~azure.mgmt.databoxedge.v2019_07_01.models.Alert] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -255,7 +255,8 @@ class AsymmetricEncryptedSecret(msrest.serialization.Model): :type encryption_cert_thumbprint: str :param encryption_algorithm: Required. The algorithm used to encrypt "Value". Possible values include: "None", "AES256", "RSAES_PKCS1_v_1_5". - :type encryption_algorithm: str or ~azure.mgmt.databoxedge.models.EncryptionAlgorithm + :type encryption_algorithm: str or + ~azure.mgmt.databoxedge.v2019_07_01.models.EncryptionAlgorithm """ _validation = { @@ -287,7 +288,7 @@ class Authentication(msrest.serialization.Model): """Authentication mechanism for IoT devices. :param symmetric_key: Symmetric key for authentication. - :type symmetric_key: ~azure.mgmt.databoxedge.models.SymmetricKey + :type symmetric_key: ~azure.mgmt.databoxedge.v2019_07_01.models.SymmetricKey """ _attribute_map = { @@ -317,7 +318,7 @@ class AzureContainerInfo(msrest.serialization.Model): :type container_name: str :param data_format: Required. Storage format used for the file represented by the share. Possible values include: "BlockBlob", "PageBlob", "AzureFile". - :type data_format: str or ~azure.mgmt.databoxedge.models.AzureContainerDataFormat + :type data_format: str or ~azure.mgmt.databoxedge.v2019_07_01.models.AzureContainerDataFormat """ _validation = { @@ -366,7 +367,7 @@ class BandwidthSchedule(ARMBaseModel): :param rate_in_mbps: Required. The bandwidth rate in Mbps. :type rate_in_mbps: int :param days: Required. The days of the week when this schedule is applicable. - :type days: list[str or ~azure.mgmt.databoxedge.models.DayOfWeek] + :type days: list[str or ~azure.mgmt.databoxedge.v2019_07_01.models.DayOfWeek] """ _validation = { @@ -411,7 +412,7 @@ class BandwidthSchedulesList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of bandwidth schedules. - :vartype value: list[~azure.mgmt.databoxedge.models.BandwidthSchedule] + :vartype value: list[~azure.mgmt.databoxedge.v2019_07_01.models.BandwidthSchedule] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -444,7 +445,7 @@ class ClientAccessRight(msrest.serialization.Model): :type client: str :param access_permission: Required. Type of access to be allowed for the client. Possible values include: "NoAccess", "ReadOnly", "ReadWrite". - :type access_permission: str or ~azure.mgmt.databoxedge.models.ClientPermissionType + :type access_permission: str or ~azure.mgmt.databoxedge.v2019_07_01.models.ClientPermissionType """ _validation = { @@ -479,7 +480,7 @@ class CloudErrorBody(msrest.serialization.Model): interface. :type message: str :param details: A list of additional details about the error. - :type details: list[~azure.mgmt.databoxedge.models.CloudErrorBody] + :type details: list[~azure.mgmt.databoxedge.v2019_07_01.models.CloudErrorBody] """ _attribute_map = { @@ -569,14 +570,14 @@ class DataBoxEdgeDevice(ARMBaseModel): to view and group this device (across resource groups). :type tags: dict[str, str] :param sku: The SKU type. - :type sku: ~azure.mgmt.databoxedge.models.Sku + :type sku: ~azure.mgmt.databoxedge.v2019_07_01.models.Sku :param etag: The etag for the devices. :type etag: str :param data_box_edge_device_status: The status of the Data Box Edge/Gateway device. Possible values include: "ReadyToSetup", "Online", "Offline", "NeedsAttention", "Disconnected", "PartiallyDisconnected", "Maintenance". :type data_box_edge_device_status: str or - ~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceStatus + ~azure.mgmt.databoxedge.v2019_07_01.models.DataBoxEdgeDeviceStatus :ivar serial_number: The Serial Number of Data Box Edge/Gateway device. :vartype serial_number: str :param description: The Description of the Data Box Edge/Gateway device. @@ -585,7 +586,7 @@ class DataBoxEdgeDevice(ARMBaseModel): :type model_description: str :ivar device_type: The type of the Data Box Edge/Gateway device. Possible values include: "DataBoxEdgeDevice". - :vartype device_type: str or ~azure.mgmt.databoxedge.models.DeviceType + :vartype device_type: str or ~azure.mgmt.databoxedge.v2019_07_01.models.DeviceType :param friendly_name: The Data Box Edge/Gateway device name. :type friendly_name: str :ivar culture: The Data Box Edge/Gateway device culture. @@ -601,7 +602,8 @@ class DataBoxEdgeDevice(ARMBaseModel): :ivar device_hcs_version: The device software version number of the device (eg: 1.2.18105.6). :vartype device_hcs_version: str :ivar configured_role_types: Type of compute roles configured. - :vartype configured_role_types: list[str or ~azure.mgmt.databoxedge.models.RoleTypes] + :vartype configured_role_types: list[str or + ~azure.mgmt.databoxedge.v2019_07_01.models.RoleTypes] :ivar node_count: The number of nodes in the cluster. :vartype node_count: int """ @@ -736,7 +738,7 @@ class DataBoxEdgeDeviceList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of Data Box Edge/Gateway devices. - :vartype value: list[~azure.mgmt.databoxedge.models.DataBoxEdgeDevice] + :vartype value: list[~azure.mgmt.databoxedge.v2019_07_01.models.DataBoxEdgeDevice] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -799,7 +801,7 @@ class Trigger(ARMBaseModel): :vartype type: str :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: "FileEvent", "PeriodicTimerEvent". - :type kind: str or ~azure.mgmt.databoxedge.models.TriggerEventType + :type kind: str or ~azure.mgmt.databoxedge.v2019_07_01.models.TriggerEventType """ _validation = { @@ -843,11 +845,11 @@ class FileEventTrigger(Trigger): :vartype type: str :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: "FileEvent", "PeriodicTimerEvent". - :type kind: str or ~azure.mgmt.databoxedge.models.TriggerEventType + :type kind: str or ~azure.mgmt.databoxedge.v2019_07_01.models.TriggerEventType :param source_info: Required. File event source details. - :type source_info: ~azure.mgmt.databoxedge.models.FileSourceInfo + :type source_info: ~azure.mgmt.databoxedge.v2019_07_01.models.FileSourceInfo :param sink_info: Required. Role sink info. - :type sink_info: ~azure.mgmt.databoxedge.models.RoleSinkInfo + :type sink_info: ~azure.mgmt.databoxedge.v2019_07_01.models.RoleSinkInfo :param custom_context_tag: A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module. @@ -927,7 +929,7 @@ class IoTDeviceInfo(msrest.serialization.Model): :param io_t_host_hub_id: Id of the IoT hub associated to the device. :type io_t_host_hub_id: str :param authentication: IoT device authentication info. - :type authentication: ~azure.mgmt.databoxedge.models.Authentication + :type authentication: ~azure.mgmt.databoxedge.v2019_07_01.models.Authentication """ _validation = { @@ -976,7 +978,7 @@ class Role(ARMBaseModel): :vartype type: str :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", "ASA", "Functions", "Cognitive". - :type kind: str or ~azure.mgmt.databoxedge.models.RoleTypes + :type kind: str or ~azure.mgmt.databoxedge.v2019_07_01.models.RoleTypes """ _validation = { @@ -1020,19 +1022,19 @@ class IoTRole(Role): :vartype type: str :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", "ASA", "Functions", "Cognitive". - :type kind: str or ~azure.mgmt.databoxedge.models.RoleTypes + :type kind: str or ~azure.mgmt.databoxedge.v2019_07_01.models.RoleTypes :param host_platform: Host OS supported by the IoT role. Possible values include: "Windows", "Linux". - :type host_platform: str or ~azure.mgmt.databoxedge.models.PlatformType + :type host_platform: str or ~azure.mgmt.databoxedge.v2019_07_01.models.PlatformType :param io_t_device_details: IoT device metadata to which data box edge device needs to be connected. - :type io_t_device_details: ~azure.mgmt.databoxedge.models.IoTDeviceInfo + :type io_t_device_details: ~azure.mgmt.databoxedge.v2019_07_01.models.IoTDeviceInfo :param io_t_edge_device_details: IoT edge device to which the IoT role needs to be configured. - :type io_t_edge_device_details: ~azure.mgmt.databoxedge.models.IoTDeviceInfo + :type io_t_edge_device_details: ~azure.mgmt.databoxedge.v2019_07_01.models.IoTDeviceInfo :param share_mappings: Mount points of shares in role(s). - :type share_mappings: list[~azure.mgmt.databoxedge.models.MountPointMap] + :type share_mappings: list[~azure.mgmt.databoxedge.v2019_07_01.models.MountPointMap] :param role_status: Role status. Possible values include: "Enabled", "Disabled". - :type role_status: str or ~azure.mgmt.databoxedge.models.RoleStatus + :type role_status: str or ~azure.mgmt.databoxedge.v2019_07_01.models.RoleStatus """ _validation = { @@ -1156,7 +1158,7 @@ class Job(msrest.serialization.Model): :vartype type: str :ivar status: The current status of the job. Possible values include: "Invalid", "Running", "Succeeded", "Failed", "Canceled", "Paused", "Scheduled". - :vartype status: str or ~azure.mgmt.databoxedge.models.JobStatus + :vartype status: str or ~azure.mgmt.databoxedge.v2019_07_01.models.JobStatus :ivar start_time: The UTC date and time at which the job started. :vartype start_time: ~datetime.datetime :ivar end_time: The UTC date and time at which the job completed. @@ -1164,19 +1166,19 @@ class Job(msrest.serialization.Model): :ivar percent_complete: The percentage of the job that is complete. :vartype percent_complete: int :ivar error: The error details. - :vartype error: ~azure.mgmt.databoxedge.models.JobErrorDetails + :vartype error: ~azure.mgmt.databoxedge.v2019_07_01.models.JobErrorDetails :ivar job_type: The type of the job. Possible values include: "Invalid", "ScanForUpdates", "DownloadUpdates", "InstallUpdates", "RefreshShare". - :vartype job_type: str or ~azure.mgmt.databoxedge.models.JobType + :vartype job_type: str or ~azure.mgmt.databoxedge.v2019_07_01.models.JobType :ivar current_stage: Current stage of the update operation. Possible values include: "Unknown", "Initial", "ScanStarted", "ScanComplete", "ScanFailed", "DownloadStarted", "DownloadComplete", "DownloadFailed", "InstallStarted", "InstallComplete", "InstallFailed", "RebootInitiated", "Success", "Failure", "RescanStarted", "RescanComplete", "RescanFailed". - :vartype current_stage: str or ~azure.mgmt.databoxedge.models.UpdateOperationStage + :vartype current_stage: str or ~azure.mgmt.databoxedge.v2019_07_01.models.UpdateOperationStage :ivar download_progress: The download progress. - :vartype download_progress: ~azure.mgmt.databoxedge.models.UpdateDownloadProgress + :vartype download_progress: ~azure.mgmt.databoxedge.v2019_07_01.models.UpdateDownloadProgress :ivar install_progress: The install progress. - :vartype install_progress: ~azure.mgmt.databoxedge.models.UpdateInstallProgress + :vartype install_progress: ~azure.mgmt.databoxedge.v2019_07_01.models.UpdateInstallProgress :ivar total_refresh_errors: Total number of errors encountered during the refresh process. :vartype total_refresh_errors: int :ivar error_manifest_file: Local share/remote container relative path to the error manifest @@ -1257,7 +1259,7 @@ class JobErrorDetails(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar error_details: The error details. - :vartype error_details: list[~azure.mgmt.databoxedge.models.JobErrorItem] + :vartype error_details: list[~azure.mgmt.databoxedge.v2019_07_01.models.JobErrorItem] :ivar code: The code intended for programmatic access. :vartype code: str :ivar message: The message that describes the error in detail. @@ -1363,23 +1365,24 @@ class MetricSpecificationV1(msrest.serialization.Model): :type display_description: str :param unit: Metric units. Possible values include: "NotSpecified", "Percent", "Count", "Seconds", "Milliseconds", "Bytes", "BytesPerSecond", "CountPerSecond". - :type unit: str or ~azure.mgmt.databoxedge.models.MetricUnit + :type unit: str or ~azure.mgmt.databoxedge.v2019_07_01.models.MetricUnit :param aggregation_type: Metric aggregation type. Possible values include: "NotSpecified", "None", "Average", "Minimum", "Maximum", "Total", "Count". - :type aggregation_type: str or ~azure.mgmt.databoxedge.models.MetricAggregationType + :type aggregation_type: str or ~azure.mgmt.databoxedge.v2019_07_01.models.MetricAggregationType :param dimensions: Metric dimensions, other than default dimension which is resource. - :type dimensions: list[~azure.mgmt.databoxedge.models.MetricDimensionV1] + :type dimensions: list[~azure.mgmt.databoxedge.v2019_07_01.models.MetricDimensionV1] :param fill_gap_with_zero: Set true to fill the gaps with zero. :type fill_gap_with_zero: bool :param category: Metric category. Possible values include: "Capacity", "Transaction". - :type category: str or ~azure.mgmt.databoxedge.models.MetricCategory + :type category: str or ~azure.mgmt.databoxedge.v2019_07_01.models.MetricCategory :param resource_id_dimension_name_override: Resource name override. :type resource_id_dimension_name_override: str :param supported_time_grain_types: Support granularity of metrics. - :type supported_time_grain_types: list[str or ~azure.mgmt.databoxedge.models.TimeGrain] + :type supported_time_grain_types: list[str or + ~azure.mgmt.databoxedge.v2019_07_01.models.TimeGrain] :param supported_aggregation_types: Support metric aggregation type. :type supported_aggregation_types: list[str or - ~azure.mgmt.databoxedge.models.MetricAggregationType] + ~azure.mgmt.databoxedge.v2019_07_01.models.MetricAggregationType] """ _attribute_map = { @@ -1440,7 +1443,7 @@ class MountPointMap(msrest.serialization.Model): :ivar mount_point: Mount point for the share. :vartype mount_point: str :ivar role_type: Role type. Possible values include: "IOT", "ASA", "Functions", "Cognitive". - :vartype role_type: str or ~azure.mgmt.databoxedge.models.RoleTypes + :vartype role_type: str or ~azure.mgmt.databoxedge.v2019_07_01.models.RoleTypes """ _validation = { @@ -1478,7 +1481,7 @@ class NetworkAdapter(msrest.serialization.Model): :ivar adapter_id: Instance ID of network adapter. :vartype adapter_id: str :ivar adapter_position: Hardware position of network adapter. - :vartype adapter_position: ~azure.mgmt.databoxedge.models.NetworkAdapterPosition + :vartype adapter_position: ~azure.mgmt.databoxedge.v2019_07_01.models.NetworkAdapterPosition :ivar index: Logical index of the adapter. :vartype index: int :ivar node_id: Node ID of the network adapter. @@ -1493,17 +1496,17 @@ class NetworkAdapter(msrest.serialization.Model): :vartype link_speed: long :ivar status: Value indicating whether this adapter is valid. Possible values include: "Inactive", "Active". - :vartype status: str or ~azure.mgmt.databoxedge.models.NetworkAdapterStatus + :vartype status: str or ~azure.mgmt.databoxedge.v2019_07_01.models.NetworkAdapterStatus :param rdma_status: Value indicating whether this adapter is RDMA capable. Possible values include: "Incapable", "Capable". - :type rdma_status: str or ~azure.mgmt.databoxedge.models.NetworkAdapterRDMAStatus + :type rdma_status: str or ~azure.mgmt.databoxedge.v2019_07_01.models.NetworkAdapterRDMAStatus :param dhcp_status: Value indicating whether this adapter has DHCP enabled. Possible values include: "Disabled", "Enabled". - :type dhcp_status: str or ~azure.mgmt.databoxedge.models.NetworkAdapterDHCPStatus + :type dhcp_status: str or ~azure.mgmt.databoxedge.v2019_07_01.models.NetworkAdapterDHCPStatus :ivar ipv4_configuration: The IPv4 configuration of the network adapter. - :vartype ipv4_configuration: ~azure.mgmt.databoxedge.models.Ipv4Config + :vartype ipv4_configuration: ~azure.mgmt.databoxedge.v2019_07_01.models.Ipv4Config :ivar ipv6_configuration: The IPv6 configuration of the network adapter. - :vartype ipv6_configuration: ~azure.mgmt.databoxedge.models.Ipv6Config + :vartype ipv6_configuration: ~azure.mgmt.databoxedge.v2019_07_01.models.Ipv6Config :ivar ipv6_link_local_address: The IPv6 local address. :vartype ipv6_link_local_address: str :ivar dns_servers: The list of DNS Servers of the device. @@ -1575,7 +1578,7 @@ class NetworkAdapterPosition(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar network_group: The network group. Possible values include: "None", "NonRDMA", "RDMA". - :vartype network_group: str or ~azure.mgmt.databoxedge.models.NetworkGroup + :vartype network_group: str or ~azure.mgmt.databoxedge.v2019_07_01.models.NetworkGroup :ivar port: The port. :vartype port: int """ @@ -1611,7 +1614,7 @@ class NetworkSettings(ARMBaseModel): :ivar type: The hierarchical type of the object. :vartype type: str :ivar network_adapters: The network adapter list on the device. - :vartype network_adapters: list[~azure.mgmt.databoxedge.models.NetworkAdapter] + :vartype network_adapters: list[~azure.mgmt.databoxedge.v2019_07_01.models.NetworkAdapter] """ _validation = { @@ -1651,7 +1654,7 @@ class Node(ARMBaseModel): :vartype type: str :ivar node_status: The current status of the individual node. Possible values include: "Unknown", "Up", "Down", "Rebooting", "ShuttingDown". - :vartype node_status: str or ~azure.mgmt.databoxedge.models.NodeStatus + :vartype node_status: str or ~azure.mgmt.databoxedge.v2019_07_01.models.NodeStatus :ivar node_chassis_serial_number: Serial number of the Chassis. :vartype node_chassis_serial_number: str :ivar node_serial_number: Serial number of the individual node. @@ -1713,7 +1716,7 @@ class NodeList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of Nodes. - :vartype value: list[~azure.mgmt.databoxedge.models.Node] + :vartype value: list[~azure.mgmt.databoxedge.v2019_07_01.models.Node] """ _validation = { @@ -1738,11 +1741,11 @@ class Operation(msrest.serialization.Model): :param name: Name of the operation. :type name: str :param display: Properties displayed for the operation. - :type display: ~azure.mgmt.databoxedge.models.OperationDisplay + :type display: ~azure.mgmt.databoxedge.v2019_07_01.models.OperationDisplay :param origin: Origin of the operation. :type origin: str :param service_specification: Service specification. - :type service_specification: ~azure.mgmt.databoxedge.models.ServiceSpecification + :type service_specification: ~azure.mgmt.databoxedge.v2019_07_01.models.ServiceSpecification """ _attribute_map = { @@ -1810,7 +1813,7 @@ class OperationsList(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. The value. - :type value: list[~azure.mgmt.databoxedge.models.Operation] + :type value: list[~azure.mgmt.databoxedge.v2019_07_01.models.Operation] :param next_link: Link to the next set of results. :type next_link: str """ @@ -1848,21 +1851,21 @@ class Order(ARMBaseModel): :ivar type: The hierarchical type of the object. :vartype type: str :param contact_information: The contact details. - :type contact_information: ~azure.mgmt.databoxedge.models.ContactDetails + :type contact_information: ~azure.mgmt.databoxedge.v2019_07_01.models.ContactDetails :param shipping_address: The shipping address. - :type shipping_address: ~azure.mgmt.databoxedge.models.Address + :type shipping_address: ~azure.mgmt.databoxedge.v2019_07_01.models.Address :param current_status: Current status of the order. - :type current_status: ~azure.mgmt.databoxedge.models.OrderStatus + :type current_status: ~azure.mgmt.databoxedge.v2019_07_01.models.OrderStatus :ivar order_history: List of status changes in the order. - :vartype order_history: list[~azure.mgmt.databoxedge.models.OrderStatus] + :vartype order_history: list[~azure.mgmt.databoxedge.v2019_07_01.models.OrderStatus] :ivar serial_number: Serial number of the device. :vartype serial_number: str :ivar delivery_tracking_info: Tracking information for the package delivered to the customer whether it has an original or a replacement device. - :vartype delivery_tracking_info: list[~azure.mgmt.databoxedge.models.TrackingInfo] + :vartype delivery_tracking_info: list[~azure.mgmt.databoxedge.v2019_07_01.models.TrackingInfo] :ivar return_tracking_info: Tracking information for the package returned from the customer whether it has an original or a replacement device. - :vartype return_tracking_info: list[~azure.mgmt.databoxedge.models.TrackingInfo] + :vartype return_tracking_info: list[~azure.mgmt.databoxedge.v2019_07_01.models.TrackingInfo] """ _validation = { @@ -1912,7 +1915,7 @@ class OrderList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of orders. - :vartype value: list[~azure.mgmt.databoxedge.models.Order] + :vartype value: list[~azure.mgmt.databoxedge.v2019_07_01.models.Order] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -1947,7 +1950,7 @@ class OrderStatus(msrest.serialization.Model): include: "Untracked", "AwaitingFulfilment", "AwaitingPreparation", "AwaitingShipment", "Shipped", "Arriving", "Delivered", "ReplacementRequested", "LostDevice", "Declined", "ReturnInitiated", "AwaitingReturnShipment", "ShippedBack", "CollectedAtMicrosoft". - :type status: str or ~azure.mgmt.databoxedge.models.OrderState + :type status: str or ~azure.mgmt.databoxedge.v2019_07_01.models.OrderState :ivar update_date_time: Time of status update. :vartype update_date_time: ~datetime.datetime :param comments: Comments related to this status change. @@ -1993,11 +1996,11 @@ class PeriodicTimerEventTrigger(Trigger): :vartype type: str :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: "FileEvent", "PeriodicTimerEvent". - :type kind: str or ~azure.mgmt.databoxedge.models.TriggerEventType + :type kind: str or ~azure.mgmt.databoxedge.v2019_07_01.models.TriggerEventType :param source_info: Required. Periodic timer details. - :type source_info: ~azure.mgmt.databoxedge.models.PeriodicTimerSourceInfo + :type source_info: ~azure.mgmt.databoxedge.v2019_07_01.models.PeriodicTimerSourceInfo :param sink_info: Required. Role Sink information. - :type sink_info: ~azure.mgmt.databoxedge.models.RoleSinkInfo + :type sink_info: ~azure.mgmt.databoxedge.v2019_07_01.models.RoleSinkInfo :param custom_context_tag: A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module. @@ -2126,7 +2129,7 @@ class RoleList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The Value. - :vartype value: list[~azure.mgmt.databoxedge.models.Role] + :vartype value: list[~azure.mgmt.databoxedge.v2019_07_01.models.Role] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2194,7 +2197,8 @@ class SecuritySettings(ARMBaseModel): (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual password should have at least 8 characters that are a combination of uppercase, lowercase, numeric, and special characters. - :type device_admin_password: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type device_admin_password: + ~azure.mgmt.databoxedge.v2019_07_01.models.AsymmetricEncryptedSecret """ _validation = { @@ -2225,7 +2229,8 @@ class ServiceSpecification(msrest.serialization.Model): """Service specification. :param metric_specifications: Metric specification as defined by shoebox. - :type metric_specifications: list[~azure.mgmt.databoxedge.models.MetricSpecificationV1] + :type metric_specifications: + list[~azure.mgmt.databoxedge.v2019_07_01.models.MetricSpecificationV1] """ _attribute_map = { @@ -2259,27 +2264,27 @@ class Share(ARMBaseModel): :type description: str :param share_status: Required. Current status of the share. Possible values include: "Offline", "Unknown", "OK", "Updating", "NeedsAttention". - :type share_status: str or ~azure.mgmt.databoxedge.models.ShareStatus + :type share_status: str or ~azure.mgmt.databoxedge.v2019_07_01.models.ShareStatus :param monitoring_status: Required. Current monitoring status of the share. Possible values include: "Enabled", "Disabled". - :type monitoring_status: str or ~azure.mgmt.databoxedge.models.MonitoringStatus + :type monitoring_status: str or ~azure.mgmt.databoxedge.v2019_07_01.models.MonitoringStatus :param azure_container_info: Azure container mapping for the share. - :type azure_container_info: ~azure.mgmt.databoxedge.models.AzureContainerInfo + :type azure_container_info: ~azure.mgmt.databoxedge.v2019_07_01.models.AzureContainerInfo :param access_protocol: Required. Access protocol to be used by the share. Possible values include: "SMB", "NFS". - :type access_protocol: str or ~azure.mgmt.databoxedge.models.ShareAccessProtocol + :type access_protocol: str or ~azure.mgmt.databoxedge.v2019_07_01.models.ShareAccessProtocol :param user_access_rights: Mapping of users and corresponding access rights on the share (required for SMB protocol). - :type user_access_rights: list[~azure.mgmt.databoxedge.models.UserAccessRight] + :type user_access_rights: list[~azure.mgmt.databoxedge.v2019_07_01.models.UserAccessRight] :param client_access_rights: List of IP addresses and corresponding access rights on the share(required for NFS protocol). - :type client_access_rights: list[~azure.mgmt.databoxedge.models.ClientAccessRight] + :type client_access_rights: list[~azure.mgmt.databoxedge.v2019_07_01.models.ClientAccessRight] :param refresh_details: Details of the refresh job on this share. - :type refresh_details: ~azure.mgmt.databoxedge.models.RefreshDetails + :type refresh_details: ~azure.mgmt.databoxedge.v2019_07_01.models.RefreshDetails :ivar share_mappings: Share mount point to the role. - :vartype share_mappings: list[~azure.mgmt.databoxedge.models.MountPointMap] + :vartype share_mappings: list[~azure.mgmt.databoxedge.v2019_07_01.models.MountPointMap] :param data_policy: Data policy of the share. Possible values include: "Cloud", "Local". - :type data_policy: str or ~azure.mgmt.databoxedge.models.DataPolicy + :type data_policy: str or ~azure.mgmt.databoxedge.v2019_07_01.models.DataPolicy """ _validation = { @@ -2344,7 +2349,7 @@ class ShareAccessRight(msrest.serialization.Model): :type share_id: str :param access_type: Required. Type of access to be allowed on the share for this user. Possible values include: "Change", "Read", "Custom". - :type access_type: str or ~azure.mgmt.databoxedge.models.ShareAccessType + :type access_type: str or ~azure.mgmt.databoxedge.v2019_07_01.models.ShareAccessType """ _validation = { @@ -2375,7 +2380,7 @@ class ShareList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of shares. - :vartype value: list[~azure.mgmt.databoxedge.models.Share] + :vartype value: list[~azure.mgmt.databoxedge.v2019_07_01.models.Share] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2403,9 +2408,9 @@ class Sku(msrest.serialization.Model): """The SKU type. :param name: SKU name. Possible values include: "Gateway", "Edge". - :type name: str or ~azure.mgmt.databoxedge.models.SkuName + :type name: str or ~azure.mgmt.databoxedge.v2019_07_01.models.SkuName :param tier: The SKU tier. This is based on the SKU name. Possible values include: "Standard". - :type tier: str or ~azure.mgmt.databoxedge.models.SkuTier + :type tier: str or ~azure.mgmt.databoxedge.v2019_07_01.models.SkuTier """ _attribute_map = { @@ -2443,18 +2448,18 @@ class StorageAccountCredential(ARMBaseModel): :param user_name: Username for the storage account. :type user_name: str :param account_key: Encrypted storage key. - :type account_key: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type account_key: ~azure.mgmt.databoxedge.v2019_07_01.models.AsymmetricEncryptedSecret :param connection_string: Connection string for the storage account. Use this string if username and account key are not specified. :type connection_string: str :param ssl_status: Required. Signifies whether SSL needs to be enabled or not. Possible values include: "Enabled", "Disabled". - :type ssl_status: str or ~azure.mgmt.databoxedge.models.SSLStatus + :type ssl_status: str or ~azure.mgmt.databoxedge.v2019_07_01.models.SSLStatus :param blob_domain_name: Blob end point for private clouds. :type blob_domain_name: str :param account_type: Required. Type of storage accessed on the storage account. Possible values include: "GeneralPurposeStorage", "BlobStorage". - :type account_type: str or ~azure.mgmt.databoxedge.models.AccountType + :type account_type: str or ~azure.mgmt.databoxedge.v2019_07_01.models.AccountType :param storage_account_id: Id of the storage account. :type storage_account_id: str """ @@ -2512,7 +2517,7 @@ class StorageAccountCredentialList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The value. - :vartype value: list[~azure.mgmt.databoxedge.models.StorageAccountCredential] + :vartype value: list[~azure.mgmt.databoxedge.v2019_07_01.models.StorageAccountCredential] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2540,7 +2545,7 @@ class SymmetricKey(msrest.serialization.Model): """Symmetric key for authentication. :param connection_string: Connection string based on the symmetric key. - :type connection_string: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type connection_string: ~azure.mgmt.databoxedge.v2019_07_01.models.AsymmetricEncryptedSecret """ _attribute_map = { @@ -2599,7 +2604,7 @@ class TriggerList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of triggers. - :vartype value: list[~azure.mgmt.databoxedge.models.Trigger] + :vartype value: list[~azure.mgmt.databoxedge.v2019_07_01.models.Trigger] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2630,7 +2635,7 @@ class UpdateDownloadProgress(msrest.serialization.Model): :ivar download_phase: The download phase. Possible values include: "Unknown", "Initializing", "Downloading", "Verifying". - :vartype download_phase: str or ~azure.mgmt.databoxedge.models.DownloadPhase + :vartype download_phase: str or ~azure.mgmt.databoxedge.v2019_07_01.models.DownloadPhase :ivar percent_complete: Percentage of completion. :vartype percent_complete: int :ivar total_bytes_to_download: Total bytes to download. @@ -2744,10 +2749,12 @@ class UpdateSummary(ARMBaseModel): :vartype total_number_of_updates_pending_install: int :ivar reboot_behavior: Indicates if updates are available and at least one of the updates needs a reboot. Possible values include: "NeverReboots", "RequiresReboot", "RequestReboot". - :vartype reboot_behavior: str or ~azure.mgmt.databoxedge.models.InstallRebootBehavior + :vartype reboot_behavior: str or + ~azure.mgmt.databoxedge.v2019_07_01.models.InstallRebootBehavior :ivar ongoing_update_operation: The current update operation. Possible values include: "None", "Scan", "Download", "Install". - :vartype ongoing_update_operation: str or ~azure.mgmt.databoxedge.models.UpdateOperation + :vartype ongoing_update_operation: str or + ~azure.mgmt.databoxedge.v2019_07_01.models.UpdateOperation :ivar in_progress_download_job_id: The job ID of the download job in progress. :vartype in_progress_download_job_id: str :ivar in_progress_install_job_id: The job ID of the install job in progress. @@ -2842,7 +2849,7 @@ class UploadCertificateRequest(msrest.serialization.Model): :param authentication_type: The authentication type. Possible values include: "Invalid", "AzureActiveDirectory". - :type authentication_type: str or ~azure.mgmt.databoxedge.models.AuthenticationType + :type authentication_type: str or ~azure.mgmt.databoxedge.v2019_07_01.models.AuthenticationType :param certificate: Required. The base64 encoded certificate raw data. :type certificate: str """ @@ -2875,7 +2882,7 @@ class UploadCertificateResponse(msrest.serialization.Model): :param auth_type: Specifies authentication type. Possible values include: "Invalid", "AzureActiveDirectory". - :type auth_type: str or ~azure.mgmt.databoxedge.models.AuthenticationType + :type auth_type: str or ~azure.mgmt.databoxedge.v2019_07_01.models.AuthenticationType :param resource_id: Required. The resource ID of the Data Box Edge/Gateway device. :type resource_id: str :param aad_authority: Required. Azure Active Directory tenant authority. @@ -2945,10 +2952,10 @@ class User(ARMBaseModel): :ivar type: The hierarchical type of the object. :vartype type: str :param encrypted_password: The password details. - :type encrypted_password: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type encrypted_password: ~azure.mgmt.databoxedge.v2019_07_01.models.AsymmetricEncryptedSecret :param share_access_rights: List of shares that the user has rights on. This field should not be specified during user creation. - :type share_access_rights: list[~azure.mgmt.databoxedge.models.ShareAccessRight] + :type share_access_rights: list[~azure.mgmt.databoxedge.v2019_07_01.models.ShareAccessRight] """ _validation = { @@ -2986,7 +2993,7 @@ class UserAccessRight(msrest.serialization.Model): :type user_id: str :param access_type: Required. Type of access to be allowed for the user. Possible values include: "Change", "Read", "Custom". - :type access_type: str or ~azure.mgmt.databoxedge.models.ShareAccessType + :type access_type: str or ~azure.mgmt.databoxedge.v2019_07_01.models.ShareAccessType """ _validation = { @@ -3017,7 +3024,7 @@ class UserList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of users. - :vartype value: list[~azure.mgmt.databoxedge.models.User] + :vartype value: list[~azure.mgmt.databoxedge.v2019_07_01.models.User] :ivar next_link: Link to the next set of results. :vartype next_link: str """ diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_alerts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_alerts_operations.py index b403ad2c9929..a9186ae3352d 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_alerts_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_alerts_operations.py @@ -30,7 +30,7 @@ class AlertsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AlertList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.AlertList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_07_01.models.AlertList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.AlertList"] @@ -140,7 +140,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Alert, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Alert + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.Alert :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Alert"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_bandwidth_schedules_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_bandwidth_schedules_operations.py index 727445b727cc..2d59ed718fa0 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_bandwidth_schedules_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_bandwidth_schedules_operations.py @@ -32,7 +32,7 @@ class BandwidthSchedulesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BandwidthSchedulesList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.BandwidthSchedulesList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_07_01.models.BandwidthSchedulesList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedulesList"] @@ -140,7 +140,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BandwidthSchedule, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.BandwidthSchedule + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.BandwidthSchedule :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedule"] @@ -261,15 +261,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param parameters: The bandwidth schedule to be added or updated. - :type parameters: ~azure.mgmt.databoxedge.models.BandwidthSchedule + :type parameters: ~azure.mgmt.databoxedge.v2019_07_01.models.BandwidthSchedule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BandwidthSchedule or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.BandwidthSchedule] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_07_01.models.BandwidthSchedule] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -385,8 +385,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_devices_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_devices_operations.py index 510c81d28240..e1c98ec9a63f 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_devices_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_devices_operations.py @@ -32,7 +32,7 @@ class DevicesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list_by_subscription( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_07_01.models.DataBoxEdgeDeviceList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] @@ -136,7 +136,7 @@ def list_by_resource_group( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_07_01.models.DataBoxEdgeDeviceList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] @@ -212,7 +212,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataBoxEdgeDevice, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevice + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.DataBoxEdgeDevice :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] @@ -325,15 +325,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param data_box_edge_device: The resource object. - :type data_box_edge_device: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevice + :type data_box_edge_device: ~azure.mgmt.databoxedge.v2019_07_01.models.DataBoxEdgeDevice :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DataBoxEdgeDevice or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.DataBoxEdgeDevice] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_07_01.models.DataBoxEdgeDevice] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -442,8 +442,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -507,10 +507,10 @@ def update( :param resource_group_name: The resource group name. :type resource_group_name: str :param parameters: The resource parameters. - :type parameters: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevicePatch + :type parameters: ~azure.mgmt.databoxedge.v2019_07_01.models.DataBoxEdgeDevicePatch :keyword callable cls: A custom type or function that will be passed the direct response :return: DataBoxEdgeDevice, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevice + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.DataBoxEdgeDevice :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] @@ -621,8 +621,8 @@ def begin_download_updates( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -686,7 +686,7 @@ def get_extended_information( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataBoxEdgeDeviceExtendedInfo, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceExtendedInfo + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.DataBoxEdgeDeviceExtendedInfo :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceExtendedInfo"] @@ -792,8 +792,8 @@ def begin_install_updates( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -857,7 +857,7 @@ def get_network_settings( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkSettings, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.NetworkSettings + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.NetworkSettings :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSettings"] @@ -963,8 +963,8 @@ def begin_scan_for_updates( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1079,11 +1079,11 @@ def begin_create_or_update_security_settings( :param resource_group_name: The resource group name. :type resource_group_name: str :param security_settings: The security settings. - :type security_settings: ~azure.mgmt.databoxedge.models.SecuritySettings + :type security_settings: ~azure.mgmt.databoxedge.v2019_07_01.models.SecuritySettings :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1151,7 +1151,7 @@ def get_update_summary( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: UpdateSummary, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.UpdateSummary + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.UpdateSummary :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.UpdateSummary"] @@ -1210,10 +1210,10 @@ def upload_certificate( :param resource_group_name: The resource group name. :type resource_group_name: str :param parameters: The upload certificate request. - :type parameters: ~azure.mgmt.databoxedge.models.UploadCertificateRequest + :type parameters: ~azure.mgmt.databoxedge.v2019_07_01.models.UploadCertificateRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: UploadCertificateResponse, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.UploadCertificateResponse + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.UploadCertificateResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.UploadCertificateResponse"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_jobs_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_jobs_operations.py index 23ac010f92f1..561dd867f1e6 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_jobs_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_jobs_operations.py @@ -29,7 +29,7 @@ class JobsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -64,7 +64,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Job, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Job + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.Job :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_nodes_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_nodes_operations.py index 7c21eb6986e2..d27783f71dc1 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_nodes_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_nodes_operations.py @@ -30,7 +30,7 @@ class NodesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NodeList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.NodeList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_07_01.models.NodeList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.NodeList"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_operations.py index accdd9530127..175e9a141ede 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_operations.py @@ -30,7 +30,7 @@ class Operations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -56,7 +56,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OperationsList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.OperationsList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_07_01.models.OperationsList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationsList"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_operations_status_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_operations_status_operations.py index 617e5112afaa..e67f78f60dad 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_operations_status_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_operations_status_operations.py @@ -29,7 +29,7 @@ class OperationsStatusOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -64,7 +64,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Job, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Job + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.Job :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_orders_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_orders_operations.py index 64266df2480e..fa7e56a2dcb7 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_orders_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_orders_operations.py @@ -32,7 +32,7 @@ class OrdersOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -64,7 +64,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OrderList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.OrderList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_07_01.models.OrderList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.OrderList"] @@ -141,7 +141,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Order, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Order + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.Order :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Order"] @@ -258,15 +258,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param order: The order to be created or updated. - :type order: ~azure.mgmt.databoxedge.models.Order + :type order: ~azure.mgmt.databoxedge.v2019_07_01.models.Order :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Order or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.Order] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_07_01.models.Order] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -377,8 +377,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_roles_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_roles_operations.py index 8d2e610afc0e..2c7f33f1d31e 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_roles_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_roles_operations.py @@ -32,7 +32,7 @@ class RolesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either RoleList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.RoleList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_07_01.models.RoleList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.RoleList"] @@ -140,7 +140,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Role, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Role + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.Role :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Role"] @@ -261,15 +261,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param role: The role properties. - :type role: ~azure.mgmt.databoxedge.models.Role + :type role: ~azure.mgmt.databoxedge.v2019_07_01.models.Role :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Role or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.Role] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_07_01.models.Role] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -385,8 +385,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_shares_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_shares_operations.py index 67fd5bddb455..dc6a461b1808 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_shares_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_shares_operations.py @@ -32,7 +32,7 @@ class SharesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -64,7 +64,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ShareList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.ShareList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_07_01.models.ShareList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.ShareList"] @@ -144,7 +144,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Share, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Share + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.Share :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Share"] @@ -267,15 +267,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param share: The share properties. - :type share: ~azure.mgmt.databoxedge.models.Share + :type share: ~azure.mgmt.databoxedge.v2019_07_01.models.Share :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Share or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.Share] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_07_01.models.Share] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -391,8 +391,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -510,8 +510,8 @@ def begin_refresh( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_storage_account_credentials_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_storage_account_credentials_operations.py index 7c4b6e83f263..5f5eefec1248 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_storage_account_credentials_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_storage_account_credentials_operations.py @@ -32,7 +32,7 @@ class StorageAccountCredentialsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -64,7 +64,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountCredentialList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.StorageAccountCredentialList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_07_01.models.StorageAccountCredentialList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredentialList"] @@ -142,7 +142,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountCredential, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.StorageAccountCredential + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.StorageAccountCredential :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredential"] @@ -263,15 +263,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param storage_account_credential: The storage account credential. - :type storage_account_credential: ~azure.mgmt.databoxedge.models.StorageAccountCredential + :type storage_account_credential: ~azure.mgmt.databoxedge.v2019_07_01.models.StorageAccountCredential :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either StorageAccountCredential or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.StorageAccountCredential] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_07_01.models.StorageAccountCredential] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -387,8 +387,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_triggers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_triggers_operations.py index 00f0d161b5ef..9c2ed94ccc52 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_triggers_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_triggers_operations.py @@ -32,7 +32,7 @@ class TriggersOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -66,7 +66,7 @@ def list_by_data_box_edge_device( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either TriggerList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.TriggerList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_07_01.models.TriggerList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.TriggerList"] @@ -146,7 +146,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Trigger, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Trigger + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.Trigger :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Trigger"] @@ -267,15 +267,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param trigger: The trigger. - :type trigger: ~azure.mgmt.databoxedge.models.Trigger + :type trigger: ~azure.mgmt.databoxedge.v2019_07_01.models.Trigger :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Trigger or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.Trigger] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_07_01.models.Trigger] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -391,8 +391,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_users_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_users_operations.py index 665edc0435b7..6eea2a22d3d6 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_users_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_07_01/operations/_users_operations.py @@ -32,7 +32,7 @@ class UsersOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either UserList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.UserList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_07_01.models.UserList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.UserList"] @@ -140,7 +140,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: User, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.User + :rtype: ~azure.mgmt.databoxedge.v2019_07_01.models.User :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.User"] @@ -262,15 +262,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param user: The user details. - :type user: ~azure.mgmt.databoxedge.models.User + :type user: ~azure.mgmt.databoxedge.v2019_07_01.models.User :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either User or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.User] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_07_01.models.User] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -386,8 +386,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/_data_box_edge_management_client.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/_data_box_edge_management_client.py index 0be723e7c905..0af6918216f3 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/_data_box_edge_management_client.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/_data_box_edge_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import DataBoxEdgeManagementClientConfiguration from .operations import Operations @@ -41,37 +42,37 @@ class DataBoxEdgeManagementClient(object): """The DataBoxEdge Client. :ivar operations: Operations operations - :vartype operations: azure.mgmt.databoxedge.operations.Operations + :vartype operations: azure.mgmt.databoxedge.v2019_08_01.operations.Operations :ivar devices: DevicesOperations operations - :vartype devices: azure.mgmt.databoxedge.operations.DevicesOperations + :vartype devices: azure.mgmt.databoxedge.v2019_08_01.operations.DevicesOperations :ivar alerts: AlertsOperations operations - :vartype alerts: azure.mgmt.databoxedge.operations.AlertsOperations + :vartype alerts: azure.mgmt.databoxedge.v2019_08_01.operations.AlertsOperations :ivar bandwidth_schedules: BandwidthSchedulesOperations operations - :vartype bandwidth_schedules: azure.mgmt.databoxedge.operations.BandwidthSchedulesOperations + :vartype bandwidth_schedules: azure.mgmt.databoxedge.v2019_08_01.operations.BandwidthSchedulesOperations :ivar jobs: JobsOperations operations - :vartype jobs: azure.mgmt.databoxedge.operations.JobsOperations + :vartype jobs: azure.mgmt.databoxedge.v2019_08_01.operations.JobsOperations :ivar nodes: NodesOperations operations - :vartype nodes: azure.mgmt.databoxedge.operations.NodesOperations + :vartype nodes: azure.mgmt.databoxedge.v2019_08_01.operations.NodesOperations :ivar operations_status: OperationsStatusOperations operations - :vartype operations_status: azure.mgmt.databoxedge.operations.OperationsStatusOperations + :vartype operations_status: azure.mgmt.databoxedge.v2019_08_01.operations.OperationsStatusOperations :ivar orders: OrdersOperations operations - :vartype orders: azure.mgmt.databoxedge.operations.OrdersOperations + :vartype orders: azure.mgmt.databoxedge.v2019_08_01.operations.OrdersOperations :ivar roles: RolesOperations operations - :vartype roles: azure.mgmt.databoxedge.operations.RolesOperations + :vartype roles: azure.mgmt.databoxedge.v2019_08_01.operations.RolesOperations :ivar shares: SharesOperations operations - :vartype shares: azure.mgmt.databoxedge.operations.SharesOperations + :vartype shares: azure.mgmt.databoxedge.v2019_08_01.operations.SharesOperations :ivar storage_account_credentials: StorageAccountCredentialsOperations operations - :vartype storage_account_credentials: azure.mgmt.databoxedge.operations.StorageAccountCredentialsOperations + :vartype storage_account_credentials: azure.mgmt.databoxedge.v2019_08_01.operations.StorageAccountCredentialsOperations :ivar storage_accounts: StorageAccountsOperations operations - :vartype storage_accounts: azure.mgmt.databoxedge.operations.StorageAccountsOperations + :vartype storage_accounts: azure.mgmt.databoxedge.v2019_08_01.operations.StorageAccountsOperations :ivar containers: ContainersOperations operations - :vartype containers: azure.mgmt.databoxedge.operations.ContainersOperations + :vartype containers: azure.mgmt.databoxedge.v2019_08_01.operations.ContainersOperations :ivar triggers: TriggersOperations operations - :vartype triggers: azure.mgmt.databoxedge.operations.TriggersOperations + :vartype triggers: azure.mgmt.databoxedge.v2019_08_01.operations.TriggersOperations :ivar users: UsersOperations operations - :vartype users: azure.mgmt.databoxedge.operations.UsersOperations + :vartype users: azure.mgmt.databoxedge.v2019_08_01.operations.UsersOperations :ivar skus: SkusOperations operations - :vartype skus: azure.mgmt.databoxedge.operations.SkusOperations + :vartype skus: azure.mgmt.databoxedge.v2019_08_01.operations.SkusOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials.TokenCredential :param subscription_id: The subscription ID. @@ -131,6 +132,24 @@ def __init__( self.skus = SkusOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/_metadata.json b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/_metadata.json index 972f6ab4463a..df175d3bbf33 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/_metadata.json +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": false + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"DataBoxEdgeManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"DataBoxEdgeManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription ID.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_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\": [\"TokenCredential\"]}}}", + "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": { "operations": "Operations", @@ -68,9 +114,5 @@ "triggers": "TriggersOperations", "users": "UsersOperations", "skus": "SkusOperations" - }, - "operation_mixins": { - }, - "sync_imports": "None", - "async_imports": "None" + } } \ No newline at end of file diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/_data_box_edge_management_client.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/_data_box_edge_management_client.py index 8cc9c43813e2..478a535da5e8 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/_data_box_edge_management_client.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/_data_box_edge_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -39,37 +40,37 @@ class DataBoxEdgeManagementClient(object): """The DataBoxEdge Client. :ivar operations: Operations operations - :vartype operations: azure.mgmt.databoxedge.aio.operations.Operations + :vartype operations: azure.mgmt.databoxedge.v2019_08_01.aio.operations.Operations :ivar devices: DevicesOperations operations - :vartype devices: azure.mgmt.databoxedge.aio.operations.DevicesOperations + :vartype devices: azure.mgmt.databoxedge.v2019_08_01.aio.operations.DevicesOperations :ivar alerts: AlertsOperations operations - :vartype alerts: azure.mgmt.databoxedge.aio.operations.AlertsOperations + :vartype alerts: azure.mgmt.databoxedge.v2019_08_01.aio.operations.AlertsOperations :ivar bandwidth_schedules: BandwidthSchedulesOperations operations - :vartype bandwidth_schedules: azure.mgmt.databoxedge.aio.operations.BandwidthSchedulesOperations + :vartype bandwidth_schedules: azure.mgmt.databoxedge.v2019_08_01.aio.operations.BandwidthSchedulesOperations :ivar jobs: JobsOperations operations - :vartype jobs: azure.mgmt.databoxedge.aio.operations.JobsOperations + :vartype jobs: azure.mgmt.databoxedge.v2019_08_01.aio.operations.JobsOperations :ivar nodes: NodesOperations operations - :vartype nodes: azure.mgmt.databoxedge.aio.operations.NodesOperations + :vartype nodes: azure.mgmt.databoxedge.v2019_08_01.aio.operations.NodesOperations :ivar operations_status: OperationsStatusOperations operations - :vartype operations_status: azure.mgmt.databoxedge.aio.operations.OperationsStatusOperations + :vartype operations_status: azure.mgmt.databoxedge.v2019_08_01.aio.operations.OperationsStatusOperations :ivar orders: OrdersOperations operations - :vartype orders: azure.mgmt.databoxedge.aio.operations.OrdersOperations + :vartype orders: azure.mgmt.databoxedge.v2019_08_01.aio.operations.OrdersOperations :ivar roles: RolesOperations operations - :vartype roles: azure.mgmt.databoxedge.aio.operations.RolesOperations + :vartype roles: azure.mgmt.databoxedge.v2019_08_01.aio.operations.RolesOperations :ivar shares: SharesOperations operations - :vartype shares: azure.mgmt.databoxedge.aio.operations.SharesOperations + :vartype shares: azure.mgmt.databoxedge.v2019_08_01.aio.operations.SharesOperations :ivar storage_account_credentials: StorageAccountCredentialsOperations operations - :vartype storage_account_credentials: azure.mgmt.databoxedge.aio.operations.StorageAccountCredentialsOperations + :vartype storage_account_credentials: azure.mgmt.databoxedge.v2019_08_01.aio.operations.StorageAccountCredentialsOperations :ivar storage_accounts: StorageAccountsOperations operations - :vartype storage_accounts: azure.mgmt.databoxedge.aio.operations.StorageAccountsOperations + :vartype storage_accounts: azure.mgmt.databoxedge.v2019_08_01.aio.operations.StorageAccountsOperations :ivar containers: ContainersOperations operations - :vartype containers: azure.mgmt.databoxedge.aio.operations.ContainersOperations + :vartype containers: azure.mgmt.databoxedge.v2019_08_01.aio.operations.ContainersOperations :ivar triggers: TriggersOperations operations - :vartype triggers: azure.mgmt.databoxedge.aio.operations.TriggersOperations + :vartype triggers: azure.mgmt.databoxedge.v2019_08_01.aio.operations.TriggersOperations :ivar users: UsersOperations operations - :vartype users: azure.mgmt.databoxedge.aio.operations.UsersOperations + :vartype users: azure.mgmt.databoxedge.v2019_08_01.aio.operations.UsersOperations :ivar skus: SkusOperations operations - :vartype skus: azure.mgmt.databoxedge.aio.operations.SkusOperations + :vartype skus: azure.mgmt.databoxedge.v2019_08_01.aio.operations.SkusOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: The subscription ID. @@ -128,6 +129,23 @@ def __init__( self.skus = SkusOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_alerts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_alerts_operations.py index 6a3053172848..a2fb12fcaa76 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_alerts_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_alerts_operations.py @@ -26,7 +26,7 @@ class AlertsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AlertList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.AlertList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.AlertList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.AlertList"] @@ -134,7 +134,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Alert, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Alert + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.Alert :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Alert"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_bandwidth_schedules_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_bandwidth_schedules_operations.py index 759abae259ee..ad93fee72241 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_bandwidth_schedules_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_bandwidth_schedules_operations.py @@ -28,7 +28,7 @@ class BandwidthSchedulesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BandwidthSchedulesList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.BandwidthSchedulesList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.BandwidthSchedulesList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedulesList"] @@ -134,7 +134,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BandwidthSchedule, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.BandwidthSchedule + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.BandwidthSchedule :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedule"] @@ -253,15 +253,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param parameters: The bandwidth schedule to be added or updated. - :type parameters: ~azure.mgmt.databoxedge.models.BandwidthSchedule + :type parameters: ~azure.mgmt.databoxedge.v2019_08_01.models.BandwidthSchedule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BandwidthSchedule or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.BandwidthSchedule] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_08_01.models.BandwidthSchedule] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -375,8 +375,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_containers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_containers_operations.py index 93edc4b9b91b..1ed42763c01f 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_containers_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_containers_operations.py @@ -28,7 +28,7 @@ class ContainersOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def list_by_storage_account( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ContainerList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.ContainerList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.ContainerList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.ContainerList"] @@ -145,7 +145,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Container, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Container + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.Container :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Container"] @@ -272,15 +272,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param container: The container properties. - :type container: ~azure.mgmt.databoxedge.models.Container + :type container: ~azure.mgmt.databoxedge.v2019_08_01.models.Container :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Container or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.Container] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_08_01.models.Container] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -401,8 +401,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -525,8 +525,8 @@ async def begin_refresh( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_devices_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_devices_operations.py index 7159b6e41f95..3bccba17df82 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_devices_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_devices_operations.py @@ -28,7 +28,7 @@ class DevicesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list_by_subscription( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.DataBoxEdgeDeviceList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] @@ -130,7 +130,7 @@ def list_by_resource_group( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.DataBoxEdgeDeviceList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] @@ -205,7 +205,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataBoxEdgeDevice, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevice + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.DataBoxEdgeDevice :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] @@ -316,15 +316,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param data_box_edge_device: The resource object. - :type data_box_edge_device: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevice + :type data_box_edge_device: ~azure.mgmt.databoxedge.v2019_08_01.models.DataBoxEdgeDevice :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DataBoxEdgeDevice or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.DataBoxEdgeDevice] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_08_01.models.DataBoxEdgeDevice] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -431,8 +431,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -495,10 +495,10 @@ async def update( :param resource_group_name: The resource group name. :type resource_group_name: str :param parameters: The resource parameters. - :type parameters: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevicePatch + :type parameters: ~azure.mgmt.databoxedge.v2019_08_01.models.DataBoxEdgeDevicePatch :keyword callable cls: A custom type or function that will be passed the direct response :return: DataBoxEdgeDevice, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevice + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.DataBoxEdgeDevice :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] @@ -607,8 +607,8 @@ async def begin_download_updates( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -671,7 +671,7 @@ async def get_extended_information( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataBoxEdgeDeviceExtendedInfo, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceExtendedInfo + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.DataBoxEdgeDeviceExtendedInfo :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceExtendedInfo"] @@ -775,8 +775,8 @@ async def begin_install_updates( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -839,7 +839,7 @@ async def get_network_settings( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkSettings, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.NetworkSettings + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.NetworkSettings :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSettings"] @@ -943,8 +943,8 @@ async def begin_scan_for_updates( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1057,11 +1057,11 @@ async def begin_create_or_update_security_settings( :param resource_group_name: The resource group name. :type resource_group_name: str :param security_settings: The security settings. - :type security_settings: ~azure.mgmt.databoxedge.models.SecuritySettings + :type security_settings: ~azure.mgmt.databoxedge.v2019_08_01.models.SecuritySettings :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1128,7 +1128,7 @@ async def get_update_summary( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: UpdateSummary, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.UpdateSummary + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.UpdateSummary :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.UpdateSummary"] @@ -1186,10 +1186,10 @@ async def upload_certificate( :param resource_group_name: The resource group name. :type resource_group_name: str :param parameters: The upload certificate request. - :type parameters: ~azure.mgmt.databoxedge.models.UploadCertificateRequest + :type parameters: ~azure.mgmt.databoxedge.v2019_08_01.models.UploadCertificateRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: UploadCertificateResponse, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.UploadCertificateResponse + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.UploadCertificateResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.UploadCertificateResponse"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_jobs_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_jobs_operations.py index 88189f659a01..b03d8568a77a 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_jobs_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_jobs_operations.py @@ -25,7 +25,7 @@ class JobsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Job, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Job + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.Job :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_nodes_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_nodes_operations.py index 1c6c3dce1423..d9d6afc3ee45 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_nodes_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_nodes_operations.py @@ -26,7 +26,7 @@ class NodesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NodeList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.NodeList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.NodeList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.NodeList"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_operations.py index e71848ae3bb5..336edd0b9ab2 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_operations.py @@ -26,7 +26,7 @@ class Operations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -51,7 +51,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OperationsList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.OperationsList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.OperationsList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationsList"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_operations_status_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_operations_status_operations.py index 945a565a8634..62707ccfeba5 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_operations_status_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_operations_status_operations.py @@ -25,7 +25,7 @@ class OperationsStatusOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Job, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Job + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.Job :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_orders_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_orders_operations.py index d5b346983ce7..f4b7df965092 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_orders_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_orders_operations.py @@ -28,7 +28,7 @@ class OrdersOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OrderList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.OrderList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.OrderList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.OrderList"] @@ -135,7 +135,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Order, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Order + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.Order :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Order"] @@ -250,15 +250,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param order: The order to be created or updated. - :type order: ~azure.mgmt.databoxedge.models.Order + :type order: ~azure.mgmt.databoxedge.v2019_08_01.models.Order :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Order or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.Order] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_08_01.models.Order] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -367,8 +367,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_roles_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_roles_operations.py index a3b9b6456887..822acd6ddbe0 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_roles_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_roles_operations.py @@ -28,7 +28,7 @@ class RolesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either RoleList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.RoleList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.RoleList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.RoleList"] @@ -134,7 +134,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Role, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Role + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.Role :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Role"] @@ -253,15 +253,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param role: The role properties. - :type role: ~azure.mgmt.databoxedge.models.Role + :type role: ~azure.mgmt.databoxedge.v2019_08_01.models.Role :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Role or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.Role] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_08_01.models.Role] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -375,8 +375,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_shares_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_shares_operations.py index 6787b5b9ba71..1546cffb958f 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_shares_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_shares_operations.py @@ -28,7 +28,7 @@ class SharesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ShareList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.ShareList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.ShareList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.ShareList"] @@ -138,7 +138,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Share, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Share + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.Share :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Share"] @@ -259,15 +259,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param share: The share properties. - :type share: ~azure.mgmt.databoxedge.models.Share + :type share: ~azure.mgmt.databoxedge.v2019_08_01.models.Share :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Share or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.Share] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_08_01.models.Share] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -381,8 +381,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -498,8 +498,8 @@ async def begin_refresh( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_skus_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_skus_operations.py index cb2f8b98befd..45fbdcb005d9 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_skus_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_skus_operations.py @@ -26,7 +26,7 @@ class SkusOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ def list( :type filter: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either SkuInformationList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.SkuInformationList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.SkuInformationList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.SkuInformationList"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_storage_account_credentials_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_storage_account_credentials_operations.py index e68b7d180162..1b7fc04d944c 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_storage_account_credentials_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_storage_account_credentials_operations.py @@ -28,7 +28,7 @@ class StorageAccountCredentialsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountCredentialList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.StorageAccountCredentialList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.StorageAccountCredentialList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredentialList"] @@ -136,7 +136,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountCredential, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.StorageAccountCredential + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.StorageAccountCredential :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredential"] @@ -255,15 +255,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param storage_account_credential: The storage account credential. - :type storage_account_credential: ~azure.mgmt.databoxedge.models.StorageAccountCredential + :type storage_account_credential: ~azure.mgmt.databoxedge.v2019_08_01.models.StorageAccountCredential :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either StorageAccountCredential or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.StorageAccountCredential] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_08_01.models.StorageAccountCredential] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -377,8 +377,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_storage_accounts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_storage_accounts_operations.py index ed93ea04e2ee..65fdbb465b3b 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_storage_accounts_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_storage_accounts_operations.py @@ -28,7 +28,7 @@ class StorageAccountsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.StorageAccountList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.StorageAccountList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountList"] @@ -138,7 +138,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccount, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.StorageAccount + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.StorageAccount :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] @@ -259,15 +259,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param storage_account: The StorageAccount properties. - :type storage_account: ~azure.mgmt.databoxedge.models.StorageAccount + :type storage_account: ~azure.mgmt.databoxedge.v2019_08_01.models.StorageAccount :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.StorageAccount] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_08_01.models.StorageAccount] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -381,8 +381,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_triggers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_triggers_operations.py index c3b016d7119c..d066a5070140 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_triggers_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_triggers_operations.py @@ -28,7 +28,7 @@ class TriggersOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -61,7 +61,7 @@ def list_by_data_box_edge_device( :type filter: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either TriggerList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.TriggerList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.TriggerList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.TriggerList"] @@ -140,7 +140,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Trigger, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Trigger + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.Trigger :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Trigger"] @@ -259,15 +259,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param trigger: The trigger. - :type trigger: ~azure.mgmt.databoxedge.models.Trigger + :type trigger: ~azure.mgmt.databoxedge.v2019_08_01.models.Trigger :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Trigger or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.Trigger] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_08_01.models.Trigger] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -381,8 +381,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_users_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_users_operations.py index 279951fd51cc..456ca3b771d3 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_users_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_users_operations.py @@ -28,7 +28,7 @@ class UsersOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list_by_data_box_edge_device( :type filter: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either UserList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.UserList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.UserList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.UserList"] @@ -139,7 +139,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: User, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.User + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.User :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.User"] @@ -259,15 +259,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param user: The user details. - :type user: ~azure.mgmt.databoxedge.models.User + :type user: ~azure.mgmt.databoxedge.v2019_08_01.models.User :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either User or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.User] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2019_08_01.models.User] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -381,8 +381,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/models/_models.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/models/_models.py index 39aa76810f81..de25c17e49f4 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/models/_models.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/models/_models.py @@ -118,9 +118,9 @@ class Alert(ARMBaseModel): :vartype recommendation: str :ivar severity: Severity of the alert. Possible values include: "Informational", "Warning", "Critical". - :vartype severity: str or ~azure.mgmt.databoxedge.models.AlertSeverity + :vartype severity: str or ~azure.mgmt.databoxedge.v2019_08_01.models.AlertSeverity :ivar error_details: Error details of the alert. - :vartype error_details: ~azure.mgmt.databoxedge.models.AlertErrorDetails + :vartype error_details: ~azure.mgmt.databoxedge.v2019_08_01.models.AlertErrorDetails :ivar detailed_information: Alert details. :vartype detailed_information: dict[str, str] """ @@ -206,7 +206,7 @@ class AlertList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The value. - :vartype value: list[~azure.mgmt.databoxedge.models.Alert] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.Alert] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -242,7 +242,8 @@ class AsymmetricEncryptedSecret(msrest.serialization.Model): :type encryption_cert_thumbprint: str :param encryption_algorithm: Required. The algorithm used to encrypt "Value". Possible values include: "None", "AES256", "RSAES_PKCS1_v_1_5". - :type encryption_algorithm: str or ~azure.mgmt.databoxedge.models.EncryptionAlgorithm + :type encryption_algorithm: str or + ~azure.mgmt.databoxedge.v2019_08_01.models.EncryptionAlgorithm """ _validation = { @@ -270,7 +271,7 @@ class Authentication(msrest.serialization.Model): """Authentication mechanism for IoT devices. :param symmetric_key: Symmetric key for authentication. - :type symmetric_key: ~azure.mgmt.databoxedge.models.SymmetricKey + :type symmetric_key: ~azure.mgmt.databoxedge.v2019_08_01.models.SymmetricKey """ _attribute_map = { @@ -298,7 +299,7 @@ class AzureContainerInfo(msrest.serialization.Model): :type container_name: str :param data_format: Required. Storage format used for the file represented by the share. Possible values include: "BlockBlob", "PageBlob", "AzureFile". - :type data_format: str or ~azure.mgmt.databoxedge.models.AzureContainerDataFormat + :type data_format: str or ~azure.mgmt.databoxedge.v2019_08_01.models.AzureContainerDataFormat """ _validation = { @@ -343,7 +344,7 @@ class BandwidthSchedule(ARMBaseModel): :param rate_in_mbps: Required. The bandwidth rate in Mbps. :type rate_in_mbps: int :param days: Required. The days of the week when this schedule is applicable. - :type days: list[str or ~azure.mgmt.databoxedge.models.DayOfWeek] + :type days: list[str or ~azure.mgmt.databoxedge.v2019_08_01.models.DayOfWeek] """ _validation = { @@ -383,7 +384,7 @@ class BandwidthSchedulesList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of bandwidth schedules. - :vartype value: list[~azure.mgmt.databoxedge.models.BandwidthSchedule] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.BandwidthSchedule] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -416,7 +417,7 @@ class ClientAccessRight(msrest.serialization.Model): :type client: str :param access_permission: Required. Type of access to be allowed for the client. Possible values include: "NoAccess", "ReadOnly", "ReadWrite". - :type access_permission: str or ~azure.mgmt.databoxedge.models.ClientPermissionType + :type access_permission: str or ~azure.mgmt.databoxedge.v2019_08_01.models.ClientPermissionType """ _validation = { @@ -448,7 +449,7 @@ class CloudErrorBody(msrest.serialization.Model): interface. :type message: str :param details: A list of additional details about the error. - :type details: list[~azure.mgmt.databoxedge.models.CloudErrorBody] + :type details: list[~azure.mgmt.databoxedge.v2019_08_01.models.CloudErrorBody] """ _attribute_map = { @@ -522,12 +523,12 @@ class Container(ARMBaseModel): :vartype type: str :ivar container_status: Current status of the container. Possible values include: "OK", "Offline", "Unknown", "Updating", "NeedsAttention". - :vartype container_status: str or ~azure.mgmt.databoxedge.models.ContainerStatus + :vartype container_status: str or ~azure.mgmt.databoxedge.v2019_08_01.models.ContainerStatus :param data_format: Required. DataFormat for Container. Possible values include: "BlockBlob", "PageBlob", "AzureFile". - :type data_format: str or ~azure.mgmt.databoxedge.models.AzureContainerDataFormat + :type data_format: str or ~azure.mgmt.databoxedge.v2019_08_01.models.AzureContainerDataFormat :ivar refresh_details: Details of the refresh job on this container. - :vartype refresh_details: ~azure.mgmt.databoxedge.models.RefreshDetails + :vartype refresh_details: ~azure.mgmt.databoxedge.v2019_08_01.models.RefreshDetails :ivar created_date_time: The UTC time when container got created. :vartype created_date_time: ~datetime.datetime """ @@ -569,7 +570,7 @@ class ContainerList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of containers. - :vartype value: list[~azure.mgmt.databoxedge.models.Container] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.Container] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -615,14 +616,14 @@ class DataBoxEdgeDevice(ARMBaseModel): to view and group this device (across resource groups). :type tags: dict[str, str] :param sku: The SKU type. - :type sku: ~azure.mgmt.databoxedge.models.Sku + :type sku: ~azure.mgmt.databoxedge.v2019_08_01.models.Sku :param etag: The etag for the devices. :type etag: str :param data_box_edge_device_status: The status of the Data Box Edge/Gateway device. Possible values include: "ReadyToSetup", "Online", "Offline", "NeedsAttention", "Disconnected", "PartiallyDisconnected", "Maintenance". :type data_box_edge_device_status: str or - ~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceStatus + ~azure.mgmt.databoxedge.v2019_08_01.models.DataBoxEdgeDeviceStatus :ivar serial_number: The Serial Number of Data Box Edge/Gateway device. :vartype serial_number: str :param description: The Description of the Data Box Edge/Gateway device. @@ -631,7 +632,7 @@ class DataBoxEdgeDevice(ARMBaseModel): :type model_description: str :ivar device_type: The type of the Data Box Edge/Gateway device. Possible values include: "DataBoxEdgeDevice". - :vartype device_type: str or ~azure.mgmt.databoxedge.models.DeviceType + :vartype device_type: str or ~azure.mgmt.databoxedge.v2019_08_01.models.DeviceType :param friendly_name: The Data Box Edge/Gateway device name. :type friendly_name: str :ivar culture: The Data Box Edge/Gateway device culture. @@ -647,7 +648,8 @@ class DataBoxEdgeDevice(ARMBaseModel): :ivar device_hcs_version: The device software version number of the device (eg: 1.2.18105.6). :vartype device_hcs_version: str :ivar configured_role_types: Type of compute roles configured. - :vartype configured_role_types: list[str or ~azure.mgmt.databoxedge.models.RoleTypes] + :vartype configured_role_types: list[str or + ~azure.mgmt.databoxedge.v2019_08_01.models.RoleTypes] :ivar node_count: The number of nodes in the cluster. :vartype node_count: int """ @@ -770,7 +772,7 @@ class DataBoxEdgeDeviceList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of Data Box Edge/Gateway devices. - :vartype value: list[~azure.mgmt.databoxedge.models.DataBoxEdgeDevice] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.DataBoxEdgeDevice] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -831,7 +833,7 @@ class Trigger(ARMBaseModel): :vartype type: str :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: "FileEvent", "PeriodicTimerEvent". - :type kind: str or ~azure.mgmt.databoxedge.models.TriggerEventType + :type kind: str or ~azure.mgmt.databoxedge.v2019_08_01.models.TriggerEventType """ _validation = { @@ -875,11 +877,11 @@ class FileEventTrigger(Trigger): :vartype type: str :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: "FileEvent", "PeriodicTimerEvent". - :type kind: str or ~azure.mgmt.databoxedge.models.TriggerEventType + :type kind: str or ~azure.mgmt.databoxedge.v2019_08_01.models.TriggerEventType :param source_info: Required. File event source details. - :type source_info: ~azure.mgmt.databoxedge.models.FileSourceInfo + :type source_info: ~azure.mgmt.databoxedge.v2019_08_01.models.FileSourceInfo :param sink_info: Required. Role sink info. - :type sink_info: ~azure.mgmt.databoxedge.models.RoleSinkInfo + :type sink_info: ~azure.mgmt.databoxedge.v2019_08_01.models.RoleSinkInfo :param custom_context_tag: A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module. @@ -953,7 +955,7 @@ class IoTDeviceInfo(msrest.serialization.Model): :param io_t_host_hub_id: Id for the IoT hub associated to the device. :type io_t_host_hub_id: str :param authentication: IoT device authentication info. - :type authentication: ~azure.mgmt.databoxedge.models.Authentication + :type authentication: ~azure.mgmt.databoxedge.v2019_08_01.models.Authentication """ _validation = { @@ -997,7 +999,7 @@ class Role(ARMBaseModel): :vartype type: str :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", "ASA", "Functions", "Cognitive". - :type kind: str or ~azure.mgmt.databoxedge.models.RoleTypes + :type kind: str or ~azure.mgmt.databoxedge.v2019_08_01.models.RoleTypes """ _validation = { @@ -1041,19 +1043,19 @@ class IoTRole(Role): :vartype type: str :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", "ASA", "Functions", "Cognitive". - :type kind: str or ~azure.mgmt.databoxedge.models.RoleTypes + :type kind: str or ~azure.mgmt.databoxedge.v2019_08_01.models.RoleTypes :param host_platform: Host OS supported by the IoT role. Possible values include: "Windows", "Linux". - :type host_platform: str or ~azure.mgmt.databoxedge.models.PlatformType + :type host_platform: str or ~azure.mgmt.databoxedge.v2019_08_01.models.PlatformType :param io_t_device_details: IoT device metadata to which data box edge device needs to be connected. - :type io_t_device_details: ~azure.mgmt.databoxedge.models.IoTDeviceInfo + :type io_t_device_details: ~azure.mgmt.databoxedge.v2019_08_01.models.IoTDeviceInfo :param io_t_edge_device_details: IoT edge device to which the IoT role needs to be configured. - :type io_t_edge_device_details: ~azure.mgmt.databoxedge.models.IoTDeviceInfo + :type io_t_edge_device_details: ~azure.mgmt.databoxedge.v2019_08_01.models.IoTDeviceInfo :param share_mappings: Mount points of shares in role(s). - :type share_mappings: list[~azure.mgmt.databoxedge.models.MountPointMap] + :type share_mappings: list[~azure.mgmt.databoxedge.v2019_08_01.models.MountPointMap] :param role_status: Role status. Possible values include: "Enabled", "Disabled". - :type role_status: str or ~azure.mgmt.databoxedge.models.RoleStatus + :type role_status: str or ~azure.mgmt.databoxedge.v2019_08_01.models.RoleStatus """ _validation = { @@ -1171,7 +1173,7 @@ class Job(msrest.serialization.Model): :vartype type: str :ivar status: The current status of the job. Possible values include: "Invalid", "Running", "Succeeded", "Failed", "Canceled", "Paused", "Scheduled". - :vartype status: str or ~azure.mgmt.databoxedge.models.JobStatus + :vartype status: str or ~azure.mgmt.databoxedge.v2019_08_01.models.JobStatus :ivar start_time: The UTC date and time at which the job started. :vartype start_time: ~datetime.datetime :ivar end_time: The UTC date and time at which the job completed. @@ -1179,19 +1181,19 @@ class Job(msrest.serialization.Model): :ivar percent_complete: The percentage of the job that is complete. :vartype percent_complete: int :ivar error: The error details. - :vartype error: ~azure.mgmt.databoxedge.models.JobErrorDetails + :vartype error: ~azure.mgmt.databoxedge.v2019_08_01.models.JobErrorDetails :ivar job_type: The type of the job. Possible values include: "Invalid", "ScanForUpdates", "DownloadUpdates", "InstallUpdates", "RefreshShare", "RefreshContainer". - :vartype job_type: str or ~azure.mgmt.databoxedge.models.JobType + :vartype job_type: str or ~azure.mgmt.databoxedge.v2019_08_01.models.JobType :ivar current_stage: Current stage of the update operation. Possible values include: "Unknown", "Initial", "ScanStarted", "ScanComplete", "ScanFailed", "DownloadStarted", "DownloadComplete", "DownloadFailed", "InstallStarted", "InstallComplete", "InstallFailed", "RebootInitiated", "Success", "Failure", "RescanStarted", "RescanComplete", "RescanFailed". - :vartype current_stage: str or ~azure.mgmt.databoxedge.models.UpdateOperationStage + :vartype current_stage: str or ~azure.mgmt.databoxedge.v2019_08_01.models.UpdateOperationStage :ivar download_progress: The download progress. - :vartype download_progress: ~azure.mgmt.databoxedge.models.UpdateDownloadProgress + :vartype download_progress: ~azure.mgmt.databoxedge.v2019_08_01.models.UpdateDownloadProgress :ivar install_progress: The install progress. - :vartype install_progress: ~azure.mgmt.databoxedge.models.UpdateInstallProgress + :vartype install_progress: ~azure.mgmt.databoxedge.v2019_08_01.models.UpdateInstallProgress :ivar total_refresh_errors: Total number of errors encountered during the refresh process. :vartype total_refresh_errors: int :ivar error_manifest_file: Local share/remote container relative path to the error manifest @@ -1270,7 +1272,7 @@ class JobErrorDetails(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar error_details: The error details. - :vartype error_details: list[~azure.mgmt.databoxedge.models.JobErrorItem] + :vartype error_details: list[~azure.mgmt.databoxedge.v2019_08_01.models.JobErrorItem] :ivar code: The code intended for programmatic access. :vartype code: str :ivar message: The message that describes the error in detail. @@ -1372,23 +1374,24 @@ class MetricSpecificationV1(msrest.serialization.Model): :type display_description: str :param unit: Metric units. Possible values include: "NotSpecified", "Percent", "Count", "Seconds", "Milliseconds", "Bytes", "BytesPerSecond", "CountPerSecond". - :type unit: str or ~azure.mgmt.databoxedge.models.MetricUnit + :type unit: str or ~azure.mgmt.databoxedge.v2019_08_01.models.MetricUnit :param aggregation_type: Metric aggregation type. Possible values include: "NotSpecified", "None", "Average", "Minimum", "Maximum", "Total", "Count". - :type aggregation_type: str or ~azure.mgmt.databoxedge.models.MetricAggregationType + :type aggregation_type: str or ~azure.mgmt.databoxedge.v2019_08_01.models.MetricAggregationType :param dimensions: Metric dimensions, other than default dimension which is resource. - :type dimensions: list[~azure.mgmt.databoxedge.models.MetricDimensionV1] + :type dimensions: list[~azure.mgmt.databoxedge.v2019_08_01.models.MetricDimensionV1] :param fill_gap_with_zero: Set true to fill the gaps with zero. :type fill_gap_with_zero: bool :param category: Metric category. Possible values include: "Capacity", "Transaction". - :type category: str or ~azure.mgmt.databoxedge.models.MetricCategory + :type category: str or ~azure.mgmt.databoxedge.v2019_08_01.models.MetricCategory :param resource_id_dimension_name_override: Resource name override. :type resource_id_dimension_name_override: str :param supported_time_grain_types: Support granularity of metrics. - :type supported_time_grain_types: list[str or ~azure.mgmt.databoxedge.models.TimeGrain] + :type supported_time_grain_types: list[str or + ~azure.mgmt.databoxedge.v2019_08_01.models.TimeGrain] :param supported_aggregation_types: Support metric aggregation type. :type supported_aggregation_types: list[str or - ~azure.mgmt.databoxedge.models.MetricAggregationType] + ~azure.mgmt.databoxedge.v2019_08_01.models.MetricAggregationType] """ _attribute_map = { @@ -1437,7 +1440,7 @@ class MountPointMap(msrest.serialization.Model): :ivar mount_point: Mount point for the share. :vartype mount_point: str :ivar role_type: Role type. Possible values include: "IOT", "ASA", "Functions", "Cognitive". - :vartype role_type: str or ~azure.mgmt.databoxedge.models.RoleTypes + :vartype role_type: str or ~azure.mgmt.databoxedge.v2019_08_01.models.RoleTypes """ _validation = { @@ -1473,7 +1476,7 @@ class NetworkAdapter(msrest.serialization.Model): :ivar adapter_id: Instance ID of network adapter. :vartype adapter_id: str :ivar adapter_position: Hardware position of network adapter. - :vartype adapter_position: ~azure.mgmt.databoxedge.models.NetworkAdapterPosition + :vartype adapter_position: ~azure.mgmt.databoxedge.v2019_08_01.models.NetworkAdapterPosition :ivar index: Logical index of the adapter. :vartype index: int :ivar node_id: Node ID of the network adapter. @@ -1488,17 +1491,17 @@ class NetworkAdapter(msrest.serialization.Model): :vartype link_speed: long :ivar status: Value indicating whether this adapter is valid. Possible values include: "Inactive", "Active". - :vartype status: str or ~azure.mgmt.databoxedge.models.NetworkAdapterStatus + :vartype status: str or ~azure.mgmt.databoxedge.v2019_08_01.models.NetworkAdapterStatus :param rdma_status: Value indicating whether this adapter is RDMA capable. Possible values include: "Incapable", "Capable". - :type rdma_status: str or ~azure.mgmt.databoxedge.models.NetworkAdapterRDMAStatus + :type rdma_status: str or ~azure.mgmt.databoxedge.v2019_08_01.models.NetworkAdapterRDMAStatus :param dhcp_status: Value indicating whether this adapter has DHCP enabled. Possible values include: "Disabled", "Enabled". - :type dhcp_status: str or ~azure.mgmt.databoxedge.models.NetworkAdapterDHCPStatus + :type dhcp_status: str or ~azure.mgmt.databoxedge.v2019_08_01.models.NetworkAdapterDHCPStatus :ivar ipv4_configuration: The IPv4 configuration of the network adapter. - :vartype ipv4_configuration: ~azure.mgmt.databoxedge.models.Ipv4Config + :vartype ipv4_configuration: ~azure.mgmt.databoxedge.v2019_08_01.models.Ipv4Config :ivar ipv6_configuration: The IPv6 configuration of the network adapter. - :vartype ipv6_configuration: ~azure.mgmt.databoxedge.models.Ipv6Config + :vartype ipv6_configuration: ~azure.mgmt.databoxedge.v2019_08_01.models.Ipv6Config :ivar ipv6_link_local_address: The IPv6 local address. :vartype ipv6_link_local_address: str :ivar dns_servers: The list of DNS Servers of the device. @@ -1567,7 +1570,7 @@ class NetworkAdapterPosition(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar network_group: The network group. Possible values include: "None", "NonRDMA", "RDMA". - :vartype network_group: str or ~azure.mgmt.databoxedge.models.NetworkGroup + :vartype network_group: str or ~azure.mgmt.databoxedge.v2019_08_01.models.NetworkGroup :ivar port: The port. :vartype port: int """ @@ -1603,7 +1606,7 @@ class NetworkSettings(ARMBaseModel): :ivar type: The hierarchical type of the object. :vartype type: str :ivar network_adapters: The network adapter list on the device. - :vartype network_adapters: list[~azure.mgmt.databoxedge.models.NetworkAdapter] + :vartype network_adapters: list[~azure.mgmt.databoxedge.v2019_08_01.models.NetworkAdapter] """ _validation = { @@ -1643,7 +1646,7 @@ class Node(ARMBaseModel): :vartype type: str :ivar node_status: The current status of the individual node. Possible values include: "Unknown", "Up", "Down", "Rebooting", "ShuttingDown". - :vartype node_status: str or ~azure.mgmt.databoxedge.models.NodeStatus + :vartype node_status: str or ~azure.mgmt.databoxedge.v2019_08_01.models.NodeStatus :ivar node_chassis_serial_number: Serial number of the Chassis. :vartype node_chassis_serial_number: str :ivar node_serial_number: Serial number of the individual node. @@ -1705,7 +1708,7 @@ class NodeList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of Nodes. - :vartype value: list[~azure.mgmt.databoxedge.models.Node] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.Node] """ _validation = { @@ -1730,11 +1733,11 @@ class Operation(msrest.serialization.Model): :param name: Name of the operation. :type name: str :param display: Properties displayed for the operation. - :type display: ~azure.mgmt.databoxedge.models.OperationDisplay + :type display: ~azure.mgmt.databoxedge.v2019_08_01.models.OperationDisplay :param origin: Origin of the operation. :type origin: str :param service_specification: Service specification. - :type service_specification: ~azure.mgmt.databoxedge.models.ServiceSpecification + :type service_specification: ~azure.mgmt.databoxedge.v2019_08_01.models.ServiceSpecification """ _attribute_map = { @@ -1792,7 +1795,7 @@ class OperationsList(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. The value. - :type value: list[~azure.mgmt.databoxedge.models.Operation] + :type value: list[~azure.mgmt.databoxedge.v2019_08_01.models.Operation] :param next_link: Link to the next set of results. :type next_link: str """ @@ -1827,21 +1830,21 @@ class Order(ARMBaseModel): :ivar type: The hierarchical type of the object. :vartype type: str :param contact_information: The contact details. - :type contact_information: ~azure.mgmt.databoxedge.models.ContactDetails + :type contact_information: ~azure.mgmt.databoxedge.v2019_08_01.models.ContactDetails :param shipping_address: The shipping address. - :type shipping_address: ~azure.mgmt.databoxedge.models.Address + :type shipping_address: ~azure.mgmt.databoxedge.v2019_08_01.models.Address :param current_status: Current status of the order. - :type current_status: ~azure.mgmt.databoxedge.models.OrderStatus + :type current_status: ~azure.mgmt.databoxedge.v2019_08_01.models.OrderStatus :ivar order_history: List of status changes in the order. - :vartype order_history: list[~azure.mgmt.databoxedge.models.OrderStatus] + :vartype order_history: list[~azure.mgmt.databoxedge.v2019_08_01.models.OrderStatus] :ivar serial_number: Serial number of the device. :vartype serial_number: str :ivar delivery_tracking_info: Tracking information for the package delivered to the customer whether it has an original or a replacement device. - :vartype delivery_tracking_info: list[~azure.mgmt.databoxedge.models.TrackingInfo] + :vartype delivery_tracking_info: list[~azure.mgmt.databoxedge.v2019_08_01.models.TrackingInfo] :ivar return_tracking_info: Tracking information for the package returned from the customer whether it has an original or a replacement device. - :vartype return_tracking_info: list[~azure.mgmt.databoxedge.models.TrackingInfo] + :vartype return_tracking_info: list[~azure.mgmt.databoxedge.v2019_08_01.models.TrackingInfo] """ _validation = { @@ -1887,7 +1890,7 @@ class OrderList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of orders. - :vartype value: list[~azure.mgmt.databoxedge.models.Order] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.Order] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -1922,7 +1925,7 @@ class OrderStatus(msrest.serialization.Model): include: "Untracked", "AwaitingFulfilment", "AwaitingPreparation", "AwaitingShipment", "Shipped", "Arriving", "Delivered", "ReplacementRequested", "LostDevice", "Declined", "ReturnInitiated", "AwaitingReturnShipment", "ShippedBack", "CollectedAtMicrosoft". - :type status: str or ~azure.mgmt.databoxedge.models.OrderState + :type status: str or ~azure.mgmt.databoxedge.v2019_08_01.models.OrderState :ivar update_date_time: Time of status update. :vartype update_date_time: ~datetime.datetime :param comments: Comments related to this status change. @@ -1971,11 +1974,11 @@ class PeriodicTimerEventTrigger(Trigger): :vartype type: str :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: "FileEvent", "PeriodicTimerEvent". - :type kind: str or ~azure.mgmt.databoxedge.models.TriggerEventType + :type kind: str or ~azure.mgmt.databoxedge.v2019_08_01.models.TriggerEventType :param source_info: Required. Periodic timer details. - :type source_info: ~azure.mgmt.databoxedge.models.PeriodicTimerSourceInfo + :type source_info: ~azure.mgmt.databoxedge.v2019_08_01.models.PeriodicTimerSourceInfo :param sink_info: Required. Role Sink information. - :type sink_info: ~azure.mgmt.databoxedge.models.RoleSinkInfo + :type sink_info: ~azure.mgmt.databoxedge.v2019_08_01.models.RoleSinkInfo :param custom_context_tag: A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module. @@ -2097,11 +2100,11 @@ class ResourceTypeSku(msrest.serialization.Model): :ivar name: The Sku name. Possible values include: "Gateway", "Edge", "TEA_1Node", "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", "TEA_4Node_UPS_Heater", "TMA". - :vartype name: str or ~azure.mgmt.databoxedge.models.SkuName + :vartype name: str or ~azure.mgmt.databoxedge.v2019_08_01.models.SkuName :ivar kind: The Sku kind. :vartype kind: str :ivar tier: The Sku tier. Possible values include: "Standard". - :vartype tier: str or ~azure.mgmt.databoxedge.models.SkuTier + :vartype tier: str or ~azure.mgmt.databoxedge.v2019_08_01.models.SkuTier :ivar family: The Sku family. :vartype family: str :ivar locations: Availability of the SKU for the region. @@ -2109,11 +2112,11 @@ class ResourceTypeSku(msrest.serialization.Model): :ivar api_versions: The API versions in which SKU is available. :vartype api_versions: list[str] :ivar location_info: Availability of the SKU for the location/zone. - :vartype location_info: list[~azure.mgmt.databoxedge.models.SkuLocationInfo] + :vartype location_info: list[~azure.mgmt.databoxedge.v2019_08_01.models.SkuLocationInfo] :ivar costs: The pricing info of the Sku. - :vartype costs: list[~azure.mgmt.databoxedge.models.SkuCost] + :vartype costs: list[~azure.mgmt.databoxedge.v2019_08_01.models.SkuCost] :ivar restrictions: Restrictions of the SKU availability. - :vartype restrictions: list[~azure.mgmt.databoxedge.models.SkuRestriction] + :vartype restrictions: list[~azure.mgmt.databoxedge.v2019_08_01.models.SkuRestriction] """ _validation = { @@ -2165,7 +2168,7 @@ class RoleList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The Value. - :vartype value: list[~azure.mgmt.databoxedge.models.Role] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.Role] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2231,7 +2234,8 @@ class SecuritySettings(ARMBaseModel): (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual password should have at least 8 characters that are a combination of uppercase, lowercase, numeric, and special characters. - :type device_admin_password: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type device_admin_password: + ~azure.mgmt.databoxedge.v2019_08_01.models.AsymmetricEncryptedSecret """ _validation = { @@ -2260,7 +2264,8 @@ class ServiceSpecification(msrest.serialization.Model): """Service specification. :param metric_specifications: Metric specification as defined by shoebox. - :type metric_specifications: list[~azure.mgmt.databoxedge.models.MetricSpecificationV1] + :type metric_specifications: + list[~azure.mgmt.databoxedge.v2019_08_01.models.MetricSpecificationV1] """ _attribute_map = { @@ -2292,27 +2297,27 @@ class Share(ARMBaseModel): :type description: str :param share_status: Required. Current status of the share. Possible values include: "Offline", "Unknown", "OK", "Updating", "NeedsAttention". - :type share_status: str or ~azure.mgmt.databoxedge.models.ShareStatus + :type share_status: str or ~azure.mgmt.databoxedge.v2019_08_01.models.ShareStatus :param monitoring_status: Required. Current monitoring status of the share. Possible values include: "Enabled", "Disabled". - :type monitoring_status: str or ~azure.mgmt.databoxedge.models.MonitoringStatus + :type monitoring_status: str or ~azure.mgmt.databoxedge.v2019_08_01.models.MonitoringStatus :param azure_container_info: Azure container mapping for the share. - :type azure_container_info: ~azure.mgmt.databoxedge.models.AzureContainerInfo + :type azure_container_info: ~azure.mgmt.databoxedge.v2019_08_01.models.AzureContainerInfo :param access_protocol: Required. Access protocol to be used by the share. Possible values include: "SMB", "NFS". - :type access_protocol: str or ~azure.mgmt.databoxedge.models.ShareAccessProtocol + :type access_protocol: str or ~azure.mgmt.databoxedge.v2019_08_01.models.ShareAccessProtocol :param user_access_rights: Mapping of users and corresponding access rights on the share (required for SMB protocol). - :type user_access_rights: list[~azure.mgmt.databoxedge.models.UserAccessRight] + :type user_access_rights: list[~azure.mgmt.databoxedge.v2019_08_01.models.UserAccessRight] :param client_access_rights: List of IP addresses and corresponding access rights on the share(required for NFS protocol). - :type client_access_rights: list[~azure.mgmt.databoxedge.models.ClientAccessRight] + :type client_access_rights: list[~azure.mgmt.databoxedge.v2019_08_01.models.ClientAccessRight] :param refresh_details: Details of the refresh job on this share. - :type refresh_details: ~azure.mgmt.databoxedge.models.RefreshDetails + :type refresh_details: ~azure.mgmt.databoxedge.v2019_08_01.models.RefreshDetails :ivar share_mappings: Share mount point to the role. - :vartype share_mappings: list[~azure.mgmt.databoxedge.models.MountPointMap] + :vartype share_mappings: list[~azure.mgmt.databoxedge.v2019_08_01.models.MountPointMap] :param data_policy: Data policy of the share. Possible values include: "Cloud", "Local". - :type data_policy: str or ~azure.mgmt.databoxedge.models.DataPolicy + :type data_policy: str or ~azure.mgmt.databoxedge.v2019_08_01.models.DataPolicy """ _validation = { @@ -2367,7 +2372,7 @@ class ShareAccessRight(msrest.serialization.Model): :type share_id: str :param access_type: Required. Type of access to be allowed on the share for this user. Possible values include: "Change", "Read", "Custom". - :type access_type: str or ~azure.mgmt.databoxedge.models.ShareAccessType + :type access_type: str or ~azure.mgmt.databoxedge.v2019_08_01.models.ShareAccessType """ _validation = { @@ -2395,7 +2400,7 @@ class ShareList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of shares. - :vartype value: list[~azure.mgmt.databoxedge.models.Share] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.Share] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2425,9 +2430,9 @@ class Sku(msrest.serialization.Model): :param name: SKU name. Possible values include: "Gateway", "Edge", "TEA_1Node", "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", "TEA_4Node_UPS_Heater", "TMA". - :type name: str or ~azure.mgmt.databoxedge.models.SkuName + :type name: str or ~azure.mgmt.databoxedge.v2019_08_01.models.SkuName :param tier: The SKU tier. This is based on the SKU name. Possible values include: "Standard". - :type tier: str or ~azure.mgmt.databoxedge.models.SkuTier + :type tier: str or ~azure.mgmt.databoxedge.v2019_08_01.models.SkuTier """ _attribute_map = { @@ -2485,7 +2490,7 @@ class SkuInformationList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: List of ResourceType Sku. - :vartype value: list[~azure.mgmt.databoxedge.models.ResourceTypeSku] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.ResourceTypeSku] :ivar next_link: Links to the next set of results. :vartype next_link: str """ @@ -2555,9 +2560,10 @@ class SkuRestriction(msrest.serialization.Model): :vartype values: list[str] :ivar reason_code: The SKU restriction reason. Possible values include: "NotAvailableForSubscription", "QuotaId". - :vartype reason_code: str or ~azure.mgmt.databoxedge.models.SkuRestrictionReasonCode + :vartype reason_code: str or + ~azure.mgmt.databoxedge.v2019_08_01.models.SkuRestrictionReasonCode :ivar restriction_info: Restriction of the SKU for the location/zone. - :vartype restriction_info: ~azure.mgmt.databoxedge.models.SkuRestrictionInfo + :vartype restriction_info: ~azure.mgmt.databoxedge.v2019_08_01.models.SkuRestrictionInfo """ _validation = { @@ -2630,10 +2636,11 @@ class StorageAccount(ARMBaseModel): :type description: str :param storage_account_status: Current status of the storage account. Possible values include: "OK", "Offline", "Unknown", "Updating", "NeedsAttention". - :type storage_account_status: str or ~azure.mgmt.databoxedge.models.StorageAccountStatus + :type storage_account_status: str or + ~azure.mgmt.databoxedge.v2019_08_01.models.StorageAccountStatus :param data_policy: Data policy of the storage Account. Possible values include: "Cloud", "Local". - :type data_policy: str or ~azure.mgmt.databoxedge.models.DataPolicy + :type data_policy: str or ~azure.mgmt.databoxedge.v2019_08_01.models.DataPolicy :param storage_account_credential_id: Storage Account Credential Id. :type storage_account_credential_id: str :ivar blob_endpoint: BlobEndpoint of Storage Account. @@ -2694,18 +2701,18 @@ class StorageAccountCredential(ARMBaseModel): :param user_name: Username for the storage account. :type user_name: str :param account_key: Encrypted storage key. - :type account_key: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type account_key: ~azure.mgmt.databoxedge.v2019_08_01.models.AsymmetricEncryptedSecret :param connection_string: Connection string for the storage account. Use this string if username and account key are not specified. :type connection_string: str :param ssl_status: Required. Signifies whether SSL needs to be enabled or not. Possible values include: "Enabled", "Disabled". - :type ssl_status: str or ~azure.mgmt.databoxedge.models.SSLStatus + :type ssl_status: str or ~azure.mgmt.databoxedge.v2019_08_01.models.SSLStatus :param blob_domain_name: Blob end point for private clouds. :type blob_domain_name: str :param account_type: Required. Type of storage accessed on the storage account. Possible values include: "GeneralPurposeStorage", "BlobStorage". - :type account_type: str or ~azure.mgmt.databoxedge.models.AccountType + :type account_type: str or ~azure.mgmt.databoxedge.v2019_08_01.models.AccountType :param storage_account_id: Id of the storage account. :type storage_account_id: str """ @@ -2754,7 +2761,7 @@ class StorageAccountCredentialList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The value. - :vartype value: list[~azure.mgmt.databoxedge.models.StorageAccountCredential] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.StorageAccountCredential] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2784,7 +2791,7 @@ class StorageAccountList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of storageAccounts. - :vartype value: list[~azure.mgmt.databoxedge.models.StorageAccount] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.StorageAccount] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2812,7 +2819,7 @@ class SymmetricKey(msrest.serialization.Model): """Symmetric key for authentication. :param connection_string: Connection string based on the symmetric key. - :type connection_string: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type connection_string: ~azure.mgmt.databoxedge.v2019_08_01.models.AsymmetricEncryptedSecret """ _attribute_map = { @@ -2864,7 +2871,7 @@ class TriggerList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of triggers. - :vartype value: list[~azure.mgmt.databoxedge.models.Trigger] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.Trigger] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2895,7 +2902,7 @@ class UpdateDownloadProgress(msrest.serialization.Model): :ivar download_phase: The download phase. Possible values include: "Unknown", "Initializing", "Downloading", "Verifying". - :vartype download_phase: str or ~azure.mgmt.databoxedge.models.DownloadPhase + :vartype download_phase: str or ~azure.mgmt.databoxedge.v2019_08_01.models.DownloadPhase :ivar percent_complete: Percentage of completion. :vartype percent_complete: int :ivar total_bytes_to_download: Total bytes to download. @@ -3009,10 +3016,12 @@ class UpdateSummary(ARMBaseModel): :vartype total_number_of_updates_pending_install: int :ivar reboot_behavior: Indicates if updates are available and at least one of the updates needs a reboot. Possible values include: "NeverReboots", "RequiresReboot", "RequestReboot". - :vartype reboot_behavior: str or ~azure.mgmt.databoxedge.models.InstallRebootBehavior + :vartype reboot_behavior: str or + ~azure.mgmt.databoxedge.v2019_08_01.models.InstallRebootBehavior :ivar ongoing_update_operation: The current update operation. Possible values include: "None", "Scan", "Download", "Install". - :vartype ongoing_update_operation: str or ~azure.mgmt.databoxedge.models.UpdateOperation + :vartype ongoing_update_operation: str or + ~azure.mgmt.databoxedge.v2019_08_01.models.UpdateOperation :ivar in_progress_download_job_id: The job ID of the download job in progress. :vartype in_progress_download_job_id: str :ivar in_progress_install_job_id: The job ID of the install job in progress. @@ -3102,7 +3111,7 @@ class UploadCertificateRequest(msrest.serialization.Model): :param authentication_type: The authentication type. Possible values include: "Invalid", "AzureActiveDirectory". - :type authentication_type: str or ~azure.mgmt.databoxedge.models.AuthenticationType + :type authentication_type: str or ~azure.mgmt.databoxedge.v2019_08_01.models.AuthenticationType :param certificate: Required. The base64 encoded certificate raw data. :type certificate: str """ @@ -3132,7 +3141,7 @@ class UploadCertificateResponse(msrest.serialization.Model): :param auth_type: Specifies authentication type. Possible values include: "Invalid", "AzureActiveDirectory". - :type auth_type: str or ~azure.mgmt.databoxedge.models.AuthenticationType + :type auth_type: str or ~azure.mgmt.databoxedge.v2019_08_01.models.AuthenticationType :ivar resource_id: The resource ID of the Data Box Edge/Gateway device. :vartype resource_id: str :ivar aad_authority: Azure Active Directory tenant authority. @@ -3200,13 +3209,13 @@ class User(ARMBaseModel): :ivar type: The hierarchical type of the object. :vartype type: str :param encrypted_password: The password details. - :type encrypted_password: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type encrypted_password: ~azure.mgmt.databoxedge.v2019_08_01.models.AsymmetricEncryptedSecret :param share_access_rights: List of shares that the user has rights on. This field should not be specified during user creation. - :type share_access_rights: list[~azure.mgmt.databoxedge.models.ShareAccessRight] + :type share_access_rights: list[~azure.mgmt.databoxedge.v2019_08_01.models.ShareAccessRight] :param user_type: Required. Type of the user. Possible values include: "Share", "LocalManagement", "ARM". - :type user_type: str or ~azure.mgmt.databoxedge.models.UserType + :type user_type: str or ~azure.mgmt.databoxedge.v2019_08_01.models.UserType """ _validation = { @@ -3244,7 +3253,7 @@ class UserAccessRight(msrest.serialization.Model): :type user_id: str :param access_type: Required. Type of access to be allowed for the user. Possible values include: "Change", "Read", "Custom". - :type access_type: str or ~azure.mgmt.databoxedge.models.ShareAccessType + :type access_type: str or ~azure.mgmt.databoxedge.v2019_08_01.models.ShareAccessType """ _validation = { @@ -3272,7 +3281,7 @@ class UserList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of users. - :vartype value: list[~azure.mgmt.databoxedge.models.User] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.User] :ivar next_link: Link to the next set of results. :vartype next_link: str """ diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/models/_models_py3.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/models/_models_py3.py index 3a29eb055540..8127bc9f7fdb 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/models/_models_py3.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/models/_models_py3.py @@ -131,9 +131,9 @@ class Alert(ARMBaseModel): :vartype recommendation: str :ivar severity: Severity of the alert. Possible values include: "Informational", "Warning", "Critical". - :vartype severity: str or ~azure.mgmt.databoxedge.models.AlertSeverity + :vartype severity: str or ~azure.mgmt.databoxedge.v2019_08_01.models.AlertSeverity :ivar error_details: Error details of the alert. - :vartype error_details: ~azure.mgmt.databoxedge.models.AlertErrorDetails + :vartype error_details: ~azure.mgmt.databoxedge.v2019_08_01.models.AlertErrorDetails :ivar detailed_information: Alert details. :vartype detailed_information: dict[str, str] """ @@ -219,7 +219,7 @@ class AlertList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The value. - :vartype value: list[~azure.mgmt.databoxedge.models.Alert] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.Alert] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -255,7 +255,8 @@ class AsymmetricEncryptedSecret(msrest.serialization.Model): :type encryption_cert_thumbprint: str :param encryption_algorithm: Required. The algorithm used to encrypt "Value". Possible values include: "None", "AES256", "RSAES_PKCS1_v_1_5". - :type encryption_algorithm: str or ~azure.mgmt.databoxedge.models.EncryptionAlgorithm + :type encryption_algorithm: str or + ~azure.mgmt.databoxedge.v2019_08_01.models.EncryptionAlgorithm """ _validation = { @@ -287,7 +288,7 @@ class Authentication(msrest.serialization.Model): """Authentication mechanism for IoT devices. :param symmetric_key: Symmetric key for authentication. - :type symmetric_key: ~azure.mgmt.databoxedge.models.SymmetricKey + :type symmetric_key: ~azure.mgmt.databoxedge.v2019_08_01.models.SymmetricKey """ _attribute_map = { @@ -317,7 +318,7 @@ class AzureContainerInfo(msrest.serialization.Model): :type container_name: str :param data_format: Required. Storage format used for the file represented by the share. Possible values include: "BlockBlob", "PageBlob", "AzureFile". - :type data_format: str or ~azure.mgmt.databoxedge.models.AzureContainerDataFormat + :type data_format: str or ~azure.mgmt.databoxedge.v2019_08_01.models.AzureContainerDataFormat """ _validation = { @@ -366,7 +367,7 @@ class BandwidthSchedule(ARMBaseModel): :param rate_in_mbps: Required. The bandwidth rate in Mbps. :type rate_in_mbps: int :param days: Required. The days of the week when this schedule is applicable. - :type days: list[str or ~azure.mgmt.databoxedge.models.DayOfWeek] + :type days: list[str or ~azure.mgmt.databoxedge.v2019_08_01.models.DayOfWeek] """ _validation = { @@ -411,7 +412,7 @@ class BandwidthSchedulesList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of bandwidth schedules. - :vartype value: list[~azure.mgmt.databoxedge.models.BandwidthSchedule] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.BandwidthSchedule] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -444,7 +445,7 @@ class ClientAccessRight(msrest.serialization.Model): :type client: str :param access_permission: Required. Type of access to be allowed for the client. Possible values include: "NoAccess", "ReadOnly", "ReadWrite". - :type access_permission: str or ~azure.mgmt.databoxedge.models.ClientPermissionType + :type access_permission: str or ~azure.mgmt.databoxedge.v2019_08_01.models.ClientPermissionType """ _validation = { @@ -479,7 +480,7 @@ class CloudErrorBody(msrest.serialization.Model): interface. :type message: str :param details: A list of additional details about the error. - :type details: list[~azure.mgmt.databoxedge.models.CloudErrorBody] + :type details: list[~azure.mgmt.databoxedge.v2019_08_01.models.CloudErrorBody] """ _attribute_map = { @@ -562,12 +563,12 @@ class Container(ARMBaseModel): :vartype type: str :ivar container_status: Current status of the container. Possible values include: "OK", "Offline", "Unknown", "Updating", "NeedsAttention". - :vartype container_status: str or ~azure.mgmt.databoxedge.models.ContainerStatus + :vartype container_status: str or ~azure.mgmt.databoxedge.v2019_08_01.models.ContainerStatus :param data_format: Required. DataFormat for Container. Possible values include: "BlockBlob", "PageBlob", "AzureFile". - :type data_format: str or ~azure.mgmt.databoxedge.models.AzureContainerDataFormat + :type data_format: str or ~azure.mgmt.databoxedge.v2019_08_01.models.AzureContainerDataFormat :ivar refresh_details: Details of the refresh job on this container. - :vartype refresh_details: ~azure.mgmt.databoxedge.models.RefreshDetails + :vartype refresh_details: ~azure.mgmt.databoxedge.v2019_08_01.models.RefreshDetails :ivar created_date_time: The UTC time when container got created. :vartype created_date_time: ~datetime.datetime """ @@ -611,7 +612,7 @@ class ContainerList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of containers. - :vartype value: list[~azure.mgmt.databoxedge.models.Container] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.Container] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -657,14 +658,14 @@ class DataBoxEdgeDevice(ARMBaseModel): to view and group this device (across resource groups). :type tags: dict[str, str] :param sku: The SKU type. - :type sku: ~azure.mgmt.databoxedge.models.Sku + :type sku: ~azure.mgmt.databoxedge.v2019_08_01.models.Sku :param etag: The etag for the devices. :type etag: str :param data_box_edge_device_status: The status of the Data Box Edge/Gateway device. Possible values include: "ReadyToSetup", "Online", "Offline", "NeedsAttention", "Disconnected", "PartiallyDisconnected", "Maintenance". :type data_box_edge_device_status: str or - ~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceStatus + ~azure.mgmt.databoxedge.v2019_08_01.models.DataBoxEdgeDeviceStatus :ivar serial_number: The Serial Number of Data Box Edge/Gateway device. :vartype serial_number: str :param description: The Description of the Data Box Edge/Gateway device. @@ -673,7 +674,7 @@ class DataBoxEdgeDevice(ARMBaseModel): :type model_description: str :ivar device_type: The type of the Data Box Edge/Gateway device. Possible values include: "DataBoxEdgeDevice". - :vartype device_type: str or ~azure.mgmt.databoxedge.models.DeviceType + :vartype device_type: str or ~azure.mgmt.databoxedge.v2019_08_01.models.DeviceType :param friendly_name: The Data Box Edge/Gateway device name. :type friendly_name: str :ivar culture: The Data Box Edge/Gateway device culture. @@ -689,7 +690,8 @@ class DataBoxEdgeDevice(ARMBaseModel): :ivar device_hcs_version: The device software version number of the device (eg: 1.2.18105.6). :vartype device_hcs_version: str :ivar configured_role_types: Type of compute roles configured. - :vartype configured_role_types: list[str or ~azure.mgmt.databoxedge.models.RoleTypes] + :vartype configured_role_types: list[str or + ~azure.mgmt.databoxedge.v2019_08_01.models.RoleTypes] :ivar node_count: The number of nodes in the cluster. :vartype node_count: int """ @@ -824,7 +826,7 @@ class DataBoxEdgeDeviceList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of Data Box Edge/Gateway devices. - :vartype value: list[~azure.mgmt.databoxedge.models.DataBoxEdgeDevice] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.DataBoxEdgeDevice] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -887,7 +889,7 @@ class Trigger(ARMBaseModel): :vartype type: str :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: "FileEvent", "PeriodicTimerEvent". - :type kind: str or ~azure.mgmt.databoxedge.models.TriggerEventType + :type kind: str or ~azure.mgmt.databoxedge.v2019_08_01.models.TriggerEventType """ _validation = { @@ -931,11 +933,11 @@ class FileEventTrigger(Trigger): :vartype type: str :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: "FileEvent", "PeriodicTimerEvent". - :type kind: str or ~azure.mgmt.databoxedge.models.TriggerEventType + :type kind: str or ~azure.mgmt.databoxedge.v2019_08_01.models.TriggerEventType :param source_info: Required. File event source details. - :type source_info: ~azure.mgmt.databoxedge.models.FileSourceInfo + :type source_info: ~azure.mgmt.databoxedge.v2019_08_01.models.FileSourceInfo :param sink_info: Required. Role sink info. - :type sink_info: ~azure.mgmt.databoxedge.models.RoleSinkInfo + :type sink_info: ~azure.mgmt.databoxedge.v2019_08_01.models.RoleSinkInfo :param custom_context_tag: A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module. @@ -1015,7 +1017,7 @@ class IoTDeviceInfo(msrest.serialization.Model): :param io_t_host_hub_id: Id for the IoT hub associated to the device. :type io_t_host_hub_id: str :param authentication: IoT device authentication info. - :type authentication: ~azure.mgmt.databoxedge.models.Authentication + :type authentication: ~azure.mgmt.databoxedge.v2019_08_01.models.Authentication """ _validation = { @@ -1064,7 +1066,7 @@ class Role(ARMBaseModel): :vartype type: str :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", "ASA", "Functions", "Cognitive". - :type kind: str or ~azure.mgmt.databoxedge.models.RoleTypes + :type kind: str or ~azure.mgmt.databoxedge.v2019_08_01.models.RoleTypes """ _validation = { @@ -1108,19 +1110,19 @@ class IoTRole(Role): :vartype type: str :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", "ASA", "Functions", "Cognitive". - :type kind: str or ~azure.mgmt.databoxedge.models.RoleTypes + :type kind: str or ~azure.mgmt.databoxedge.v2019_08_01.models.RoleTypes :param host_platform: Host OS supported by the IoT role. Possible values include: "Windows", "Linux". - :type host_platform: str or ~azure.mgmt.databoxedge.models.PlatformType + :type host_platform: str or ~azure.mgmt.databoxedge.v2019_08_01.models.PlatformType :param io_t_device_details: IoT device metadata to which data box edge device needs to be connected. - :type io_t_device_details: ~azure.mgmt.databoxedge.models.IoTDeviceInfo + :type io_t_device_details: ~azure.mgmt.databoxedge.v2019_08_01.models.IoTDeviceInfo :param io_t_edge_device_details: IoT edge device to which the IoT role needs to be configured. - :type io_t_edge_device_details: ~azure.mgmt.databoxedge.models.IoTDeviceInfo + :type io_t_edge_device_details: ~azure.mgmt.databoxedge.v2019_08_01.models.IoTDeviceInfo :param share_mappings: Mount points of shares in role(s). - :type share_mappings: list[~azure.mgmt.databoxedge.models.MountPointMap] + :type share_mappings: list[~azure.mgmt.databoxedge.v2019_08_01.models.MountPointMap] :param role_status: Role status. Possible values include: "Enabled", "Disabled". - :type role_status: str or ~azure.mgmt.databoxedge.models.RoleStatus + :type role_status: str or ~azure.mgmt.databoxedge.v2019_08_01.models.RoleStatus """ _validation = { @@ -1244,7 +1246,7 @@ class Job(msrest.serialization.Model): :vartype type: str :ivar status: The current status of the job. Possible values include: "Invalid", "Running", "Succeeded", "Failed", "Canceled", "Paused", "Scheduled". - :vartype status: str or ~azure.mgmt.databoxedge.models.JobStatus + :vartype status: str or ~azure.mgmt.databoxedge.v2019_08_01.models.JobStatus :ivar start_time: The UTC date and time at which the job started. :vartype start_time: ~datetime.datetime :ivar end_time: The UTC date and time at which the job completed. @@ -1252,19 +1254,19 @@ class Job(msrest.serialization.Model): :ivar percent_complete: The percentage of the job that is complete. :vartype percent_complete: int :ivar error: The error details. - :vartype error: ~azure.mgmt.databoxedge.models.JobErrorDetails + :vartype error: ~azure.mgmt.databoxedge.v2019_08_01.models.JobErrorDetails :ivar job_type: The type of the job. Possible values include: "Invalid", "ScanForUpdates", "DownloadUpdates", "InstallUpdates", "RefreshShare", "RefreshContainer". - :vartype job_type: str or ~azure.mgmt.databoxedge.models.JobType + :vartype job_type: str or ~azure.mgmt.databoxedge.v2019_08_01.models.JobType :ivar current_stage: Current stage of the update operation. Possible values include: "Unknown", "Initial", "ScanStarted", "ScanComplete", "ScanFailed", "DownloadStarted", "DownloadComplete", "DownloadFailed", "InstallStarted", "InstallComplete", "InstallFailed", "RebootInitiated", "Success", "Failure", "RescanStarted", "RescanComplete", "RescanFailed". - :vartype current_stage: str or ~azure.mgmt.databoxedge.models.UpdateOperationStage + :vartype current_stage: str or ~azure.mgmt.databoxedge.v2019_08_01.models.UpdateOperationStage :ivar download_progress: The download progress. - :vartype download_progress: ~azure.mgmt.databoxedge.models.UpdateDownloadProgress + :vartype download_progress: ~azure.mgmt.databoxedge.v2019_08_01.models.UpdateDownloadProgress :ivar install_progress: The install progress. - :vartype install_progress: ~azure.mgmt.databoxedge.models.UpdateInstallProgress + :vartype install_progress: ~azure.mgmt.databoxedge.v2019_08_01.models.UpdateInstallProgress :ivar total_refresh_errors: Total number of errors encountered during the refresh process. :vartype total_refresh_errors: int :ivar error_manifest_file: Local share/remote container relative path to the error manifest @@ -1345,7 +1347,7 @@ class JobErrorDetails(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar error_details: The error details. - :vartype error_details: list[~azure.mgmt.databoxedge.models.JobErrorItem] + :vartype error_details: list[~azure.mgmt.databoxedge.v2019_08_01.models.JobErrorItem] :ivar code: The code intended for programmatic access. :vartype code: str :ivar message: The message that describes the error in detail. @@ -1451,23 +1453,24 @@ class MetricSpecificationV1(msrest.serialization.Model): :type display_description: str :param unit: Metric units. Possible values include: "NotSpecified", "Percent", "Count", "Seconds", "Milliseconds", "Bytes", "BytesPerSecond", "CountPerSecond". - :type unit: str or ~azure.mgmt.databoxedge.models.MetricUnit + :type unit: str or ~azure.mgmt.databoxedge.v2019_08_01.models.MetricUnit :param aggregation_type: Metric aggregation type. Possible values include: "NotSpecified", "None", "Average", "Minimum", "Maximum", "Total", "Count". - :type aggregation_type: str or ~azure.mgmt.databoxedge.models.MetricAggregationType + :type aggregation_type: str or ~azure.mgmt.databoxedge.v2019_08_01.models.MetricAggregationType :param dimensions: Metric dimensions, other than default dimension which is resource. - :type dimensions: list[~azure.mgmt.databoxedge.models.MetricDimensionV1] + :type dimensions: list[~azure.mgmt.databoxedge.v2019_08_01.models.MetricDimensionV1] :param fill_gap_with_zero: Set true to fill the gaps with zero. :type fill_gap_with_zero: bool :param category: Metric category. Possible values include: "Capacity", "Transaction". - :type category: str or ~azure.mgmt.databoxedge.models.MetricCategory + :type category: str or ~azure.mgmt.databoxedge.v2019_08_01.models.MetricCategory :param resource_id_dimension_name_override: Resource name override. :type resource_id_dimension_name_override: str :param supported_time_grain_types: Support granularity of metrics. - :type supported_time_grain_types: list[str or ~azure.mgmt.databoxedge.models.TimeGrain] + :type supported_time_grain_types: list[str or + ~azure.mgmt.databoxedge.v2019_08_01.models.TimeGrain] :param supported_aggregation_types: Support metric aggregation type. :type supported_aggregation_types: list[str or - ~azure.mgmt.databoxedge.models.MetricAggregationType] + ~azure.mgmt.databoxedge.v2019_08_01.models.MetricAggregationType] """ _attribute_map = { @@ -1528,7 +1531,7 @@ class MountPointMap(msrest.serialization.Model): :ivar mount_point: Mount point for the share. :vartype mount_point: str :ivar role_type: Role type. Possible values include: "IOT", "ASA", "Functions", "Cognitive". - :vartype role_type: str or ~azure.mgmt.databoxedge.models.RoleTypes + :vartype role_type: str or ~azure.mgmt.databoxedge.v2019_08_01.models.RoleTypes """ _validation = { @@ -1566,7 +1569,7 @@ class NetworkAdapter(msrest.serialization.Model): :ivar adapter_id: Instance ID of network adapter. :vartype adapter_id: str :ivar adapter_position: Hardware position of network adapter. - :vartype adapter_position: ~azure.mgmt.databoxedge.models.NetworkAdapterPosition + :vartype adapter_position: ~azure.mgmt.databoxedge.v2019_08_01.models.NetworkAdapterPosition :ivar index: Logical index of the adapter. :vartype index: int :ivar node_id: Node ID of the network adapter. @@ -1581,17 +1584,17 @@ class NetworkAdapter(msrest.serialization.Model): :vartype link_speed: long :ivar status: Value indicating whether this adapter is valid. Possible values include: "Inactive", "Active". - :vartype status: str or ~azure.mgmt.databoxedge.models.NetworkAdapterStatus + :vartype status: str or ~azure.mgmt.databoxedge.v2019_08_01.models.NetworkAdapterStatus :param rdma_status: Value indicating whether this adapter is RDMA capable. Possible values include: "Incapable", "Capable". - :type rdma_status: str or ~azure.mgmt.databoxedge.models.NetworkAdapterRDMAStatus + :type rdma_status: str or ~azure.mgmt.databoxedge.v2019_08_01.models.NetworkAdapterRDMAStatus :param dhcp_status: Value indicating whether this adapter has DHCP enabled. Possible values include: "Disabled", "Enabled". - :type dhcp_status: str or ~azure.mgmt.databoxedge.models.NetworkAdapterDHCPStatus + :type dhcp_status: str or ~azure.mgmt.databoxedge.v2019_08_01.models.NetworkAdapterDHCPStatus :ivar ipv4_configuration: The IPv4 configuration of the network adapter. - :vartype ipv4_configuration: ~azure.mgmt.databoxedge.models.Ipv4Config + :vartype ipv4_configuration: ~azure.mgmt.databoxedge.v2019_08_01.models.Ipv4Config :ivar ipv6_configuration: The IPv6 configuration of the network adapter. - :vartype ipv6_configuration: ~azure.mgmt.databoxedge.models.Ipv6Config + :vartype ipv6_configuration: ~azure.mgmt.databoxedge.v2019_08_01.models.Ipv6Config :ivar ipv6_link_local_address: The IPv6 local address. :vartype ipv6_link_local_address: str :ivar dns_servers: The list of DNS Servers of the device. @@ -1663,7 +1666,7 @@ class NetworkAdapterPosition(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar network_group: The network group. Possible values include: "None", "NonRDMA", "RDMA". - :vartype network_group: str or ~azure.mgmt.databoxedge.models.NetworkGroup + :vartype network_group: str or ~azure.mgmt.databoxedge.v2019_08_01.models.NetworkGroup :ivar port: The port. :vartype port: int """ @@ -1699,7 +1702,7 @@ class NetworkSettings(ARMBaseModel): :ivar type: The hierarchical type of the object. :vartype type: str :ivar network_adapters: The network adapter list on the device. - :vartype network_adapters: list[~azure.mgmt.databoxedge.models.NetworkAdapter] + :vartype network_adapters: list[~azure.mgmt.databoxedge.v2019_08_01.models.NetworkAdapter] """ _validation = { @@ -1739,7 +1742,7 @@ class Node(ARMBaseModel): :vartype type: str :ivar node_status: The current status of the individual node. Possible values include: "Unknown", "Up", "Down", "Rebooting", "ShuttingDown". - :vartype node_status: str or ~azure.mgmt.databoxedge.models.NodeStatus + :vartype node_status: str or ~azure.mgmt.databoxedge.v2019_08_01.models.NodeStatus :ivar node_chassis_serial_number: Serial number of the Chassis. :vartype node_chassis_serial_number: str :ivar node_serial_number: Serial number of the individual node. @@ -1801,7 +1804,7 @@ class NodeList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of Nodes. - :vartype value: list[~azure.mgmt.databoxedge.models.Node] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.Node] """ _validation = { @@ -1826,11 +1829,11 @@ class Operation(msrest.serialization.Model): :param name: Name of the operation. :type name: str :param display: Properties displayed for the operation. - :type display: ~azure.mgmt.databoxedge.models.OperationDisplay + :type display: ~azure.mgmt.databoxedge.v2019_08_01.models.OperationDisplay :param origin: Origin of the operation. :type origin: str :param service_specification: Service specification. - :type service_specification: ~azure.mgmt.databoxedge.models.ServiceSpecification + :type service_specification: ~azure.mgmt.databoxedge.v2019_08_01.models.ServiceSpecification """ _attribute_map = { @@ -1898,7 +1901,7 @@ class OperationsList(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. The value. - :type value: list[~azure.mgmt.databoxedge.models.Operation] + :type value: list[~azure.mgmt.databoxedge.v2019_08_01.models.Operation] :param next_link: Link to the next set of results. :type next_link: str """ @@ -1936,21 +1939,21 @@ class Order(ARMBaseModel): :ivar type: The hierarchical type of the object. :vartype type: str :param contact_information: The contact details. - :type contact_information: ~azure.mgmt.databoxedge.models.ContactDetails + :type contact_information: ~azure.mgmt.databoxedge.v2019_08_01.models.ContactDetails :param shipping_address: The shipping address. - :type shipping_address: ~azure.mgmt.databoxedge.models.Address + :type shipping_address: ~azure.mgmt.databoxedge.v2019_08_01.models.Address :param current_status: Current status of the order. - :type current_status: ~azure.mgmt.databoxedge.models.OrderStatus + :type current_status: ~azure.mgmt.databoxedge.v2019_08_01.models.OrderStatus :ivar order_history: List of status changes in the order. - :vartype order_history: list[~azure.mgmt.databoxedge.models.OrderStatus] + :vartype order_history: list[~azure.mgmt.databoxedge.v2019_08_01.models.OrderStatus] :ivar serial_number: Serial number of the device. :vartype serial_number: str :ivar delivery_tracking_info: Tracking information for the package delivered to the customer whether it has an original or a replacement device. - :vartype delivery_tracking_info: list[~azure.mgmt.databoxedge.models.TrackingInfo] + :vartype delivery_tracking_info: list[~azure.mgmt.databoxedge.v2019_08_01.models.TrackingInfo] :ivar return_tracking_info: Tracking information for the package returned from the customer whether it has an original or a replacement device. - :vartype return_tracking_info: list[~azure.mgmt.databoxedge.models.TrackingInfo] + :vartype return_tracking_info: list[~azure.mgmt.databoxedge.v2019_08_01.models.TrackingInfo] """ _validation = { @@ -2000,7 +2003,7 @@ class OrderList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of orders. - :vartype value: list[~azure.mgmt.databoxedge.models.Order] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.Order] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2035,7 +2038,7 @@ class OrderStatus(msrest.serialization.Model): include: "Untracked", "AwaitingFulfilment", "AwaitingPreparation", "AwaitingShipment", "Shipped", "Arriving", "Delivered", "ReplacementRequested", "LostDevice", "Declined", "ReturnInitiated", "AwaitingReturnShipment", "ShippedBack", "CollectedAtMicrosoft". - :type status: str or ~azure.mgmt.databoxedge.models.OrderState + :type status: str or ~azure.mgmt.databoxedge.v2019_08_01.models.OrderState :ivar update_date_time: Time of status update. :vartype update_date_time: ~datetime.datetime :param comments: Comments related to this status change. @@ -2087,11 +2090,11 @@ class PeriodicTimerEventTrigger(Trigger): :vartype type: str :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: "FileEvent", "PeriodicTimerEvent". - :type kind: str or ~azure.mgmt.databoxedge.models.TriggerEventType + :type kind: str or ~azure.mgmt.databoxedge.v2019_08_01.models.TriggerEventType :param source_info: Required. Periodic timer details. - :type source_info: ~azure.mgmt.databoxedge.models.PeriodicTimerSourceInfo + :type source_info: ~azure.mgmt.databoxedge.v2019_08_01.models.PeriodicTimerSourceInfo :param sink_info: Required. Role Sink information. - :type sink_info: ~azure.mgmt.databoxedge.models.RoleSinkInfo + :type sink_info: ~azure.mgmt.databoxedge.v2019_08_01.models.RoleSinkInfo :param custom_context_tag: A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module. @@ -2226,11 +2229,11 @@ class ResourceTypeSku(msrest.serialization.Model): :ivar name: The Sku name. Possible values include: "Gateway", "Edge", "TEA_1Node", "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", "TEA_4Node_UPS_Heater", "TMA". - :vartype name: str or ~azure.mgmt.databoxedge.models.SkuName + :vartype name: str or ~azure.mgmt.databoxedge.v2019_08_01.models.SkuName :ivar kind: The Sku kind. :vartype kind: str :ivar tier: The Sku tier. Possible values include: "Standard". - :vartype tier: str or ~azure.mgmt.databoxedge.models.SkuTier + :vartype tier: str or ~azure.mgmt.databoxedge.v2019_08_01.models.SkuTier :ivar family: The Sku family. :vartype family: str :ivar locations: Availability of the SKU for the region. @@ -2238,11 +2241,11 @@ class ResourceTypeSku(msrest.serialization.Model): :ivar api_versions: The API versions in which SKU is available. :vartype api_versions: list[str] :ivar location_info: Availability of the SKU for the location/zone. - :vartype location_info: list[~azure.mgmt.databoxedge.models.SkuLocationInfo] + :vartype location_info: list[~azure.mgmt.databoxedge.v2019_08_01.models.SkuLocationInfo] :ivar costs: The pricing info of the Sku. - :vartype costs: list[~azure.mgmt.databoxedge.models.SkuCost] + :vartype costs: list[~azure.mgmt.databoxedge.v2019_08_01.models.SkuCost] :ivar restrictions: Restrictions of the SKU availability. - :vartype restrictions: list[~azure.mgmt.databoxedge.models.SkuRestriction] + :vartype restrictions: list[~azure.mgmt.databoxedge.v2019_08_01.models.SkuRestriction] """ _validation = { @@ -2294,7 +2297,7 @@ class RoleList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The Value. - :vartype value: list[~azure.mgmt.databoxedge.models.Role] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.Role] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2362,7 +2365,8 @@ class SecuritySettings(ARMBaseModel): (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual password should have at least 8 characters that are a combination of uppercase, lowercase, numeric, and special characters. - :type device_admin_password: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type device_admin_password: + ~azure.mgmt.databoxedge.v2019_08_01.models.AsymmetricEncryptedSecret """ _validation = { @@ -2393,7 +2397,8 @@ class ServiceSpecification(msrest.serialization.Model): """Service specification. :param metric_specifications: Metric specification as defined by shoebox. - :type metric_specifications: list[~azure.mgmt.databoxedge.models.MetricSpecificationV1] + :type metric_specifications: + list[~azure.mgmt.databoxedge.v2019_08_01.models.MetricSpecificationV1] """ _attribute_map = { @@ -2427,27 +2432,27 @@ class Share(ARMBaseModel): :type description: str :param share_status: Required. Current status of the share. Possible values include: "Offline", "Unknown", "OK", "Updating", "NeedsAttention". - :type share_status: str or ~azure.mgmt.databoxedge.models.ShareStatus + :type share_status: str or ~azure.mgmt.databoxedge.v2019_08_01.models.ShareStatus :param monitoring_status: Required. Current monitoring status of the share. Possible values include: "Enabled", "Disabled". - :type monitoring_status: str or ~azure.mgmt.databoxedge.models.MonitoringStatus + :type monitoring_status: str or ~azure.mgmt.databoxedge.v2019_08_01.models.MonitoringStatus :param azure_container_info: Azure container mapping for the share. - :type azure_container_info: ~azure.mgmt.databoxedge.models.AzureContainerInfo + :type azure_container_info: ~azure.mgmt.databoxedge.v2019_08_01.models.AzureContainerInfo :param access_protocol: Required. Access protocol to be used by the share. Possible values include: "SMB", "NFS". - :type access_protocol: str or ~azure.mgmt.databoxedge.models.ShareAccessProtocol + :type access_protocol: str or ~azure.mgmt.databoxedge.v2019_08_01.models.ShareAccessProtocol :param user_access_rights: Mapping of users and corresponding access rights on the share (required for SMB protocol). - :type user_access_rights: list[~azure.mgmt.databoxedge.models.UserAccessRight] + :type user_access_rights: list[~azure.mgmt.databoxedge.v2019_08_01.models.UserAccessRight] :param client_access_rights: List of IP addresses and corresponding access rights on the share(required for NFS protocol). - :type client_access_rights: list[~azure.mgmt.databoxedge.models.ClientAccessRight] + :type client_access_rights: list[~azure.mgmt.databoxedge.v2019_08_01.models.ClientAccessRight] :param refresh_details: Details of the refresh job on this share. - :type refresh_details: ~azure.mgmt.databoxedge.models.RefreshDetails + :type refresh_details: ~azure.mgmt.databoxedge.v2019_08_01.models.RefreshDetails :ivar share_mappings: Share mount point to the role. - :vartype share_mappings: list[~azure.mgmt.databoxedge.models.MountPointMap] + :vartype share_mappings: list[~azure.mgmt.databoxedge.v2019_08_01.models.MountPointMap] :param data_policy: Data policy of the share. Possible values include: "Cloud", "Local". - :type data_policy: str or ~azure.mgmt.databoxedge.models.DataPolicy + :type data_policy: str or ~azure.mgmt.databoxedge.v2019_08_01.models.DataPolicy """ _validation = { @@ -2512,7 +2517,7 @@ class ShareAccessRight(msrest.serialization.Model): :type share_id: str :param access_type: Required. Type of access to be allowed on the share for this user. Possible values include: "Change", "Read", "Custom". - :type access_type: str or ~azure.mgmt.databoxedge.models.ShareAccessType + :type access_type: str or ~azure.mgmt.databoxedge.v2019_08_01.models.ShareAccessType """ _validation = { @@ -2543,7 +2548,7 @@ class ShareList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of shares. - :vartype value: list[~azure.mgmt.databoxedge.models.Share] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.Share] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2573,9 +2578,9 @@ class Sku(msrest.serialization.Model): :param name: SKU name. Possible values include: "Gateway", "Edge", "TEA_1Node", "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", "TEA_4Node_UPS_Heater", "TMA". - :type name: str or ~azure.mgmt.databoxedge.models.SkuName + :type name: str or ~azure.mgmt.databoxedge.v2019_08_01.models.SkuName :param tier: The SKU tier. This is based on the SKU name. Possible values include: "Standard". - :type tier: str or ~azure.mgmt.databoxedge.models.SkuTier + :type tier: str or ~azure.mgmt.databoxedge.v2019_08_01.models.SkuTier """ _attribute_map = { @@ -2636,7 +2641,7 @@ class SkuInformationList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: List of ResourceType Sku. - :vartype value: list[~azure.mgmt.databoxedge.models.ResourceTypeSku] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.ResourceTypeSku] :ivar next_link: Links to the next set of results. :vartype next_link: str """ @@ -2706,9 +2711,10 @@ class SkuRestriction(msrest.serialization.Model): :vartype values: list[str] :ivar reason_code: The SKU restriction reason. Possible values include: "NotAvailableForSubscription", "QuotaId". - :vartype reason_code: str or ~azure.mgmt.databoxedge.models.SkuRestrictionReasonCode + :vartype reason_code: str or + ~azure.mgmt.databoxedge.v2019_08_01.models.SkuRestrictionReasonCode :ivar restriction_info: Restriction of the SKU for the location/zone. - :vartype restriction_info: ~azure.mgmt.databoxedge.models.SkuRestrictionInfo + :vartype restriction_info: ~azure.mgmt.databoxedge.v2019_08_01.models.SkuRestrictionInfo """ _validation = { @@ -2781,10 +2787,11 @@ class StorageAccount(ARMBaseModel): :type description: str :param storage_account_status: Current status of the storage account. Possible values include: "OK", "Offline", "Unknown", "Updating", "NeedsAttention". - :type storage_account_status: str or ~azure.mgmt.databoxedge.models.StorageAccountStatus + :type storage_account_status: str or + ~azure.mgmt.databoxedge.v2019_08_01.models.StorageAccountStatus :param data_policy: Data policy of the storage Account. Possible values include: "Cloud", "Local". - :type data_policy: str or ~azure.mgmt.databoxedge.models.DataPolicy + :type data_policy: str or ~azure.mgmt.databoxedge.v2019_08_01.models.DataPolicy :param storage_account_credential_id: Storage Account Credential Id. :type storage_account_credential_id: str :ivar blob_endpoint: BlobEndpoint of Storage Account. @@ -2850,18 +2857,18 @@ class StorageAccountCredential(ARMBaseModel): :param user_name: Username for the storage account. :type user_name: str :param account_key: Encrypted storage key. - :type account_key: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type account_key: ~azure.mgmt.databoxedge.v2019_08_01.models.AsymmetricEncryptedSecret :param connection_string: Connection string for the storage account. Use this string if username and account key are not specified. :type connection_string: str :param ssl_status: Required. Signifies whether SSL needs to be enabled or not. Possible values include: "Enabled", "Disabled". - :type ssl_status: str or ~azure.mgmt.databoxedge.models.SSLStatus + :type ssl_status: str or ~azure.mgmt.databoxedge.v2019_08_01.models.SSLStatus :param blob_domain_name: Blob end point for private clouds. :type blob_domain_name: str :param account_type: Required. Type of storage accessed on the storage account. Possible values include: "GeneralPurposeStorage", "BlobStorage". - :type account_type: str or ~azure.mgmt.databoxedge.models.AccountType + :type account_type: str or ~azure.mgmt.databoxedge.v2019_08_01.models.AccountType :param storage_account_id: Id of the storage account. :type storage_account_id: str """ @@ -2919,7 +2926,7 @@ class StorageAccountCredentialList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The value. - :vartype value: list[~azure.mgmt.databoxedge.models.StorageAccountCredential] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.StorageAccountCredential] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2949,7 +2956,7 @@ class StorageAccountList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of storageAccounts. - :vartype value: list[~azure.mgmt.databoxedge.models.StorageAccount] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.StorageAccount] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2977,7 +2984,7 @@ class SymmetricKey(msrest.serialization.Model): """Symmetric key for authentication. :param connection_string: Connection string based on the symmetric key. - :type connection_string: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type connection_string: ~azure.mgmt.databoxedge.v2019_08_01.models.AsymmetricEncryptedSecret """ _attribute_map = { @@ -3036,7 +3043,7 @@ class TriggerList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of triggers. - :vartype value: list[~azure.mgmt.databoxedge.models.Trigger] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.Trigger] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -3067,7 +3074,7 @@ class UpdateDownloadProgress(msrest.serialization.Model): :ivar download_phase: The download phase. Possible values include: "Unknown", "Initializing", "Downloading", "Verifying". - :vartype download_phase: str or ~azure.mgmt.databoxedge.models.DownloadPhase + :vartype download_phase: str or ~azure.mgmt.databoxedge.v2019_08_01.models.DownloadPhase :ivar percent_complete: Percentage of completion. :vartype percent_complete: int :ivar total_bytes_to_download: Total bytes to download. @@ -3181,10 +3188,12 @@ class UpdateSummary(ARMBaseModel): :vartype total_number_of_updates_pending_install: int :ivar reboot_behavior: Indicates if updates are available and at least one of the updates needs a reboot. Possible values include: "NeverReboots", "RequiresReboot", "RequestReboot". - :vartype reboot_behavior: str or ~azure.mgmt.databoxedge.models.InstallRebootBehavior + :vartype reboot_behavior: str or + ~azure.mgmt.databoxedge.v2019_08_01.models.InstallRebootBehavior :ivar ongoing_update_operation: The current update operation. Possible values include: "None", "Scan", "Download", "Install". - :vartype ongoing_update_operation: str or ~azure.mgmt.databoxedge.models.UpdateOperation + :vartype ongoing_update_operation: str or + ~azure.mgmt.databoxedge.v2019_08_01.models.UpdateOperation :ivar in_progress_download_job_id: The job ID of the download job in progress. :vartype in_progress_download_job_id: str :ivar in_progress_install_job_id: The job ID of the install job in progress. @@ -3279,7 +3288,7 @@ class UploadCertificateRequest(msrest.serialization.Model): :param authentication_type: The authentication type. Possible values include: "Invalid", "AzureActiveDirectory". - :type authentication_type: str or ~azure.mgmt.databoxedge.models.AuthenticationType + :type authentication_type: str or ~azure.mgmt.databoxedge.v2019_08_01.models.AuthenticationType :param certificate: Required. The base64 encoded certificate raw data. :type certificate: str """ @@ -3312,7 +3321,7 @@ class UploadCertificateResponse(msrest.serialization.Model): :param auth_type: Specifies authentication type. Possible values include: "Invalid", "AzureActiveDirectory". - :type auth_type: str or ~azure.mgmt.databoxedge.models.AuthenticationType + :type auth_type: str or ~azure.mgmt.databoxedge.v2019_08_01.models.AuthenticationType :ivar resource_id: The resource ID of the Data Box Edge/Gateway device. :vartype resource_id: str :ivar aad_authority: Azure Active Directory tenant authority. @@ -3382,13 +3391,13 @@ class User(ARMBaseModel): :ivar type: The hierarchical type of the object. :vartype type: str :param encrypted_password: The password details. - :type encrypted_password: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type encrypted_password: ~azure.mgmt.databoxedge.v2019_08_01.models.AsymmetricEncryptedSecret :param share_access_rights: List of shares that the user has rights on. This field should not be specified during user creation. - :type share_access_rights: list[~azure.mgmt.databoxedge.models.ShareAccessRight] + :type share_access_rights: list[~azure.mgmt.databoxedge.v2019_08_01.models.ShareAccessRight] :param user_type: Required. Type of the user. Possible values include: "Share", "LocalManagement", "ARM". - :type user_type: str or ~azure.mgmt.databoxedge.models.UserType + :type user_type: str or ~azure.mgmt.databoxedge.v2019_08_01.models.UserType """ _validation = { @@ -3430,7 +3439,7 @@ class UserAccessRight(msrest.serialization.Model): :type user_id: str :param access_type: Required. Type of access to be allowed for the user. Possible values include: "Change", "Read", "Custom". - :type access_type: str or ~azure.mgmt.databoxedge.models.ShareAccessType + :type access_type: str or ~azure.mgmt.databoxedge.v2019_08_01.models.ShareAccessType """ _validation = { @@ -3461,7 +3470,7 @@ class UserList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of users. - :vartype value: list[~azure.mgmt.databoxedge.models.User] + :vartype value: list[~azure.mgmt.databoxedge.v2019_08_01.models.User] :ivar next_link: Link to the next set of results. :vartype next_link: str """ diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_alerts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_alerts_operations.py index bef4315fac70..c43d0a79ad7a 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_alerts_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_alerts_operations.py @@ -30,7 +30,7 @@ class AlertsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AlertList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.AlertList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.AlertList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.AlertList"] @@ -140,7 +140,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Alert, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Alert + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.Alert :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Alert"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_bandwidth_schedules_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_bandwidth_schedules_operations.py index c3cbbb0cc104..c865d71791de 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_bandwidth_schedules_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_bandwidth_schedules_operations.py @@ -32,7 +32,7 @@ class BandwidthSchedulesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BandwidthSchedulesList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.BandwidthSchedulesList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.BandwidthSchedulesList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedulesList"] @@ -140,7 +140,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BandwidthSchedule, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.BandwidthSchedule + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.BandwidthSchedule :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedule"] @@ -261,15 +261,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param parameters: The bandwidth schedule to be added or updated. - :type parameters: ~azure.mgmt.databoxedge.models.BandwidthSchedule + :type parameters: ~azure.mgmt.databoxedge.v2019_08_01.models.BandwidthSchedule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BandwidthSchedule or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.BandwidthSchedule] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_08_01.models.BandwidthSchedule] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -385,8 +385,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_containers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_containers_operations.py index f3f02fa0c88a..a02b4fcefa85 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_containers_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_containers_operations.py @@ -32,7 +32,7 @@ class ContainersOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -67,7 +67,7 @@ def list_by_storage_account( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ContainerList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.ContainerList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.ContainerList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.ContainerList"] @@ -151,7 +151,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Container, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Container + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.Container :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Container"] @@ -280,15 +280,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param container: The container properties. - :type container: ~azure.mgmt.databoxedge.models.Container + :type container: ~azure.mgmt.databoxedge.v2019_08_01.models.Container :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Container or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.Container] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_08_01.models.Container] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -411,8 +411,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -537,8 +537,8 @@ def begin_refresh( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_devices_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_devices_operations.py index f4cbe3cc2bc7..1dcf6c0a0e5d 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_devices_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_devices_operations.py @@ -32,7 +32,7 @@ class DevicesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list_by_subscription( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.DataBoxEdgeDeviceList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] @@ -136,7 +136,7 @@ def list_by_resource_group( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.DataBoxEdgeDeviceList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] @@ -212,7 +212,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataBoxEdgeDevice, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevice + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.DataBoxEdgeDevice :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] @@ -325,15 +325,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param data_box_edge_device: The resource object. - :type data_box_edge_device: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevice + :type data_box_edge_device: ~azure.mgmt.databoxedge.v2019_08_01.models.DataBoxEdgeDevice :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DataBoxEdgeDevice or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.DataBoxEdgeDevice] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_08_01.models.DataBoxEdgeDevice] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -442,8 +442,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -507,10 +507,10 @@ def update( :param resource_group_name: The resource group name. :type resource_group_name: str :param parameters: The resource parameters. - :type parameters: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevicePatch + :type parameters: ~azure.mgmt.databoxedge.v2019_08_01.models.DataBoxEdgeDevicePatch :keyword callable cls: A custom type or function that will be passed the direct response :return: DataBoxEdgeDevice, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevice + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.DataBoxEdgeDevice :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] @@ -621,8 +621,8 @@ def begin_download_updates( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -686,7 +686,7 @@ def get_extended_information( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataBoxEdgeDeviceExtendedInfo, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceExtendedInfo + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.DataBoxEdgeDeviceExtendedInfo :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceExtendedInfo"] @@ -792,8 +792,8 @@ def begin_install_updates( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -857,7 +857,7 @@ def get_network_settings( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkSettings, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.NetworkSettings + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.NetworkSettings :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSettings"] @@ -963,8 +963,8 @@ def begin_scan_for_updates( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1079,11 +1079,11 @@ def begin_create_or_update_security_settings( :param resource_group_name: The resource group name. :type resource_group_name: str :param security_settings: The security settings. - :type security_settings: ~azure.mgmt.databoxedge.models.SecuritySettings + :type security_settings: ~azure.mgmt.databoxedge.v2019_08_01.models.SecuritySettings :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1151,7 +1151,7 @@ def get_update_summary( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: UpdateSummary, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.UpdateSummary + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.UpdateSummary :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.UpdateSummary"] @@ -1210,10 +1210,10 @@ def upload_certificate( :param resource_group_name: The resource group name. :type resource_group_name: str :param parameters: The upload certificate request. - :type parameters: ~azure.mgmt.databoxedge.models.UploadCertificateRequest + :type parameters: ~azure.mgmt.databoxedge.v2019_08_01.models.UploadCertificateRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: UploadCertificateResponse, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.UploadCertificateResponse + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.UploadCertificateResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.UploadCertificateResponse"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_jobs_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_jobs_operations.py index d42f9c1266fe..ae64fe0e955b 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_jobs_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_jobs_operations.py @@ -29,7 +29,7 @@ class JobsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -64,7 +64,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Job, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Job + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.Job :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_nodes_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_nodes_operations.py index d89857fa460d..c5a09a62691f 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_nodes_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_nodes_operations.py @@ -30,7 +30,7 @@ class NodesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NodeList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.NodeList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.NodeList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.NodeList"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_operations.py index 09fdd3ce6d38..60e166c69f05 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_operations.py @@ -30,7 +30,7 @@ class Operations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -56,7 +56,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OperationsList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.OperationsList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.OperationsList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationsList"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_operations_status_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_operations_status_operations.py index c4ec340fac5c..a30d82757482 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_operations_status_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_operations_status_operations.py @@ -29,7 +29,7 @@ class OperationsStatusOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -64,7 +64,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Job, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Job + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.Job :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_orders_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_orders_operations.py index bef89573d2b6..52461cd4e254 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_orders_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_orders_operations.py @@ -32,7 +32,7 @@ class OrdersOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -64,7 +64,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OrderList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.OrderList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.OrderList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.OrderList"] @@ -141,7 +141,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Order, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Order + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.Order :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Order"] @@ -258,15 +258,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param order: The order to be created or updated. - :type order: ~azure.mgmt.databoxedge.models.Order + :type order: ~azure.mgmt.databoxedge.v2019_08_01.models.Order :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Order or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.Order] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_08_01.models.Order] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -377,8 +377,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_roles_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_roles_operations.py index 2726593a55c3..23cab2b31e98 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_roles_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_roles_operations.py @@ -32,7 +32,7 @@ class RolesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either RoleList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.RoleList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.RoleList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.RoleList"] @@ -140,7 +140,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Role, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Role + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.Role :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Role"] @@ -261,15 +261,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param role: The role properties. - :type role: ~azure.mgmt.databoxedge.models.Role + :type role: ~azure.mgmt.databoxedge.v2019_08_01.models.Role :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Role or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.Role] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_08_01.models.Role] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -385,8 +385,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_shares_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_shares_operations.py index 093546fe38c4..d654bbcb61f5 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_shares_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_shares_operations.py @@ -32,7 +32,7 @@ class SharesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -64,7 +64,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ShareList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.ShareList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.ShareList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.ShareList"] @@ -144,7 +144,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Share, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Share + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.Share :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Share"] @@ -267,15 +267,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param share: The share properties. - :type share: ~azure.mgmt.databoxedge.models.Share + :type share: ~azure.mgmt.databoxedge.v2019_08_01.models.Share :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Share or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.Share] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_08_01.models.Share] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -391,8 +391,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -510,8 +510,8 @@ def begin_refresh( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_skus_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_skus_operations.py index 5fe7aef71fd9..1676918728c2 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_skus_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_skus_operations.py @@ -30,7 +30,7 @@ class SkusOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def list( :type filter: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either SkuInformationList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.SkuInformationList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.SkuInformationList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.SkuInformationList"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_storage_account_credentials_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_storage_account_credentials_operations.py index 90f9c80e6233..137137688679 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_storage_account_credentials_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_storage_account_credentials_operations.py @@ -32,7 +32,7 @@ class StorageAccountCredentialsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -64,7 +64,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountCredentialList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.StorageAccountCredentialList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.StorageAccountCredentialList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredentialList"] @@ -142,7 +142,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountCredential, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.StorageAccountCredential + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.StorageAccountCredential :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredential"] @@ -263,15 +263,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param storage_account_credential: The storage account credential. - :type storage_account_credential: ~azure.mgmt.databoxedge.models.StorageAccountCredential + :type storage_account_credential: ~azure.mgmt.databoxedge.v2019_08_01.models.StorageAccountCredential :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either StorageAccountCredential or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.StorageAccountCredential] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_08_01.models.StorageAccountCredential] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -387,8 +387,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_storage_accounts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_storage_accounts_operations.py index ce028adccc37..2cfe010aaaf3 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_storage_accounts_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_storage_accounts_operations.py @@ -32,7 +32,7 @@ class StorageAccountsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -64,7 +64,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.StorageAccountList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.StorageAccountList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountList"] @@ -144,7 +144,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccount, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.StorageAccount + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.StorageAccount :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] @@ -267,15 +267,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param storage_account: The StorageAccount properties. - :type storage_account: ~azure.mgmt.databoxedge.models.StorageAccount + :type storage_account: ~azure.mgmt.databoxedge.v2019_08_01.models.StorageAccount :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either StorageAccount or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.StorageAccount] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_08_01.models.StorageAccount] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -391,8 +391,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_triggers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_triggers_operations.py index d7c8a87f3b7e..4c849f643f23 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_triggers_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_triggers_operations.py @@ -32,7 +32,7 @@ class TriggersOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -66,7 +66,7 @@ def list_by_data_box_edge_device( :type filter: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either TriggerList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.TriggerList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.TriggerList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.TriggerList"] @@ -146,7 +146,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Trigger, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Trigger + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.Trigger :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Trigger"] @@ -267,15 +267,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param trigger: The trigger. - :type trigger: ~azure.mgmt.databoxedge.models.Trigger + :type trigger: ~azure.mgmt.databoxedge.v2019_08_01.models.Trigger :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Trigger or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.Trigger] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_08_01.models.Trigger] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -391,8 +391,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_users_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_users_operations.py index 236b9ad65340..2a8deed319aa 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_users_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/operations/_users_operations.py @@ -32,7 +32,7 @@ class UsersOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2019_08_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -65,7 +65,7 @@ def list_by_data_box_edge_device( :type filter: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either UserList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.UserList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2019_08_01.models.UserList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.UserList"] @@ -145,7 +145,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: User, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.User + :rtype: ~azure.mgmt.databoxedge.v2019_08_01.models.User :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.User"] @@ -267,15 +267,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param user: The user details. - :type user: ~azure.mgmt.databoxedge.models.User + :type user: ~azure.mgmt.databoxedge.v2019_08_01.models.User :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either User or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.User] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2019_08_01.models.User] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -391,8 +391,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/_data_box_edge_management_client.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/_data_box_edge_management_client.py index ed174cc8de26..8cbea50f1d6a 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/_data_box_edge_management_client.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/_data_box_edge_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import DataBoxEdgeManagementClientConfiguration from .operations import Operations @@ -42,39 +43,39 @@ class DataBoxEdgeManagementClient(object): """The DataBoxEdge Client. :ivar operations: Operations operations - :vartype operations: azure.mgmt.databoxedge.operations.Operations + :vartype operations: azure.mgmt.databoxedge.v2020_05_01_preview.operations.Operations :ivar available_skus: AvailableSkusOperations operations - :vartype available_skus: azure.mgmt.databoxedge.operations.AvailableSkusOperations + :vartype available_skus: azure.mgmt.databoxedge.v2020_05_01_preview.operations.AvailableSkusOperations :ivar devices: DevicesOperations operations - :vartype devices: azure.mgmt.databoxedge.operations.DevicesOperations + :vartype devices: azure.mgmt.databoxedge.v2020_05_01_preview.operations.DevicesOperations :ivar alerts: AlertsOperations operations - :vartype alerts: azure.mgmt.databoxedge.operations.AlertsOperations + :vartype alerts: azure.mgmt.databoxedge.v2020_05_01_preview.operations.AlertsOperations :ivar bandwidth_schedules: BandwidthSchedulesOperations operations - :vartype bandwidth_schedules: azure.mgmt.databoxedge.operations.BandwidthSchedulesOperations + :vartype bandwidth_schedules: azure.mgmt.databoxedge.v2020_05_01_preview.operations.BandwidthSchedulesOperations :ivar jobs: JobsOperations operations - :vartype jobs: azure.mgmt.databoxedge.operations.JobsOperations + :vartype jobs: azure.mgmt.databoxedge.v2020_05_01_preview.operations.JobsOperations :ivar nodes: NodesOperations operations - :vartype nodes: azure.mgmt.databoxedge.operations.NodesOperations + :vartype nodes: azure.mgmt.databoxedge.v2020_05_01_preview.operations.NodesOperations :ivar operations_status: OperationsStatusOperations operations - :vartype operations_status: azure.mgmt.databoxedge.operations.OperationsStatusOperations + :vartype operations_status: azure.mgmt.databoxedge.v2020_05_01_preview.operations.OperationsStatusOperations :ivar orders: OrdersOperations operations - :vartype orders: azure.mgmt.databoxedge.operations.OrdersOperations + :vartype orders: azure.mgmt.databoxedge.v2020_05_01_preview.operations.OrdersOperations :ivar roles: RolesOperations operations - :vartype roles: azure.mgmt.databoxedge.operations.RolesOperations + :vartype roles: azure.mgmt.databoxedge.v2020_05_01_preview.operations.RolesOperations :ivar shares: SharesOperations operations - :vartype shares: azure.mgmt.databoxedge.operations.SharesOperations + :vartype shares: azure.mgmt.databoxedge.v2020_05_01_preview.operations.SharesOperations :ivar storage_account_credentials: StorageAccountCredentialsOperations operations - :vartype storage_account_credentials: azure.mgmt.databoxedge.operations.StorageAccountCredentialsOperations + :vartype storage_account_credentials: azure.mgmt.databoxedge.v2020_05_01_preview.operations.StorageAccountCredentialsOperations :ivar storage_accounts: StorageAccountsOperations operations - :vartype storage_accounts: azure.mgmt.databoxedge.operations.StorageAccountsOperations + :vartype storage_accounts: azure.mgmt.databoxedge.v2020_05_01_preview.operations.StorageAccountsOperations :ivar containers: ContainersOperations operations - :vartype containers: azure.mgmt.databoxedge.operations.ContainersOperations + :vartype containers: azure.mgmt.databoxedge.v2020_05_01_preview.operations.ContainersOperations :ivar triggers: TriggersOperations operations - :vartype triggers: azure.mgmt.databoxedge.operations.TriggersOperations + :vartype triggers: azure.mgmt.databoxedge.v2020_05_01_preview.operations.TriggersOperations :ivar users: UsersOperations operations - :vartype users: azure.mgmt.databoxedge.operations.UsersOperations + :vartype users: azure.mgmt.databoxedge.v2020_05_01_preview.operations.UsersOperations :ivar skus: SkusOperations operations - :vartype skus: azure.mgmt.databoxedge.operations.SkusOperations + :vartype skus: azure.mgmt.databoxedge.v2020_05_01_preview.operations.SkusOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials.TokenCredential :param subscription_id: The subscription ID. @@ -136,6 +137,24 @@ def __init__( self.skus = SkusOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/_metadata.json b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/_metadata.json index 78a58cd7e0df..f54cc3d6befb 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/_metadata.json +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": false + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"DataBoxEdgeManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"DataBoxEdgeManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription ID.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_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\": [\"TokenCredential\"]}}}", + "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": { "operations": "Operations", @@ -69,9 +115,5 @@ "triggers": "TriggersOperations", "users": "UsersOperations", "skus": "SkusOperations" - }, - "operation_mixins": { - }, - "sync_imports": "None", - "async_imports": "None" + } } \ No newline at end of file diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/_data_box_edge_management_client.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/_data_box_edge_management_client.py index a0a9282d9536..a7fbbc2ca877 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/_data_box_edge_management_client.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/_data_box_edge_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -40,39 +41,39 @@ class DataBoxEdgeManagementClient(object): """The DataBoxEdge Client. :ivar operations: Operations operations - :vartype operations: azure.mgmt.databoxedge.aio.operations.Operations + :vartype operations: azure.mgmt.databoxedge.v2020_05_01_preview.aio.operations.Operations :ivar available_skus: AvailableSkusOperations operations - :vartype available_skus: azure.mgmt.databoxedge.aio.operations.AvailableSkusOperations + :vartype available_skus: azure.mgmt.databoxedge.v2020_05_01_preview.aio.operations.AvailableSkusOperations :ivar devices: DevicesOperations operations - :vartype devices: azure.mgmt.databoxedge.aio.operations.DevicesOperations + :vartype devices: azure.mgmt.databoxedge.v2020_05_01_preview.aio.operations.DevicesOperations :ivar alerts: AlertsOperations operations - :vartype alerts: azure.mgmt.databoxedge.aio.operations.AlertsOperations + :vartype alerts: azure.mgmt.databoxedge.v2020_05_01_preview.aio.operations.AlertsOperations :ivar bandwidth_schedules: BandwidthSchedulesOperations operations - :vartype bandwidth_schedules: azure.mgmt.databoxedge.aio.operations.BandwidthSchedulesOperations + :vartype bandwidth_schedules: azure.mgmt.databoxedge.v2020_05_01_preview.aio.operations.BandwidthSchedulesOperations :ivar jobs: JobsOperations operations - :vartype jobs: azure.mgmt.databoxedge.aio.operations.JobsOperations + :vartype jobs: azure.mgmt.databoxedge.v2020_05_01_preview.aio.operations.JobsOperations :ivar nodes: NodesOperations operations - :vartype nodes: azure.mgmt.databoxedge.aio.operations.NodesOperations + :vartype nodes: azure.mgmt.databoxedge.v2020_05_01_preview.aio.operations.NodesOperations :ivar operations_status: OperationsStatusOperations operations - :vartype operations_status: azure.mgmt.databoxedge.aio.operations.OperationsStatusOperations + :vartype operations_status: azure.mgmt.databoxedge.v2020_05_01_preview.aio.operations.OperationsStatusOperations :ivar orders: OrdersOperations operations - :vartype orders: azure.mgmt.databoxedge.aio.operations.OrdersOperations + :vartype orders: azure.mgmt.databoxedge.v2020_05_01_preview.aio.operations.OrdersOperations :ivar roles: RolesOperations operations - :vartype roles: azure.mgmt.databoxedge.aio.operations.RolesOperations + :vartype roles: azure.mgmt.databoxedge.v2020_05_01_preview.aio.operations.RolesOperations :ivar shares: SharesOperations operations - :vartype shares: azure.mgmt.databoxedge.aio.operations.SharesOperations + :vartype shares: azure.mgmt.databoxedge.v2020_05_01_preview.aio.operations.SharesOperations :ivar storage_account_credentials: StorageAccountCredentialsOperations operations - :vartype storage_account_credentials: azure.mgmt.databoxedge.aio.operations.StorageAccountCredentialsOperations + :vartype storage_account_credentials: azure.mgmt.databoxedge.v2020_05_01_preview.aio.operations.StorageAccountCredentialsOperations :ivar storage_accounts: StorageAccountsOperations operations - :vartype storage_accounts: azure.mgmt.databoxedge.aio.operations.StorageAccountsOperations + :vartype storage_accounts: azure.mgmt.databoxedge.v2020_05_01_preview.aio.operations.StorageAccountsOperations :ivar containers: ContainersOperations operations - :vartype containers: azure.mgmt.databoxedge.aio.operations.ContainersOperations + :vartype containers: azure.mgmt.databoxedge.v2020_05_01_preview.aio.operations.ContainersOperations :ivar triggers: TriggersOperations operations - :vartype triggers: azure.mgmt.databoxedge.aio.operations.TriggersOperations + :vartype triggers: azure.mgmt.databoxedge.v2020_05_01_preview.aio.operations.TriggersOperations :ivar users: UsersOperations operations - :vartype users: azure.mgmt.databoxedge.aio.operations.UsersOperations + :vartype users: azure.mgmt.databoxedge.v2020_05_01_preview.aio.operations.UsersOperations :ivar skus: SkusOperations operations - :vartype skus: azure.mgmt.databoxedge.aio.operations.SkusOperations + :vartype skus: azure.mgmt.databoxedge.v2020_05_01_preview.aio.operations.SkusOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: The subscription ID. @@ -133,6 +134,23 @@ def __init__( self.skus = SkusOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_alerts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_alerts_operations.py index 9ce6289b20b8..9cc9132e3f68 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_alerts_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_alerts_operations.py @@ -26,7 +26,7 @@ class AlertsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AlertList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.AlertList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.AlertList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.AlertList"] @@ -134,7 +134,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Alert, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Alert + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Alert :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Alert"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_available_skus_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_available_skus_operations.py index 908f90800999..3c1e56b6a241 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_available_skus_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_available_skus_operations.py @@ -26,7 +26,7 @@ class AvailableSkusOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -51,7 +51,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataBoxEdgeSkuList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.DataBoxEdgeSkuList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataBoxEdgeSkuList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeSkuList"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_bandwidth_schedules_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_bandwidth_schedules_operations.py index 679879260508..462909541584 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_bandwidth_schedules_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_bandwidth_schedules_operations.py @@ -28,7 +28,7 @@ class BandwidthSchedulesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BandwidthSchedulesList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.BandwidthSchedulesList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.BandwidthSchedulesList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedulesList"] @@ -134,7 +134,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BandwidthSchedule, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.BandwidthSchedule + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.BandwidthSchedule :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedule"] @@ -253,15 +253,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param parameters: The bandwidth schedule to be added or updated. - :type parameters: ~azure.mgmt.databoxedge.models.BandwidthSchedule + :type parameters: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.BandwidthSchedule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BandwidthSchedule or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.BandwidthSchedule] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_05_01_preview.models.BandwidthSchedule] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -375,8 +375,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_containers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_containers_operations.py index e0c38d925871..5db7070e2ddc 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_containers_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_containers_operations.py @@ -28,7 +28,7 @@ class ContainersOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def list_by_storage_account( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ContainerList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.ContainerList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.ContainerList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.ContainerList"] @@ -145,7 +145,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Container, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Container + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Container :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Container"] @@ -272,15 +272,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param container: The container properties. - :type container: ~azure.mgmt.databoxedge.models.Container + :type container: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Container :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Container or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.Container] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Container] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -401,8 +401,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -525,8 +525,8 @@ async def begin_refresh( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_devices_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_devices_operations.py index b0c616048983..0d9c4106ed4f 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_devices_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_devices_operations.py @@ -28,7 +28,7 @@ class DevicesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list_by_subscription( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataBoxEdgeDeviceList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] @@ -130,7 +130,7 @@ def list_by_resource_group( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataBoxEdgeDeviceList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] @@ -205,7 +205,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataBoxEdgeDevice, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevice + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataBoxEdgeDevice :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] @@ -316,15 +316,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param data_box_edge_device: The resource object. - :type data_box_edge_device: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevice + :type data_box_edge_device: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataBoxEdgeDevice :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DataBoxEdgeDevice or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.DataBoxEdgeDevice] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataBoxEdgeDevice] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -431,8 +431,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -495,10 +495,10 @@ async def update( :param resource_group_name: The resource group name. :type resource_group_name: str :param parameters: The resource parameters. - :type parameters: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevicePatch + :type parameters: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataBoxEdgeDevicePatch :keyword callable cls: A custom type or function that will be passed the direct response :return: DataBoxEdgeDevice, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevice + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataBoxEdgeDevice :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] @@ -607,8 +607,8 @@ async def begin_download_updates( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -671,7 +671,7 @@ async def get_extended_information( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataBoxEdgeDeviceExtendedInfo, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceExtendedInfo + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataBoxEdgeDeviceExtendedInfo :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceExtendedInfo"] @@ -775,8 +775,8 @@ async def begin_install_updates( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -839,7 +839,7 @@ async def get_network_settings( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkSettings, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.NetworkSettings + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.NetworkSettings :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSettings"] @@ -943,8 +943,8 @@ async def begin_scan_for_updates( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1057,11 +1057,11 @@ async def begin_create_or_update_security_settings( :param resource_group_name: The resource group name. :type resource_group_name: str :param security_settings: The security settings. - :type security_settings: ~azure.mgmt.databoxedge.models.SecuritySettings + :type security_settings: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SecuritySettings :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1128,7 +1128,7 @@ async def get_update_summary( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: UpdateSummary, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.UpdateSummary + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.UpdateSummary :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.UpdateSummary"] @@ -1186,10 +1186,10 @@ async def upload_certificate( :param resource_group_name: The resource group name. :type resource_group_name: str :param parameters: The upload certificate request. - :type parameters: ~azure.mgmt.databoxedge.models.UploadCertificateRequest + :type parameters: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.UploadCertificateRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: UploadCertificateResponse, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.UploadCertificateResponse + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.UploadCertificateResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.UploadCertificateResponse"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_jobs_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_jobs_operations.py index 1ddab926656c..3a746f7e258a 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_jobs_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_jobs_operations.py @@ -25,7 +25,7 @@ class JobsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Job, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Job + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Job :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_nodes_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_nodes_operations.py index e361c28b3481..7a91dc86646b 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_nodes_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_nodes_operations.py @@ -26,7 +26,7 @@ class NodesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NodeList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.NodeList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.NodeList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.NodeList"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_operations.py index 9cdd8c25b357..93b421dea3fc 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_operations.py @@ -26,7 +26,7 @@ class Operations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -51,7 +51,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OperationsList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.OperationsList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.OperationsList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationsList"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_operations_status_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_operations_status_operations.py index d7f50b83b926..9057292e9c95 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_operations_status_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_operations_status_operations.py @@ -25,7 +25,7 @@ class OperationsStatusOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Job, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Job + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Job :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_orders_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_orders_operations.py index faf13df4fad4..565453e7585c 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_orders_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_orders_operations.py @@ -28,7 +28,7 @@ class OrdersOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OrderList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.OrderList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.OrderList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.OrderList"] @@ -135,7 +135,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Order, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Order + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Order :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Order"] @@ -250,15 +250,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param order: The order to be created or updated. - :type order: ~azure.mgmt.databoxedge.models.Order + :type order: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Order :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Order or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.Order] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Order] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -367,8 +367,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_roles_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_roles_operations.py index a608e58c77a1..adc1ae3c4fb4 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_roles_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_roles_operations.py @@ -28,7 +28,7 @@ class RolesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either RoleList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.RoleList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.RoleList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.RoleList"] @@ -134,7 +134,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Role, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Role + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Role :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Role"] @@ -253,15 +253,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param role: The role properties. - :type role: ~azure.mgmt.databoxedge.models.Role + :type role: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Role :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Role or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.Role] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Role] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -375,8 +375,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_shares_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_shares_operations.py index bcc51b2cb05c..1771708a1408 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_shares_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_shares_operations.py @@ -28,7 +28,7 @@ class SharesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ShareList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.ShareList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.ShareList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.ShareList"] @@ -138,7 +138,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Share, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Share + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Share :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Share"] @@ -259,15 +259,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param share: The share properties. - :type share: ~azure.mgmt.databoxedge.models.Share + :type share: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Share :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Share or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.Share] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Share] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -381,8 +381,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -498,8 +498,8 @@ async def begin_refresh( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_skus_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_skus_operations.py index 74f5281bc08c..228a2c7841be 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_skus_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_skus_operations.py @@ -26,7 +26,7 @@ class SkusOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ def list( :type filter: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either SkuInformationList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.SkuInformationList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuInformationList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.SkuInformationList"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_storage_account_credentials_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_storage_account_credentials_operations.py index 510dcec232bf..02f5294dfcc7 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_storage_account_credentials_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_storage_account_credentials_operations.py @@ -28,7 +28,7 @@ class StorageAccountCredentialsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountCredentialList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.StorageAccountCredentialList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.StorageAccountCredentialList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredentialList"] @@ -136,7 +136,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountCredential, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.StorageAccountCredential + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.StorageAccountCredential :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredential"] @@ -255,15 +255,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param storage_account_credential: The storage account credential. - :type storage_account_credential: ~azure.mgmt.databoxedge.models.StorageAccountCredential + :type storage_account_credential: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.StorageAccountCredential :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either StorageAccountCredential or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.StorageAccountCredential] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_05_01_preview.models.StorageAccountCredential] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -377,8 +377,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_storage_accounts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_storage_accounts_operations.py index 4a0f89b67ebc..86a4c0757ba9 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_storage_accounts_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_storage_accounts_operations.py @@ -28,7 +28,7 @@ class StorageAccountsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.StorageAccountList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.StorageAccountList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountList"] @@ -138,7 +138,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccount, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.StorageAccount + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.StorageAccount :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] @@ -259,15 +259,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param storage_account: The StorageAccount properties. - :type storage_account: ~azure.mgmt.databoxedge.models.StorageAccount + :type storage_account: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.StorageAccount :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.StorageAccount] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_05_01_preview.models.StorageAccount] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -381,8 +381,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_triggers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_triggers_operations.py index fc7df42fe906..def269de6448 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_triggers_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_triggers_operations.py @@ -28,7 +28,7 @@ class TriggersOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -61,7 +61,7 @@ def list_by_data_box_edge_device( :type filter: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either TriggerList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.TriggerList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.TriggerList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.TriggerList"] @@ -140,7 +140,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Trigger, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Trigger + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Trigger :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Trigger"] @@ -259,15 +259,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param trigger: The trigger. - :type trigger: ~azure.mgmt.databoxedge.models.Trigger + :type trigger: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Trigger :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Trigger or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.Trigger] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Trigger] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -381,8 +381,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_users_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_users_operations.py index 105c4d12808a..b839c9783245 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_users_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/aio/operations/_users_operations.py @@ -28,7 +28,7 @@ class UsersOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list_by_data_box_edge_device( :type filter: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either UserList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.models.UserList] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.UserList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.UserList"] @@ -139,7 +139,7 @@ async def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: User, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.User + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.User :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.User"] @@ -259,15 +259,15 @@ async def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param user: The user details. - :type user: ~azure.mgmt.databoxedge.models.User + :type user: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.User :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either User or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.models.User] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_05_01_preview.models.User] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -381,8 +381,8 @@ async def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/models/_models.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/models/_models.py index 8653db38cb52..030d1bdf21d8 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/models/_models.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/models/_models.py @@ -118,9 +118,9 @@ class Alert(ARMBaseModel): :vartype recommendation: str :ivar severity: Severity of the alert. Possible values include: "Informational", "Warning", "Critical". - :vartype severity: str or ~azure.mgmt.databoxedge.models.AlertSeverity + :vartype severity: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AlertSeverity :ivar error_details: Error details of the alert. - :vartype error_details: ~azure.mgmt.databoxedge.models.AlertErrorDetails + :vartype error_details: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AlertErrorDetails :ivar detailed_information: Alert details. :vartype detailed_information: dict[str, str] """ @@ -206,7 +206,7 @@ class AlertList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The value. - :vartype value: list[~azure.mgmt.databoxedge.models.Alert] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Alert] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -242,7 +242,8 @@ class AsymmetricEncryptedSecret(msrest.serialization.Model): :type encryption_cert_thumbprint: str :param encryption_algorithm: Required. The algorithm used to encrypt "Value". Possible values include: "None", "AES256", "RSAES_PKCS1_v_1_5". - :type encryption_algorithm: str or ~azure.mgmt.databoxedge.models.EncryptionAlgorithm + :type encryption_algorithm: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.EncryptionAlgorithm """ _validation = { @@ -270,7 +271,7 @@ class Authentication(msrest.serialization.Model): """Authentication mechanism for IoT devices. :param symmetric_key: Symmetric key for authentication. - :type symmetric_key: ~azure.mgmt.databoxedge.models.SymmetricKey + :type symmetric_key: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SymmetricKey """ _attribute_map = { @@ -298,7 +299,8 @@ class AzureContainerInfo(msrest.serialization.Model): :type container_name: str :param data_format: Required. Storage format used for the file represented by the share. Possible values include: "BlockBlob", "PageBlob", "AzureFile". - :type data_format: str or ~azure.mgmt.databoxedge.models.AzureContainerDataFormat + :type data_format: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AzureContainerDataFormat """ _validation = { @@ -343,7 +345,7 @@ class BandwidthSchedule(ARMBaseModel): :param rate_in_mbps: Required. The bandwidth rate in Mbps. :type rate_in_mbps: int :param days: Required. The days of the week when this schedule is applicable. - :type days: list[str or ~azure.mgmt.databoxedge.models.DayOfWeek] + :type days: list[str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.DayOfWeek] """ _validation = { @@ -383,7 +385,7 @@ class BandwidthSchedulesList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of bandwidth schedules. - :vartype value: list[~azure.mgmt.databoxedge.models.BandwidthSchedule] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.BandwidthSchedule] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -416,7 +418,8 @@ class ClientAccessRight(msrest.serialization.Model): :type client: str :param access_permission: Required. Type of access to be allowed for the client. Possible values include: "NoAccess", "ReadOnly", "ReadWrite". - :type access_permission: str or ~azure.mgmt.databoxedge.models.ClientPermissionType + :type access_permission: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.ClientPermissionType """ _validation = { @@ -448,7 +451,7 @@ class CloudErrorBody(msrest.serialization.Model): interface. :type message: str :param details: A list of additional details about the error. - :type details: list[~azure.mgmt.databoxedge.models.CloudErrorBody] + :type details: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.CloudErrorBody] """ _attribute_map = { @@ -522,12 +525,14 @@ class Container(ARMBaseModel): :vartype type: str :ivar container_status: Current status of the container. Possible values include: "OK", "Offline", "Unknown", "Updating", "NeedsAttention". - :vartype container_status: str or ~azure.mgmt.databoxedge.models.ContainerStatus + :vartype container_status: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.ContainerStatus :param data_format: Required. DataFormat for Container. Possible values include: "BlockBlob", "PageBlob", "AzureFile". - :type data_format: str or ~azure.mgmt.databoxedge.models.AzureContainerDataFormat + :type data_format: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AzureContainerDataFormat :ivar refresh_details: Details of the refresh job on this container. - :vartype refresh_details: ~azure.mgmt.databoxedge.models.RefreshDetails + :vartype refresh_details: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.RefreshDetails :ivar created_date_time: The UTC time when container got created. :vartype created_date_time: ~datetime.datetime """ @@ -569,7 +574,7 @@ class ContainerList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of containers. - :vartype value: list[~azure.mgmt.databoxedge.models.Container] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Container] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -615,14 +620,14 @@ class DataBoxEdgeDevice(ARMBaseModel): to view and group this device (across resource groups). :type tags: dict[str, str] :param sku: The SKU type. - :type sku: ~azure.mgmt.databoxedge.models.Sku + :type sku: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Sku :param etag: The etag for the devices. :type etag: str :param data_box_edge_device_status: The status of the Data Box Edge/Gateway device. Possible values include: "ReadyToSetup", "Online", "Offline", "NeedsAttention", "Disconnected", "PartiallyDisconnected", "Maintenance". :type data_box_edge_device_status: str or - ~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceStatus + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataBoxEdgeDeviceStatus :ivar serial_number: The Serial Number of Data Box Edge/Gateway device. :vartype serial_number: str :param description: The Description of the Data Box Edge/Gateway device. @@ -631,7 +636,7 @@ class DataBoxEdgeDevice(ARMBaseModel): :type model_description: str :ivar device_type: The type of the Data Box Edge/Gateway device. Possible values include: "DataBoxEdgeDevice". - :vartype device_type: str or ~azure.mgmt.databoxedge.models.DeviceType + :vartype device_type: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.DeviceType :param friendly_name: The Data Box Edge/Gateway device name. :type friendly_name: str :ivar culture: The Data Box Edge/Gateway device culture. @@ -647,7 +652,8 @@ class DataBoxEdgeDevice(ARMBaseModel): :ivar device_hcs_version: The device software version number of the device (eg: 1.2.18105.6). :vartype device_hcs_version: str :ivar configured_role_types: Type of compute roles configured. - :vartype configured_role_types: list[str or ~azure.mgmt.databoxedge.models.RoleTypes] + :vartype configured_role_types: list[str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.RoleTypes] :ivar node_count: The number of nodes in the cluster. :vartype node_count: int """ @@ -770,7 +776,7 @@ class DataBoxEdgeDeviceList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of Data Box Edge/Gateway devices. - :vartype value: list[~azure.mgmt.databoxedge.models.DataBoxEdgeDevice] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataBoxEdgeDevice] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -823,11 +829,11 @@ class DataBoxEdgeSku(msrest.serialization.Model): :ivar name: The Sku name. Possible values include: "Gateway", "Edge", "TEA_1Node", "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", "TEA_4Node_UPS_Heater", "TMA", "TDC", "TCA_Large", "TCA_Small", "GPU". - :vartype name: str or ~azure.mgmt.databoxedge.models.SkuName + :vartype name: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuName :ivar kind: The Sku kind. :vartype kind: str :ivar tier: The Sku tier. Possible values include: "Standard". - :vartype tier: str or ~azure.mgmt.databoxedge.models.SkuTier + :vartype tier: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuTier :ivar size: The Sku kind. :vartype size: str :ivar family: The Sku family. @@ -837,17 +843,20 @@ class DataBoxEdgeSku(msrest.serialization.Model): :ivar api_versions: The API versions in which Sku is available. :vartype api_versions: list[str] :ivar location_info: Availability of the Sku for the location/zone/site. - :vartype location_info: list[~azure.mgmt.databoxedge.models.SkuLocationInfo] + :vartype location_info: + list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuLocationInfo] :ivar costs: The pricing info of the Sku. - :vartype costs: list[~azure.mgmt.databoxedge.models.SkuCost] + :vartype costs: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuCost] :ivar restrictions: Restriction info of the SKU. - :vartype restrictions: list[~azure.mgmt.databoxedge.models.SkuRestriction] + :vartype restrictions: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuRestriction] :ivar signup_option: Can the SKU be signed up.. Possible values include: "None", "Available". - :vartype signup_option: str or ~azure.mgmt.databoxedge.models.SkuSignupOption + :vartype signup_option: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuSignupOption :ivar version: Sku version. Possible values include: "Stable", "Preview". - :vartype version: str or ~azure.mgmt.databoxedge.models.SkuVersion + :vartype version: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuVersion :ivar availability: Is SKU available. Possible values include: "Available", "Unavailable". - :vartype availability: str or ~azure.mgmt.databoxedge.models.SkuAvailability + :vartype availability: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuAvailability """ _validation = { @@ -911,7 +920,7 @@ class DataBoxEdgeSkuList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: List of ResourceType Sku. - :vartype value: list[~azure.mgmt.databoxedge.models.DataBoxEdgeSku] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataBoxEdgeSku] :ivar next_link: Links to the next set of results. :vartype next_link: str """ @@ -953,7 +962,7 @@ class Trigger(ARMBaseModel): :vartype type: str :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: "FileEvent", "PeriodicTimerEvent". - :type kind: str or ~azure.mgmt.databoxedge.models.TriggerEventType + :type kind: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.TriggerEventType """ _validation = { @@ -997,11 +1006,11 @@ class FileEventTrigger(Trigger): :vartype type: str :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: "FileEvent", "PeriodicTimerEvent". - :type kind: str or ~azure.mgmt.databoxedge.models.TriggerEventType + :type kind: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.TriggerEventType :param source_info: Required. File event source details. - :type source_info: ~azure.mgmt.databoxedge.models.FileSourceInfo + :type source_info: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.FileSourceInfo :param sink_info: Required. Role sink info. - :type sink_info: ~azure.mgmt.databoxedge.models.RoleSinkInfo + :type sink_info: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.RoleSinkInfo :param custom_context_tag: A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module. @@ -1073,7 +1082,7 @@ class ImageRepositoryCredential(msrest.serialization.Model): :param user_name: Required. Repository user name. :type user_name: str :param password: Repository user password. - :type password: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type password: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AsymmetricEncryptedSecret """ _validation = { @@ -1109,7 +1118,7 @@ class IoTDeviceInfo(msrest.serialization.Model): :param io_t_host_hub_id: Id for the IoT hub associated to the device. :type io_t_host_hub_id: str :param authentication: Encrypted IoT device/IoT edge device connection string. - :type authentication: ~azure.mgmt.databoxedge.models.Authentication + :type authentication: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Authentication """ _validation = { @@ -1145,7 +1154,8 @@ class IoTEdgeAgentInfo(msrest.serialization.Model): :param tag: Required. Image Tag. :type tag: str :param image_repository: Image repository details. - :type image_repository: ~azure.mgmt.databoxedge.models.ImageRepositoryCredential + :type image_repository: + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.ImageRepositoryCredential """ _validation = { @@ -1187,7 +1197,7 @@ class Role(ARMBaseModel): :vartype type: str :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", "ASA", "Functions", "Cognitive". - :type kind: str or ~azure.mgmt.databoxedge.models.RoleTypes + :type kind: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.RoleTypes """ _validation = { @@ -1231,25 +1241,27 @@ class IoTRole(Role): :vartype type: str :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", "ASA", "Functions", "Cognitive". - :type kind: str or ~azure.mgmt.databoxedge.models.RoleTypes + :type kind: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.RoleTypes :param host_platform: Host OS supported by the IoT role. Possible values include: "Windows", "Linux". - :type host_platform: str or ~azure.mgmt.databoxedge.models.PlatformType + :type host_platform: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.PlatformType :param io_t_device_details: IoT device metadata to which data box edge device needs to be connected. - :type io_t_device_details: ~azure.mgmt.databoxedge.models.IoTDeviceInfo + :type io_t_device_details: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.IoTDeviceInfo :param io_t_edge_device_details: IoT edge device to which the IoT role needs to be configured. - :type io_t_edge_device_details: ~azure.mgmt.databoxedge.models.IoTDeviceInfo + :type io_t_edge_device_details: + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.IoTDeviceInfo :param share_mappings: Mount points of shares in role(s). - :type share_mappings: list[~azure.mgmt.databoxedge.models.MountPointMap] + :type share_mappings: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.MountPointMap] :param io_t_edge_agent_info: Iot edge agent details to download the agent and bootstrap iot runtime. - :type io_t_edge_agent_info: ~azure.mgmt.databoxedge.models.IoTEdgeAgentInfo + :type io_t_edge_agent_info: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.IoTEdgeAgentInfo :ivar host_platform_type: Platform where the Iot runtime is hosted. Possible values include: "KubernetesCluster", "LinuxVM". - :vartype host_platform_type: str or ~azure.mgmt.databoxedge.models.HostPlatformType + :vartype host_platform_type: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.HostPlatformType :param role_status: Role status. Possible values include: "Enabled", "Disabled". - :type role_status: str or ~azure.mgmt.databoxedge.models.RoleStatus + :type role_status: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.RoleStatus """ _validation = { @@ -1372,7 +1384,7 @@ class Job(msrest.serialization.Model): :vartype type: str :ivar status: The current status of the job. Possible values include: "Invalid", "Running", "Succeeded", "Failed", "Canceled", "Paused", "Scheduled". - :vartype status: str or ~azure.mgmt.databoxedge.models.JobStatus + :vartype status: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.JobStatus :ivar start_time: The UTC date and time at which the job started. :vartype start_time: ~datetime.datetime :ivar end_time: The UTC date and time at which the job completed. @@ -1380,19 +1392,22 @@ class Job(msrest.serialization.Model): :ivar percent_complete: The percentage of the job that is complete. :vartype percent_complete: int :ivar error: The error details. - :vartype error: ~azure.mgmt.databoxedge.models.JobErrorDetails + :vartype error: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.JobErrorDetails :ivar job_type: The type of the job. Possible values include: "Invalid", "ScanForUpdates", "DownloadUpdates", "InstallUpdates", "RefreshShare", "RefreshContainer". - :vartype job_type: str or ~azure.mgmt.databoxedge.models.JobType + :vartype job_type: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.JobType :ivar current_stage: Current stage of the update operation. Possible values include: "Unknown", "Initial", "ScanStarted", "ScanComplete", "ScanFailed", "DownloadStarted", "DownloadComplete", "DownloadFailed", "InstallStarted", "InstallComplete", "InstallFailed", "RebootInitiated", "Success", "Failure", "RescanStarted", "RescanComplete", "RescanFailed". - :vartype current_stage: str or ~azure.mgmt.databoxedge.models.UpdateOperationStage + :vartype current_stage: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.UpdateOperationStage :ivar download_progress: The download progress. - :vartype download_progress: ~azure.mgmt.databoxedge.models.UpdateDownloadProgress + :vartype download_progress: + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.UpdateDownloadProgress :ivar install_progress: The install progress. - :vartype install_progress: ~azure.mgmt.databoxedge.models.UpdateInstallProgress + :vartype install_progress: + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.UpdateInstallProgress :ivar total_refresh_errors: Total number of errors encountered during the refresh process. :vartype total_refresh_errors: int :ivar error_manifest_file: Local share/remote container relative path to the error manifest @@ -1471,7 +1486,7 @@ class JobErrorDetails(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar error_details: The error details. - :vartype error_details: list[~azure.mgmt.databoxedge.models.JobErrorItem] + :vartype error_details: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.JobErrorItem] :ivar code: The code intended for programmatic access. :vartype code: str :ivar message: The message that describes the error in detail. @@ -1573,23 +1588,25 @@ class MetricSpecificationV1(msrest.serialization.Model): :type display_description: str :param unit: Metric units. Possible values include: "NotSpecified", "Percent", "Count", "Seconds", "Milliseconds", "Bytes", "BytesPerSecond", "CountPerSecond". - :type unit: str or ~azure.mgmt.databoxedge.models.MetricUnit + :type unit: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.MetricUnit :param aggregation_type: Metric aggregation type. Possible values include: "NotSpecified", "None", "Average", "Minimum", "Maximum", "Total", "Count". - :type aggregation_type: str or ~azure.mgmt.databoxedge.models.MetricAggregationType + :type aggregation_type: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.MetricAggregationType :param dimensions: Metric dimensions, other than default dimension which is resource. - :type dimensions: list[~azure.mgmt.databoxedge.models.MetricDimensionV1] + :type dimensions: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.MetricDimensionV1] :param fill_gap_with_zero: Set true to fill the gaps with zero. :type fill_gap_with_zero: bool :param category: Metric category. Possible values include: "Capacity", "Transaction". - :type category: str or ~azure.mgmt.databoxedge.models.MetricCategory + :type category: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.MetricCategory :param resource_id_dimension_name_override: Resource name override. :type resource_id_dimension_name_override: str :param supported_time_grain_types: Support granularity of metrics. - :type supported_time_grain_types: list[str or ~azure.mgmt.databoxedge.models.TimeGrain] + :type supported_time_grain_types: list[str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.TimeGrain] :param supported_aggregation_types: Support metric aggregation type. :type supported_aggregation_types: list[str or - ~azure.mgmt.databoxedge.models.MetricAggregationType] + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.MetricAggregationType] """ _attribute_map = { @@ -1638,9 +1655,9 @@ class MountPointMap(msrest.serialization.Model): :ivar mount_point: Mount point for the share. :vartype mount_point: str :ivar mount_type: Mounting type. Possible values include: "Volume", "HostPath". - :vartype mount_type: str or ~azure.mgmt.databoxedge.models.MountType + :vartype mount_type: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.MountType :ivar role_type: Role type. Possible values include: "IOT", "ASA", "Functions", "Cognitive". - :vartype role_type: str or ~azure.mgmt.databoxedge.models.RoleTypes + :vartype role_type: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.RoleTypes """ _validation = { @@ -1679,7 +1696,8 @@ class NetworkAdapter(msrest.serialization.Model): :ivar adapter_id: Instance ID of network adapter. :vartype adapter_id: str :ivar adapter_position: Hardware position of network adapter. - :vartype adapter_position: ~azure.mgmt.databoxedge.models.NetworkAdapterPosition + :vartype adapter_position: + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.NetworkAdapterPosition :ivar index: Logical index of the adapter. :vartype index: int :ivar node_id: Node ID of the network adapter. @@ -1694,17 +1712,19 @@ class NetworkAdapter(msrest.serialization.Model): :vartype link_speed: long :ivar status: Value indicating whether this adapter is valid. Possible values include: "Inactive", "Active". - :vartype status: str or ~azure.mgmt.databoxedge.models.NetworkAdapterStatus + :vartype status: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.NetworkAdapterStatus :param rdma_status: Value indicating whether this adapter is RDMA capable. Possible values include: "Incapable", "Capable". - :type rdma_status: str or ~azure.mgmt.databoxedge.models.NetworkAdapterRDMAStatus + :type rdma_status: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.NetworkAdapterRDMAStatus :param dhcp_status: Value indicating whether this adapter has DHCP enabled. Possible values include: "Disabled", "Enabled". - :type dhcp_status: str or ~azure.mgmt.databoxedge.models.NetworkAdapterDHCPStatus + :type dhcp_status: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.NetworkAdapterDHCPStatus :ivar ipv4_configuration: The IPv4 configuration of the network adapter. - :vartype ipv4_configuration: ~azure.mgmt.databoxedge.models.Ipv4Config + :vartype ipv4_configuration: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Ipv4Config :ivar ipv6_configuration: The IPv6 configuration of the network adapter. - :vartype ipv6_configuration: ~azure.mgmt.databoxedge.models.Ipv6Config + :vartype ipv6_configuration: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Ipv6Config :ivar ipv6_link_local_address: The IPv6 local address. :vartype ipv6_link_local_address: str :ivar dns_servers: The list of DNS Servers of the device. @@ -1773,7 +1793,7 @@ class NetworkAdapterPosition(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar network_group: The network group. Possible values include: "None", "NonRDMA", "RDMA". - :vartype network_group: str or ~azure.mgmt.databoxedge.models.NetworkGroup + :vartype network_group: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.NetworkGroup :ivar port: The port. :vartype port: int """ @@ -1809,7 +1829,8 @@ class NetworkSettings(ARMBaseModel): :ivar type: The hierarchical type of the object. :vartype type: str :ivar network_adapters: The network adapter list on the device. - :vartype network_adapters: list[~azure.mgmt.databoxedge.models.NetworkAdapter] + :vartype network_adapters: + list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.NetworkAdapter] """ _validation = { @@ -1849,7 +1870,7 @@ class Node(ARMBaseModel): :vartype type: str :ivar node_status: The current status of the individual node. Possible values include: "Unknown", "Up", "Down", "Rebooting", "ShuttingDown". - :vartype node_status: str or ~azure.mgmt.databoxedge.models.NodeStatus + :vartype node_status: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.NodeStatus :ivar node_chassis_serial_number: Serial number of the Chassis. :vartype node_chassis_serial_number: str :ivar node_serial_number: Serial number of the individual node. @@ -1911,7 +1932,7 @@ class NodeList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of Nodes. - :vartype value: list[~azure.mgmt.databoxedge.models.Node] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Node] """ _validation = { @@ -1936,11 +1957,12 @@ class Operation(msrest.serialization.Model): :param name: Name of the operation. :type name: str :param display: Properties displayed for the operation. - :type display: ~azure.mgmt.databoxedge.models.OperationDisplay + :type display: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.OperationDisplay :param origin: Origin of the operation. :type origin: str :param service_specification: Service specification. - :type service_specification: ~azure.mgmt.databoxedge.models.ServiceSpecification + :type service_specification: + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.ServiceSpecification """ _attribute_map = { @@ -1998,7 +2020,7 @@ class OperationsList(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. The value. - :type value: list[~azure.mgmt.databoxedge.models.Operation] + :type value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Operation] :param next_link: Link to the next set of results. :type next_link: str """ @@ -2033,21 +2055,23 @@ class Order(ARMBaseModel): :ivar type: The hierarchical type of the object. :vartype type: str :param contact_information: The contact details. - :type contact_information: ~azure.mgmt.databoxedge.models.ContactDetails + :type contact_information: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.ContactDetails :param shipping_address: The shipping address. - :type shipping_address: ~azure.mgmt.databoxedge.models.Address + :type shipping_address: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Address :param current_status: Current status of the order. - :type current_status: ~azure.mgmt.databoxedge.models.OrderStatus + :type current_status: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.OrderStatus :ivar order_history: List of status changes in the order. - :vartype order_history: list[~azure.mgmt.databoxedge.models.OrderStatus] + :vartype order_history: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.OrderStatus] :ivar serial_number: Serial number of the device. :vartype serial_number: str :ivar delivery_tracking_info: Tracking information for the package delivered to the customer whether it has an original or a replacement device. - :vartype delivery_tracking_info: list[~azure.mgmt.databoxedge.models.TrackingInfo] + :vartype delivery_tracking_info: + list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.TrackingInfo] :ivar return_tracking_info: Tracking information for the package returned from the customer whether it has an original or a replacement device. - :vartype return_tracking_info: list[~azure.mgmt.databoxedge.models.TrackingInfo] + :vartype return_tracking_info: + list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.TrackingInfo] """ _validation = { @@ -2093,7 +2117,7 @@ class OrderList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of orders. - :vartype value: list[~azure.mgmt.databoxedge.models.Order] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Order] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2128,7 +2152,7 @@ class OrderStatus(msrest.serialization.Model): include: "Untracked", "AwaitingFulfilment", "AwaitingPreparation", "AwaitingShipment", "Shipped", "Arriving", "Delivered", "ReplacementRequested", "LostDevice", "Declined", "ReturnInitiated", "AwaitingReturnShipment", "ShippedBack", "CollectedAtMicrosoft". - :type status: str or ~azure.mgmt.databoxedge.models.OrderState + :type status: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.OrderState :ivar update_date_time: Time of status update. :vartype update_date_time: ~datetime.datetime :param comments: Comments related to this status change. @@ -2177,11 +2201,11 @@ class PeriodicTimerEventTrigger(Trigger): :vartype type: str :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: "FileEvent", "PeriodicTimerEvent". - :type kind: str or ~azure.mgmt.databoxedge.models.TriggerEventType + :type kind: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.TriggerEventType :param source_info: Required. Periodic timer details. - :type source_info: ~azure.mgmt.databoxedge.models.PeriodicTimerSourceInfo + :type source_info: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.PeriodicTimerSourceInfo :param sink_info: Required. Role Sink information. - :type sink_info: ~azure.mgmt.databoxedge.models.RoleSinkInfo + :type sink_info: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.RoleSinkInfo :param custom_context_tag: A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module. @@ -2303,11 +2327,11 @@ class ResourceTypeSku(msrest.serialization.Model): :ivar name: The Sku name. Possible values include: "Gateway", "Edge", "TEA_1Node", "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", "TEA_4Node_UPS_Heater", "TMA", "TDC", "TCA_Large", "TCA_Small", "GPU". - :vartype name: str or ~azure.mgmt.databoxedge.models.SkuName + :vartype name: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuName :ivar kind: The Sku kind. :vartype kind: str :ivar tier: The Sku tier. Possible values include: "Standard". - :vartype tier: str or ~azure.mgmt.databoxedge.models.SkuTier + :vartype tier: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuTier :ivar family: The Sku family. :vartype family: str :ivar locations: Availability of the SKU for the region. @@ -2315,11 +2339,12 @@ class ResourceTypeSku(msrest.serialization.Model): :ivar api_versions: The API versions in which SKU is available. :vartype api_versions: list[str] :ivar location_info: Availability of the SKU for the location/zone. - :vartype location_info: list[~azure.mgmt.databoxedge.models.SkuLocationInfo] + :vartype location_info: + list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuLocationInfo] :ivar costs: The pricing info of the Sku. - :vartype costs: list[~azure.mgmt.databoxedge.models.SkuCost] + :vartype costs: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuCost] :ivar restrictions: Restrictions of the SKU availability. - :vartype restrictions: list[~azure.mgmt.databoxedge.models.SkuRestriction] + :vartype restrictions: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuRestriction] """ _validation = { @@ -2371,7 +2396,7 @@ class RoleList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The Value. - :vartype value: list[~azure.mgmt.databoxedge.models.Role] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Role] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2437,7 +2462,8 @@ class SecuritySettings(ARMBaseModel): (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual password should have at least 8 characters that are a combination of uppercase, lowercase, numeric, and special characters. - :type device_admin_password: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type device_admin_password: + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AsymmetricEncryptedSecret """ _validation = { @@ -2466,7 +2492,8 @@ class ServiceSpecification(msrest.serialization.Model): """Service specification. :param metric_specifications: Metric specification as defined by shoebox. - :type metric_specifications: list[~azure.mgmt.databoxedge.models.MetricSpecificationV1] + :type metric_specifications: + list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.MetricSpecificationV1] """ _attribute_map = { @@ -2498,27 +2525,32 @@ class Share(ARMBaseModel): :type description: str :param share_status: Required. Current status of the share. Possible values include: "Offline", "Unknown", "OK", "Updating", "NeedsAttention". - :type share_status: str or ~azure.mgmt.databoxedge.models.ShareStatus + :type share_status: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.ShareStatus :param monitoring_status: Required. Current monitoring status of the share. Possible values include: "Enabled", "Disabled". - :type monitoring_status: str or ~azure.mgmt.databoxedge.models.MonitoringStatus + :type monitoring_status: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.MonitoringStatus :param azure_container_info: Azure container mapping for the share. - :type azure_container_info: ~azure.mgmt.databoxedge.models.AzureContainerInfo + :type azure_container_info: + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AzureContainerInfo :param access_protocol: Required. Access protocol to be used by the share. Possible values include: "SMB", "NFS". - :type access_protocol: str or ~azure.mgmt.databoxedge.models.ShareAccessProtocol + :type access_protocol: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.ShareAccessProtocol :param user_access_rights: Mapping of users and corresponding access rights on the share (required for SMB protocol). - :type user_access_rights: list[~azure.mgmt.databoxedge.models.UserAccessRight] + :type user_access_rights: + list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.UserAccessRight] :param client_access_rights: List of IP addresses and corresponding access rights on the share(required for NFS protocol). - :type client_access_rights: list[~azure.mgmt.databoxedge.models.ClientAccessRight] + :type client_access_rights: + list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.ClientAccessRight] :param refresh_details: Details of the refresh job on this share. - :type refresh_details: ~azure.mgmt.databoxedge.models.RefreshDetails + :type refresh_details: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.RefreshDetails :ivar share_mappings: Share mount point to the role. - :vartype share_mappings: list[~azure.mgmt.databoxedge.models.MountPointMap] + :vartype share_mappings: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.MountPointMap] :param data_policy: Data policy of the share. Possible values include: "Cloud", "Local". - :type data_policy: str or ~azure.mgmt.databoxedge.models.DataPolicy + :type data_policy: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataPolicy """ _validation = { @@ -2573,7 +2605,7 @@ class ShareAccessRight(msrest.serialization.Model): :type share_id: str :param access_type: Required. Type of access to be allowed on the share for this user. Possible values include: "Change", "Read", "Custom". - :type access_type: str or ~azure.mgmt.databoxedge.models.ShareAccessType + :type access_type: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.ShareAccessType """ _validation = { @@ -2601,7 +2633,7 @@ class ShareList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of shares. - :vartype value: list[~azure.mgmt.databoxedge.models.Share] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Share] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2631,9 +2663,9 @@ class Sku(msrest.serialization.Model): :param name: SKU name. Possible values include: "Gateway", "Edge", "TEA_1Node", "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", "TEA_4Node_UPS_Heater", "TMA", "TDC", "TCA_Large", "TCA_Small", "GPU". - :type name: str or ~azure.mgmt.databoxedge.models.SkuName + :type name: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuName :param tier: The SKU tier. This is based on the SKU name. Possible values include: "Standard". - :type tier: str or ~azure.mgmt.databoxedge.models.SkuTier + :type tier: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuTier """ _attribute_map = { @@ -2735,15 +2767,16 @@ class SkuInformation(msrest.serialization.Model): :ivar locations: The locations where Sku is available. :vartype locations: list[str] :ivar location_info: The locations where Sku is available with zones and sites info. - :vartype location_info: list[~azure.mgmt.databoxedge.models.SkuLocationInfo] + :vartype location_info: + list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuLocationInfo] :ivar required_quota_ids: The required quotaIds for the sku to be available. :vartype required_quota_ids: list[str] :ivar required_features: The required features for the sku to be available. :vartype required_features: list[str] :ivar costs: The cost of the SKU. - :vartype costs: list[~azure.mgmt.databoxedge.models.SkuCost] + :vartype costs: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuCost] :ivar capabilities: The capabilities of the SKU. - :vartype capabilities: list[~azure.mgmt.databoxedge.models.SKUCapability] + :vartype capabilities: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.SKUCapability] """ _validation = { @@ -2801,7 +2834,7 @@ class SkuInformationList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: List of ResourceType Sku. - :vartype value: list[~azure.mgmt.databoxedge.models.ResourceTypeSku] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.ResourceTypeSku] :ivar next_link: Links to the next set of results. :vartype next_link: str """ @@ -2871,9 +2904,11 @@ class SkuRestriction(msrest.serialization.Model): :vartype values: list[str] :ivar reason_code: The SKU restriction reason. Possible values include: "NotAvailableForSubscription", "QuotaId". - :vartype reason_code: str or ~azure.mgmt.databoxedge.models.SkuRestrictionReasonCode + :vartype reason_code: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuRestrictionReasonCode :ivar restriction_info: Restriction of the SKU for the location/zone. - :vartype restriction_info: ~azure.mgmt.databoxedge.models.SkuRestrictionInfo + :vartype restriction_info: + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuRestrictionInfo """ _validation = { @@ -2946,10 +2981,11 @@ class StorageAccount(ARMBaseModel): :type description: str :param storage_account_status: Current status of the storage account. Possible values include: "OK", "Offline", "Unknown", "Updating", "NeedsAttention". - :type storage_account_status: str or ~azure.mgmt.databoxedge.models.StorageAccountStatus + :type storage_account_status: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.StorageAccountStatus :param data_policy: Data policy of the storage Account. Possible values include: "Cloud", "Local". - :type data_policy: str or ~azure.mgmt.databoxedge.models.DataPolicy + :type data_policy: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataPolicy :param storage_account_credential_id: Storage Account Credential Id. :type storage_account_credential_id: str :ivar blob_endpoint: BlobEndpoint of Storage Account. @@ -3010,18 +3046,18 @@ class StorageAccountCredential(ARMBaseModel): :param user_name: Username for the storage account. :type user_name: str :param account_key: Encrypted storage key. - :type account_key: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type account_key: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AsymmetricEncryptedSecret :param connection_string: Connection string for the storage account. Use this string if username and account key are not specified. :type connection_string: str :param ssl_status: Required. Signifies whether SSL needs to be enabled or not. Possible values include: "Enabled", "Disabled". - :type ssl_status: str or ~azure.mgmt.databoxedge.models.SSLStatus + :type ssl_status: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SSLStatus :param blob_domain_name: Blob end point for private clouds. :type blob_domain_name: str :param account_type: Required. Type of storage accessed on the storage account. Possible values include: "GeneralPurposeStorage", "BlobStorage". - :type account_type: str or ~azure.mgmt.databoxedge.models.AccountType + :type account_type: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AccountType :param storage_account_id: Id of the storage account. :type storage_account_id: str """ @@ -3070,7 +3106,8 @@ class StorageAccountCredentialList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The value. - :vartype value: list[~azure.mgmt.databoxedge.models.StorageAccountCredential] + :vartype value: + list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.StorageAccountCredential] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -3100,7 +3137,7 @@ class StorageAccountList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of storageAccounts. - :vartype value: list[~azure.mgmt.databoxedge.models.StorageAccount] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.StorageAccount] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -3128,7 +3165,8 @@ class SymmetricKey(msrest.serialization.Model): """Symmetric key for authentication. :param connection_string: Connection string based on the symmetric key. - :type connection_string: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type connection_string: + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AsymmetricEncryptedSecret """ _attribute_map = { @@ -3180,7 +3218,7 @@ class TriggerList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of triggers. - :vartype value: list[~azure.mgmt.databoxedge.models.Trigger] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Trigger] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -3211,7 +3249,8 @@ class UpdateDownloadProgress(msrest.serialization.Model): :ivar download_phase: The download phase. Possible values include: "Unknown", "Initializing", "Downloading", "Verifying". - :vartype download_phase: str or ~azure.mgmt.databoxedge.models.DownloadPhase + :vartype download_phase: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.DownloadPhase :ivar percent_complete: Percentage of completion. :vartype percent_complete: int :ivar total_bytes_to_download: Total bytes to download. @@ -3325,10 +3364,12 @@ class UpdateSummary(ARMBaseModel): :vartype total_number_of_updates_pending_install: int :ivar reboot_behavior: Indicates if updates are available and at least one of the updates needs a reboot. Possible values include: "NeverReboots", "RequiresReboot", "RequestReboot". - :vartype reboot_behavior: str or ~azure.mgmt.databoxedge.models.InstallRebootBehavior + :vartype reboot_behavior: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.InstallRebootBehavior :ivar ongoing_update_operation: The current update operation. Possible values include: "None", "Scan", "Download", "Install". - :vartype ongoing_update_operation: str or ~azure.mgmt.databoxedge.models.UpdateOperation + :vartype ongoing_update_operation: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.UpdateOperation :ivar in_progress_download_job_id: The job ID of the download job in progress. :vartype in_progress_download_job_id: str :ivar in_progress_install_job_id: The job ID of the install job in progress. @@ -3418,7 +3459,8 @@ class UploadCertificateRequest(msrest.serialization.Model): :param authentication_type: The authentication type. Possible values include: "Invalid", "AzureActiveDirectory". - :type authentication_type: str or ~azure.mgmt.databoxedge.models.AuthenticationType + :type authentication_type: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AuthenticationType :param certificate: Required. The base64 encoded certificate raw data. :type certificate: str """ @@ -3448,7 +3490,7 @@ class UploadCertificateResponse(msrest.serialization.Model): :param auth_type: Specifies authentication type. Possible values include: "Invalid", "AzureActiveDirectory". - :type auth_type: str or ~azure.mgmt.databoxedge.models.AuthenticationType + :type auth_type: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AuthenticationType :ivar resource_id: The resource ID of the Data Box Edge/Gateway device. :vartype resource_id: str :ivar aad_authority: Azure Active Directory tenant authority. @@ -3516,13 +3558,15 @@ class User(ARMBaseModel): :ivar type: The hierarchical type of the object. :vartype type: str :param encrypted_password: The password details. - :type encrypted_password: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type encrypted_password: + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AsymmetricEncryptedSecret :ivar share_access_rights: List of shares that the user has rights on. This field should not be specified during user creation. - :vartype share_access_rights: list[~azure.mgmt.databoxedge.models.ShareAccessRight] + :vartype share_access_rights: + list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.ShareAccessRight] :param user_type: Required. Type of the user. Possible values include: "Share", "LocalManagement", "ARM". - :type user_type: str or ~azure.mgmt.databoxedge.models.UserType + :type user_type: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.UserType """ _validation = { @@ -3561,7 +3605,7 @@ class UserAccessRight(msrest.serialization.Model): :type user_id: str :param access_type: Required. Type of access to be allowed for the user. Possible values include: "Change", "Read", "Custom". - :type access_type: str or ~azure.mgmt.databoxedge.models.ShareAccessType + :type access_type: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.ShareAccessType """ _validation = { @@ -3589,7 +3633,7 @@ class UserList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of users. - :vartype value: list[~azure.mgmt.databoxedge.models.User] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.User] :ivar next_link: Link to the next set of results. :vartype next_link: str """ diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/models/_models_py3.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/models/_models_py3.py index 8e675cb70172..e32e2df99e08 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/models/_models_py3.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/models/_models_py3.py @@ -131,9 +131,9 @@ class Alert(ARMBaseModel): :vartype recommendation: str :ivar severity: Severity of the alert. Possible values include: "Informational", "Warning", "Critical". - :vartype severity: str or ~azure.mgmt.databoxedge.models.AlertSeverity + :vartype severity: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AlertSeverity :ivar error_details: Error details of the alert. - :vartype error_details: ~azure.mgmt.databoxedge.models.AlertErrorDetails + :vartype error_details: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AlertErrorDetails :ivar detailed_information: Alert details. :vartype detailed_information: dict[str, str] """ @@ -219,7 +219,7 @@ class AlertList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The value. - :vartype value: list[~azure.mgmt.databoxedge.models.Alert] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Alert] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -255,7 +255,8 @@ class AsymmetricEncryptedSecret(msrest.serialization.Model): :type encryption_cert_thumbprint: str :param encryption_algorithm: Required. The algorithm used to encrypt "Value". Possible values include: "None", "AES256", "RSAES_PKCS1_v_1_5". - :type encryption_algorithm: str or ~azure.mgmt.databoxedge.models.EncryptionAlgorithm + :type encryption_algorithm: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.EncryptionAlgorithm """ _validation = { @@ -287,7 +288,7 @@ class Authentication(msrest.serialization.Model): """Authentication mechanism for IoT devices. :param symmetric_key: Symmetric key for authentication. - :type symmetric_key: ~azure.mgmt.databoxedge.models.SymmetricKey + :type symmetric_key: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SymmetricKey """ _attribute_map = { @@ -317,7 +318,8 @@ class AzureContainerInfo(msrest.serialization.Model): :type container_name: str :param data_format: Required. Storage format used for the file represented by the share. Possible values include: "BlockBlob", "PageBlob", "AzureFile". - :type data_format: str or ~azure.mgmt.databoxedge.models.AzureContainerDataFormat + :type data_format: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AzureContainerDataFormat """ _validation = { @@ -366,7 +368,7 @@ class BandwidthSchedule(ARMBaseModel): :param rate_in_mbps: Required. The bandwidth rate in Mbps. :type rate_in_mbps: int :param days: Required. The days of the week when this schedule is applicable. - :type days: list[str or ~azure.mgmt.databoxedge.models.DayOfWeek] + :type days: list[str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.DayOfWeek] """ _validation = { @@ -411,7 +413,7 @@ class BandwidthSchedulesList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of bandwidth schedules. - :vartype value: list[~azure.mgmt.databoxedge.models.BandwidthSchedule] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.BandwidthSchedule] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -444,7 +446,8 @@ class ClientAccessRight(msrest.serialization.Model): :type client: str :param access_permission: Required. Type of access to be allowed for the client. Possible values include: "NoAccess", "ReadOnly", "ReadWrite". - :type access_permission: str or ~azure.mgmt.databoxedge.models.ClientPermissionType + :type access_permission: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.ClientPermissionType """ _validation = { @@ -479,7 +482,7 @@ class CloudErrorBody(msrest.serialization.Model): interface. :type message: str :param details: A list of additional details about the error. - :type details: list[~azure.mgmt.databoxedge.models.CloudErrorBody] + :type details: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.CloudErrorBody] """ _attribute_map = { @@ -562,12 +565,14 @@ class Container(ARMBaseModel): :vartype type: str :ivar container_status: Current status of the container. Possible values include: "OK", "Offline", "Unknown", "Updating", "NeedsAttention". - :vartype container_status: str or ~azure.mgmt.databoxedge.models.ContainerStatus + :vartype container_status: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.ContainerStatus :param data_format: Required. DataFormat for Container. Possible values include: "BlockBlob", "PageBlob", "AzureFile". - :type data_format: str or ~azure.mgmt.databoxedge.models.AzureContainerDataFormat + :type data_format: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AzureContainerDataFormat :ivar refresh_details: Details of the refresh job on this container. - :vartype refresh_details: ~azure.mgmt.databoxedge.models.RefreshDetails + :vartype refresh_details: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.RefreshDetails :ivar created_date_time: The UTC time when container got created. :vartype created_date_time: ~datetime.datetime """ @@ -611,7 +616,7 @@ class ContainerList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of containers. - :vartype value: list[~azure.mgmt.databoxedge.models.Container] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Container] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -657,14 +662,14 @@ class DataBoxEdgeDevice(ARMBaseModel): to view and group this device (across resource groups). :type tags: dict[str, str] :param sku: The SKU type. - :type sku: ~azure.mgmt.databoxedge.models.Sku + :type sku: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Sku :param etag: The etag for the devices. :type etag: str :param data_box_edge_device_status: The status of the Data Box Edge/Gateway device. Possible values include: "ReadyToSetup", "Online", "Offline", "NeedsAttention", "Disconnected", "PartiallyDisconnected", "Maintenance". :type data_box_edge_device_status: str or - ~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceStatus + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataBoxEdgeDeviceStatus :ivar serial_number: The Serial Number of Data Box Edge/Gateway device. :vartype serial_number: str :param description: The Description of the Data Box Edge/Gateway device. @@ -673,7 +678,7 @@ class DataBoxEdgeDevice(ARMBaseModel): :type model_description: str :ivar device_type: The type of the Data Box Edge/Gateway device. Possible values include: "DataBoxEdgeDevice". - :vartype device_type: str or ~azure.mgmt.databoxedge.models.DeviceType + :vartype device_type: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.DeviceType :param friendly_name: The Data Box Edge/Gateway device name. :type friendly_name: str :ivar culture: The Data Box Edge/Gateway device culture. @@ -689,7 +694,8 @@ class DataBoxEdgeDevice(ARMBaseModel): :ivar device_hcs_version: The device software version number of the device (eg: 1.2.18105.6). :vartype device_hcs_version: str :ivar configured_role_types: Type of compute roles configured. - :vartype configured_role_types: list[str or ~azure.mgmt.databoxedge.models.RoleTypes] + :vartype configured_role_types: list[str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.RoleTypes] :ivar node_count: The number of nodes in the cluster. :vartype node_count: int """ @@ -824,7 +830,7 @@ class DataBoxEdgeDeviceList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of Data Box Edge/Gateway devices. - :vartype value: list[~azure.mgmt.databoxedge.models.DataBoxEdgeDevice] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataBoxEdgeDevice] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -879,11 +885,11 @@ class DataBoxEdgeSku(msrest.serialization.Model): :ivar name: The Sku name. Possible values include: "Gateway", "Edge", "TEA_1Node", "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", "TEA_4Node_UPS_Heater", "TMA", "TDC", "TCA_Large", "TCA_Small", "GPU". - :vartype name: str or ~azure.mgmt.databoxedge.models.SkuName + :vartype name: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuName :ivar kind: The Sku kind. :vartype kind: str :ivar tier: The Sku tier. Possible values include: "Standard". - :vartype tier: str or ~azure.mgmt.databoxedge.models.SkuTier + :vartype tier: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuTier :ivar size: The Sku kind. :vartype size: str :ivar family: The Sku family. @@ -893,17 +899,20 @@ class DataBoxEdgeSku(msrest.serialization.Model): :ivar api_versions: The API versions in which Sku is available. :vartype api_versions: list[str] :ivar location_info: Availability of the Sku for the location/zone/site. - :vartype location_info: list[~azure.mgmt.databoxedge.models.SkuLocationInfo] + :vartype location_info: + list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuLocationInfo] :ivar costs: The pricing info of the Sku. - :vartype costs: list[~azure.mgmt.databoxedge.models.SkuCost] + :vartype costs: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuCost] :ivar restrictions: Restriction info of the SKU. - :vartype restrictions: list[~azure.mgmt.databoxedge.models.SkuRestriction] + :vartype restrictions: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuRestriction] :ivar signup_option: Can the SKU be signed up.. Possible values include: "None", "Available". - :vartype signup_option: str or ~azure.mgmt.databoxedge.models.SkuSignupOption + :vartype signup_option: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuSignupOption :ivar version: Sku version. Possible values include: "Stable", "Preview". - :vartype version: str or ~azure.mgmt.databoxedge.models.SkuVersion + :vartype version: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuVersion :ivar availability: Is SKU available. Possible values include: "Available", "Unavailable". - :vartype availability: str or ~azure.mgmt.databoxedge.models.SkuAvailability + :vartype availability: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuAvailability """ _validation = { @@ -967,7 +976,7 @@ class DataBoxEdgeSkuList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: List of ResourceType Sku. - :vartype value: list[~azure.mgmt.databoxedge.models.DataBoxEdgeSku] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataBoxEdgeSku] :ivar next_link: Links to the next set of results. :vartype next_link: str """ @@ -1009,7 +1018,7 @@ class Trigger(ARMBaseModel): :vartype type: str :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: "FileEvent", "PeriodicTimerEvent". - :type kind: str or ~azure.mgmt.databoxedge.models.TriggerEventType + :type kind: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.TriggerEventType """ _validation = { @@ -1053,11 +1062,11 @@ class FileEventTrigger(Trigger): :vartype type: str :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: "FileEvent", "PeriodicTimerEvent". - :type kind: str or ~azure.mgmt.databoxedge.models.TriggerEventType + :type kind: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.TriggerEventType :param source_info: Required. File event source details. - :type source_info: ~azure.mgmt.databoxedge.models.FileSourceInfo + :type source_info: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.FileSourceInfo :param sink_info: Required. Role sink info. - :type sink_info: ~azure.mgmt.databoxedge.models.RoleSinkInfo + :type sink_info: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.RoleSinkInfo :param custom_context_tag: A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module. @@ -1135,7 +1144,7 @@ class ImageRepositoryCredential(msrest.serialization.Model): :param user_name: Required. Repository user name. :type user_name: str :param password: Repository user password. - :type password: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type password: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AsymmetricEncryptedSecret """ _validation = { @@ -1175,7 +1184,7 @@ class IoTDeviceInfo(msrest.serialization.Model): :param io_t_host_hub_id: Id for the IoT hub associated to the device. :type io_t_host_hub_id: str :param authentication: Encrypted IoT device/IoT edge device connection string. - :type authentication: ~azure.mgmt.databoxedge.models.Authentication + :type authentication: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Authentication """ _validation = { @@ -1216,7 +1225,8 @@ class IoTEdgeAgentInfo(msrest.serialization.Model): :param tag: Required. Image Tag. :type tag: str :param image_repository: Image repository details. - :type image_repository: ~azure.mgmt.databoxedge.models.ImageRepositoryCredential + :type image_repository: + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.ImageRepositoryCredential """ _validation = { @@ -1262,7 +1272,7 @@ class Role(ARMBaseModel): :vartype type: str :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", "ASA", "Functions", "Cognitive". - :type kind: str or ~azure.mgmt.databoxedge.models.RoleTypes + :type kind: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.RoleTypes """ _validation = { @@ -1306,25 +1316,27 @@ class IoTRole(Role): :vartype type: str :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", "ASA", "Functions", "Cognitive". - :type kind: str or ~azure.mgmt.databoxedge.models.RoleTypes + :type kind: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.RoleTypes :param host_platform: Host OS supported by the IoT role. Possible values include: "Windows", "Linux". - :type host_platform: str or ~azure.mgmt.databoxedge.models.PlatformType + :type host_platform: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.PlatformType :param io_t_device_details: IoT device metadata to which data box edge device needs to be connected. - :type io_t_device_details: ~azure.mgmt.databoxedge.models.IoTDeviceInfo + :type io_t_device_details: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.IoTDeviceInfo :param io_t_edge_device_details: IoT edge device to which the IoT role needs to be configured. - :type io_t_edge_device_details: ~azure.mgmt.databoxedge.models.IoTDeviceInfo + :type io_t_edge_device_details: + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.IoTDeviceInfo :param share_mappings: Mount points of shares in role(s). - :type share_mappings: list[~azure.mgmt.databoxedge.models.MountPointMap] + :type share_mappings: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.MountPointMap] :param io_t_edge_agent_info: Iot edge agent details to download the agent and bootstrap iot runtime. - :type io_t_edge_agent_info: ~azure.mgmt.databoxedge.models.IoTEdgeAgentInfo + :type io_t_edge_agent_info: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.IoTEdgeAgentInfo :ivar host_platform_type: Platform where the Iot runtime is hosted. Possible values include: "KubernetesCluster", "LinuxVM". - :vartype host_platform_type: str or ~azure.mgmt.databoxedge.models.HostPlatformType + :vartype host_platform_type: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.HostPlatformType :param role_status: Role status. Possible values include: "Enabled", "Disabled". - :type role_status: str or ~azure.mgmt.databoxedge.models.RoleStatus + :type role_status: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.RoleStatus """ _validation = { @@ -1454,7 +1466,7 @@ class Job(msrest.serialization.Model): :vartype type: str :ivar status: The current status of the job. Possible values include: "Invalid", "Running", "Succeeded", "Failed", "Canceled", "Paused", "Scheduled". - :vartype status: str or ~azure.mgmt.databoxedge.models.JobStatus + :vartype status: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.JobStatus :ivar start_time: The UTC date and time at which the job started. :vartype start_time: ~datetime.datetime :ivar end_time: The UTC date and time at which the job completed. @@ -1462,19 +1474,22 @@ class Job(msrest.serialization.Model): :ivar percent_complete: The percentage of the job that is complete. :vartype percent_complete: int :ivar error: The error details. - :vartype error: ~azure.mgmt.databoxedge.models.JobErrorDetails + :vartype error: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.JobErrorDetails :ivar job_type: The type of the job. Possible values include: "Invalid", "ScanForUpdates", "DownloadUpdates", "InstallUpdates", "RefreshShare", "RefreshContainer". - :vartype job_type: str or ~azure.mgmt.databoxedge.models.JobType + :vartype job_type: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.JobType :ivar current_stage: Current stage of the update operation. Possible values include: "Unknown", "Initial", "ScanStarted", "ScanComplete", "ScanFailed", "DownloadStarted", "DownloadComplete", "DownloadFailed", "InstallStarted", "InstallComplete", "InstallFailed", "RebootInitiated", "Success", "Failure", "RescanStarted", "RescanComplete", "RescanFailed". - :vartype current_stage: str or ~azure.mgmt.databoxedge.models.UpdateOperationStage + :vartype current_stage: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.UpdateOperationStage :ivar download_progress: The download progress. - :vartype download_progress: ~azure.mgmt.databoxedge.models.UpdateDownloadProgress + :vartype download_progress: + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.UpdateDownloadProgress :ivar install_progress: The install progress. - :vartype install_progress: ~azure.mgmt.databoxedge.models.UpdateInstallProgress + :vartype install_progress: + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.UpdateInstallProgress :ivar total_refresh_errors: Total number of errors encountered during the refresh process. :vartype total_refresh_errors: int :ivar error_manifest_file: Local share/remote container relative path to the error manifest @@ -1555,7 +1570,7 @@ class JobErrorDetails(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar error_details: The error details. - :vartype error_details: list[~azure.mgmt.databoxedge.models.JobErrorItem] + :vartype error_details: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.JobErrorItem] :ivar code: The code intended for programmatic access. :vartype code: str :ivar message: The message that describes the error in detail. @@ -1661,23 +1676,25 @@ class MetricSpecificationV1(msrest.serialization.Model): :type display_description: str :param unit: Metric units. Possible values include: "NotSpecified", "Percent", "Count", "Seconds", "Milliseconds", "Bytes", "BytesPerSecond", "CountPerSecond". - :type unit: str or ~azure.mgmt.databoxedge.models.MetricUnit + :type unit: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.MetricUnit :param aggregation_type: Metric aggregation type. Possible values include: "NotSpecified", "None", "Average", "Minimum", "Maximum", "Total", "Count". - :type aggregation_type: str or ~azure.mgmt.databoxedge.models.MetricAggregationType + :type aggregation_type: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.MetricAggregationType :param dimensions: Metric dimensions, other than default dimension which is resource. - :type dimensions: list[~azure.mgmt.databoxedge.models.MetricDimensionV1] + :type dimensions: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.MetricDimensionV1] :param fill_gap_with_zero: Set true to fill the gaps with zero. :type fill_gap_with_zero: bool :param category: Metric category. Possible values include: "Capacity", "Transaction". - :type category: str or ~azure.mgmt.databoxedge.models.MetricCategory + :type category: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.MetricCategory :param resource_id_dimension_name_override: Resource name override. :type resource_id_dimension_name_override: str :param supported_time_grain_types: Support granularity of metrics. - :type supported_time_grain_types: list[str or ~azure.mgmt.databoxedge.models.TimeGrain] + :type supported_time_grain_types: list[str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.TimeGrain] :param supported_aggregation_types: Support metric aggregation type. :type supported_aggregation_types: list[str or - ~azure.mgmt.databoxedge.models.MetricAggregationType] + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.MetricAggregationType] """ _attribute_map = { @@ -1738,9 +1755,9 @@ class MountPointMap(msrest.serialization.Model): :ivar mount_point: Mount point for the share. :vartype mount_point: str :ivar mount_type: Mounting type. Possible values include: "Volume", "HostPath". - :vartype mount_type: str or ~azure.mgmt.databoxedge.models.MountType + :vartype mount_type: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.MountType :ivar role_type: Role type. Possible values include: "IOT", "ASA", "Functions", "Cognitive". - :vartype role_type: str or ~azure.mgmt.databoxedge.models.RoleTypes + :vartype role_type: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.RoleTypes """ _validation = { @@ -1781,7 +1798,8 @@ class NetworkAdapter(msrest.serialization.Model): :ivar adapter_id: Instance ID of network adapter. :vartype adapter_id: str :ivar adapter_position: Hardware position of network adapter. - :vartype adapter_position: ~azure.mgmt.databoxedge.models.NetworkAdapterPosition + :vartype adapter_position: + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.NetworkAdapterPosition :ivar index: Logical index of the adapter. :vartype index: int :ivar node_id: Node ID of the network adapter. @@ -1796,17 +1814,19 @@ class NetworkAdapter(msrest.serialization.Model): :vartype link_speed: long :ivar status: Value indicating whether this adapter is valid. Possible values include: "Inactive", "Active". - :vartype status: str or ~azure.mgmt.databoxedge.models.NetworkAdapterStatus + :vartype status: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.NetworkAdapterStatus :param rdma_status: Value indicating whether this adapter is RDMA capable. Possible values include: "Incapable", "Capable". - :type rdma_status: str or ~azure.mgmt.databoxedge.models.NetworkAdapterRDMAStatus + :type rdma_status: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.NetworkAdapterRDMAStatus :param dhcp_status: Value indicating whether this adapter has DHCP enabled. Possible values include: "Disabled", "Enabled". - :type dhcp_status: str or ~azure.mgmt.databoxedge.models.NetworkAdapterDHCPStatus + :type dhcp_status: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.NetworkAdapterDHCPStatus :ivar ipv4_configuration: The IPv4 configuration of the network adapter. - :vartype ipv4_configuration: ~azure.mgmt.databoxedge.models.Ipv4Config + :vartype ipv4_configuration: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Ipv4Config :ivar ipv6_configuration: The IPv6 configuration of the network adapter. - :vartype ipv6_configuration: ~azure.mgmt.databoxedge.models.Ipv6Config + :vartype ipv6_configuration: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Ipv6Config :ivar ipv6_link_local_address: The IPv6 local address. :vartype ipv6_link_local_address: str :ivar dns_servers: The list of DNS Servers of the device. @@ -1878,7 +1898,7 @@ class NetworkAdapterPosition(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar network_group: The network group. Possible values include: "None", "NonRDMA", "RDMA". - :vartype network_group: str or ~azure.mgmt.databoxedge.models.NetworkGroup + :vartype network_group: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.NetworkGroup :ivar port: The port. :vartype port: int """ @@ -1914,7 +1934,8 @@ class NetworkSettings(ARMBaseModel): :ivar type: The hierarchical type of the object. :vartype type: str :ivar network_adapters: The network adapter list on the device. - :vartype network_adapters: list[~azure.mgmt.databoxedge.models.NetworkAdapter] + :vartype network_adapters: + list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.NetworkAdapter] """ _validation = { @@ -1954,7 +1975,7 @@ class Node(ARMBaseModel): :vartype type: str :ivar node_status: The current status of the individual node. Possible values include: "Unknown", "Up", "Down", "Rebooting", "ShuttingDown". - :vartype node_status: str or ~azure.mgmt.databoxedge.models.NodeStatus + :vartype node_status: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.NodeStatus :ivar node_chassis_serial_number: Serial number of the Chassis. :vartype node_chassis_serial_number: str :ivar node_serial_number: Serial number of the individual node. @@ -2016,7 +2037,7 @@ class NodeList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of Nodes. - :vartype value: list[~azure.mgmt.databoxedge.models.Node] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Node] """ _validation = { @@ -2041,11 +2062,12 @@ class Operation(msrest.serialization.Model): :param name: Name of the operation. :type name: str :param display: Properties displayed for the operation. - :type display: ~azure.mgmt.databoxedge.models.OperationDisplay + :type display: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.OperationDisplay :param origin: Origin of the operation. :type origin: str :param service_specification: Service specification. - :type service_specification: ~azure.mgmt.databoxedge.models.ServiceSpecification + :type service_specification: + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.ServiceSpecification """ _attribute_map = { @@ -2113,7 +2135,7 @@ class OperationsList(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. The value. - :type value: list[~azure.mgmt.databoxedge.models.Operation] + :type value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Operation] :param next_link: Link to the next set of results. :type next_link: str """ @@ -2151,21 +2173,23 @@ class Order(ARMBaseModel): :ivar type: The hierarchical type of the object. :vartype type: str :param contact_information: The contact details. - :type contact_information: ~azure.mgmt.databoxedge.models.ContactDetails + :type contact_information: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.ContactDetails :param shipping_address: The shipping address. - :type shipping_address: ~azure.mgmt.databoxedge.models.Address + :type shipping_address: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Address :param current_status: Current status of the order. - :type current_status: ~azure.mgmt.databoxedge.models.OrderStatus + :type current_status: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.OrderStatus :ivar order_history: List of status changes in the order. - :vartype order_history: list[~azure.mgmt.databoxedge.models.OrderStatus] + :vartype order_history: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.OrderStatus] :ivar serial_number: Serial number of the device. :vartype serial_number: str :ivar delivery_tracking_info: Tracking information for the package delivered to the customer whether it has an original or a replacement device. - :vartype delivery_tracking_info: list[~azure.mgmt.databoxedge.models.TrackingInfo] + :vartype delivery_tracking_info: + list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.TrackingInfo] :ivar return_tracking_info: Tracking information for the package returned from the customer whether it has an original or a replacement device. - :vartype return_tracking_info: list[~azure.mgmt.databoxedge.models.TrackingInfo] + :vartype return_tracking_info: + list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.TrackingInfo] """ _validation = { @@ -2215,7 +2239,7 @@ class OrderList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of orders. - :vartype value: list[~azure.mgmt.databoxedge.models.Order] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Order] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2250,7 +2274,7 @@ class OrderStatus(msrest.serialization.Model): include: "Untracked", "AwaitingFulfilment", "AwaitingPreparation", "AwaitingShipment", "Shipped", "Arriving", "Delivered", "ReplacementRequested", "LostDevice", "Declined", "ReturnInitiated", "AwaitingReturnShipment", "ShippedBack", "CollectedAtMicrosoft". - :type status: str or ~azure.mgmt.databoxedge.models.OrderState + :type status: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.OrderState :ivar update_date_time: Time of status update. :vartype update_date_time: ~datetime.datetime :param comments: Comments related to this status change. @@ -2302,11 +2326,11 @@ class PeriodicTimerEventTrigger(Trigger): :vartype type: str :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: "FileEvent", "PeriodicTimerEvent". - :type kind: str or ~azure.mgmt.databoxedge.models.TriggerEventType + :type kind: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.TriggerEventType :param source_info: Required. Periodic timer details. - :type source_info: ~azure.mgmt.databoxedge.models.PeriodicTimerSourceInfo + :type source_info: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.PeriodicTimerSourceInfo :param sink_info: Required. Role Sink information. - :type sink_info: ~azure.mgmt.databoxedge.models.RoleSinkInfo + :type sink_info: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.RoleSinkInfo :param custom_context_tag: A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module. @@ -2441,11 +2465,11 @@ class ResourceTypeSku(msrest.serialization.Model): :ivar name: The Sku name. Possible values include: "Gateway", "Edge", "TEA_1Node", "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", "TEA_4Node_UPS_Heater", "TMA", "TDC", "TCA_Large", "TCA_Small", "GPU". - :vartype name: str or ~azure.mgmt.databoxedge.models.SkuName + :vartype name: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuName :ivar kind: The Sku kind. :vartype kind: str :ivar tier: The Sku tier. Possible values include: "Standard". - :vartype tier: str or ~azure.mgmt.databoxedge.models.SkuTier + :vartype tier: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuTier :ivar family: The Sku family. :vartype family: str :ivar locations: Availability of the SKU for the region. @@ -2453,11 +2477,12 @@ class ResourceTypeSku(msrest.serialization.Model): :ivar api_versions: The API versions in which SKU is available. :vartype api_versions: list[str] :ivar location_info: Availability of the SKU for the location/zone. - :vartype location_info: list[~azure.mgmt.databoxedge.models.SkuLocationInfo] + :vartype location_info: + list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuLocationInfo] :ivar costs: The pricing info of the Sku. - :vartype costs: list[~azure.mgmt.databoxedge.models.SkuCost] + :vartype costs: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuCost] :ivar restrictions: Restrictions of the SKU availability. - :vartype restrictions: list[~azure.mgmt.databoxedge.models.SkuRestriction] + :vartype restrictions: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuRestriction] """ _validation = { @@ -2509,7 +2534,7 @@ class RoleList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The Value. - :vartype value: list[~azure.mgmt.databoxedge.models.Role] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Role] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2577,7 +2602,8 @@ class SecuritySettings(ARMBaseModel): (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual password should have at least 8 characters that are a combination of uppercase, lowercase, numeric, and special characters. - :type device_admin_password: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type device_admin_password: + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AsymmetricEncryptedSecret """ _validation = { @@ -2608,7 +2634,8 @@ class ServiceSpecification(msrest.serialization.Model): """Service specification. :param metric_specifications: Metric specification as defined by shoebox. - :type metric_specifications: list[~azure.mgmt.databoxedge.models.MetricSpecificationV1] + :type metric_specifications: + list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.MetricSpecificationV1] """ _attribute_map = { @@ -2642,27 +2669,32 @@ class Share(ARMBaseModel): :type description: str :param share_status: Required. Current status of the share. Possible values include: "Offline", "Unknown", "OK", "Updating", "NeedsAttention". - :type share_status: str or ~azure.mgmt.databoxedge.models.ShareStatus + :type share_status: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.ShareStatus :param monitoring_status: Required. Current monitoring status of the share. Possible values include: "Enabled", "Disabled". - :type monitoring_status: str or ~azure.mgmt.databoxedge.models.MonitoringStatus + :type monitoring_status: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.MonitoringStatus :param azure_container_info: Azure container mapping for the share. - :type azure_container_info: ~azure.mgmt.databoxedge.models.AzureContainerInfo + :type azure_container_info: + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AzureContainerInfo :param access_protocol: Required. Access protocol to be used by the share. Possible values include: "SMB", "NFS". - :type access_protocol: str or ~azure.mgmt.databoxedge.models.ShareAccessProtocol + :type access_protocol: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.ShareAccessProtocol :param user_access_rights: Mapping of users and corresponding access rights on the share (required for SMB protocol). - :type user_access_rights: list[~azure.mgmt.databoxedge.models.UserAccessRight] + :type user_access_rights: + list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.UserAccessRight] :param client_access_rights: List of IP addresses and corresponding access rights on the share(required for NFS protocol). - :type client_access_rights: list[~azure.mgmt.databoxedge.models.ClientAccessRight] + :type client_access_rights: + list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.ClientAccessRight] :param refresh_details: Details of the refresh job on this share. - :type refresh_details: ~azure.mgmt.databoxedge.models.RefreshDetails + :type refresh_details: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.RefreshDetails :ivar share_mappings: Share mount point to the role. - :vartype share_mappings: list[~azure.mgmt.databoxedge.models.MountPointMap] + :vartype share_mappings: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.MountPointMap] :param data_policy: Data policy of the share. Possible values include: "Cloud", "Local". - :type data_policy: str or ~azure.mgmt.databoxedge.models.DataPolicy + :type data_policy: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataPolicy """ _validation = { @@ -2727,7 +2759,7 @@ class ShareAccessRight(msrest.serialization.Model): :type share_id: str :param access_type: Required. Type of access to be allowed on the share for this user. Possible values include: "Change", "Read", "Custom". - :type access_type: str or ~azure.mgmt.databoxedge.models.ShareAccessType + :type access_type: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.ShareAccessType """ _validation = { @@ -2758,7 +2790,7 @@ class ShareList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of shares. - :vartype value: list[~azure.mgmt.databoxedge.models.Share] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Share] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -2788,9 +2820,9 @@ class Sku(msrest.serialization.Model): :param name: SKU name. Possible values include: "Gateway", "Edge", "TEA_1Node", "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", "TEA_4Node_UPS_Heater", "TMA", "TDC", "TCA_Large", "TCA_Small", "GPU". - :type name: str or ~azure.mgmt.databoxedge.models.SkuName + :type name: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuName :param tier: The SKU tier. This is based on the SKU name. Possible values include: "Standard". - :type tier: str or ~azure.mgmt.databoxedge.models.SkuTier + :type tier: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuTier """ _attribute_map = { @@ -2895,15 +2927,16 @@ class SkuInformation(msrest.serialization.Model): :ivar locations: The locations where Sku is available. :vartype locations: list[str] :ivar location_info: The locations where Sku is available with zones and sites info. - :vartype location_info: list[~azure.mgmt.databoxedge.models.SkuLocationInfo] + :vartype location_info: + list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuLocationInfo] :ivar required_quota_ids: The required quotaIds for the sku to be available. :vartype required_quota_ids: list[str] :ivar required_features: The required features for the sku to be available. :vartype required_features: list[str] :ivar costs: The cost of the SKU. - :vartype costs: list[~azure.mgmt.databoxedge.models.SkuCost] + :vartype costs: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuCost] :ivar capabilities: The capabilities of the SKU. - :vartype capabilities: list[~azure.mgmt.databoxedge.models.SKUCapability] + :vartype capabilities: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.SKUCapability] """ _validation = { @@ -2961,7 +2994,7 @@ class SkuInformationList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: List of ResourceType Sku. - :vartype value: list[~azure.mgmt.databoxedge.models.ResourceTypeSku] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.ResourceTypeSku] :ivar next_link: Links to the next set of results. :vartype next_link: str """ @@ -3031,9 +3064,11 @@ class SkuRestriction(msrest.serialization.Model): :vartype values: list[str] :ivar reason_code: The SKU restriction reason. Possible values include: "NotAvailableForSubscription", "QuotaId". - :vartype reason_code: str or ~azure.mgmt.databoxedge.models.SkuRestrictionReasonCode + :vartype reason_code: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuRestrictionReasonCode :ivar restriction_info: Restriction of the SKU for the location/zone. - :vartype restriction_info: ~azure.mgmt.databoxedge.models.SkuRestrictionInfo + :vartype restriction_info: + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuRestrictionInfo """ _validation = { @@ -3106,10 +3141,11 @@ class StorageAccount(ARMBaseModel): :type description: str :param storage_account_status: Current status of the storage account. Possible values include: "OK", "Offline", "Unknown", "Updating", "NeedsAttention". - :type storage_account_status: str or ~azure.mgmt.databoxedge.models.StorageAccountStatus + :type storage_account_status: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.StorageAccountStatus :param data_policy: Data policy of the storage Account. Possible values include: "Cloud", "Local". - :type data_policy: str or ~azure.mgmt.databoxedge.models.DataPolicy + :type data_policy: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataPolicy :param storage_account_credential_id: Storage Account Credential Id. :type storage_account_credential_id: str :ivar blob_endpoint: BlobEndpoint of Storage Account. @@ -3175,18 +3211,18 @@ class StorageAccountCredential(ARMBaseModel): :param user_name: Username for the storage account. :type user_name: str :param account_key: Encrypted storage key. - :type account_key: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type account_key: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AsymmetricEncryptedSecret :param connection_string: Connection string for the storage account. Use this string if username and account key are not specified. :type connection_string: str :param ssl_status: Required. Signifies whether SSL needs to be enabled or not. Possible values include: "Enabled", "Disabled". - :type ssl_status: str or ~azure.mgmt.databoxedge.models.SSLStatus + :type ssl_status: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SSLStatus :param blob_domain_name: Blob end point for private clouds. :type blob_domain_name: str :param account_type: Required. Type of storage accessed on the storage account. Possible values include: "GeneralPurposeStorage", "BlobStorage". - :type account_type: str or ~azure.mgmt.databoxedge.models.AccountType + :type account_type: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AccountType :param storage_account_id: Id of the storage account. :type storage_account_id: str """ @@ -3244,7 +3280,8 @@ class StorageAccountCredentialList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The value. - :vartype value: list[~azure.mgmt.databoxedge.models.StorageAccountCredential] + :vartype value: + list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.StorageAccountCredential] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -3274,7 +3311,7 @@ class StorageAccountList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of storageAccounts. - :vartype value: list[~azure.mgmt.databoxedge.models.StorageAccount] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.StorageAccount] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -3302,7 +3339,8 @@ class SymmetricKey(msrest.serialization.Model): """Symmetric key for authentication. :param connection_string: Connection string based on the symmetric key. - :type connection_string: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type connection_string: + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AsymmetricEncryptedSecret """ _attribute_map = { @@ -3361,7 +3399,7 @@ class TriggerList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of triggers. - :vartype value: list[~azure.mgmt.databoxedge.models.Trigger] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Trigger] :ivar next_link: Link to the next set of results. :vartype next_link: str """ @@ -3392,7 +3430,8 @@ class UpdateDownloadProgress(msrest.serialization.Model): :ivar download_phase: The download phase. Possible values include: "Unknown", "Initializing", "Downloading", "Verifying". - :vartype download_phase: str or ~azure.mgmt.databoxedge.models.DownloadPhase + :vartype download_phase: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.DownloadPhase :ivar percent_complete: Percentage of completion. :vartype percent_complete: int :ivar total_bytes_to_download: Total bytes to download. @@ -3506,10 +3545,12 @@ class UpdateSummary(ARMBaseModel): :vartype total_number_of_updates_pending_install: int :ivar reboot_behavior: Indicates if updates are available and at least one of the updates needs a reboot. Possible values include: "NeverReboots", "RequiresReboot", "RequestReboot". - :vartype reboot_behavior: str or ~azure.mgmt.databoxedge.models.InstallRebootBehavior + :vartype reboot_behavior: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.InstallRebootBehavior :ivar ongoing_update_operation: The current update operation. Possible values include: "None", "Scan", "Download", "Install". - :vartype ongoing_update_operation: str or ~azure.mgmt.databoxedge.models.UpdateOperation + :vartype ongoing_update_operation: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.UpdateOperation :ivar in_progress_download_job_id: The job ID of the download job in progress. :vartype in_progress_download_job_id: str :ivar in_progress_install_job_id: The job ID of the install job in progress. @@ -3604,7 +3645,8 @@ class UploadCertificateRequest(msrest.serialization.Model): :param authentication_type: The authentication type. Possible values include: "Invalid", "AzureActiveDirectory". - :type authentication_type: str or ~azure.mgmt.databoxedge.models.AuthenticationType + :type authentication_type: str or + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AuthenticationType :param certificate: Required. The base64 encoded certificate raw data. :type certificate: str """ @@ -3637,7 +3679,7 @@ class UploadCertificateResponse(msrest.serialization.Model): :param auth_type: Specifies authentication type. Possible values include: "Invalid", "AzureActiveDirectory". - :type auth_type: str or ~azure.mgmt.databoxedge.models.AuthenticationType + :type auth_type: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AuthenticationType :ivar resource_id: The resource ID of the Data Box Edge/Gateway device. :vartype resource_id: str :ivar aad_authority: Azure Active Directory tenant authority. @@ -3707,13 +3749,15 @@ class User(ARMBaseModel): :ivar type: The hierarchical type of the object. :vartype type: str :param encrypted_password: The password details. - :type encrypted_password: ~azure.mgmt.databoxedge.models.AsymmetricEncryptedSecret + :type encrypted_password: + ~azure.mgmt.databoxedge.v2020_05_01_preview.models.AsymmetricEncryptedSecret :ivar share_access_rights: List of shares that the user has rights on. This field should not be specified during user creation. - :vartype share_access_rights: list[~azure.mgmt.databoxedge.models.ShareAccessRight] + :vartype share_access_rights: + list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.ShareAccessRight] :param user_type: Required. Type of the user. Possible values include: "Share", "LocalManagement", "ARM". - :type user_type: str or ~azure.mgmt.databoxedge.models.UserType + :type user_type: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.UserType """ _validation = { @@ -3755,7 +3799,7 @@ class UserAccessRight(msrest.serialization.Model): :type user_id: str :param access_type: Required. Type of access to be allowed for the user. Possible values include: "Change", "Read", "Custom". - :type access_type: str or ~azure.mgmt.databoxedge.models.ShareAccessType + :type access_type: str or ~azure.mgmt.databoxedge.v2020_05_01_preview.models.ShareAccessType """ _validation = { @@ -3786,7 +3830,7 @@ class UserList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of users. - :vartype value: list[~azure.mgmt.databoxedge.models.User] + :vartype value: list[~azure.mgmt.databoxedge.v2020_05_01_preview.models.User] :ivar next_link: Link to the next set of results. :vartype next_link: str """ diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_alerts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_alerts_operations.py index 8389c476100e..1c1362f56b1f 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_alerts_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_alerts_operations.py @@ -30,7 +30,7 @@ class AlertsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AlertList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.AlertList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.AlertList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.AlertList"] @@ -140,7 +140,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Alert, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Alert + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Alert :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Alert"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_available_skus_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_available_skus_operations.py index b8ecebaae9f2..01d14b89253e 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_available_skus_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_available_skus_operations.py @@ -30,7 +30,7 @@ class AvailableSkusOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -56,7 +56,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataBoxEdgeSkuList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.DataBoxEdgeSkuList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataBoxEdgeSkuList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeSkuList"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_bandwidth_schedules_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_bandwidth_schedules_operations.py index 29029559d82e..b827a2edab30 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_bandwidth_schedules_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_bandwidth_schedules_operations.py @@ -32,7 +32,7 @@ class BandwidthSchedulesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BandwidthSchedulesList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.BandwidthSchedulesList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.BandwidthSchedulesList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedulesList"] @@ -140,7 +140,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: BandwidthSchedule, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.BandwidthSchedule + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.BandwidthSchedule :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedule"] @@ -261,15 +261,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param parameters: The bandwidth schedule to be added or updated. - :type parameters: ~azure.mgmt.databoxedge.models.BandwidthSchedule + :type parameters: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.BandwidthSchedule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BandwidthSchedule or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.BandwidthSchedule] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_05_01_preview.models.BandwidthSchedule] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -385,8 +385,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_containers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_containers_operations.py index 27b68e1363d8..a73b349932d3 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_containers_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_containers_operations.py @@ -32,7 +32,7 @@ class ContainersOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -67,7 +67,7 @@ def list_by_storage_account( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ContainerList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.ContainerList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.ContainerList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.ContainerList"] @@ -151,7 +151,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Container, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Container + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Container :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Container"] @@ -280,15 +280,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param container: The container properties. - :type container: ~azure.mgmt.databoxedge.models.Container + :type container: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Container :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Container or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.Container] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Container] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -411,8 +411,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -537,8 +537,8 @@ def begin_refresh( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_devices_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_devices_operations.py index 1342af6402e6..884339fc563c 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_devices_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_devices_operations.py @@ -32,7 +32,7 @@ class DevicesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list_by_subscription( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataBoxEdgeDeviceList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] @@ -136,7 +136,7 @@ def list_by_resource_group( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataBoxEdgeDeviceList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] @@ -212,7 +212,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataBoxEdgeDevice, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevice + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataBoxEdgeDevice :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] @@ -325,15 +325,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param data_box_edge_device: The resource object. - :type data_box_edge_device: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevice + :type data_box_edge_device: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataBoxEdgeDevice :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DataBoxEdgeDevice or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.DataBoxEdgeDevice] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataBoxEdgeDevice] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -442,8 +442,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -507,10 +507,10 @@ def update( :param resource_group_name: The resource group name. :type resource_group_name: str :param parameters: The resource parameters. - :type parameters: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevicePatch + :type parameters: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataBoxEdgeDevicePatch :keyword callable cls: A custom type or function that will be passed the direct response :return: DataBoxEdgeDevice, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.DataBoxEdgeDevice + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataBoxEdgeDevice :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] @@ -621,8 +621,8 @@ def begin_download_updates( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -686,7 +686,7 @@ def get_extended_information( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataBoxEdgeDeviceExtendedInfo, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.DataBoxEdgeDeviceExtendedInfo + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.DataBoxEdgeDeviceExtendedInfo :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceExtendedInfo"] @@ -792,8 +792,8 @@ def begin_install_updates( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -857,7 +857,7 @@ def get_network_settings( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: NetworkSettings, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.NetworkSettings + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.NetworkSettings :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSettings"] @@ -963,8 +963,8 @@ def begin_scan_for_updates( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1079,11 +1079,11 @@ def begin_create_or_update_security_settings( :param resource_group_name: The resource group name. :type resource_group_name: str :param security_settings: The security settings. - :type security_settings: ~azure.mgmt.databoxedge.models.SecuritySettings + :type security_settings: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.SecuritySettings :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1151,7 +1151,7 @@ def get_update_summary( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: UpdateSummary, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.UpdateSummary + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.UpdateSummary :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.UpdateSummary"] @@ -1210,10 +1210,10 @@ def upload_certificate( :param resource_group_name: The resource group name. :type resource_group_name: str :param parameters: The upload certificate request. - :type parameters: ~azure.mgmt.databoxedge.models.UploadCertificateRequest + :type parameters: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.UploadCertificateRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: UploadCertificateResponse, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.UploadCertificateResponse + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.UploadCertificateResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.UploadCertificateResponse"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_jobs_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_jobs_operations.py index 32fe4d85b897..1eac9900ad85 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_jobs_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_jobs_operations.py @@ -29,7 +29,7 @@ class JobsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -64,7 +64,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Job, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Job + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Job :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_nodes_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_nodes_operations.py index a3437b97714e..5e672337610e 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_nodes_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_nodes_operations.py @@ -30,7 +30,7 @@ class NodesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either NodeList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.NodeList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.NodeList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.NodeList"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_operations.py index 84e6342b8ad7..75fddac15261 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_operations.py @@ -30,7 +30,7 @@ class Operations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -56,7 +56,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OperationsList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.OperationsList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.OperationsList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationsList"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_operations_status_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_operations_status_operations.py index a6703db0d11e..b0b1a13be6d9 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_operations_status_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_operations_status_operations.py @@ -29,7 +29,7 @@ class OperationsStatusOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -64,7 +64,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Job, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Job + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Job :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_orders_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_orders_operations.py index d6f98a697a4a..367baeaac122 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_orders_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_orders_operations.py @@ -32,7 +32,7 @@ class OrdersOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -64,7 +64,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OrderList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.OrderList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.OrderList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.OrderList"] @@ -141,7 +141,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Order, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Order + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Order :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Order"] @@ -258,15 +258,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param order: The order to be created or updated. - :type order: ~azure.mgmt.databoxedge.models.Order + :type order: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Order :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Order or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.Order] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Order] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -377,8 +377,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_roles_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_roles_operations.py index e20d745bec16..8b933caa218d 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_roles_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_roles_operations.py @@ -32,7 +32,7 @@ class RolesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either RoleList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.RoleList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.RoleList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.RoleList"] @@ -140,7 +140,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Role, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Role + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Role :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Role"] @@ -261,15 +261,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param role: The role properties. - :type role: ~azure.mgmt.databoxedge.models.Role + :type role: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Role :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Role or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.Role] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Role] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -385,8 +385,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_shares_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_shares_operations.py index bb978c9dd8d5..3a44b369eb61 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_shares_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_shares_operations.py @@ -32,7 +32,7 @@ class SharesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -64,7 +64,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ShareList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.ShareList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.ShareList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.ShareList"] @@ -144,7 +144,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Share, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Share + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Share :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Share"] @@ -267,15 +267,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param share: The share properties. - :type share: ~azure.mgmt.databoxedge.models.Share + :type share: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Share :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Share or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.Share] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Share] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -391,8 +391,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -510,8 +510,8 @@ def begin_refresh( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_skus_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_skus_operations.py index e025401f3a7c..ccd712a63908 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_skus_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_skus_operations.py @@ -30,7 +30,7 @@ class SkusOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def list( :type filter: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either SkuInformationList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.SkuInformationList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.SkuInformationList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.SkuInformationList"] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_storage_account_credentials_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_storage_account_credentials_operations.py index 470e57f115f6..1e20a36ee799 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_storage_account_credentials_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_storage_account_credentials_operations.py @@ -32,7 +32,7 @@ class StorageAccountCredentialsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -64,7 +64,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountCredentialList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.StorageAccountCredentialList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.StorageAccountCredentialList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredentialList"] @@ -142,7 +142,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccountCredential, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.StorageAccountCredential + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.StorageAccountCredential :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredential"] @@ -263,15 +263,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param storage_account_credential: The storage account credential. - :type storage_account_credential: ~azure.mgmt.databoxedge.models.StorageAccountCredential + :type storage_account_credential: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.StorageAccountCredential :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either StorageAccountCredential or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.StorageAccountCredential] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_05_01_preview.models.StorageAccountCredential] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -387,8 +387,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_storage_accounts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_storage_accounts_operations.py index 0a85720f4995..1c5a65220bb0 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_storage_accounts_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_storage_accounts_operations.py @@ -32,7 +32,7 @@ class StorageAccountsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -64,7 +64,7 @@ def list_by_data_box_edge_device( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either StorageAccountList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.StorageAccountList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.StorageAccountList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountList"] @@ -144,7 +144,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: StorageAccount, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.StorageAccount + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.StorageAccount :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] @@ -267,15 +267,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param storage_account: The StorageAccount properties. - :type storage_account: ~azure.mgmt.databoxedge.models.StorageAccount + :type storage_account: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.StorageAccount :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either StorageAccount or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.StorageAccount] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_05_01_preview.models.StorageAccount] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -391,8 +391,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_triggers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_triggers_operations.py index 87a1c0369e38..52c027b9dae5 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_triggers_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_triggers_operations.py @@ -32,7 +32,7 @@ class TriggersOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -66,7 +66,7 @@ def list_by_data_box_edge_device( :type filter: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either TriggerList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.TriggerList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.TriggerList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.TriggerList"] @@ -146,7 +146,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Trigger, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.Trigger + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Trigger :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.Trigger"] @@ -267,15 +267,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param trigger: The trigger. - :type trigger: ~azure.mgmt.databoxedge.models.Trigger + :type trigger: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.Trigger :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Trigger or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.Trigger] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_05_01_preview.models.Trigger] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -391,8 +391,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_users_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_users_operations.py index 05ba1780380d..ab9302f39c18 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_users_operations.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/operations/_users_operations.py @@ -32,7 +32,7 @@ class UsersOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.databoxedge.models + :type models: ~azure.mgmt.databoxedge.v2020_05_01_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -65,7 +65,7 @@ def list_by_data_box_edge_device( :type filter: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either UserList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.models.UserList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_05_01_preview.models.UserList] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.UserList"] @@ -145,7 +145,7 @@ def get( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: User, or the result of cls(response) - :rtype: ~azure.mgmt.databoxedge.models.User + :rtype: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.User :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.User"] @@ -267,15 +267,15 @@ def begin_create_or_update( :param resource_group_name: The resource group name. :type resource_group_name: str :param user: The user details. - :type user: ~azure.mgmt.databoxedge.models.User + :type user: ~azure.mgmt.databoxedge.v2020_05_01_preview.models.User :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either User or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.models.User] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_05_01_preview.models.User] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -391,8 +391,8 @@ def begin_delete( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/__init__.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/__init__.py new file mode 100644 index 000000000000..e63196b6b98f --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/__init__.py @@ -0,0 +1,16 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._data_box_edge_management_client import DataBoxEdgeManagementClient +__all__ = ['DataBoxEdgeManagementClient'] + +try: + from ._patch import patch_sdk # type: ignore + patch_sdk() +except ImportError: + pass diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/_configuration.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/_configuration.py new file mode 100644 index 000000000000..a5b47c318d7a --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/_configuration.py @@ -0,0 +1,70 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + from azure.core.credentials import TokenCredential + +VERSION = "unknown" + +class DataBoxEdgeManagementClientConfiguration(Configuration): + """Configuration for DataBoxEdgeManagementClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The subscription ID. + :type subscription_id: str + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(DataBoxEdgeManagementClientConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2020-09-01" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'mgmt-databoxedge/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs # type: Any + ): + # type: (...) -> None + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/_data_box_edge_management_client.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/_data_box_edge_management_client.py new file mode 100644 index 000000000000..d17c09ae83c7 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/_data_box_edge_management_client.py @@ -0,0 +1,174 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import TYPE_CHECKING + +from azure.mgmt.core import ARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Optional + + from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse + +from ._configuration import DataBoxEdgeManagementClientConfiguration +from .operations import Operations +from .operations import AvailableSkusOperations +from .operations import DevicesOperations +from .operations import AlertsOperations +from .operations import BandwidthSchedulesOperations +from .operations import JobsOperations +from .operations import NodesOperations +from .operations import OperationsStatusOperations +from .operations import OrdersOperations +from .operations import RolesOperations +from .operations import AddonsOperations +from .operations import MonitoringConfigOperations +from .operations import SharesOperations +from .operations import StorageAccountCredentialsOperations +from .operations import StorageAccountsOperations +from .operations import ContainersOperations +from .operations import TriggersOperations +from .operations import UsersOperations +from . import models + + +class DataBoxEdgeManagementClient(object): + """The DataBoxEdge Client. + + :ivar operations: Operations operations + :vartype operations: azure.mgmt.databoxedge.v2020_09_01.operations.Operations + :ivar available_skus: AvailableSkusOperations operations + :vartype available_skus: azure.mgmt.databoxedge.v2020_09_01.operations.AvailableSkusOperations + :ivar devices: DevicesOperations operations + :vartype devices: azure.mgmt.databoxedge.v2020_09_01.operations.DevicesOperations + :ivar alerts: AlertsOperations operations + :vartype alerts: azure.mgmt.databoxedge.v2020_09_01.operations.AlertsOperations + :ivar bandwidth_schedules: BandwidthSchedulesOperations operations + :vartype bandwidth_schedules: azure.mgmt.databoxedge.v2020_09_01.operations.BandwidthSchedulesOperations + :ivar jobs: JobsOperations operations + :vartype jobs: azure.mgmt.databoxedge.v2020_09_01.operations.JobsOperations + :ivar nodes: NodesOperations operations + :vartype nodes: azure.mgmt.databoxedge.v2020_09_01.operations.NodesOperations + :ivar operations_status: OperationsStatusOperations operations + :vartype operations_status: azure.mgmt.databoxedge.v2020_09_01.operations.OperationsStatusOperations + :ivar orders: OrdersOperations operations + :vartype orders: azure.mgmt.databoxedge.v2020_09_01.operations.OrdersOperations + :ivar roles: RolesOperations operations + :vartype roles: azure.mgmt.databoxedge.v2020_09_01.operations.RolesOperations + :ivar addons: AddonsOperations operations + :vartype addons: azure.mgmt.databoxedge.v2020_09_01.operations.AddonsOperations + :ivar monitoring_config: MonitoringConfigOperations operations + :vartype monitoring_config: azure.mgmt.databoxedge.v2020_09_01.operations.MonitoringConfigOperations + :ivar shares: SharesOperations operations + :vartype shares: azure.mgmt.databoxedge.v2020_09_01.operations.SharesOperations + :ivar storage_account_credentials: StorageAccountCredentialsOperations operations + :vartype storage_account_credentials: azure.mgmt.databoxedge.v2020_09_01.operations.StorageAccountCredentialsOperations + :ivar storage_accounts: StorageAccountsOperations operations + :vartype storage_accounts: azure.mgmt.databoxedge.v2020_09_01.operations.StorageAccountsOperations + :ivar containers: ContainersOperations operations + :vartype containers: azure.mgmt.databoxedge.v2020_09_01.operations.ContainersOperations + :ivar triggers: TriggersOperations operations + :vartype triggers: azure.mgmt.databoxedge.v2020_09_01.operations.TriggersOperations + :ivar users: UsersOperations operations + :vartype users: azure.mgmt.databoxedge.v2020_09_01.operations.UsersOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The subscription ID. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + base_url=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> None + if not base_url: + base_url = 'https://management.azure.com' + self._config = DataBoxEdgeManagementClientConfiguration(credential, subscription_id, **kwargs) + self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize) + self.available_skus = AvailableSkusOperations( + self._client, self._config, self._serialize, self._deserialize) + self.devices = DevicesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.alerts = AlertsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.bandwidth_schedules = BandwidthSchedulesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.jobs = JobsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.nodes = NodesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.operations_status = OperationsStatusOperations( + self._client, self._config, self._serialize, self._deserialize) + self.orders = OrdersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.roles = RolesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.addons = AddonsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.monitoring_config = MonitoringConfigOperations( + self._client, self._config, self._serialize, self._deserialize) + self.shares = SharesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.storage_account_credentials = StorageAccountCredentialsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.storage_accounts = StorageAccountsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.containers = ContainersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.triggers = TriggersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.users = UsersOperations( + self._client, self._config, self._serialize, self._deserialize) + + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + + def close(self): + # type: () -> None + self._client.close() + + def __enter__(self): + # type: () -> DataBoxEdgeManagementClient + self._client.__enter__() + return self + + def __exit__(self, *exc_details): + # type: (Any) -> None + self._client.__exit__(*exc_details) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/_metadata.json b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/_metadata.json new file mode 100644 index 000000000000..95fd599d3039 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/_metadata.json @@ -0,0 +1,120 @@ +{ + "chosen_version": "2020-09-01", + "total_api_version_list": ["2020-09-01"], + "client": { + "name": "DataBoxEdgeManagementClient", + "filename": "_data_box_edge_management_client", + "description": "The DataBoxEdge Client.", + "base_url": "\u0027https://management.azure.com\u0027", + "custom_base_url": null, + "azure_arm": true, + "has_lro_operations": true, + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"DataBoxEdgeManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"DataBoxEdgeManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" + }, + "global_parameters": { + "sync": { + "credential": { + "signature": "credential, # type: \"TokenCredential\"", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials.TokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id, # type: str", + "description": "The subscription ID.", + "docstring_type": "str", + "required": true + } + }, + "async": { + "credential": { + "signature": "credential: \"AsyncTokenCredential\",", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id: str,", + "description": "The subscription ID.", + "docstring_type": "str", + "required": true + } + }, + "constant": { + }, + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } + }, + "config": { + "credential": true, + "credential_scopes": ["https://management.azure.com/.default"], + "credential_default_policy_type": "BearerTokenCredentialPolicy", + "credential_default_policy_type_has_async_version": true, + "credential_key_header_name": null, + "sync_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\": [\"TokenCredential\"]}}}", + "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": { + "operations": "Operations", + "available_skus": "AvailableSkusOperations", + "devices": "DevicesOperations", + "alerts": "AlertsOperations", + "bandwidth_schedules": "BandwidthSchedulesOperations", + "jobs": "JobsOperations", + "nodes": "NodesOperations", + "operations_status": "OperationsStatusOperations", + "orders": "OrdersOperations", + "roles": "RolesOperations", + "addons": "AddonsOperations", + "monitoring_config": "MonitoringConfigOperations", + "shares": "SharesOperations", + "storage_account_credentials": "StorageAccountCredentialsOperations", + "storage_accounts": "StorageAccountsOperations", + "containers": "ContainersOperations", + "triggers": "TriggersOperations", + "users": "UsersOperations" + } +} \ No newline at end of file diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/__init__.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/__init__.py new file mode 100644 index 000000000000..c33d46ee91d8 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/__init__.py @@ -0,0 +1,10 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._data_box_edge_management_client import DataBoxEdgeManagementClient +__all__ = ['DataBoxEdgeManagementClient'] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/_configuration.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/_configuration.py new file mode 100644 index 000000000000..ee8f3c8f4c5e --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/_configuration.py @@ -0,0 +1,66 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +VERSION = "unknown" + +class DataBoxEdgeManagementClientConfiguration(Configuration): + """Configuration for DataBoxEdgeManagementClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The subscription ID. + :type subscription_id: str + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + **kwargs: Any + ) -> None: + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(DataBoxEdgeManagementClientConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2020-09-01" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'mgmt-databoxedge/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs: Any + ) -> None: + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/_data_box_edge_management_client.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/_data_box_edge_management_client.py new file mode 100644 index 000000000000..dc7f95bad1ec --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/_data_box_edge_management_client.py @@ -0,0 +1,167 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, Optional, TYPE_CHECKING + +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core import AsyncARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +from ._configuration import DataBoxEdgeManagementClientConfiguration +from .operations import Operations +from .operations import AvailableSkusOperations +from .operations import DevicesOperations +from .operations import AlertsOperations +from .operations import BandwidthSchedulesOperations +from .operations import JobsOperations +from .operations import NodesOperations +from .operations import OperationsStatusOperations +from .operations import OrdersOperations +from .operations import RolesOperations +from .operations import AddonsOperations +from .operations import MonitoringConfigOperations +from .operations import SharesOperations +from .operations import StorageAccountCredentialsOperations +from .operations import StorageAccountsOperations +from .operations import ContainersOperations +from .operations import TriggersOperations +from .operations import UsersOperations +from .. import models + + +class DataBoxEdgeManagementClient(object): + """The DataBoxEdge Client. + + :ivar operations: Operations operations + :vartype operations: azure.mgmt.databoxedge.v2020_09_01.aio.operations.Operations + :ivar available_skus: AvailableSkusOperations operations + :vartype available_skus: azure.mgmt.databoxedge.v2020_09_01.aio.operations.AvailableSkusOperations + :ivar devices: DevicesOperations operations + :vartype devices: azure.mgmt.databoxedge.v2020_09_01.aio.operations.DevicesOperations + :ivar alerts: AlertsOperations operations + :vartype alerts: azure.mgmt.databoxedge.v2020_09_01.aio.operations.AlertsOperations + :ivar bandwidth_schedules: BandwidthSchedulesOperations operations + :vartype bandwidth_schedules: azure.mgmt.databoxedge.v2020_09_01.aio.operations.BandwidthSchedulesOperations + :ivar jobs: JobsOperations operations + :vartype jobs: azure.mgmt.databoxedge.v2020_09_01.aio.operations.JobsOperations + :ivar nodes: NodesOperations operations + :vartype nodes: azure.mgmt.databoxedge.v2020_09_01.aio.operations.NodesOperations + :ivar operations_status: OperationsStatusOperations operations + :vartype operations_status: azure.mgmt.databoxedge.v2020_09_01.aio.operations.OperationsStatusOperations + :ivar orders: OrdersOperations operations + :vartype orders: azure.mgmt.databoxedge.v2020_09_01.aio.operations.OrdersOperations + :ivar roles: RolesOperations operations + :vartype roles: azure.mgmt.databoxedge.v2020_09_01.aio.operations.RolesOperations + :ivar addons: AddonsOperations operations + :vartype addons: azure.mgmt.databoxedge.v2020_09_01.aio.operations.AddonsOperations + :ivar monitoring_config: MonitoringConfigOperations operations + :vartype monitoring_config: azure.mgmt.databoxedge.v2020_09_01.aio.operations.MonitoringConfigOperations + :ivar shares: SharesOperations operations + :vartype shares: azure.mgmt.databoxedge.v2020_09_01.aio.operations.SharesOperations + :ivar storage_account_credentials: StorageAccountCredentialsOperations operations + :vartype storage_account_credentials: azure.mgmt.databoxedge.v2020_09_01.aio.operations.StorageAccountCredentialsOperations + :ivar storage_accounts: StorageAccountsOperations operations + :vartype storage_accounts: azure.mgmt.databoxedge.v2020_09_01.aio.operations.StorageAccountsOperations + :ivar containers: ContainersOperations operations + :vartype containers: azure.mgmt.databoxedge.v2020_09_01.aio.operations.ContainersOperations + :ivar triggers: TriggersOperations operations + :vartype triggers: azure.mgmt.databoxedge.v2020_09_01.aio.operations.TriggersOperations + :ivar users: UsersOperations operations + :vartype users: azure.mgmt.databoxedge.v2020_09_01.aio.operations.UsersOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The subscription ID. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + base_url: Optional[str] = None, + **kwargs: Any + ) -> None: + if not base_url: + base_url = 'https://management.azure.com' + self._config = DataBoxEdgeManagementClientConfiguration(credential, subscription_id, **kwargs) + self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize) + self.available_skus = AvailableSkusOperations( + self._client, self._config, self._serialize, self._deserialize) + self.devices = DevicesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.alerts = AlertsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.bandwidth_schedules = BandwidthSchedulesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.jobs = JobsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.nodes = NodesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.operations_status = OperationsStatusOperations( + self._client, self._config, self._serialize, self._deserialize) + self.orders = OrdersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.roles = RolesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.addons = AddonsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.monitoring_config = MonitoringConfigOperations( + self._client, self._config, self._serialize, self._deserialize) + self.shares = SharesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.storage_account_credentials = StorageAccountCredentialsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.storage_accounts = StorageAccountsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.containers = ContainersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.triggers = TriggersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.users = UsersOperations( + self._client, self._config, self._serialize, self._deserialize) + + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "DataBoxEdgeManagementClient": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/__init__.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/__init__.py new file mode 100644 index 000000000000..d70057be6458 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/__init__.py @@ -0,0 +1,47 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._operations import Operations +from ._available_skus_operations import AvailableSkusOperations +from ._devices_operations import DevicesOperations +from ._alerts_operations import AlertsOperations +from ._bandwidth_schedules_operations import BandwidthSchedulesOperations +from ._jobs_operations import JobsOperations +from ._nodes_operations import NodesOperations +from ._operations_status_operations import OperationsStatusOperations +from ._orders_operations import OrdersOperations +from ._roles_operations import RolesOperations +from ._addons_operations import AddonsOperations +from ._monitoring_config_operations import MonitoringConfigOperations +from ._shares_operations import SharesOperations +from ._storage_account_credentials_operations import StorageAccountCredentialsOperations +from ._storage_accounts_operations import StorageAccountsOperations +from ._containers_operations import ContainersOperations +from ._triggers_operations import TriggersOperations +from ._users_operations import UsersOperations + +__all__ = [ + 'Operations', + 'AvailableSkusOperations', + 'DevicesOperations', + 'AlertsOperations', + 'BandwidthSchedulesOperations', + 'JobsOperations', + 'NodesOperations', + 'OperationsStatusOperations', + 'OrdersOperations', + 'RolesOperations', + 'AddonsOperations', + 'MonitoringConfigOperations', + 'SharesOperations', + 'StorageAccountCredentialsOperations', + 'StorageAccountsOperations', + 'ContainersOperations', + 'TriggersOperations', + 'UsersOperations', +] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_addons_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_addons_operations.py new file mode 100644 index 000000000000..e2da3a2ef7d4 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_addons_operations.py @@ -0,0 +1,450 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class AddonsOperations: + """AddonsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_role( + self, + device_name: str, + role_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.AddonList"]: + """Lists all the addons configured in the role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AddonList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.AddonList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AddonList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_role.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AddonList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_role.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons'} # type: ignore + + async def get( + self, + device_name: str, + role_name: str, + addon_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Addon": + """Gets a specific addon by name. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param addon_name: The addon name. + :type addon_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Addon, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.Addon + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Addon"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Addon', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + role_name: str, + addon_name: str, + resource_group_name: str, + addon: "_models.Addon", + **kwargs + ) -> Optional["_models.Addon"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Addon"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(addon, 'Addon') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Addon', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + role_name: str, + addon_name: str, + resource_group_name: str, + addon: "_models.Addon", + **kwargs + ) -> AsyncLROPoller["_models.Addon"]: + """Create or update a addon. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param addon_name: The addon name. + :type addon_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param addon: The addon properties. + :type addon: ~azure.mgmt.databoxedge.v2020_09_01.models.Addon + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Addon or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_09_01.models.Addon] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Addon"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + role_name=role_name, + addon_name=addon_name, + resource_group_name=resource_group_name, + addon=addon, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Addon', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + role_name: str, + addon_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + role_name: str, + addon_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the addon on the device. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param addon_name: The addon name. + :type addon_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + role_name=role_name, + addon_name=addon_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_alerts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_alerts_operations.py new file mode 100644 index 000000000000..5b134957aeda --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_alerts_operations.py @@ -0,0 +1,180 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class AlertsOperations: + """AlertsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.AlertList"]: + """Gets all the alerts for a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AlertList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.AlertList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AlertList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AlertList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Alert": + """Gets an alert by name. + + Gets an alert by name. + + :param device_name: The device name. + :type device_name: str + :param name: The alert name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Alert, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.Alert + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Alert"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Alert', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_available_skus_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_available_skus_operations.py new file mode 100644 index 000000000000..cb20cc6d9af5 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_available_skus_operations.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class AvailableSkusOperations: + """AvailableSkusOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.DataBoxEdgeSkuList"]: + """List all the available Skus and information related to them. + + List all the available Skus and information related to them. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataBoxEdgeSkuList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeSkuList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeSkuList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeSkuList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataBoxEdge/availableSkus'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_bandwidth_schedules_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_bandwidth_schedules_operations.py new file mode 100644 index 000000000000..dd7b1aab3acf --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_bandwidth_schedules_operations.py @@ -0,0 +1,428 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class BandwidthSchedulesOperations: + """BandwidthSchedulesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.BandwidthSchedulesList"]: + """Gets all the bandwidth schedules for a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either BandwidthSchedulesList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.BandwidthSchedulesList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedulesList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('BandwidthSchedulesList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.BandwidthSchedule": + """Gets the properties of the specified bandwidth schedule. + + :param device_name: The device name. + :type device_name: str + :param name: The bandwidth schedule name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: BandwidthSchedule, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.BandwidthSchedule + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('BandwidthSchedule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + parameters: "_models.BandwidthSchedule", + **kwargs + ) -> Optional["_models.BandwidthSchedule"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.BandwidthSchedule"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'BandwidthSchedule') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('BandwidthSchedule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + name: str, + resource_group_name: str, + parameters: "_models.BandwidthSchedule", + **kwargs + ) -> AsyncLROPoller["_models.BandwidthSchedule"]: + """Creates or updates a bandwidth schedule. + + :param device_name: The device name. + :type device_name: str + :param name: The bandwidth schedule name which needs to be added/updated. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The bandwidth schedule to be added or updated. + :type parameters: ~azure.mgmt.databoxedge.v2020_09_01.models.BandwidthSchedule + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either BandwidthSchedule or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_09_01.models.BandwidthSchedule] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedule"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('BandwidthSchedule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified bandwidth schedule. + + :param device_name: The device name. + :type device_name: str + :param name: The bandwidth schedule name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_containers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_containers_operations.py new file mode 100644 index 000000000000..a1cc1ba15971 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_containers_operations.py @@ -0,0 +1,580 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ContainersOperations: + """ContainersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_storage_account( + self, + device_name: str, + storage_account_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.ContainerList"]: + """Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device. + + Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The storage Account name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ContainerList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.ContainerList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ContainerList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_storage_account.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ContainerList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_storage_account.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers'} # type: ignore + + async def get( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Container": + """Gets a container by name. + + Gets a container by name. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container Name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Container, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.Container + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Container"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Container', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + container: "_models.Container", + **kwargs + ) -> Optional["_models.Container"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Container"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(container, 'Container') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Container', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + container: "_models.Container", + **kwargs + ) -> AsyncLROPoller["_models.Container"]: + """Creates a new container or updates an existing container on the device. + + Creates a new container or updates an existing container on the device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param container: The container properties. + :type container: ~azure.mgmt.databoxedge.v2020_09_01.models.Container + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Container or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_09_01.models.Container] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Container"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + storage_account_name=storage_account_name, + container_name=container_name, + resource_group_name=resource_group_name, + container=container, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Container', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the container on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + storage_account_name=storage_account_name, + container_name=container_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + async def _refresh_initial( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._refresh_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _refresh_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}/refresh'} # type: ignore + + async def begin_refresh( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Refreshes the container metadata with the data from the cloud. + + Refreshes the container metadata with the data from the cloud. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._refresh_initial( + device_name=device_name, + storage_account_name=storage_account_name, + container_name=container_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_refresh.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}/refresh'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_devices_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_devices_operations.py new file mode 100644 index 000000000000..a57be9277501 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_devices_operations.py @@ -0,0 +1,1363 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class DevicesOperations: + """DevicesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_subscription( + self, + expand: Optional[str] = None, + **kwargs + ) -> AsyncIterable["_models.DataBoxEdgeDeviceList"]: + """Gets all the Data Box Edge/Data Box Gateway devices in a subscription. + + :param expand: Specify $expand=details to populate additional fields related to the resource or + Specify $skipToken=:code:`` to populate the next page in the list. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDeviceList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeDeviceList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + expand: Optional[str] = None, + **kwargs + ) -> AsyncIterable["_models.DataBoxEdgeDeviceList"]: + """Gets all the Data Box Edge/Data Box Gateway devices in a resource group. + + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param expand: Specify $expand=details to populate additional fields related to the resource or + Specify $skipToken=:code:`` to populate the next page in the list. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDeviceList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeDeviceList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices'} # type: ignore + + async def get( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.DataBoxEdgeDevice": + """Gets the properties of the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDevice, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDevice + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + resource_group_name: str, + data_box_edge_device: "_models.DataBoxEdgeDevice", + **kwargs + ) -> "_models.DataBoxEdgeDevice": + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(data_box_edge_device, 'DataBoxEdgeDevice') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + resource_group_name: str, + data_box_edge_device: "_models.DataBoxEdgeDevice", + **kwargs + ) -> AsyncLROPoller["_models.DataBoxEdgeDevice"]: + """Creates or updates a Data Box Edge/Data Box Gateway resource. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param data_box_edge_device: The resource object. + :type data_box_edge_device: ~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDevice + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either DataBoxEdgeDevice or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDevice] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + resource_group_name=resource_group_name, + data_box_edge_device=data_box_edge_device, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + async def update( + self, + device_name: str, + resource_group_name: str, + parameters: "_models.DataBoxEdgeDevicePatch", + **kwargs + ) -> "_models.DataBoxEdgeDevice": + """Modifies a Data Box Edge/Data Box Gateway resource. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The resource parameters. + :type parameters: ~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDevicePatch + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDevice, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDevice + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DataBoxEdgeDevicePatch') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + async def _download_updates_initial( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._download_updates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _download_updates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/downloadUpdates'} # type: ignore + + async def begin_download_updates( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Downloads the updates on a Data Box Edge/Data Box Gateway device. + + Downloads the updates on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._download_updates_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_download_updates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/downloadUpdates'} # type: ignore + + async def generate_certificate( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.GenerateCertResponse": + """Generates certificate for activation key. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: GenerateCertResponse, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.GenerateCertResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.GenerateCertResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.generate_certificate.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('GenerateCertResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + generate_certificate.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/generateCertificate'} # type: ignore + + async def get_extended_information( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.DataBoxEdgeDeviceExtendedInfo": + """Gets additional information for the specified Azure Stack Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDeviceExtendedInfo, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDeviceExtendedInfo + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceExtendedInfo"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get_extended_information.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDeviceExtendedInfo', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_extended_information.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/getExtendedInformation'} # type: ignore + + async def _install_updates_initial( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._install_updates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _install_updates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/installUpdates'} # type: ignore + + async def begin_install_updates( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Installs the updates on the Data Box Edge/Data Box Gateway device. + + Installs the updates on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._install_updates_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_install_updates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/installUpdates'} # type: ignore + + async def get_network_settings( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.NetworkSettings": + """Gets the network settings of the specified Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkSettings, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.NetworkSettings + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSettings"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get_network_settings.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkSettings', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_network_settings.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/networkSettings/default'} # type: ignore + + async def _scan_for_updates_initial( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._scan_for_updates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _scan_for_updates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/scanForUpdates'} # type: ignore + + async def begin_scan_for_updates( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Scans for updates on a Data Box Edge/Data Box Gateway device. + + Scans for updates on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._scan_for_updates_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_scan_for_updates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/scanForUpdates'} # type: ignore + + async def _create_or_update_security_settings_initial( + self, + device_name: str, + resource_group_name: str, + security_settings: "_models.SecuritySettings", + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_security_settings_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(security_settings, 'SecuritySettings') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _create_or_update_security_settings_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/securitySettings/default/update'} # type: ignore + + async def begin_create_or_update_security_settings( + self, + device_name: str, + resource_group_name: str, + security_settings: "_models.SecuritySettings", + **kwargs + ) -> AsyncLROPoller[None]: + """Updates the security settings on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param security_settings: The security settings. + :type security_settings: ~azure.mgmt.databoxedge.v2020_09_01.models.SecuritySettings + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_security_settings_initial( + device_name=device_name, + resource_group_name=resource_group_name, + security_settings=security_settings, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update_security_settings.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/securitySettings/default/update'} # type: ignore + + async def update_extended_information( + self, + device_name: str, + resource_group_name: str, + parameters: "_models.DataBoxEdgeDeviceExtendedInfoPatch", + **kwargs + ) -> "_models.DataBoxEdgeDeviceExtendedInfo": + """Gets additional information for the specified Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The patch object. + :type parameters: ~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDeviceExtendedInfoPatch + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDeviceExtendedInfo, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDeviceExtendedInfo + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceExtendedInfo"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_extended_information.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DataBoxEdgeDeviceExtendedInfoPatch') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDeviceExtendedInfo', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_extended_information.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/updateExtendedInformation'} # type: ignore + + async def get_update_summary( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.UpdateSummary": + """Gets information about the availability of updates based on the last scan of the device. It also gets information about any ongoing download or install jobs on the device. + + Gets information about the availability of updates based on the last scan of the device. It + also gets information about any ongoing download or install jobs on the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: UpdateSummary, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.UpdateSummary + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UpdateSummary"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get_update_summary.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('UpdateSummary', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_update_summary.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/updateSummary/default'} # type: ignore + + async def upload_certificate( + self, + device_name: str, + resource_group_name: str, + parameters: "_models.UploadCertificateRequest", + **kwargs + ) -> "_models.UploadCertificateResponse": + """Uploads registration certificate for the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The upload certificate request. + :type parameters: ~azure.mgmt.databoxedge.v2020_09_01.models.UploadCertificateRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :return: UploadCertificateResponse, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.UploadCertificateResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UploadCertificateResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.upload_certificate.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'UploadCertificateRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('UploadCertificateResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + upload_certificate.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/uploadCertificate'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_jobs_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_jobs_operations.py new file mode 100644 index 000000000000..11ea6d59f07a --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_jobs_operations.py @@ -0,0 +1,105 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class JobsOperations: + """JobsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Job": + """Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The job name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Job, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.Job + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Job', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/jobs/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_monitoring_config_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_monitoring_config_operations.py new file mode 100644 index 000000000000..af835149a368 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_monitoring_config_operations.py @@ -0,0 +1,440 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class MonitoringConfigOperations: + """MonitoringConfigOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + device_name: str, + role_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.MonitoringMetricConfigurationList"]: + """Lists metric configurations in a role. + + Lists metric configurations in a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either MonitoringMetricConfigurationList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.MonitoringMetricConfigurationList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.MonitoringMetricConfigurationList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('MonitoringMetricConfigurationList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig'} # type: ignore + + async def get( + self, + device_name: str, + role_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.MonitoringMetricConfiguration": + """Gets a metric configuration of a role. + + Gets a metric configuration of a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: MonitoringMetricConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.MonitoringMetricConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.MonitoringMetricConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('MonitoringMetricConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + role_name: str, + resource_group_name: str, + monitoring_metric_configuration: "_models.MonitoringMetricConfiguration", + **kwargs + ) -> Optional["_models.MonitoringMetricConfiguration"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.MonitoringMetricConfiguration"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(monitoring_metric_configuration, 'MonitoringMetricConfiguration') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('MonitoringMetricConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + role_name: str, + resource_group_name: str, + monitoring_metric_configuration: "_models.MonitoringMetricConfiguration", + **kwargs + ) -> AsyncLROPoller["_models.MonitoringMetricConfiguration"]: + """Creates a new metric configuration or updates an existing one for a role. + + Creates a new metric configuration or updates an existing one for a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param monitoring_metric_configuration: The metric configuration. + :type monitoring_metric_configuration: ~azure.mgmt.databoxedge.v2020_09_01.models.MonitoringMetricConfiguration + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either MonitoringMetricConfiguration or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_09_01.models.MonitoringMetricConfiguration] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.MonitoringMetricConfiguration"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + role_name=role_name, + resource_group_name=resource_group_name, + monitoring_metric_configuration=monitoring_metric_configuration, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('MonitoringMetricConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + role_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + async def begin_delete( + self, + device_name: str, + role_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """deletes a new metric configuration for a role. + + deletes a new metric configuration for a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + role_name=role_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_nodes_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_nodes_operations.py new file mode 100644 index 000000000000..951e1d5c4232 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_nodes_operations.py @@ -0,0 +1,116 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class NodesOperations: + """NodesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.NodeList"]: + """Gets all the nodes currently configured under this Data Box Edge device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NodeList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.NodeList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NodeList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NodeList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/nodes'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_operations.py new file mode 100644 index 000000000000..105241694868 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_operations.py @@ -0,0 +1,106 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class Operations: + """Operations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.OperationsList"]: + """List all the supported operations. + + List all the supported operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationsList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.OperationsList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationsList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('OperationsList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/providers/Microsoft.DataBoxEdge/operations'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_operations_status_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_operations_status_operations.py new file mode 100644 index 000000000000..1e807137bab8 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_operations_status_operations.py @@ -0,0 +1,105 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class OperationsStatusOperations: + """OperationsStatusOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Job": + """Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The job name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Job, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.Job + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Job', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/operationsStatus/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_orders_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_orders_operations.py new file mode 100644 index 000000000000..220286ce394f --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_orders_operations.py @@ -0,0 +1,478 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class OrdersOperations: + """OrdersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.OrderList"]: + """Lists all the orders related to a Data Box Edge/Data Box Gateway device. + + Lists all the orders related to a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OrderList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.OrderList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OrderList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('OrderList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders'} # type: ignore + + async def get( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Order": + """Gets a specific order by name. + + Gets a specific order by name. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Order, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.Order + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Order"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Order', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + resource_group_name: str, + order: "_models.Order", + **kwargs + ) -> Optional["_models.Order"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Order"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(order, 'Order') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Order', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + resource_group_name: str, + order: "_models.Order", + **kwargs + ) -> AsyncLROPoller["_models.Order"]: + """Creates or updates an order. + + Creates or updates an order. + + :param device_name: The order details of a device. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param order: The order to be created or updated. + :type order: ~azure.mgmt.databoxedge.v2020_09_01.models.Order + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Order or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_09_01.models.Order] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Order"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + resource_group_name=resource_group_name, + order=order, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Order', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + async def begin_delete( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the order related to the device. + + Deletes the order related to the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + async def list_dc_access_code( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.DCAccessCode": + """Gets the DCAccess Code. + + Gets the DCAccess Code. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DCAccessCode, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.DCAccessCode + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DCAccessCode"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.list_dc_access_code.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DCAccessCode', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_dc_access_code.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default/listDCAccessCode'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_roles_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_roles_operations.py new file mode 100644 index 000000000000..1d06b52d0b3c --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_roles_operations.py @@ -0,0 +1,428 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class RolesOperations: + """RolesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.RoleList"]: + """Lists all the roles configured in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either RoleList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.RoleList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RoleList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('RoleList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Role": + """Gets a specific role by name. + + :param device_name: The device name. + :type device_name: str + :param name: The role name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Role, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.Role + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Role"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Role', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + role: "_models.Role", + **kwargs + ) -> Optional["_models.Role"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Role"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(role, 'Role') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Role', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + name: str, + resource_group_name: str, + role: "_models.Role", + **kwargs + ) -> AsyncLROPoller["_models.Role"]: + """Create or update a role. + + :param device_name: The device name. + :type device_name: str + :param name: The role name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param role: The role properties. + :type role: ~azure.mgmt.databoxedge.v2020_09_01.models.Role + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Role or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_09_01.models.Role] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Role"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + role=role, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Role', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the role on the device. + + :param device_name: The device name. + :type device_name: str + :param name: The role name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_shares_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_shares_operations.py new file mode 100644 index 000000000000..246846443d64 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_shares_operations.py @@ -0,0 +1,551 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class SharesOperations: + """SharesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.ShareList"]: + """Lists all the shares in a Data Box Edge/Data Box Gateway device. + + Lists all the shares in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ShareList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.ShareList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ShareList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ShareList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Share": + """Gets a share by name. + + Gets a share by name. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Share, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.Share + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Share"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Share', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + share: "_models.Share", + **kwargs + ) -> Optional["_models.Share"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Share"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(share, 'Share') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Share', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + name: str, + resource_group_name: str, + share: "_models.Share", + **kwargs + ) -> AsyncLROPoller["_models.Share"]: + """Creates a new share or updates an existing share on the device. + + Creates a new share or updates an existing share on the device. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param share: The share properties. + :type share: ~azure.mgmt.databoxedge.v2020_09_01.models.Share + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Share or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_09_01.models.Share] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Share"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + share=share, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Share', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the share on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + async def _refresh_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._refresh_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _refresh_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}/refresh'} # type: ignore + + async def begin_refresh( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Refreshes the share metadata with the data from the cloud. + + Refreshes the share metadata with the data from the cloud. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._refresh_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_refresh.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}/refresh'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_storage_account_credentials_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_storage_account_credentials_operations.py new file mode 100644 index 000000000000..9c11230abb8d --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_storage_account_credentials_operations.py @@ -0,0 +1,430 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class StorageAccountCredentialsOperations: + """StorageAccountCredentialsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.StorageAccountCredentialList"]: + """Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device. + + Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StorageAccountCredentialList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.StorageAccountCredentialList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredentialList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('StorageAccountCredentialList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.StorageAccountCredential": + """Gets the properties of the specified storage account credential. + + :param device_name: The device name. + :type device_name: str + :param name: The storage account credential name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: StorageAccountCredential, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.StorageAccountCredential + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredential"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('StorageAccountCredential', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + storage_account_credential: "_models.StorageAccountCredential", + **kwargs + ) -> Optional["_models.StorageAccountCredential"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.StorageAccountCredential"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(storage_account_credential, 'StorageAccountCredential') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('StorageAccountCredential', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + name: str, + resource_group_name: str, + storage_account_credential: "_models.StorageAccountCredential", + **kwargs + ) -> AsyncLROPoller["_models.StorageAccountCredential"]: + """Creates or updates the storage account credential. + + :param device_name: The device name. + :type device_name: str + :param name: The storage account credential name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param storage_account_credential: The storage account credential. + :type storage_account_credential: ~azure.mgmt.databoxedge.v2020_09_01.models.StorageAccountCredential + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either StorageAccountCredential or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_09_01.models.StorageAccountCredential] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredential"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + storage_account_credential=storage_account_credential, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('StorageAccountCredential', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the storage account credential. + + :param device_name: The device name. + :type device_name: str + :param name: The storage account credential name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_storage_accounts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_storage_accounts_operations.py new file mode 100644 index 000000000000..59b3bd05ec14 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_storage_accounts_operations.py @@ -0,0 +1,434 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class StorageAccountsOperations: + """StorageAccountsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.StorageAccountList"]: + """Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device. + + Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StorageAccountList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.StorageAccountList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('StorageAccountList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts'} # type: ignore + + async def get( + self, + device_name: str, + storage_account_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.StorageAccount": + """Gets a StorageAccount by name. + + Gets a StorageAccount by name. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The storage account name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: StorageAccount, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.StorageAccount + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('StorageAccount', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + storage_account_name: str, + resource_group_name: str, + storage_account: "_models.StorageAccount", + **kwargs + ) -> Optional["_models.StorageAccount"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.StorageAccount"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(storage_account, 'StorageAccount') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('StorageAccount', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + storage_account_name: str, + resource_group_name: str, + storage_account: "_models.StorageAccount", + **kwargs + ) -> AsyncLROPoller["_models.StorageAccount"]: + """Creates a new StorageAccount or updates an existing StorageAccount on the device. + + Creates a new StorageAccount or updates an existing StorageAccount on the device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The StorageAccount name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param storage_account: The StorageAccount properties. + :type storage_account: ~azure.mgmt.databoxedge.v2020_09_01.models.StorageAccount + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_09_01.models.StorageAccount] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + storage_account_name=storage_account_name, + resource_group_name=resource_group_name, + storage_account=storage_account, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('StorageAccount', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + storage_account_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + storage_account_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the StorageAccount on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The StorageAccount name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + storage_account_name=storage_account_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_triggers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_triggers_operations.py new file mode 100644 index 000000000000..47074ae7f1c3 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_triggers_operations.py @@ -0,0 +1,434 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class TriggersOperations: + """TriggersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + filter: Optional[str] = None, + **kwargs + ) -> AsyncIterable["_models.TriggerList"]: + """Lists all the triggers configured in the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param filter: Specify $filter='CustomContextTag eq :code:``' to filter on custom context + tag property. + :type filter: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TriggerList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.TriggerList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TriggerList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if filter is not None: + query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('TriggerList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Trigger": + """Get a specific trigger by name. + + :param device_name: The device name. + :type device_name: str + :param name: The trigger name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Trigger, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.Trigger + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Trigger"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Trigger', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + trigger: "_models.Trigger", + **kwargs + ) -> Optional["_models.Trigger"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Trigger"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(trigger, 'Trigger') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Trigger', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + name: str, + resource_group_name: str, + trigger: "_models.Trigger", + **kwargs + ) -> AsyncLROPoller["_models.Trigger"]: + """Creates or updates a trigger. + + :param device_name: Creates or updates a trigger. + :type device_name: str + :param name: The trigger name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param trigger: The trigger. + :type trigger: ~azure.mgmt.databoxedge.v2020_09_01.models.Trigger + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Trigger or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_09_01.models.Trigger] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Trigger"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + trigger=trigger, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Trigger', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the trigger on the gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The trigger name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_users_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_users_operations.py new file mode 100644 index 000000000000..7a72b497646b --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/aio/operations/_users_operations.py @@ -0,0 +1,435 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class UsersOperations: + """UsersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + expand: Optional[str] = None, + **kwargs + ) -> AsyncIterable["_models.UserList"]: + """Gets all the users registered on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param expand: Specify $expand=details to populate additional fields related to the resource or + Specify $skipToken=:code:`` to populate the next page in the list. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either UserList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.UserList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UserList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('UserList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.User": + """Gets the properties of the specified user. + + :param device_name: The device name. + :type device_name: str + :param name: The user name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: User, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.User + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.User"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('User', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + user: "_models.User", + **kwargs + ) -> Optional["_models.User"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.User"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(user, 'User') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('User', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + name: str, + resource_group_name: str, + user: "_models.User", + **kwargs + ) -> AsyncLROPoller["_models.User"]: + """Creates a new user or updates an existing user's information on a Data Box Edge/Data Box + Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The user name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param user: The user details. + :type user: ~azure.mgmt.databoxedge.v2020_09_01.models.User + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either User or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_09_01.models.User] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.User"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + user=user, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('User', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the user on a databox edge/gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The user name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/models/__init__.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/models/__init__.py new file mode 100644 index 000000000000..8b331ada40a8 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/models/__init__.py @@ -0,0 +1,476 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +try: + from ._models_py3 import ARMBaseModel + from ._models_py3 import Addon + from ._models_py3 import AddonList + from ._models_py3 import Address + from ._models_py3 import Alert + from ._models_py3 import AlertErrorDetails + from ._models_py3 import AlertList + from ._models_py3 import ArcAddon + from ._models_py3 import AsymmetricEncryptedSecret + from ._models_py3 import Authentication + from ._models_py3 import AzureContainerInfo + from ._models_py3 import BandwidthSchedule + from ._models_py3 import BandwidthSchedulesList + from ._models_py3 import ClientAccessRight + from ._models_py3 import CloudEdgeManagementRole + from ._models_py3 import CloudErrorBody + from ._models_py3 import CniConfig + from ._models_py3 import ComputeResource + from ._models_py3 import ContactDetails + from ._models_py3 import Container + from ._models_py3 import ContainerList + from ._models_py3 import DCAccessCode + from ._models_py3 import DataBoxEdgeDevice + from ._models_py3 import DataBoxEdgeDeviceExtendedInfo + from ._models_py3 import DataBoxEdgeDeviceExtendedInfoPatch + from ._models_py3 import DataBoxEdgeDeviceList + from ._models_py3 import DataBoxEdgeDevicePatch + from ._models_py3 import DataBoxEdgeMoveRequest + from ._models_py3 import DataBoxEdgeSku + from ._models_py3 import DataBoxEdgeSkuList + from ._models_py3 import EdgeProfile + from ._models_py3 import EdgeProfilePatch + from ._models_py3 import EdgeProfileSubscription + from ._models_py3 import EdgeProfileSubscriptionPatch + from ._models_py3 import EtcdInfo + from ._models_py3 import FileEventTrigger + from ._models_py3 import FileSourceInfo + from ._models_py3 import GenerateCertResponse + from ._models_py3 import ImageRepositoryCredential + from ._models_py3 import IoTAddon + from ._models_py3 import IoTDeviceInfo + from ._models_py3 import IoTEdgeAgentInfo + from ._models_py3 import IoTRole + from ._models_py3 import Ipv4Config + from ._models_py3 import Ipv6Config + from ._models_py3 import Job + from ._models_py3 import JobErrorDetails + from ._models_py3 import JobErrorItem + from ._models_py3 import KubernetesClusterInfo + from ._models_py3 import KubernetesIPConfiguration + from ._models_py3 import KubernetesRole + from ._models_py3 import KubernetesRoleCompute + from ._models_py3 import KubernetesRoleNetwork + from ._models_py3 import KubernetesRoleResources + from ._models_py3 import KubernetesRoleStorage + from ._models_py3 import KubernetesRoleStorageClassInfo + from ._models_py3 import LoadBalancerConfig + from ._models_py3 import MECRole + from ._models_py3 import MetricConfiguration + from ._models_py3 import MetricCounter + from ._models_py3 import MetricCounterSet + from ._models_py3 import MetricDimension + from ._models_py3 import MetricDimensionV1 + from ._models_py3 import MetricSpecificationV1 + from ._models_py3 import MonitoringMetricConfiguration + from ._models_py3 import MonitoringMetricConfigurationList + from ._models_py3 import MountPointMap + from ._models_py3 import NetworkAdapter + from ._models_py3 import NetworkAdapterPosition + from ._models_py3 import NetworkSettings + from ._models_py3 import Node + from ._models_py3 import NodeInfo + from ._models_py3 import NodeList + from ._models_py3 import Operation + from ._models_py3 import OperationDisplay + from ._models_py3 import OperationsList + from ._models_py3 import Order + from ._models_py3 import OrderList + from ._models_py3 import OrderStatus + from ._models_py3 import PeriodicTimerEventTrigger + from ._models_py3 import PeriodicTimerSourceInfo + from ._models_py3 import RefreshDetails + from ._models_py3 import ResourceIdentity + from ._models_py3 import ResourceMoveDetails + from ._models_py3 import ResourceTypeSku + from ._models_py3 import Role + from ._models_py3 import RoleList + from ._models_py3 import RoleSinkInfo + from ._models_py3 import SecuritySettings + from ._models_py3 import ServiceSpecification + from ._models_py3 import Share + from ._models_py3 import ShareAccessRight + from ._models_py3 import ShareList + from ._models_py3 import Sku + from ._models_py3 import SkuCost + from ._models_py3 import SkuInformation + from ._models_py3 import SkuInformationList + from ._models_py3 import SkuLocationInfo + from ._models_py3 import StorageAccount + from ._models_py3 import StorageAccountCredential + from ._models_py3 import StorageAccountCredentialList + from ._models_py3 import StorageAccountList + from ._models_py3 import SubscriptionRegisteredFeatures + from ._models_py3 import SymmetricKey + from ._models_py3 import SystemData + from ._models_py3 import TrackingInfo + from ._models_py3 import Trigger + from ._models_py3 import TriggerList + from ._models_py3 import UpdateDownloadProgress + from ._models_py3 import UpdateInstallProgress + from ._models_py3 import UpdateSummary + from ._models_py3 import UploadCertificateRequest + from ._models_py3 import UploadCertificateResponse + from ._models_py3 import User + from ._models_py3 import UserAccessRight + from ._models_py3 import UserList +except (SyntaxError, ImportError): + from ._models import ARMBaseModel # type: ignore + from ._models import Addon # type: ignore + from ._models import AddonList # type: ignore + from ._models import Address # type: ignore + from ._models import Alert # type: ignore + from ._models import AlertErrorDetails # type: ignore + from ._models import AlertList # type: ignore + from ._models import ArcAddon # type: ignore + from ._models import AsymmetricEncryptedSecret # type: ignore + from ._models import Authentication # type: ignore + from ._models import AzureContainerInfo # type: ignore + from ._models import BandwidthSchedule # type: ignore + from ._models import BandwidthSchedulesList # type: ignore + from ._models import ClientAccessRight # type: ignore + from ._models import CloudEdgeManagementRole # type: ignore + from ._models import CloudErrorBody # type: ignore + from ._models import CniConfig # type: ignore + from ._models import ComputeResource # type: ignore + from ._models import ContactDetails # type: ignore + from ._models import Container # type: ignore + from ._models import ContainerList # type: ignore + from ._models import DCAccessCode # type: ignore + from ._models import DataBoxEdgeDevice # type: ignore + from ._models import DataBoxEdgeDeviceExtendedInfo # type: ignore + from ._models import DataBoxEdgeDeviceExtendedInfoPatch # type: ignore + from ._models import DataBoxEdgeDeviceList # type: ignore + from ._models import DataBoxEdgeDevicePatch # type: ignore + from ._models import DataBoxEdgeMoveRequest # type: ignore + from ._models import DataBoxEdgeSku # type: ignore + from ._models import DataBoxEdgeSkuList # type: ignore + from ._models import EdgeProfile # type: ignore + from ._models import EdgeProfilePatch # type: ignore + from ._models import EdgeProfileSubscription # type: ignore + from ._models import EdgeProfileSubscriptionPatch # type: ignore + from ._models import EtcdInfo # type: ignore + from ._models import FileEventTrigger # type: ignore + from ._models import FileSourceInfo # type: ignore + from ._models import GenerateCertResponse # type: ignore + from ._models import ImageRepositoryCredential # type: ignore + from ._models import IoTAddon # type: ignore + from ._models import IoTDeviceInfo # type: ignore + from ._models import IoTEdgeAgentInfo # type: ignore + from ._models import IoTRole # type: ignore + from ._models import Ipv4Config # type: ignore + from ._models import Ipv6Config # type: ignore + from ._models import Job # type: ignore + from ._models import JobErrorDetails # type: ignore + from ._models import JobErrorItem # type: ignore + from ._models import KubernetesClusterInfo # type: ignore + from ._models import KubernetesIPConfiguration # type: ignore + from ._models import KubernetesRole # type: ignore + from ._models import KubernetesRoleCompute # type: ignore + from ._models import KubernetesRoleNetwork # type: ignore + from ._models import KubernetesRoleResources # type: ignore + from ._models import KubernetesRoleStorage # type: ignore + from ._models import KubernetesRoleStorageClassInfo # type: ignore + from ._models import LoadBalancerConfig # type: ignore + from ._models import MECRole # type: ignore + from ._models import MetricConfiguration # type: ignore + from ._models import MetricCounter # type: ignore + from ._models import MetricCounterSet # type: ignore + from ._models import MetricDimension # type: ignore + from ._models import MetricDimensionV1 # type: ignore + from ._models import MetricSpecificationV1 # type: ignore + from ._models import MonitoringMetricConfiguration # type: ignore + from ._models import MonitoringMetricConfigurationList # type: ignore + from ._models import MountPointMap # type: ignore + from ._models import NetworkAdapter # type: ignore + from ._models import NetworkAdapterPosition # type: ignore + from ._models import NetworkSettings # type: ignore + from ._models import Node # type: ignore + from ._models import NodeInfo # type: ignore + from ._models import NodeList # type: ignore + from ._models import Operation # type: ignore + from ._models import OperationDisplay # type: ignore + from ._models import OperationsList # type: ignore + from ._models import Order # type: ignore + from ._models import OrderList # type: ignore + from ._models import OrderStatus # type: ignore + from ._models import PeriodicTimerEventTrigger # type: ignore + from ._models import PeriodicTimerSourceInfo # type: ignore + from ._models import RefreshDetails # type: ignore + from ._models import ResourceIdentity # type: ignore + from ._models import ResourceMoveDetails # type: ignore + from ._models import ResourceTypeSku # type: ignore + from ._models import Role # type: ignore + from ._models import RoleList # type: ignore + from ._models import RoleSinkInfo # type: ignore + from ._models import SecuritySettings # type: ignore + from ._models import ServiceSpecification # type: ignore + from ._models import Share # type: ignore + from ._models import ShareAccessRight # type: ignore + from ._models import ShareList # type: ignore + from ._models import Sku # type: ignore + from ._models import SkuCost # type: ignore + from ._models import SkuInformation # type: ignore + from ._models import SkuInformationList # type: ignore + from ._models import SkuLocationInfo # type: ignore + from ._models import StorageAccount # type: ignore + from ._models import StorageAccountCredential # type: ignore + from ._models import StorageAccountCredentialList # type: ignore + from ._models import StorageAccountList # type: ignore + from ._models import SubscriptionRegisteredFeatures # type: ignore + from ._models import SymmetricKey # type: ignore + from ._models import SystemData # type: ignore + from ._models import TrackingInfo # type: ignore + from ._models import Trigger # type: ignore + from ._models import TriggerList # type: ignore + from ._models import UpdateDownloadProgress # type: ignore + from ._models import UpdateInstallProgress # type: ignore + from ._models import UpdateSummary # type: ignore + from ._models import UploadCertificateRequest # type: ignore + from ._models import UploadCertificateResponse # type: ignore + from ._models import User # type: ignore + from ._models import UserAccessRight # type: ignore + from ._models import UserList # type: ignore + +from ._data_box_edge_management_client_enums import ( + AccountType, + AddonState, + AddonType, + AlertSeverity, + AuthenticationType, + AzureContainerDataFormat, + ClientPermissionType, + ContainerStatus, + CreatedByType, + DataBoxEdgeDeviceKind, + DataBoxEdgeDeviceStatus, + DataPolicy, + DayOfWeek, + DeviceType, + DownloadPhase, + EncryptionAlgorithm, + HostPlatformType, + InstallRebootBehavior, + JobStatus, + JobType, + KubernetesNodeType, + KubernetesState, + MetricAggregationType, + MetricCategory, + MetricUnit, + MonitoringStatus, + MountType, + MsiIdentityType, + NetworkAdapterDHCPStatus, + NetworkAdapterRDMAStatus, + NetworkAdapterStatus, + NetworkGroup, + NodeStatus, + OrderState, + PlatformType, + PosixComplianceStatus, + ResourceMoveStatus, + RoleStatus, + RoleTypes, + SSLStatus, + ShareAccessProtocol, + ShareAccessType, + ShareStatus, + ShipmentType, + SkuAvailability, + SkuName, + SkuSignupOption, + SkuTier, + SkuVersion, + StorageAccountStatus, + SubscriptionState, + TimeGrain, + TriggerEventType, + UpdateOperation, + UpdateOperationStage, + UserType, +) + +__all__ = [ + 'ARMBaseModel', + 'Addon', + 'AddonList', + 'Address', + 'Alert', + 'AlertErrorDetails', + 'AlertList', + 'ArcAddon', + 'AsymmetricEncryptedSecret', + 'Authentication', + 'AzureContainerInfo', + 'BandwidthSchedule', + 'BandwidthSchedulesList', + 'ClientAccessRight', + 'CloudEdgeManagementRole', + 'CloudErrorBody', + 'CniConfig', + 'ComputeResource', + 'ContactDetails', + 'Container', + 'ContainerList', + 'DCAccessCode', + 'DataBoxEdgeDevice', + 'DataBoxEdgeDeviceExtendedInfo', + 'DataBoxEdgeDeviceExtendedInfoPatch', + 'DataBoxEdgeDeviceList', + 'DataBoxEdgeDevicePatch', + 'DataBoxEdgeMoveRequest', + 'DataBoxEdgeSku', + 'DataBoxEdgeSkuList', + 'EdgeProfile', + 'EdgeProfilePatch', + 'EdgeProfileSubscription', + 'EdgeProfileSubscriptionPatch', + 'EtcdInfo', + 'FileEventTrigger', + 'FileSourceInfo', + 'GenerateCertResponse', + 'ImageRepositoryCredential', + 'IoTAddon', + 'IoTDeviceInfo', + 'IoTEdgeAgentInfo', + 'IoTRole', + 'Ipv4Config', + 'Ipv6Config', + 'Job', + 'JobErrorDetails', + 'JobErrorItem', + 'KubernetesClusterInfo', + 'KubernetesIPConfiguration', + 'KubernetesRole', + 'KubernetesRoleCompute', + 'KubernetesRoleNetwork', + 'KubernetesRoleResources', + 'KubernetesRoleStorage', + 'KubernetesRoleStorageClassInfo', + 'LoadBalancerConfig', + 'MECRole', + 'MetricConfiguration', + 'MetricCounter', + 'MetricCounterSet', + 'MetricDimension', + 'MetricDimensionV1', + 'MetricSpecificationV1', + 'MonitoringMetricConfiguration', + 'MonitoringMetricConfigurationList', + 'MountPointMap', + 'NetworkAdapter', + 'NetworkAdapterPosition', + 'NetworkSettings', + 'Node', + 'NodeInfo', + 'NodeList', + 'Operation', + 'OperationDisplay', + 'OperationsList', + 'Order', + 'OrderList', + 'OrderStatus', + 'PeriodicTimerEventTrigger', + 'PeriodicTimerSourceInfo', + 'RefreshDetails', + 'ResourceIdentity', + 'ResourceMoveDetails', + 'ResourceTypeSku', + 'Role', + 'RoleList', + 'RoleSinkInfo', + 'SecuritySettings', + 'ServiceSpecification', + 'Share', + 'ShareAccessRight', + 'ShareList', + 'Sku', + 'SkuCost', + 'SkuInformation', + 'SkuInformationList', + 'SkuLocationInfo', + 'StorageAccount', + 'StorageAccountCredential', + 'StorageAccountCredentialList', + 'StorageAccountList', + 'SubscriptionRegisteredFeatures', + 'SymmetricKey', + 'SystemData', + 'TrackingInfo', + 'Trigger', + 'TriggerList', + 'UpdateDownloadProgress', + 'UpdateInstallProgress', + 'UpdateSummary', + 'UploadCertificateRequest', + 'UploadCertificateResponse', + 'User', + 'UserAccessRight', + 'UserList', + 'AccountType', + 'AddonState', + 'AddonType', + 'AlertSeverity', + 'AuthenticationType', + 'AzureContainerDataFormat', + 'ClientPermissionType', + 'ContainerStatus', + 'CreatedByType', + 'DataBoxEdgeDeviceKind', + 'DataBoxEdgeDeviceStatus', + 'DataPolicy', + 'DayOfWeek', + 'DeviceType', + 'DownloadPhase', + 'EncryptionAlgorithm', + 'HostPlatformType', + 'InstallRebootBehavior', + 'JobStatus', + 'JobType', + 'KubernetesNodeType', + 'KubernetesState', + 'MetricAggregationType', + 'MetricCategory', + 'MetricUnit', + 'MonitoringStatus', + 'MountType', + 'MsiIdentityType', + 'NetworkAdapterDHCPStatus', + 'NetworkAdapterRDMAStatus', + 'NetworkAdapterStatus', + 'NetworkGroup', + 'NodeStatus', + 'OrderState', + 'PlatformType', + 'PosixComplianceStatus', + 'ResourceMoveStatus', + 'RoleStatus', + 'RoleTypes', + 'SSLStatus', + 'ShareAccessProtocol', + 'ShareAccessType', + 'ShareStatus', + 'ShipmentType', + 'SkuAvailability', + 'SkuName', + 'SkuSignupOption', + 'SkuTier', + 'SkuVersion', + 'StorageAccountStatus', + 'SubscriptionState', + 'TimeGrain', + 'TriggerEventType', + 'UpdateOperation', + 'UpdateOperationStage', + 'UserType', +] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/models/_data_box_edge_management_client_enums.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/models/_data_box_edge_management_client_enums.py new file mode 100644 index 000000000000..0cec6392e961 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/models/_data_box_edge_management_client_enums.py @@ -0,0 +1,546 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class AccountType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of storage accessed on the storage account. + """ + + GENERAL_PURPOSE_STORAGE = "GeneralPurposeStorage" + BLOB_STORAGE = "BlobStorage" + +class AddonState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Addon Provisioning State + """ + + INVALID = "Invalid" + CREATING = "Creating" + CREATED = "Created" + UPDATING = "Updating" + RECONFIGURING = "Reconfiguring" + FAILED = "Failed" + DELETING = "Deleting" + +class AddonType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Addon type. + """ + + IOT_EDGE = "IotEdge" + ARC_FOR_KUBERNETES = "ArcForKubernetes" + +class AlertSeverity(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Severity of the alert. + """ + + INFORMATIONAL = "Informational" + WARNING = "Warning" + CRITICAL = "Critical" + +class AuthenticationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The authentication type. + """ + + INVALID = "Invalid" + AZURE_ACTIVE_DIRECTORY = "AzureActiveDirectory" + +class AzureContainerDataFormat(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Storage format used for the file represented by the share. + """ + + BLOCK_BLOB = "BlockBlob" + PAGE_BLOB = "PageBlob" + AZURE_FILE = "AzureFile" + +class ClientPermissionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of access to be allowed for the client. + """ + + NO_ACCESS = "NoAccess" + READ_ONLY = "ReadOnly" + READ_WRITE = "ReadWrite" + +class ContainerStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current status of the container. + """ + + OK = "OK" + OFFLINE = "Offline" + UNKNOWN = "Unknown" + UPDATING = "Updating" + NEEDS_ATTENTION = "NeedsAttention" + +class CreatedByType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of identity that created the resource. + """ + + USER = "User" + APPLICATION = "Application" + MANAGED_IDENTITY = "ManagedIdentity" + KEY = "Key" + +class DataBoxEdgeDeviceKind(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The etag for the devices. + """ + + AZURE_DATA_BOX_GATEWAY = "AzureDataBoxGateway" + AZURE_STACK_EDGE = "AzureStackEdge" + AZURE_STACK_HUB = "AzureStackHub" + AZURE_MODULAR_DATA_CENTRE = "AzureModularDataCentre" + +class DataBoxEdgeDeviceStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The status of the Data Box Edge/Gateway device. + """ + + READY_TO_SETUP = "ReadyToSetup" + ONLINE = "Online" + OFFLINE = "Offline" + NEEDS_ATTENTION = "NeedsAttention" + DISCONNECTED = "Disconnected" + PARTIALLY_DISCONNECTED = "PartiallyDisconnected" + MAINTENANCE = "Maintenance" + +class DataPolicy(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Data policy of the share. + """ + + CLOUD = "Cloud" + LOCAL = "Local" + +class DayOfWeek(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + SUNDAY = "Sunday" + MONDAY = "Monday" + TUESDAY = "Tuesday" + WEDNESDAY = "Wednesday" + THURSDAY = "Thursday" + FRIDAY = "Friday" + SATURDAY = "Saturday" + +class DeviceType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of the Data Box Edge/Gateway device. + """ + + DATA_BOX_EDGE_DEVICE = "DataBoxEdgeDevice" + +class DownloadPhase(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The download phase. + """ + + UNKNOWN = "Unknown" + INITIALIZING = "Initializing" + DOWNLOADING = "Downloading" + VERIFYING = "Verifying" + +class EncryptionAlgorithm(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The algorithm used to encrypt "Value". + """ + + NONE = "None" + AES256 = "AES256" + RSAES_PKCS1_V1_5 = "RSAES_PKCS1_v_1_5" + +class HostPlatformType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Platform where the runtime is hosted. + """ + + KUBERNETES_CLUSTER = "KubernetesCluster" + LINUX_VM = "LinuxVM" + +class InstallRebootBehavior(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Indicates if updates are available and at least one of the updates needs a reboot. + """ + + NEVER_REBOOTS = "NeverReboots" + REQUIRES_REBOOT = "RequiresReboot" + REQUEST_REBOOT = "RequestReboot" + +class JobStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The current status of the job. + """ + + INVALID = "Invalid" + RUNNING = "Running" + SUCCEEDED = "Succeeded" + FAILED = "Failed" + CANCELED = "Canceled" + PAUSED = "Paused" + SCHEDULED = "Scheduled" + +class JobType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of the job. + """ + + INVALID = "Invalid" + SCAN_FOR_UPDATES = "ScanForUpdates" + DOWNLOAD_UPDATES = "DownloadUpdates" + INSTALL_UPDATES = "InstallUpdates" + REFRESH_SHARE = "RefreshShare" + REFRESH_CONTAINER = "RefreshContainer" + BACKUP = "Backup" + RESTORE = "Restore" + TRIGGER_SUPPORT_PACKAGE = "TriggerSupportPackage" + +class KubernetesNodeType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Node type - Master/Worker + """ + + INVALID = "Invalid" + MASTER = "Master" + WORKER = "Worker" + +class KubernetesState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """State of Kubernetes deployment + """ + + INVALID = "Invalid" + CREATING = "Creating" + CREATED = "Created" + UPDATING = "Updating" + RECONFIGURING = "Reconfiguring" + FAILED = "Failed" + DELETING = "Deleting" + +class MetricAggregationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Metric aggregation type. + """ + + NOT_SPECIFIED = "NotSpecified" + NONE = "None" + AVERAGE = "Average" + MINIMUM = "Minimum" + MAXIMUM = "Maximum" + TOTAL = "Total" + COUNT = "Count" + +class MetricCategory(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Metric category. + """ + + CAPACITY = "Capacity" + TRANSACTION = "Transaction" + +class MetricUnit(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Metric units. + """ + + NOT_SPECIFIED = "NotSpecified" + PERCENT = "Percent" + COUNT = "Count" + SECONDS = "Seconds" + MILLISECONDS = "Milliseconds" + BYTES = "Bytes" + BYTES_PER_SECOND = "BytesPerSecond" + COUNT_PER_SECOND = "CountPerSecond" + +class MonitoringStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current monitoring status of the share. + """ + + ENABLED = "Enabled" + DISABLED = "Disabled" + +class MountType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Mounting type. + """ + + VOLUME = "Volume" + HOST_PATH = "HostPath" + +class MsiIdentityType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Identity type + """ + + NONE = "None" + SYSTEM_ASSIGNED = "SystemAssigned" + USER_ASSIGNED = "UserAssigned" + +class NetworkAdapterDHCPStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Value indicating whether this adapter has DHCP enabled. + """ + + DISABLED = "Disabled" + ENABLED = "Enabled" + +class NetworkAdapterRDMAStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Value indicating whether this adapter is RDMA capable. + """ + + INCAPABLE = "Incapable" + CAPABLE = "Capable" + +class NetworkAdapterStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Value indicating whether this adapter is valid. + """ + + INACTIVE = "Inactive" + ACTIVE = "Active" + +class NetworkGroup(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The network group. + """ + + NONE = "None" + NON_RDMA = "NonRDMA" + RDMA = "RDMA" + +class NodeStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The current status of the individual node + """ + + UNKNOWN = "Unknown" + UP = "Up" + DOWN = "Down" + REBOOTING = "Rebooting" + SHUTTING_DOWN = "ShuttingDown" + +class OrderState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Status of the order as per the allowed status types. + """ + + UNTRACKED = "Untracked" + AWAITING_FULFILMENT = "AwaitingFulfilment" + AWAITING_PREPARATION = "AwaitingPreparation" + AWAITING_SHIPMENT = "AwaitingShipment" + SHIPPED = "Shipped" + ARRIVING = "Arriving" + DELIVERED = "Delivered" + REPLACEMENT_REQUESTED = "ReplacementRequested" + LOST_DEVICE = "LostDevice" + DECLINED = "Declined" + RETURN_INITIATED = "ReturnInitiated" + AWAITING_RETURN_SHIPMENT = "AwaitingReturnShipment" + SHIPPED_BACK = "ShippedBack" + COLLECTED_AT_MICROSOFT = "CollectedAtMicrosoft" + AWAITING_PICKUP = "AwaitingPickup" + PICKUP_COMPLETED = "PickupCompleted" + AWAITING_DROP = "AwaitingDrop" + +class PlatformType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Host OS supported by the Arc addon. + """ + + WINDOWS = "Windows" + LINUX = "Linux" + +class PosixComplianceStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """If provisioned storage is posix compliant. + """ + + INVALID = "Invalid" + ENABLED = "Enabled" + DISABLED = "Disabled" + +class ResourceMoveStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Denotes whether move operation is in progress + """ + + NONE = "None" + RESOURCE_MOVE_IN_PROGRESS = "ResourceMoveInProgress" + RESOURCE_MOVE_FAILED = "ResourceMoveFailed" + +class RoleStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Local Edge Management Status + """ + + ENABLED = "Enabled" + DISABLED = "Disabled" + +class RoleTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + IOT = "IOT" + ASA = "ASA" + FUNCTIONS = "Functions" + COGNITIVE = "Cognitive" + MEC = "MEC" + CLOUD_EDGE_MANAGEMENT = "CloudEdgeManagement" + KUBERNETES = "Kubernetes" + +class ShareAccessProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Access protocol to be used by the share. + """ + + SMB = "SMB" + NFS = "NFS" + +class ShareAccessType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of access to be allowed on the share for this user. + """ + + CHANGE = "Change" + READ = "Read" + CUSTOM = "Custom" + +class ShareStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current status of the share. + """ + + OFFLINE = "Offline" + UNKNOWN = "Unknown" + OK = "OK" + UPDATING = "Updating" + NEEDS_ATTENTION = "NeedsAttention" + +class ShipmentType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + NOT_APPLICABLE = "NotApplicable" + SHIPPED_TO_CUSTOMER = "ShippedToCustomer" + SELF_PICKUP = "SelfPickup" + +class SkuAvailability(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Links to the next set of results + """ + + AVAILABLE = "Available" + UNAVAILABLE = "Unavailable" + +class SkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The Sku name. + """ + + GATEWAY = "Gateway" + EDGE = "Edge" + TEA1_NODE = "TEA_1Node" + TEA1_NODE_UPS = "TEA_1Node_UPS" + TEA1_NODE_HEATER = "TEA_1Node_Heater" + TEA1_NODE_UPS_HEATER = "TEA_1Node_UPS_Heater" + TEA4_NODE_HEATER = "TEA_4Node_Heater" + TEA4_NODE_UPS_HEATER = "TEA_4Node_UPS_Heater" + TMA = "TMA" + TDC = "TDC" + TCA_SMALL = "TCA_Small" + GPU = "GPU" + TCA_LARGE = "TCA_Large" + EDGE_P_BASE = "EdgeP_Base" + EDGE_P_HIGH = "EdgeP_High" + EDGE_PR_BASE = "EdgePR_Base" + EDGE_PR_BASE_UPS = "EdgePR_Base_UPS" + EDGE_MR_MINI = "EdgeMR_Mini" + RCA_SMALL = "RCA_Small" + RCA_LARGE = "RCA_Large" + RDC = "RDC" + +class SkuSignupOption(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Sku can be signed up by customer or not. + """ + + NONE = "None" + AVAILABLE = "Available" + +class SkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The Sku tier. + """ + + STANDARD = "Standard" + +class SkuVersion(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Availability of the Sku as preview/stable. + """ + + STABLE = "Stable" + PREVIEW = "Preview" + +class SSLStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Signifies whether SSL needs to be enabled or not. + """ + + ENABLED = "Enabled" + DISABLED = "Disabled" + +class StorageAccountStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current status of the storage account + """ + + OK = "OK" + OFFLINE = "Offline" + UNKNOWN = "Unknown" + UPDATING = "Updating" + NEEDS_ATTENTION = "NeedsAttention" + +class SubscriptionState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + REGISTERED = "Registered" + WARNED = "Warned" + SUSPENDED = "Suspended" + DELETED = "Deleted" + UNREGISTERED = "Unregistered" + +class TimeGrain(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + PT1_M = "PT1M" + PT5_M = "PT5M" + PT15_M = "PT15M" + PT30_M = "PT30M" + PT1_H = "PT1H" + PT6_H = "PT6H" + PT12_H = "PT12H" + PT1_D = "PT1D" + +class TriggerEventType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Trigger Kind. + """ + + FILE_EVENT = "FileEvent" + PERIODIC_TIMER_EVENT = "PeriodicTimerEvent" + +class UpdateOperation(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The current update operation. + """ + + NONE = "None" + SCAN = "Scan" + DOWNLOAD = "Download" + INSTALL = "Install" + +class UpdateOperationStage(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current stage of the update operation. + """ + + UNKNOWN = "Unknown" + INITIAL = "Initial" + SCAN_STARTED = "ScanStarted" + SCAN_COMPLETE = "ScanComplete" + SCAN_FAILED = "ScanFailed" + DOWNLOAD_STARTED = "DownloadStarted" + DOWNLOAD_COMPLETE = "DownloadComplete" + DOWNLOAD_FAILED = "DownloadFailed" + INSTALL_STARTED = "InstallStarted" + INSTALL_COMPLETE = "InstallComplete" + INSTALL_FAILED = "InstallFailed" + REBOOT_INITIATED = "RebootInitiated" + SUCCESS = "Success" + FAILURE = "Failure" + RESCAN_STARTED = "RescanStarted" + RESCAN_COMPLETE = "RescanComplete" + RESCAN_FAILED = "RescanFailed" + +class UserType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of the user. + """ + + SHARE = "Share" + LOCAL_MANAGEMENT = "LocalManagement" + ARM = "ARM" diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/models/_models.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/models/_models.py new file mode 100644 index 000000000000..b67bee38c64f --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/models/_models.py @@ -0,0 +1,4986 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +import msrest.serialization + + +class ARMBaseModel(msrest.serialization.Model): + """Represents the base class for all object models. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ARMBaseModel, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class Addon(ARMBaseModel): + """Role Addon. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: ArcAddon, IoTAddon. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Addon type.Constant filled by server. Possible values include: + "IotEdge", "ArcForKubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01.models.AddonType + :ivar system_data: Addon type. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + } + + _subtype_map = { + 'kind': {'ArcForKubernetes': 'ArcAddon', 'IotEdge': 'IoTAddon'} + } + + def __init__( + self, + **kwargs + ): + super(Addon, self).__init__(**kwargs) + self.kind = 'Addon' # type: str + self.system_data = None + + +class AddonList(msrest.serialization.Model): + """Collection of all the Role addon on the Azure Stack Edge device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The Value. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.Addon] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Addon]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AddonList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class Address(msrest.serialization.Model): + """The shipping address of the customer. + + All required parameters must be populated in order to send to Azure. + + :param address_line1: The address line1. + :type address_line1: str + :param address_line2: The address line2. + :type address_line2: str + :param address_line3: The address line3. + :type address_line3: str + :param postal_code: The postal code. + :type postal_code: str + :param city: The city name. + :type city: str + :param state: The state name. + :type state: str + :param country: Required. The country name. + :type country: str + """ + + _validation = { + 'country': {'required': True}, + } + + _attribute_map = { + 'address_line1': {'key': 'addressLine1', 'type': 'str'}, + 'address_line2': {'key': 'addressLine2', 'type': 'str'}, + 'address_line3': {'key': 'addressLine3', 'type': 'str'}, + 'postal_code': {'key': 'postalCode', 'type': 'str'}, + 'city': {'key': 'city', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + 'country': {'key': 'country', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Address, self).__init__(**kwargs) + self.address_line1 = kwargs.get('address_line1', None) + self.address_line2 = kwargs.get('address_line2', None) + self.address_line3 = kwargs.get('address_line3', None) + self.postal_code = kwargs.get('postal_code', None) + self.city = kwargs.get('city', None) + self.state = kwargs.get('state', None) + self.country = kwargs['country'] + + +class Alert(ARMBaseModel): + """Alert on the data box edge/gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Alert generated in the resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :ivar title: Alert title. + :vartype title: str + :ivar alert_type: Alert type. + :vartype alert_type: str + :ivar appeared_at_date_time: UTC time when the alert appeared. + :vartype appeared_at_date_time: ~datetime.datetime + :ivar recommendation: Alert recommendation. + :vartype recommendation: str + :ivar severity: Severity of the alert. Possible values include: "Informational", "Warning", + "Critical". + :vartype severity: str or ~azure.mgmt.databoxedge.v2020_09_01.models.AlertSeverity + :ivar error_details: Error details of the alert. + :vartype error_details: ~azure.mgmt.databoxedge.v2020_09_01.models.AlertErrorDetails + :ivar detailed_information: Alert details. + :vartype detailed_information: dict[str, str] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'title': {'readonly': True}, + 'alert_type': {'readonly': True}, + 'appeared_at_date_time': {'readonly': True}, + 'recommendation': {'readonly': True}, + 'severity': {'readonly': True}, + 'error_details': {'readonly': True}, + 'detailed_information': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'title': {'key': 'properties.title', 'type': 'str'}, + 'alert_type': {'key': 'properties.alertType', 'type': 'str'}, + 'appeared_at_date_time': {'key': 'properties.appearedAtDateTime', 'type': 'iso-8601'}, + 'recommendation': {'key': 'properties.recommendation', 'type': 'str'}, + 'severity': {'key': 'properties.severity', 'type': 'str'}, + 'error_details': {'key': 'properties.errorDetails', 'type': 'AlertErrorDetails'}, + 'detailed_information': {'key': 'properties.detailedInformation', 'type': '{str}'}, + } + + def __init__( + self, + **kwargs + ): + super(Alert, self).__init__(**kwargs) + self.system_data = None + self.title = None + self.alert_type = None + self.appeared_at_date_time = None + self.recommendation = None + self.severity = None + self.error_details = None + self.detailed_information = None + + +class AlertErrorDetails(msrest.serialization.Model): + """Error details for the alert. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar error_code: Error code. + :vartype error_code: str + :ivar error_message: Error Message. + :vartype error_message: str + :ivar occurrences: Number of occurrences. + :vartype occurrences: int + """ + + _validation = { + 'error_code': {'readonly': True}, + 'error_message': {'readonly': True}, + 'occurrences': {'readonly': True}, + } + + _attribute_map = { + 'error_code': {'key': 'errorCode', 'type': 'str'}, + 'error_message': {'key': 'errorMessage', 'type': 'str'}, + 'occurrences': {'key': 'occurrences', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(AlertErrorDetails, self).__init__(**kwargs) + self.error_code = None + self.error_message = None + self.occurrences = None + + +class AlertList(msrest.serialization.Model): + """Collection of alerts. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The value. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.Alert] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Alert]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AlertList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ArcAddon(Addon): + """Arc Addon. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Addon type.Constant filled by server. Possible values include: + "IotEdge", "ArcForKubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01.models.AddonType + :ivar system_data: Addon type. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param subscription_id: Required. Arc resource subscription Id. + :type subscription_id: str + :param resource_group_name: Required. Arc resource group name. + :type resource_group_name: str + :param resource_name: Required. Arc resource Name. + :type resource_name: str + :param resource_location: Required. Arc resource location. + :type resource_location: str + :ivar version: Arc resource version. + :vartype version: str + :ivar host_platform: Host OS supported by the Arc addon. Possible values include: "Windows", + "Linux". + :vartype host_platform: str or ~azure.mgmt.databoxedge.v2020_09_01.models.PlatformType + :ivar host_platform_type: Platform where the runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.HostPlatformType + :ivar provisioning_state: Addon Provisioning State. Possible values include: "Invalid", + "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting". + :vartype provisioning_state: str or ~azure.mgmt.databoxedge.v2020_09_01.models.AddonState + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'subscription_id': {'required': True}, + 'resource_group_name': {'required': True}, + 'resource_name': {'required': True}, + 'resource_location': {'required': True}, + 'version': {'readonly': True}, + 'host_platform': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'subscription_id': {'key': 'properties.subscriptionId', 'type': 'str'}, + 'resource_group_name': {'key': 'properties.resourceGroupName', 'type': 'str'}, + 'resource_name': {'key': 'properties.resourceName', 'type': 'str'}, + 'resource_location': {'key': 'properties.resourceLocation', 'type': 'str'}, + 'version': {'key': 'properties.version', 'type': 'str'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ArcAddon, self).__init__(**kwargs) + self.kind = 'ArcForKubernetes' # type: str + self.subscription_id = kwargs['subscription_id'] + self.resource_group_name = kwargs['resource_group_name'] + self.resource_name = kwargs['resource_name'] + self.resource_location = kwargs['resource_location'] + self.version = None + self.host_platform = None + self.host_platform_type = None + self.provisioning_state = None + + +class AsymmetricEncryptedSecret(msrest.serialization.Model): + """Represent the secrets intended for encryption with asymmetric key pair. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. The value of the secret. + :type value: str + :param encryption_cert_thumbprint: Thumbprint certificate used to encrypt \"Value\". If the + value is unencrypted, it will be null. + :type encryption_cert_thumbprint: str + :param encryption_algorithm: Required. The algorithm used to encrypt "Value". Possible values + include: "None", "AES256", "RSAES_PKCS1_v_1_5". + :type encryption_algorithm: str or + ~azure.mgmt.databoxedge.v2020_09_01.models.EncryptionAlgorithm + """ + + _validation = { + 'value': {'required': True}, + 'encryption_algorithm': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': 'str'}, + 'encryption_cert_thumbprint': {'key': 'encryptionCertThumbprint', 'type': 'str'}, + 'encryption_algorithm': {'key': 'encryptionAlgorithm', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AsymmetricEncryptedSecret, self).__init__(**kwargs) + self.value = kwargs['value'] + self.encryption_cert_thumbprint = kwargs.get('encryption_cert_thumbprint', None) + self.encryption_algorithm = kwargs['encryption_algorithm'] + + +class Authentication(msrest.serialization.Model): + """Authentication mechanism for IoT devices. + + :param symmetric_key: Symmetric key for authentication. + :type symmetric_key: ~azure.mgmt.databoxedge.v2020_09_01.models.SymmetricKey + """ + + _attribute_map = { + 'symmetric_key': {'key': 'symmetricKey', 'type': 'SymmetricKey'}, + } + + def __init__( + self, + **kwargs + ): + super(Authentication, self).__init__(**kwargs) + self.symmetric_key = kwargs.get('symmetric_key', None) + + +class AzureContainerInfo(msrest.serialization.Model): + """Azure container mapping of the endpoint. + + All required parameters must be populated in order to send to Azure. + + :param storage_account_credential_id: Required. ID of the storage account credential used to + access storage. + :type storage_account_credential_id: str + :param container_name: Required. Container name (Based on the data format specified, this + represents the name of Azure Files/Page blob/Block blob). + :type container_name: str + :param data_format: Required. Storage format used for the file represented by the share. + Possible values include: "BlockBlob", "PageBlob", "AzureFile". + :type data_format: str or ~azure.mgmt.databoxedge.v2020_09_01.models.AzureContainerDataFormat + """ + + _validation = { + 'storage_account_credential_id': {'required': True}, + 'container_name': {'required': True}, + 'data_format': {'required': True}, + } + + _attribute_map = { + 'storage_account_credential_id': {'key': 'storageAccountCredentialId', 'type': 'str'}, + 'container_name': {'key': 'containerName', 'type': 'str'}, + 'data_format': {'key': 'dataFormat', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureContainerInfo, self).__init__(**kwargs) + self.storage_account_credential_id = kwargs['storage_account_credential_id'] + self.container_name = kwargs['container_name'] + self.data_format = kwargs['data_format'] + + +class BandwidthSchedule(ARMBaseModel): + """The bandwidth schedule details. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Bandwidth object related to ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param start: Required. The start time of the schedule in UTC. + :type start: str + :param stop: Required. The stop time of the schedule in UTC. + :type stop: str + :param rate_in_mbps: Required. The bandwidth rate in Mbps. + :type rate_in_mbps: int + :param days: Required. The days of the week when this schedule is applicable. + :type days: list[str or ~azure.mgmt.databoxedge.v2020_09_01.models.DayOfWeek] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'start': {'required': True}, + 'stop': {'required': True}, + 'rate_in_mbps': {'required': True}, + 'days': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'start': {'key': 'properties.start', 'type': 'str'}, + 'stop': {'key': 'properties.stop', 'type': 'str'}, + 'rate_in_mbps': {'key': 'properties.rateInMbps', 'type': 'int'}, + 'days': {'key': 'properties.days', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(BandwidthSchedule, self).__init__(**kwargs) + self.system_data = None + self.start = kwargs['start'] + self.stop = kwargs['stop'] + self.rate_in_mbps = kwargs['rate_in_mbps'] + self.days = kwargs['days'] + + +class BandwidthSchedulesList(msrest.serialization.Model): + """The collection of bandwidth schedules. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of bandwidth schedules. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.BandwidthSchedule] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[BandwidthSchedule]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(BandwidthSchedulesList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ClientAccessRight(msrest.serialization.Model): + """The mapping between a particular client IP and the type of access client has on the NFS share. + + All required parameters must be populated in order to send to Azure. + + :param client: Required. IP of the client. + :type client: str + :param access_permission: Required. Type of access to be allowed for the client. Possible + values include: "NoAccess", "ReadOnly", "ReadWrite". + :type access_permission: str or ~azure.mgmt.databoxedge.v2020_09_01.models.ClientPermissionType + """ + + _validation = { + 'client': {'required': True}, + 'access_permission': {'required': True}, + } + + _attribute_map = { + 'client': {'key': 'client', 'type': 'str'}, + 'access_permission': {'key': 'accessPermission', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ClientAccessRight, self).__init__(**kwargs) + self.client = kwargs['client'] + self.access_permission = kwargs['access_permission'] + + +class Role(ARMBaseModel): + """Compute role. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: CloudEdgeManagementRole, IoTRole, KubernetesRole, MECRole. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + } + + _subtype_map = { + 'kind': {'CloudEdgeManagement': 'CloudEdgeManagementRole', 'IOT': 'IoTRole', 'Kubernetes': 'KubernetesRole', 'MEC': 'MECRole'} + } + + def __init__( + self, + **kwargs + ): + super(Role, self).__init__(**kwargs) + self.kind = 'Role' # type: str + self.system_data = None + + +class CloudEdgeManagementRole(Role): + """CloudEdgeManagementRole role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :ivar local_management_status: Local Edge Management Status. Possible values include: + "Enabled", "Disabled". + :vartype local_management_status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.RoleStatus + :ivar edge_profile: Edge Profile of the resource. + :vartype edge_profile: ~azure.mgmt.databoxedge.v2020_09_01.models.EdgeProfile + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'local_management_status': {'readonly': True}, + 'edge_profile': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'local_management_status': {'key': 'properties.localManagementStatus', 'type': 'str'}, + 'edge_profile': {'key': 'properties.edgeProfile', 'type': 'EdgeProfile'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(CloudEdgeManagementRole, self).__init__(**kwargs) + self.kind = 'CloudEdgeManagement' # type: str + self.local_management_status = None + self.edge_profile = None + self.role_status = kwargs.get('role_status', None) + + +class CloudErrorBody(msrest.serialization.Model): + """An error response from the service. + + :param code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :type code: str + :param message: A message describing the error, intended to be suitable for display in a user + interface. + :type message: str + :param details: A list of additional details about the error. + :type details: list[~azure.mgmt.databoxedge.v2020_09_01.models.CloudErrorBody] + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[CloudErrorBody]'}, + } + + def __init__( + self, + **kwargs + ): + super(CloudErrorBody, self).__init__(**kwargs) + self.code = kwargs.get('code', None) + self.message = kwargs.get('message', None) + self.details = kwargs.get('details', None) + + +class CniConfig(msrest.serialization.Model): + """Cni configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: Cni type. + :vartype type: str + :ivar version: Cni version. + :vartype version: str + :ivar pod_subnet: Pod Subnet. + :vartype pod_subnet: str + :ivar service_subnet: Service subnet. + :vartype service_subnet: str + """ + + _validation = { + 'type': {'readonly': True}, + 'version': {'readonly': True}, + 'pod_subnet': {'readonly': True}, + 'service_subnet': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + 'pod_subnet': {'key': 'podSubnet', 'type': 'str'}, + 'service_subnet': {'key': 'serviceSubnet', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(CniConfig, self).__init__(**kwargs) + self.type = None + self.version = None + self.pod_subnet = None + self.service_subnet = None + + +class ComputeResource(msrest.serialization.Model): + """Compute infrastructure Resource. + + All required parameters must be populated in order to send to Azure. + + :param processor_count: Required. Processor count. + :type processor_count: int + :param memory_in_gb: Required. Memory in GB. + :type memory_in_gb: long + """ + + _validation = { + 'processor_count': {'required': True}, + 'memory_in_gb': {'required': True}, + } + + _attribute_map = { + 'processor_count': {'key': 'processorCount', 'type': 'int'}, + 'memory_in_gb': {'key': 'memoryInGB', 'type': 'long'}, + } + + def __init__( + self, + **kwargs + ): + super(ComputeResource, self).__init__(**kwargs) + self.processor_count = kwargs['processor_count'] + self.memory_in_gb = kwargs['memory_in_gb'] + + +class ContactDetails(msrest.serialization.Model): + """Contains all the contact details of the customer. + + All required parameters must be populated in order to send to Azure. + + :param contact_person: Required. The contact person name. + :type contact_person: str + :param company_name: Required. The name of the company. + :type company_name: str + :param phone: Required. The phone number. + :type phone: str + :param email_list: Required. The email list. + :type email_list: list[str] + """ + + _validation = { + 'contact_person': {'required': True}, + 'company_name': {'required': True}, + 'phone': {'required': True}, + 'email_list': {'required': True}, + } + + _attribute_map = { + 'contact_person': {'key': 'contactPerson', 'type': 'str'}, + 'company_name': {'key': 'companyName', 'type': 'str'}, + 'phone': {'key': 'phone', 'type': 'str'}, + 'email_list': {'key': 'emailList', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(ContactDetails, self).__init__(**kwargs) + self.contact_person = kwargs['contact_person'] + self.company_name = kwargs['company_name'] + self.phone = kwargs['phone'] + self.email_list = kwargs['email_list'] + + +class Container(ARMBaseModel): + """Represents a container on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Container in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :ivar container_status: Current status of the container. Possible values include: "OK", + "Offline", "Unknown", "Updating", "NeedsAttention". + :vartype container_status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.ContainerStatus + :param data_format: Required. DataFormat for Container. Possible values include: "BlockBlob", + "PageBlob", "AzureFile". + :type data_format: str or ~azure.mgmt.databoxedge.v2020_09_01.models.AzureContainerDataFormat + :ivar refresh_details: Details of the refresh job on this container. + :vartype refresh_details: ~azure.mgmt.databoxedge.v2020_09_01.models.RefreshDetails + :ivar created_date_time: The UTC time when container got created. + :vartype created_date_time: ~datetime.datetime + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'container_status': {'readonly': True}, + 'data_format': {'required': True}, + 'refresh_details': {'readonly': True}, + 'created_date_time': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'container_status': {'key': 'properties.containerStatus', 'type': 'str'}, + 'data_format': {'key': 'properties.dataFormat', 'type': 'str'}, + 'refresh_details': {'key': 'properties.refreshDetails', 'type': 'RefreshDetails'}, + 'created_date_time': {'key': 'properties.createdDateTime', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(Container, self).__init__(**kwargs) + self.system_data = None + self.container_status = None + self.data_format = kwargs['data_format'] + self.refresh_details = None + self.created_date_time = None + + +class ContainerList(msrest.serialization.Model): + """Collection of all the containers on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of containers. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.Container] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Container]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ContainerList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class DataBoxEdgeDevice(ARMBaseModel): + """The Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param location: Required. The location of the device. This is a supported and registered Azure + geographical region (for example, West US, East US, or Southeast Asia). The geographical region + of a device cannot be changed once it is created, but if an identical geographical region is + specified on update, the request will succeed. + :type location: str + :param tags: A set of tags. The list of tags that describe the device. These tags can be used + to view and group this device (across resource groups). + :type tags: dict[str, str] + :param sku: The SKU type. + :type sku: ~azure.mgmt.databoxedge.v2020_09_01.models.Sku + :param etag: The etag for the devices. + :type etag: str + :param identity: Msi identity of the resource. + :type identity: ~azure.mgmt.databoxedge.v2020_09_01.models.ResourceIdentity + :ivar kind: The etag for the devices. Possible values include: "AzureDataBoxGateway", + "AzureStackEdge", "AzureStackHub", "AzureModularDataCentre". + :vartype kind: str or ~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDeviceKind + :ivar system_data: DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param data_box_edge_device_status: The status of the Data Box Edge/Gateway device. Possible + values include: "ReadyToSetup", "Online", "Offline", "NeedsAttention", "Disconnected", + "PartiallyDisconnected", "Maintenance". + :type data_box_edge_device_status: str or + ~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDeviceStatus + :ivar serial_number: The Serial Number of Data Box Edge/Gateway device. + :vartype serial_number: str + :ivar description: The Description of the Data Box Edge/Gateway device. + :vartype description: str + :ivar model_description: The description of the Data Box Edge/Gateway device model. + :vartype model_description: str + :ivar device_type: The type of the Data Box Edge/Gateway device. Possible values include: + "DataBoxEdgeDevice". + :vartype device_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.DeviceType + :ivar friendly_name: The Data Box Edge/Gateway device name. + :vartype friendly_name: str + :ivar culture: The Data Box Edge/Gateway device culture. + :vartype culture: str + :ivar device_model: The Data Box Edge/Gateway device model. + :vartype device_model: str + :ivar device_software_version: The Data Box Edge/Gateway device software version. + :vartype device_software_version: str + :ivar device_local_capacity: The Data Box Edge/Gateway device local capacity in MB. + :vartype device_local_capacity: long + :ivar time_zone: The Data Box Edge/Gateway device timezone. + :vartype time_zone: str + :ivar device_hcs_version: The device software version number of the device (eg: 1.2.18105.6). + :vartype device_hcs_version: str + :ivar configured_role_types: Type of compute roles configured. + :vartype configured_role_types: list[str or + ~azure.mgmt.databoxedge.v2020_09_01.models.RoleTypes] + :ivar node_count: The number of nodes in the cluster. + :vartype node_count: int + :ivar resource_move_details: The details of the move operation on this resource. + :vartype resource_move_details: ~azure.mgmt.databoxedge.v2020_09_01.models.ResourceMoveDetails + :ivar edge_profile: The details of Edge Profile for this resource. + :vartype edge_profile: ~azure.mgmt.databoxedge.v2020_09_01.models.EdgeProfile + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'kind': {'readonly': True}, + 'system_data': {'readonly': True}, + 'serial_number': {'readonly': True}, + 'description': {'readonly': True}, + 'model_description': {'readonly': True}, + 'device_type': {'readonly': True}, + 'friendly_name': {'readonly': True}, + 'culture': {'readonly': True}, + 'device_model': {'readonly': True}, + 'device_software_version': {'readonly': True}, + 'device_local_capacity': {'readonly': True}, + 'time_zone': {'readonly': True}, + 'device_hcs_version': {'readonly': True}, + 'configured_role_types': {'readonly': True}, + 'node_count': {'readonly': True}, + 'resource_move_details': {'readonly': True}, + 'edge_profile': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'sku': {'key': 'sku', 'type': 'Sku'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'identity': {'key': 'identity', 'type': 'ResourceIdentity'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'data_box_edge_device_status': {'key': 'properties.dataBoxEdgeDeviceStatus', 'type': 'str'}, + 'serial_number': {'key': 'properties.serialNumber', 'type': 'str'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'model_description': {'key': 'properties.modelDescription', 'type': 'str'}, + 'device_type': {'key': 'properties.deviceType', 'type': 'str'}, + 'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'}, + 'culture': {'key': 'properties.culture', 'type': 'str'}, + 'device_model': {'key': 'properties.deviceModel', 'type': 'str'}, + 'device_software_version': {'key': 'properties.deviceSoftwareVersion', 'type': 'str'}, + 'device_local_capacity': {'key': 'properties.deviceLocalCapacity', 'type': 'long'}, + 'time_zone': {'key': 'properties.timeZone', 'type': 'str'}, + 'device_hcs_version': {'key': 'properties.deviceHcsVersion', 'type': 'str'}, + 'configured_role_types': {'key': 'properties.configuredRoleTypes', 'type': '[str]'}, + 'node_count': {'key': 'properties.nodeCount', 'type': 'int'}, + 'resource_move_details': {'key': 'properties.resourceMoveDetails', 'type': 'ResourceMoveDetails'}, + 'edge_profile': {'key': 'properties.edgeProfile', 'type': 'EdgeProfile'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeDevice, self).__init__(**kwargs) + self.location = kwargs['location'] + self.tags = kwargs.get('tags', None) + self.sku = kwargs.get('sku', None) + self.etag = kwargs.get('etag', None) + self.identity = kwargs.get('identity', None) + self.kind = None + self.system_data = None + self.data_box_edge_device_status = kwargs.get('data_box_edge_device_status', None) + self.serial_number = None + self.description = None + self.model_description = None + self.device_type = None + self.friendly_name = None + self.culture = None + self.device_model = None + self.device_software_version = None + self.device_local_capacity = None + self.time_zone = None + self.device_hcs_version = None + self.configured_role_types = None + self.node_count = None + self.resource_move_details = None + self.edge_profile = None + + +class DataBoxEdgeDeviceExtendedInfo(ARMBaseModel): + """The extended Info of the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param encryption_key_thumbprint: The digital signature of encrypted certificate. + :type encryption_key_thumbprint: str + :param encryption_key: The public part of the encryption certificate. Client uses this to + encrypt any secret. + :type encryption_key: str + :ivar resource_key: The Resource ID of the Resource. + :vartype resource_key: str + :param client_secret_store_id: The Key Vault ARM Id for client secrets. + :type client_secret_store_id: str + :param client_secret_store_url: The url to access the Client Key Vault. + :type client_secret_store_url: str + :param channel_integrity_key_name: The name of Channel Integrity Key stored in the Client Key + Vault. + :type channel_integrity_key_name: str + :param channel_integrity_key_version: The version of Channel Integrity Key stored in the Client + Key Vault. + :type channel_integrity_key_version: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'resource_key': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'encryption_key_thumbprint': {'key': 'properties.encryptionKeyThumbprint', 'type': 'str'}, + 'encryption_key': {'key': 'properties.encryptionKey', 'type': 'str'}, + 'resource_key': {'key': 'properties.resourceKey', 'type': 'str'}, + 'client_secret_store_id': {'key': 'properties.clientSecretStoreId', 'type': 'str'}, + 'client_secret_store_url': {'key': 'properties.clientSecretStoreUrl', 'type': 'str'}, + 'channel_integrity_key_name': {'key': 'properties.channelIntegrityKeyName', 'type': 'str'}, + 'channel_integrity_key_version': {'key': 'properties.channelIntegrityKeyVersion', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeDeviceExtendedInfo, self).__init__(**kwargs) + self.encryption_key_thumbprint = kwargs.get('encryption_key_thumbprint', None) + self.encryption_key = kwargs.get('encryption_key', None) + self.resource_key = None + self.client_secret_store_id = kwargs.get('client_secret_store_id', None) + self.client_secret_store_url = kwargs.get('client_secret_store_url', None) + self.channel_integrity_key_name = kwargs.get('channel_integrity_key_name', None) + self.channel_integrity_key_version = kwargs.get('channel_integrity_key_version', None) + + +class DataBoxEdgeDeviceExtendedInfoPatch(msrest.serialization.Model): + """The Data Box Edge/Gateway device extended info patch. + + :param client_secret_store_id: The Key Vault ARM Id for client secrets. + :type client_secret_store_id: str + :param client_secret_store_url: The url to access the Client Key Vault. + :type client_secret_store_url: str + :param channel_integrity_key_name: The name for Channel Integrity Key stored in the Client Key + Vault. + :type channel_integrity_key_name: str + :param channel_integrity_key_version: The version of Channel Integrity Key stored in the Client + Key Vault. + :type channel_integrity_key_version: str + """ + + _attribute_map = { + 'client_secret_store_id': {'key': 'clientSecretStoreId', 'type': 'str'}, + 'client_secret_store_url': {'key': 'clientSecretStoreUrl', 'type': 'str'}, + 'channel_integrity_key_name': {'key': 'channelIntegrityKeyName', 'type': 'str'}, + 'channel_integrity_key_version': {'key': 'channelIntegrityKeyVersion', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeDeviceExtendedInfoPatch, self).__init__(**kwargs) + self.client_secret_store_id = kwargs.get('client_secret_store_id', None) + self.client_secret_store_url = kwargs.get('client_secret_store_url', None) + self.channel_integrity_key_name = kwargs.get('channel_integrity_key_name', None) + self.channel_integrity_key_version = kwargs.get('channel_integrity_key_version', None) + + +class DataBoxEdgeDeviceList(msrest.serialization.Model): + """The collection of Data Box Edge/Gateway devices. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of Data Box Edge/Gateway devices. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDevice] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DataBoxEdgeDevice]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeDeviceList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class DataBoxEdgeDevicePatch(msrest.serialization.Model): + """The Data Box Edge/Gateway device patch. + + :param tags: A set of tags. The tags attached to the Data Box Edge/Gateway resource. + :type tags: dict[str, str] + :param identity: Msi identity of the resource. + :type identity: ~azure.mgmt.databoxedge.v2020_09_01.models.ResourceIdentity + :param edge_profile: Edge Profile property of the Data Box Edge/Gateway device. + :type edge_profile: ~azure.mgmt.databoxedge.v2020_09_01.models.EdgeProfilePatch + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + 'identity': {'key': 'identity', 'type': 'ResourceIdentity'}, + 'edge_profile': {'key': 'properties.edgeProfile', 'type': 'EdgeProfilePatch'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeDevicePatch, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) + self.identity = kwargs.get('identity', None) + self.edge_profile = kwargs.get('edge_profile', None) + + +class DataBoxEdgeMoveRequest(msrest.serialization.Model): + """Resource Move details. + + All required parameters must be populated in order to send to Azure. + + :param target_resource_group: Required. Target resource group ARMId. + :type target_resource_group: str + :param resources: Required. List of resources to be moved. + :type resources: list[str] + """ + + _validation = { + 'target_resource_group': {'required': True}, + 'resources': {'required': True}, + } + + _attribute_map = { + 'target_resource_group': {'key': 'targetResourceGroup', 'type': 'str'}, + 'resources': {'key': 'resources', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeMoveRequest, self).__init__(**kwargs) + self.target_resource_group = kwargs['target_resource_group'] + self.resources = kwargs['resources'] + + +class DataBoxEdgeSku(msrest.serialization.Model): + """The Sku information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar resource_type: The type of the resource. + :vartype resource_type: str + :ivar name: The Sku name. Possible values include: "Gateway", "Edge", "TEA_1Node", + "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", + "TEA_4Node_UPS_Heater", "TMA", "TDC", "TCA_Small", "GPU", "TCA_Large", "EdgeP_Base", + "EdgeP_High", "EdgePR_Base", "EdgePR_Base_UPS", "EdgeMR_Mini", "RCA_Small", "RCA_Large", "RDC". + :vartype name: str or ~azure.mgmt.databoxedge.v2020_09_01.models.SkuName + :ivar kind: The Sku kind. + :vartype kind: str + :ivar tier: The Sku tier. Possible values include: "Standard". + :vartype tier: str or ~azure.mgmt.databoxedge.v2020_09_01.models.SkuTier + :ivar size: The Sku kind. + :vartype size: str + :ivar family: The Sku family. + :vartype family: str + :ivar locations: Availability of the Sku for the region. + :vartype locations: list[str] + :ivar api_versions: The API versions in which Sku is available. + :vartype api_versions: list[str] + :ivar location_info: Availability of the Sku for the location/zone/site. + :vartype location_info: list[~azure.mgmt.databoxedge.v2020_09_01.models.SkuLocationInfo] + :ivar costs: The pricing info of the Sku. + :vartype costs: list[~azure.mgmt.databoxedge.v2020_09_01.models.SkuCost] + :ivar signup_option: Sku can be signed up by customer or not. Possible values include: "None", + "Available". + :vartype signup_option: str or ~azure.mgmt.databoxedge.v2020_09_01.models.SkuSignupOption + :ivar version: Availability of the Sku as preview/stable. Possible values include: "Stable", + "Preview". + :vartype version: str or ~azure.mgmt.databoxedge.v2020_09_01.models.SkuVersion + :ivar availability: Links to the next set of results. Possible values include: "Available", + "Unavailable". + :vartype availability: str or ~azure.mgmt.databoxedge.v2020_09_01.models.SkuAvailability + :ivar shipment_types: List of Shipment Types supported by this SKU. + :vartype shipment_types: list[str or ~azure.mgmt.databoxedge.v2020_09_01.models.ShipmentType] + """ + + _validation = { + 'resource_type': {'readonly': True}, + 'name': {'readonly': True}, + 'kind': {'readonly': True}, + 'tier': {'readonly': True}, + 'size': {'readonly': True}, + 'family': {'readonly': True}, + 'locations': {'readonly': True}, + 'api_versions': {'readonly': True}, + 'location_info': {'readonly': True}, + 'costs': {'readonly': True}, + 'signup_option': {'readonly': True}, + 'version': {'readonly': True}, + 'availability': {'readonly': True}, + 'shipment_types': {'readonly': True}, + } + + _attribute_map = { + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'size': {'key': 'size', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'locations': {'key': 'locations', 'type': '[str]'}, + 'api_versions': {'key': 'apiVersions', 'type': '[str]'}, + 'location_info': {'key': 'locationInfo', 'type': '[SkuLocationInfo]'}, + 'costs': {'key': 'costs', 'type': '[SkuCost]'}, + 'signup_option': {'key': 'signupOption', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + 'availability': {'key': 'availability', 'type': 'str'}, + 'shipment_types': {'key': 'shipmentTypes', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeSku, self).__init__(**kwargs) + self.resource_type = None + self.name = None + self.kind = None + self.tier = None + self.size = None + self.family = None + self.locations = None + self.api_versions = None + self.location_info = None + self.costs = None + self.signup_option = None + self.version = None + self.availability = None + self.shipment_types = None + + +class DataBoxEdgeSkuList(msrest.serialization.Model): + """List of SKU Information objects. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of ResourceType Sku. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeSku] + :ivar next_link: Links to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DataBoxEdgeSku]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeSkuList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class DCAccessCode(msrest.serialization.Model): + """DC Access code in the case of Self Managed Shipping. + + :param auth_code: DCAccess Code for the Self Managed shipment. + :type auth_code: str + """ + + _attribute_map = { + 'auth_code': {'key': 'properties.authCode', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DCAccessCode, self).__init__(**kwargs) + self.auth_code = kwargs.get('auth_code', None) + + +class EdgeProfile(msrest.serialization.Model): + """Details about Edge Profile for the resource. + + :param subscription: Edge Profile Subscription. + :type subscription: ~azure.mgmt.databoxedge.v2020_09_01.models.EdgeProfileSubscription + """ + + _attribute_map = { + 'subscription': {'key': 'subscription', 'type': 'EdgeProfileSubscription'}, + } + + def __init__( + self, + **kwargs + ): + super(EdgeProfile, self).__init__(**kwargs) + self.subscription = kwargs.get('subscription', None) + + +class EdgeProfilePatch(msrest.serialization.Model): + """The Data Box Edge/Gateway Edge Profile patch. + + :param subscription: The Data Box Edge/Gateway Edge Profile Subscription patch. + :type subscription: ~azure.mgmt.databoxedge.v2020_09_01.models.EdgeProfileSubscriptionPatch + """ + + _attribute_map = { + 'subscription': {'key': 'subscription', 'type': 'EdgeProfileSubscriptionPatch'}, + } + + def __init__( + self, + **kwargs + ): + super(EdgeProfilePatch, self).__init__(**kwargs) + self.subscription = kwargs.get('subscription', None) + + +class EdgeProfileSubscription(msrest.serialization.Model): + """Subscription details for the Edge Profile. + + :param registration_id: Edge Subscription Registration ID. + :type registration_id: str + :param id: ARM ID of the subscription. + :type id: str + :param state: Possible values include: "Registered", "Warned", "Suspended", "Deleted", + "Unregistered". + :type state: str or ~azure.mgmt.databoxedge.v2020_09_01.models.SubscriptionState + :param registration_date: + :type registration_date: str + :param subscription_id: + :type subscription_id: str + :param tenant_id: + :type tenant_id: str + :param location_placement_id: + :type location_placement_id: str + :param quota_id: + :type quota_id: str + :param serialized_details: + :type serialized_details: str + :param registered_features: + :type registered_features: + list[~azure.mgmt.databoxedge.v2020_09_01.models.SubscriptionRegisteredFeatures] + """ + + _attribute_map = { + 'registration_id': {'key': 'registrationId', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + 'registration_date': {'key': 'registrationDate', 'type': 'str'}, + 'subscription_id': {'key': 'subscriptionId', 'type': 'str'}, + 'tenant_id': {'key': 'properties.tenantId', 'type': 'str'}, + 'location_placement_id': {'key': 'properties.locationPlacementId', 'type': 'str'}, + 'quota_id': {'key': 'properties.quotaId', 'type': 'str'}, + 'serialized_details': {'key': 'properties.serializedDetails', 'type': 'str'}, + 'registered_features': {'key': 'properties.registeredFeatures', 'type': '[SubscriptionRegisteredFeatures]'}, + } + + def __init__( + self, + **kwargs + ): + super(EdgeProfileSubscription, self).__init__(**kwargs) + self.registration_id = kwargs.get('registration_id', None) + self.id = kwargs.get('id', None) + self.state = kwargs.get('state', None) + self.registration_date = kwargs.get('registration_date', None) + self.subscription_id = kwargs.get('subscription_id', None) + self.tenant_id = kwargs.get('tenant_id', None) + self.location_placement_id = kwargs.get('location_placement_id', None) + self.quota_id = kwargs.get('quota_id', None) + self.serialized_details = kwargs.get('serialized_details', None) + self.registered_features = kwargs.get('registered_features', None) + + +class EdgeProfileSubscriptionPatch(msrest.serialization.Model): + """The Data Box Edge/Gateway Edge Profile Subscription patch. + + :param id: The path ID that uniquely identifies the subscription of the edge profile. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EdgeProfileSubscriptionPatch, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + + +class EtcdInfo(msrest.serialization.Model): + """Etcd configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: Etcd type. + :vartype type: str + :ivar version: Etcd version. + :vartype version: str + """ + + _validation = { + 'type': {'readonly': True}, + 'version': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EtcdInfo, self).__init__(**kwargs) + self.type = None + self.version = None + + +class Trigger(ARMBaseModel): + """Trigger details. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: FileEventTrigger, PeriodicTimerEventTrigger. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Trigger in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: + "FileEvent", "PeriodicTimerEvent". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01.models.TriggerEventType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'kind': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'kind': {'key': 'kind', 'type': 'str'}, + } + + _subtype_map = { + 'kind': {'FileEvent': 'FileEventTrigger', 'PeriodicTimerEvent': 'PeriodicTimerEventTrigger'} + } + + def __init__( + self, + **kwargs + ): + super(Trigger, self).__init__(**kwargs) + self.system_data = None + self.kind = 'Trigger' # type: str + + +class FileEventTrigger(Trigger): + """Trigger details. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Trigger in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: + "FileEvent", "PeriodicTimerEvent". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01.models.TriggerEventType + :param source_info: Required. File event source details. + :type source_info: ~azure.mgmt.databoxedge.v2020_09_01.models.FileSourceInfo + :param sink_info: Required. Role sink info. + :type sink_info: ~azure.mgmt.databoxedge.v2020_09_01.models.RoleSinkInfo + :param custom_context_tag: A custom context tag typically used to correlate the trigger against + its usage. For example, if a periodic timer trigger is intended for certain specific IoT + modules in the device, the tag can be the name or the image URL of the module. + :type custom_context_tag: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'kind': {'required': True}, + 'source_info': {'required': True}, + 'sink_info': {'required': True}, + 'custom_context_tag': {'max_length': 192, 'min_length': 0}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'source_info': {'key': 'properties.sourceInfo', 'type': 'FileSourceInfo'}, + 'sink_info': {'key': 'properties.sinkInfo', 'type': 'RoleSinkInfo'}, + 'custom_context_tag': {'key': 'properties.customContextTag', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FileEventTrigger, self).__init__(**kwargs) + self.kind = 'FileEvent' # type: str + self.source_info = kwargs['source_info'] + self.sink_info = kwargs['sink_info'] + self.custom_context_tag = kwargs.get('custom_context_tag', None) + + +class FileSourceInfo(msrest.serialization.Model): + """File source details. + + All required parameters must be populated in order to send to Azure. + + :param share_id: Required. File share ID. + :type share_id: str + """ + + _validation = { + 'share_id': {'required': True}, + } + + _attribute_map = { + 'share_id': {'key': 'shareId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FileSourceInfo, self).__init__(**kwargs) + self.share_id = kwargs['share_id'] + + +class GenerateCertResponse(msrest.serialization.Model): + """Used in activation key generation flow. + + :param public_key: Gets or sets base64 encoded certificate raw data, + this is the public part needed to be uploaded to cert vault. + :type public_key: str + :param private_key: Gets or sets base64 encoded private part of the certificate, + needed to form the activation key. + :type private_key: str + :param expiry_time_in_utc: Gets or sets expiry time in UTC. + :type expiry_time_in_utc: str + """ + + _attribute_map = { + 'public_key': {'key': 'publicKey', 'type': 'str'}, + 'private_key': {'key': 'privateKey', 'type': 'str'}, + 'expiry_time_in_utc': {'key': 'expiryTimeInUTC', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(GenerateCertResponse, self).__init__(**kwargs) + self.public_key = kwargs.get('public_key', None) + self.private_key = kwargs.get('private_key', None) + self.expiry_time_in_utc = kwargs.get('expiry_time_in_utc', None) + + +class ImageRepositoryCredential(msrest.serialization.Model): + """Image repository credential. + + All required parameters must be populated in order to send to Azure. + + :param image_repository_url: Required. Image repository url (e.g.: mcr.microsoft.com). + :type image_repository_url: str + :param user_name: Required. Repository user name. + :type user_name: str + :param password: Repository user password. + :type password: ~azure.mgmt.databoxedge.v2020_09_01.models.AsymmetricEncryptedSecret + """ + + _validation = { + 'image_repository_url': {'required': True}, + 'user_name': {'required': True}, + } + + _attribute_map = { + 'image_repository_url': {'key': 'imageRepositoryUrl', 'type': 'str'}, + 'user_name': {'key': 'userName', 'type': 'str'}, + 'password': {'key': 'password', 'type': 'AsymmetricEncryptedSecret'}, + } + + def __init__( + self, + **kwargs + ): + super(ImageRepositoryCredential, self).__init__(**kwargs) + self.image_repository_url = kwargs['image_repository_url'] + self.user_name = kwargs['user_name'] + self.password = kwargs.get('password', None) + + +class IoTAddon(Addon): + """IoT Addon. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Addon type.Constant filled by server. Possible values include: + "IotEdge", "ArcForKubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01.models.AddonType + :ivar system_data: Addon type. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param io_t_device_details: Required. IoT device metadata to which appliance needs to be + connected. + :type io_t_device_details: ~azure.mgmt.databoxedge.v2020_09_01.models.IoTDeviceInfo + :param io_t_edge_device_details: Required. IoT edge device to which the IoT Addon needs to be + configured. + :type io_t_edge_device_details: ~azure.mgmt.databoxedge.v2020_09_01.models.IoTDeviceInfo + :ivar version: Version of IoT running on the appliance. + :vartype version: str + :ivar host_platform: Host OS supported by the IoT addon. Possible values include: "Windows", + "Linux". + :vartype host_platform: str or ~azure.mgmt.databoxedge.v2020_09_01.models.PlatformType + :ivar host_platform_type: Platform where the runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.HostPlatformType + :ivar provisioning_state: Addon Provisioning State. Possible values include: "Invalid", + "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting". + :vartype provisioning_state: str or ~azure.mgmt.databoxedge.v2020_09_01.models.AddonState + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'io_t_device_details': {'required': True}, + 'io_t_edge_device_details': {'required': True}, + 'version': {'readonly': True}, + 'host_platform': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'io_t_device_details': {'key': 'properties.ioTDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'io_t_edge_device_details': {'key': 'properties.ioTEdgeDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'version': {'key': 'properties.version', 'type': 'str'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IoTAddon, self).__init__(**kwargs) + self.kind = 'IotEdge' # type: str + self.io_t_device_details = kwargs['io_t_device_details'] + self.io_t_edge_device_details = kwargs['io_t_edge_device_details'] + self.version = None + self.host_platform = None + self.host_platform_type = None + self.provisioning_state = None + + +class IoTDeviceInfo(msrest.serialization.Model): + """Metadata of IoT device/IoT Edge device to be configured. + + All required parameters must be populated in order to send to Azure. + + :param device_id: Required. ID of the IoT device/edge device. + :type device_id: str + :param io_t_host_hub: Required. Host name for the IoT hub associated to the device. + :type io_t_host_hub: str + :param io_t_host_hub_id: Id for the IoT hub associated to the device. + :type io_t_host_hub_id: str + :param authentication: Encrypted IoT device/IoT edge device connection string. + :type authentication: ~azure.mgmt.databoxedge.v2020_09_01.models.Authentication + """ + + _validation = { + 'device_id': {'required': True}, + 'io_t_host_hub': {'required': True}, + } + + _attribute_map = { + 'device_id': {'key': 'deviceId', 'type': 'str'}, + 'io_t_host_hub': {'key': 'ioTHostHub', 'type': 'str'}, + 'io_t_host_hub_id': {'key': 'ioTHostHubId', 'type': 'str'}, + 'authentication': {'key': 'authentication', 'type': 'Authentication'}, + } + + def __init__( + self, + **kwargs + ): + super(IoTDeviceInfo, self).__init__(**kwargs) + self.device_id = kwargs['device_id'] + self.io_t_host_hub = kwargs['io_t_host_hub'] + self.io_t_host_hub_id = kwargs.get('io_t_host_hub_id', None) + self.authentication = kwargs.get('authentication', None) + + +class IoTEdgeAgentInfo(msrest.serialization.Model): + """IoT edge agent details is optional, this will be used for download system Agent module while bootstrapping IoT Role if specified. + + All required parameters must be populated in order to send to Azure. + + :param image_name: Required. Name of the IoT edge agent image. + :type image_name: str + :param tag: Required. Image Tag. + :type tag: str + :param image_repository: Image repository details. + :type image_repository: ~azure.mgmt.databoxedge.v2020_09_01.models.ImageRepositoryCredential + """ + + _validation = { + 'image_name': {'required': True}, + 'tag': {'required': True}, + } + + _attribute_map = { + 'image_name': {'key': 'imageName', 'type': 'str'}, + 'tag': {'key': 'tag', 'type': 'str'}, + 'image_repository': {'key': 'imageRepository', 'type': 'ImageRepositoryCredential'}, + } + + def __init__( + self, + **kwargs + ): + super(IoTEdgeAgentInfo, self).__init__(**kwargs) + self.image_name = kwargs['image_name'] + self.tag = kwargs['tag'] + self.image_repository = kwargs.get('image_repository', None) + + +class IoTRole(Role): + """Compute role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param host_platform: Host OS supported by the IoT role. Possible values include: "Windows", + "Linux". + :type host_platform: str or ~azure.mgmt.databoxedge.v2020_09_01.models.PlatformType + :param io_t_device_details: IoT device metadata to which data box edge device needs to be + connected. + :type io_t_device_details: ~azure.mgmt.databoxedge.v2020_09_01.models.IoTDeviceInfo + :param io_t_edge_device_details: IoT edge device to which the IoT role needs to be configured. + :type io_t_edge_device_details: ~azure.mgmt.databoxedge.v2020_09_01.models.IoTDeviceInfo + :param share_mappings: Mount points of shares in role(s). + :type share_mappings: list[~azure.mgmt.databoxedge.v2020_09_01.models.MountPointMap] + :param io_t_edge_agent_info: Iot edge agent details to download the agent and bootstrap iot + runtime. + :type io_t_edge_agent_info: ~azure.mgmt.databoxedge.v2020_09_01.models.IoTEdgeAgentInfo + :ivar host_platform_type: Platform where the Iot runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.HostPlatformType + :param compute_resource: Resource allocation. + :type compute_resource: ~azure.mgmt.databoxedge.v2020_09_01.models.ComputeResource + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'io_t_device_details': {'key': 'properties.ioTDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'io_t_edge_device_details': {'key': 'properties.ioTEdgeDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'share_mappings': {'key': 'properties.shareMappings', 'type': '[MountPointMap]'}, + 'io_t_edge_agent_info': {'key': 'properties.ioTEdgeAgentInfo', 'type': 'IoTEdgeAgentInfo'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'compute_resource': {'key': 'properties.computeResource', 'type': 'ComputeResource'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IoTRole, self).__init__(**kwargs) + self.kind = 'IOT' # type: str + self.host_platform = kwargs.get('host_platform', None) + self.io_t_device_details = kwargs.get('io_t_device_details', None) + self.io_t_edge_device_details = kwargs.get('io_t_edge_device_details', None) + self.share_mappings = kwargs.get('share_mappings', None) + self.io_t_edge_agent_info = kwargs.get('io_t_edge_agent_info', None) + self.host_platform_type = None + self.compute_resource = kwargs.get('compute_resource', None) + self.role_status = kwargs.get('role_status', None) + + +class Ipv4Config(msrest.serialization.Model): + """Details related to the IPv4 address configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar ip_address: The IPv4 address of the network adapter. + :vartype ip_address: str + :ivar subnet: The IPv4 subnet of the network adapter. + :vartype subnet: str + :ivar gateway: The IPv4 gateway of the network adapter. + :vartype gateway: str + """ + + _validation = { + 'ip_address': {'readonly': True}, + 'subnet': {'readonly': True}, + 'gateway': {'readonly': True}, + } + + _attribute_map = { + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + 'subnet': {'key': 'subnet', 'type': 'str'}, + 'gateway': {'key': 'gateway', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Ipv4Config, self).__init__(**kwargs) + self.ip_address = None + self.subnet = None + self.gateway = None + + +class Ipv6Config(msrest.serialization.Model): + """Details related to the IPv6 address configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar ip_address: The IPv6 address of the network adapter. + :vartype ip_address: str + :ivar prefix_length: The IPv6 prefix of the network adapter. + :vartype prefix_length: int + :ivar gateway: The IPv6 gateway of the network adapter. + :vartype gateway: str + """ + + _validation = { + 'ip_address': {'readonly': True}, + 'prefix_length': {'readonly': True}, + 'gateway': {'readonly': True}, + } + + _attribute_map = { + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + 'prefix_length': {'key': 'prefixLength', 'type': 'int'}, + 'gateway': {'key': 'gateway', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Ipv6Config, self).__init__(**kwargs) + self.ip_address = None + self.prefix_length = None + self.gateway = None + + +class Job(msrest.serialization.Model): + """A device job. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The name of the object. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar status: The current status of the job. Possible values include: "Invalid", "Running", + "Succeeded", "Failed", "Canceled", "Paused", "Scheduled". + :vartype status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.JobStatus + :ivar start_time: The UTC date and time at which the job started. + :vartype start_time: ~datetime.datetime + :ivar end_time: The UTC date and time at which the job completed. + :vartype end_time: ~datetime.datetime + :ivar percent_complete: The percentage of the job that is complete. + :vartype percent_complete: int + :ivar error: The error details. + :vartype error: ~azure.mgmt.databoxedge.v2020_09_01.models.JobErrorDetails + :ivar job_type: The type of the job. Possible values include: "Invalid", "ScanForUpdates", + "DownloadUpdates", "InstallUpdates", "RefreshShare", "RefreshContainer", "Backup", "Restore", + "TriggerSupportPackage". + :vartype job_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.JobType + :ivar current_stage: Current stage of the update operation. Possible values include: "Unknown", + "Initial", "ScanStarted", "ScanComplete", "ScanFailed", "DownloadStarted", "DownloadComplete", + "DownloadFailed", "InstallStarted", "InstallComplete", "InstallFailed", "RebootInitiated", + "Success", "Failure", "RescanStarted", "RescanComplete", "RescanFailed". + :vartype current_stage: str or ~azure.mgmt.databoxedge.v2020_09_01.models.UpdateOperationStage + :ivar download_progress: The download progress. + :vartype download_progress: ~azure.mgmt.databoxedge.v2020_09_01.models.UpdateDownloadProgress + :ivar install_progress: The install progress. + :vartype install_progress: ~azure.mgmt.databoxedge.v2020_09_01.models.UpdateInstallProgress + :ivar total_refresh_errors: Total number of errors encountered during the refresh process. + :vartype total_refresh_errors: int + :ivar error_manifest_file: Local share/remote container relative path to the error manifest + file of the refresh. + :vartype error_manifest_file: str + :ivar refreshed_entity_id: ARM ID of the entity that was refreshed. + :vartype refreshed_entity_id: str + :param folder: If only subfolders need to be refreshed, then the subfolder path inside the + share or container. (The path is empty if there are no subfolders.). + :type folder: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'status': {'readonly': True}, + 'start_time': {'readonly': True}, + 'end_time': {'readonly': True}, + 'percent_complete': {'readonly': True}, + 'error': {'readonly': True}, + 'job_type': {'readonly': True}, + 'current_stage': {'readonly': True}, + 'download_progress': {'readonly': True}, + 'install_progress': {'readonly': True}, + 'total_refresh_errors': {'readonly': True}, + 'error_manifest_file': {'readonly': True}, + 'refreshed_entity_id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'percent_complete': {'key': 'percentComplete', 'type': 'int'}, + 'error': {'key': 'error', 'type': 'JobErrorDetails'}, + 'job_type': {'key': 'properties.jobType', 'type': 'str'}, + 'current_stage': {'key': 'properties.currentStage', 'type': 'str'}, + 'download_progress': {'key': 'properties.downloadProgress', 'type': 'UpdateDownloadProgress'}, + 'install_progress': {'key': 'properties.installProgress', 'type': 'UpdateInstallProgress'}, + 'total_refresh_errors': {'key': 'properties.totalRefreshErrors', 'type': 'int'}, + 'error_manifest_file': {'key': 'properties.errorManifestFile', 'type': 'str'}, + 'refreshed_entity_id': {'key': 'properties.refreshedEntityId', 'type': 'str'}, + 'folder': {'key': 'properties.folder', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Job, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.status = None + self.start_time = None + self.end_time = None + self.percent_complete = None + self.error = None + self.job_type = None + self.current_stage = None + self.download_progress = None + self.install_progress = None + self.total_refresh_errors = None + self.error_manifest_file = None + self.refreshed_entity_id = None + self.folder = kwargs.get('folder', None) + + +class JobErrorDetails(msrest.serialization.Model): + """The job error information containing the list of job errors. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar error_details: The error details. + :vartype error_details: list[~azure.mgmt.databoxedge.v2020_09_01.models.JobErrorItem] + :ivar code: The code intended for programmatic access. + :vartype code: str + :ivar message: The message that describes the error in detail. + :vartype message: str + """ + + _validation = { + 'error_details': {'readonly': True}, + 'code': {'readonly': True}, + 'message': {'readonly': True}, + } + + _attribute_map = { + 'error_details': {'key': 'errorDetails', 'type': '[JobErrorItem]'}, + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(JobErrorDetails, self).__init__(**kwargs) + self.error_details = None + self.code = None + self.message = None + + +class JobErrorItem(msrest.serialization.Model): + """The job error items. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar recommendations: The recommended actions. + :vartype recommendations: list[str] + :ivar code: The code intended for programmatic access. + :vartype code: str + :ivar message: The message that describes the error in detail. + :vartype message: str + """ + + _validation = { + 'recommendations': {'readonly': True}, + 'code': {'readonly': True}, + 'message': {'readonly': True}, + } + + _attribute_map = { + 'recommendations': {'key': 'recommendations', 'type': '[str]'}, + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(JobErrorItem, self).__init__(**kwargs) + self.recommendations = None + self.code = None + self.message = None + + +class KubernetesClusterInfo(msrest.serialization.Model): + """Kubernetes cluster configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar etcd_info: Etcd configuration. + :vartype etcd_info: ~azure.mgmt.databoxedge.v2020_09_01.models.EtcdInfo + :ivar nodes: Kubernetes cluster nodes. + :vartype nodes: list[~azure.mgmt.databoxedge.v2020_09_01.models.NodeInfo] + :param version: Required. Kubernetes cluster version. + :type version: str + """ + + _validation = { + 'etcd_info': {'readonly': True}, + 'nodes': {'readonly': True}, + 'version': {'required': True}, + } + + _attribute_map = { + 'etcd_info': {'key': 'etcdInfo', 'type': 'EtcdInfo'}, + 'nodes': {'key': 'nodes', 'type': '[NodeInfo]'}, + 'version': {'key': 'version', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesClusterInfo, self).__init__(**kwargs) + self.etcd_info = None + self.nodes = None + self.version = kwargs['version'] + + +class KubernetesIPConfiguration(msrest.serialization.Model): + """Kubernetes node IP configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar port: Port of the Kubernetes node. + :vartype port: str + :param ip_address: IP address of the Kubernetes node. + :type ip_address: str + """ + + _validation = { + 'port': {'readonly': True}, + } + + _attribute_map = { + 'port': {'key': 'port', 'type': 'str'}, + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesIPConfiguration, self).__init__(**kwargs) + self.port = None + self.ip_address = kwargs.get('ip_address', None) + + +class KubernetesRole(Role): + """Kubernetes role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param host_platform: Host OS supported by the Kubernetes role. Possible values include: + "Windows", "Linux". + :type host_platform: str or ~azure.mgmt.databoxedge.v2020_09_01.models.PlatformType + :ivar provisioning_state: State of Kubernetes deployment. Possible values include: "Invalid", + "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting". + :vartype provisioning_state: str or ~azure.mgmt.databoxedge.v2020_09_01.models.KubernetesState + :ivar host_platform_type: Platform where the runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.HostPlatformType + :param kubernetes_cluster_info: Kubernetes cluster configuration. + :type kubernetes_cluster_info: ~azure.mgmt.databoxedge.v2020_09_01.models.KubernetesClusterInfo + :param kubernetes_role_resources: Kubernetes role resources. + :type kubernetes_role_resources: + ~azure.mgmt.databoxedge.v2020_09_01.models.KubernetesRoleResources + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'kubernetes_cluster_info': {'key': 'properties.kubernetesClusterInfo', 'type': 'KubernetesClusterInfo'}, + 'kubernetes_role_resources': {'key': 'properties.kubernetesRoleResources', 'type': 'KubernetesRoleResources'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRole, self).__init__(**kwargs) + self.kind = 'Kubernetes' # type: str + self.host_platform = kwargs.get('host_platform', None) + self.provisioning_state = None + self.host_platform_type = None + self.kubernetes_cluster_info = kwargs.get('kubernetes_cluster_info', None) + self.kubernetes_role_resources = kwargs.get('kubernetes_role_resources', None) + self.role_status = kwargs.get('role_status', None) + + +class KubernetesRoleCompute(msrest.serialization.Model): + """Kubernetes role compute resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param vm_profile: Required. VM profile. + :type vm_profile: str + :ivar memory_in_bytes: Memory in bytes. + :vartype memory_in_bytes: long + :ivar processor_count: Processor count. + :vartype processor_count: int + """ + + _validation = { + 'vm_profile': {'required': True}, + 'memory_in_bytes': {'readonly': True}, + 'processor_count': {'readonly': True}, + } + + _attribute_map = { + 'vm_profile': {'key': 'vmProfile', 'type': 'str'}, + 'memory_in_bytes': {'key': 'memoryInBytes', 'type': 'long'}, + 'processor_count': {'key': 'processorCount', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleCompute, self).__init__(**kwargs) + self.vm_profile = kwargs['vm_profile'] + self.memory_in_bytes = None + self.processor_count = None + + +class KubernetesRoleNetwork(msrest.serialization.Model): + """Kubernetes role network resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar cni_config: Cni configuration. + :vartype cni_config: ~azure.mgmt.databoxedge.v2020_09_01.models.CniConfig + :ivar load_balancer_config: Load balancer configuration. + :vartype load_balancer_config: ~azure.mgmt.databoxedge.v2020_09_01.models.LoadBalancerConfig + """ + + _validation = { + 'cni_config': {'readonly': True}, + 'load_balancer_config': {'readonly': True}, + } + + _attribute_map = { + 'cni_config': {'key': 'cniConfig', 'type': 'CniConfig'}, + 'load_balancer_config': {'key': 'loadBalancerConfig', 'type': 'LoadBalancerConfig'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleNetwork, self).__init__(**kwargs) + self.cni_config = None + self.load_balancer_config = None + + +class KubernetesRoleResources(msrest.serialization.Model): + """Kubernetes role resources. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param storage: Kubernetes role storage resource. + :type storage: ~azure.mgmt.databoxedge.v2020_09_01.models.KubernetesRoleStorage + :param compute: Required. Kubernetes role compute resource. + :type compute: ~azure.mgmt.databoxedge.v2020_09_01.models.KubernetesRoleCompute + :ivar network: Kubernetes role network resource. + :vartype network: ~azure.mgmt.databoxedge.v2020_09_01.models.KubernetesRoleNetwork + """ + + _validation = { + 'compute': {'required': True}, + 'network': {'readonly': True}, + } + + _attribute_map = { + 'storage': {'key': 'storage', 'type': 'KubernetesRoleStorage'}, + 'compute': {'key': 'compute', 'type': 'KubernetesRoleCompute'}, + 'network': {'key': 'network', 'type': 'KubernetesRoleNetwork'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleResources, self).__init__(**kwargs) + self.storage = kwargs.get('storage', None) + self.compute = kwargs['compute'] + self.network = None + + +class KubernetesRoleStorage(msrest.serialization.Model): + """Kubernetes role storage resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar storage_classes: Kubernetes storage class info. + :vartype storage_classes: + list[~azure.mgmt.databoxedge.v2020_09_01.models.KubernetesRoleStorageClassInfo] + :param endpoints: Mount points of shares in role(s). + :type endpoints: list[~azure.mgmt.databoxedge.v2020_09_01.models.MountPointMap] + """ + + _validation = { + 'storage_classes': {'readonly': True}, + } + + _attribute_map = { + 'storage_classes': {'key': 'storageClasses', 'type': '[KubernetesRoleStorageClassInfo]'}, + 'endpoints': {'key': 'endpoints', 'type': '[MountPointMap]'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleStorage, self).__init__(**kwargs) + self.storage_classes = None + self.endpoints = kwargs.get('endpoints', None) + + +class KubernetesRoleStorageClassInfo(msrest.serialization.Model): + """Kubernetes storage class info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Storage class name. + :vartype name: str + :ivar type: Storage class type. + :vartype type: str + :ivar posix_compliant: If provisioned storage is posix compliant. Possible values include: + "Invalid", "Enabled", "Disabled". + :vartype posix_compliant: str or + ~azure.mgmt.databoxedge.v2020_09_01.models.PosixComplianceStatus + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'posix_compliant': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'posix_compliant': {'key': 'posixCompliant', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleStorageClassInfo, self).__init__(**kwargs) + self.name = None + self.type = None + self.posix_compliant = None + + +class LoadBalancerConfig(msrest.serialization.Model): + """Load balancer configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: Load balancer type. + :vartype type: str + :ivar version: Load balancer version. + :vartype version: str + """ + + _validation = { + 'type': {'readonly': True}, + 'version': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LoadBalancerConfig, self).__init__(**kwargs) + self.type = None + self.version = None + + +class MECRole(Role): + """MEC role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param connection_string: Activation key of the MEC. + :type connection_string: ~azure.mgmt.databoxedge.v2020_09_01.models.AsymmetricEncryptedSecret + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'connection_string': {'key': 'properties.connectionString', 'type': 'AsymmetricEncryptedSecret'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MECRole, self).__init__(**kwargs) + self.kind = 'MEC' # type: str + self.connection_string = kwargs.get('connection_string', None) + self.role_status = kwargs.get('role_status', None) + + +class MetricConfiguration(msrest.serialization.Model): + """Metric configuration. + + All required parameters must be populated in order to send to Azure. + + :param resource_id: Required. The Resource ID on which the metrics should be pushed. + :type resource_id: str + :param mdm_account: The MDM account to which the counters should be pushed. + :type mdm_account: str + :param metric_name_space: The MDM namespace to which the counters should be pushed. This is + required if MDMAccount is specified. + :type metric_name_space: str + :param counter_sets: Required. Host name for the IoT hub associated to the device. + :type counter_sets: list[~azure.mgmt.databoxedge.v2020_09_01.models.MetricCounterSet] + """ + + _validation = { + 'resource_id': {'required': True}, + 'counter_sets': {'required': True}, + } + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'mdm_account': {'key': 'mdmAccount', 'type': 'str'}, + 'metric_name_space': {'key': 'metricNameSpace', 'type': 'str'}, + 'counter_sets': {'key': 'counterSets', 'type': '[MetricCounterSet]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricConfiguration, self).__init__(**kwargs) + self.resource_id = kwargs['resource_id'] + self.mdm_account = kwargs.get('mdm_account', None) + self.metric_name_space = kwargs.get('metric_name_space', None) + self.counter_sets = kwargs['counter_sets'] + + +class MetricCounter(msrest.serialization.Model): + """The metric counter. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The counter name. + :type name: str + :param instance: The instance from which counter should be collected. + :type instance: str + :param dimension_filter: The dimension filter. + :type dimension_filter: list[~azure.mgmt.databoxedge.v2020_09_01.models.MetricDimension] + :param additional_dimensions: The additional dimensions to be added to metric. + :type additional_dimensions: list[~azure.mgmt.databoxedge.v2020_09_01.models.MetricDimension] + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'instance': {'key': 'instance', 'type': 'str'}, + 'dimension_filter': {'key': 'dimensionFilter', 'type': '[MetricDimension]'}, + 'additional_dimensions': {'key': 'additionalDimensions', 'type': '[MetricDimension]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricCounter, self).__init__(**kwargs) + self.name = kwargs['name'] + self.instance = kwargs.get('instance', None) + self.dimension_filter = kwargs.get('dimension_filter', None) + self.additional_dimensions = kwargs.get('additional_dimensions', None) + + +class MetricCounterSet(msrest.serialization.Model): + """The metric counter set. + + All required parameters must be populated in order to send to Azure. + + :param counters: Required. The counters that should be collected in this set. + :type counters: list[~azure.mgmt.databoxedge.v2020_09_01.models.MetricCounter] + """ + + _validation = { + 'counters': {'required': True}, + } + + _attribute_map = { + 'counters': {'key': 'counters', 'type': '[MetricCounter]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricCounterSet, self).__init__(**kwargs) + self.counters = kwargs['counters'] + + +class MetricDimension(msrest.serialization.Model): + """The metric dimension. + + All required parameters must be populated in order to send to Azure. + + :param source_type: Required. The dimension type. + :type source_type: str + :param source_name: Required. The dimension value. + :type source_name: str + """ + + _validation = { + 'source_type': {'required': True}, + 'source_name': {'required': True}, + } + + _attribute_map = { + 'source_type': {'key': 'sourceType', 'type': 'str'}, + 'source_name': {'key': 'sourceName', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricDimension, self).__init__(**kwargs) + self.source_type = kwargs['source_type'] + self.source_name = kwargs['source_name'] + + +class MetricDimensionV1(msrest.serialization.Model): + """Metric Dimension v1. + + :param name: Name of the metrics dimension. + :type name: str + :param display_name: Display name of the metrics dimension. + :type display_name: str + :param to_be_exported_for_shoebox: To be exported to shoe box. + :type to_be_exported_for_shoebox: bool + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'to_be_exported_for_shoebox': {'key': 'toBeExportedForShoebox', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricDimensionV1, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display_name = kwargs.get('display_name', None) + self.to_be_exported_for_shoebox = kwargs.get('to_be_exported_for_shoebox', None) + + +class MetricSpecificationV1(msrest.serialization.Model): + """Metric specification version 1. + + :param name: Name of the metric. + :type name: str + :param display_name: Display name of the metric. + :type display_name: str + :param display_description: Description of the metric to be displayed. + :type display_description: str + :param unit: Metric units. Possible values include: "NotSpecified", "Percent", "Count", + "Seconds", "Milliseconds", "Bytes", "BytesPerSecond", "CountPerSecond". + :type unit: str or ~azure.mgmt.databoxedge.v2020_09_01.models.MetricUnit + :param aggregation_type: Metric aggregation type. Possible values include: "NotSpecified", + "None", "Average", "Minimum", "Maximum", "Total", "Count". + :type aggregation_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.MetricAggregationType + :param dimensions: Metric dimensions, other than default dimension which is resource. + :type dimensions: list[~azure.mgmt.databoxedge.v2020_09_01.models.MetricDimensionV1] + :param fill_gap_with_zero: Set true to fill the gaps with zero. + :type fill_gap_with_zero: bool + :param category: Metric category. Possible values include: "Capacity", "Transaction". + :type category: str or ~azure.mgmt.databoxedge.v2020_09_01.models.MetricCategory + :param resource_id_dimension_name_override: Resource name override. + :type resource_id_dimension_name_override: str + :param supported_time_grain_types: Support granularity of metrics. + :type supported_time_grain_types: list[str or + ~azure.mgmt.databoxedge.v2020_09_01.models.TimeGrain] + :param supported_aggregation_types: Support metric aggregation type. + :type supported_aggregation_types: list[str or + ~azure.mgmt.databoxedge.v2020_09_01.models.MetricAggregationType] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'display_description': {'key': 'displayDescription', 'type': 'str'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, + 'dimensions': {'key': 'dimensions', 'type': '[MetricDimensionV1]'}, + 'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'}, + 'category': {'key': 'category', 'type': 'str'}, + 'resource_id_dimension_name_override': {'key': 'resourceIdDimensionNameOverride', 'type': 'str'}, + 'supported_time_grain_types': {'key': 'supportedTimeGrainTypes', 'type': '[str]'}, + 'supported_aggregation_types': {'key': 'supportedAggregationTypes', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricSpecificationV1, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display_name = kwargs.get('display_name', None) + self.display_description = kwargs.get('display_description', None) + self.unit = kwargs.get('unit', None) + self.aggregation_type = kwargs.get('aggregation_type', None) + self.dimensions = kwargs.get('dimensions', None) + self.fill_gap_with_zero = kwargs.get('fill_gap_with_zero', None) + self.category = kwargs.get('category', None) + self.resource_id_dimension_name_override = kwargs.get('resource_id_dimension_name_override', None) + self.supported_time_grain_types = kwargs.get('supported_time_grain_types', None) + self.supported_aggregation_types = kwargs.get('supported_aggregation_types', None) + + +class MonitoringMetricConfiguration(ARMBaseModel): + """The metric setting details for the role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param metric_configurations: Required. The metrics configuration details. + :type metric_configurations: + list[~azure.mgmt.databoxedge.v2020_09_01.models.MetricConfiguration] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'metric_configurations': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'metric_configurations': {'key': 'properties.metricConfigurations', 'type': '[MetricConfiguration]'}, + } + + def __init__( + self, + **kwargs + ): + super(MonitoringMetricConfiguration, self).__init__(**kwargs) + self.metric_configurations = kwargs['metric_configurations'] + + +class MonitoringMetricConfigurationList(msrest.serialization.Model): + """Collection of metric configurations. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of metric configurations. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.MonitoringMetricConfiguration] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[MonitoringMetricConfiguration]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MonitoringMetricConfigurationList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class MountPointMap(msrest.serialization.Model): + """The share mount point. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param share_id: Required. ID of the share mounted to the role VM. + :type share_id: str + :ivar role_id: ID of the role to which share is mounted. + :vartype role_id: str + :ivar mount_point: Mount point for the share. + :vartype mount_point: str + :ivar mount_type: Mounting type. Possible values include: "Volume", "HostPath". + :vartype mount_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.MountType + :ivar role_type: Role type. Possible values include: "IOT", "ASA", "Functions", "Cognitive", + "MEC", "CloudEdgeManagement", "Kubernetes". + :vartype role_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.RoleTypes + """ + + _validation = { + 'share_id': {'required': True}, + 'role_id': {'readonly': True}, + 'mount_point': {'readonly': True}, + 'mount_type': {'readonly': True}, + 'role_type': {'readonly': True}, + } + + _attribute_map = { + 'share_id': {'key': 'shareId', 'type': 'str'}, + 'role_id': {'key': 'roleId', 'type': 'str'}, + 'mount_point': {'key': 'mountPoint', 'type': 'str'}, + 'mount_type': {'key': 'mountType', 'type': 'str'}, + 'role_type': {'key': 'roleType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MountPointMap, self).__init__(**kwargs) + self.share_id = kwargs['share_id'] + self.role_id = None + self.mount_point = None + self.mount_type = None + self.role_type = None + + +class NetworkAdapter(msrest.serialization.Model): + """Represents the networkAdapter on a device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar adapter_id: Instance ID of network adapter. + :vartype adapter_id: str + :ivar adapter_position: Hardware position of network adapter. + :vartype adapter_position: ~azure.mgmt.databoxedge.v2020_09_01.models.NetworkAdapterPosition + :ivar index: Logical index of the adapter. + :vartype index: int + :ivar node_id: Node ID of the network adapter. + :vartype node_id: str + :ivar network_adapter_name: Network adapter name. + :vartype network_adapter_name: str + :ivar label: Hardware label for the adapter. + :vartype label: str + :ivar mac_address: MAC address. + :vartype mac_address: str + :ivar link_speed: Link speed. + :vartype link_speed: long + :ivar status: Value indicating whether this adapter is valid. Possible values include: + "Inactive", "Active". + :vartype status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.NetworkAdapterStatus + :param rdma_status: Value indicating whether this adapter is RDMA capable. Possible values + include: "Incapable", "Capable". + :type rdma_status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.NetworkAdapterRDMAStatus + :param dhcp_status: Value indicating whether this adapter has DHCP enabled. Possible values + include: "Disabled", "Enabled". + :type dhcp_status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.NetworkAdapterDHCPStatus + :ivar ipv4_configuration: The IPv4 configuration of the network adapter. + :vartype ipv4_configuration: ~azure.mgmt.databoxedge.v2020_09_01.models.Ipv4Config + :ivar ipv6_configuration: The IPv6 configuration of the network adapter. + :vartype ipv6_configuration: ~azure.mgmt.databoxedge.v2020_09_01.models.Ipv6Config + :ivar ipv6_link_local_address: The IPv6 local address. + :vartype ipv6_link_local_address: str + :ivar dns_servers: The list of DNS Servers of the device. + :vartype dns_servers: list[str] + """ + + _validation = { + 'adapter_id': {'readonly': True}, + 'adapter_position': {'readonly': True}, + 'index': {'readonly': True}, + 'node_id': {'readonly': True}, + 'network_adapter_name': {'readonly': True}, + 'label': {'readonly': True}, + 'mac_address': {'readonly': True}, + 'link_speed': {'readonly': True}, + 'status': {'readonly': True}, + 'ipv4_configuration': {'readonly': True}, + 'ipv6_configuration': {'readonly': True}, + 'ipv6_link_local_address': {'readonly': True}, + 'dns_servers': {'readonly': True}, + } + + _attribute_map = { + 'adapter_id': {'key': 'adapterId', 'type': 'str'}, + 'adapter_position': {'key': 'adapterPosition', 'type': 'NetworkAdapterPosition'}, + 'index': {'key': 'index', 'type': 'int'}, + 'node_id': {'key': 'nodeId', 'type': 'str'}, + 'network_adapter_name': {'key': 'networkAdapterName', 'type': 'str'}, + 'label': {'key': 'label', 'type': 'str'}, + 'mac_address': {'key': 'macAddress', 'type': 'str'}, + 'link_speed': {'key': 'linkSpeed', 'type': 'long'}, + 'status': {'key': 'status', 'type': 'str'}, + 'rdma_status': {'key': 'rdmaStatus', 'type': 'str'}, + 'dhcp_status': {'key': 'dhcpStatus', 'type': 'str'}, + 'ipv4_configuration': {'key': 'ipv4Configuration', 'type': 'Ipv4Config'}, + 'ipv6_configuration': {'key': 'ipv6Configuration', 'type': 'Ipv6Config'}, + 'ipv6_link_local_address': {'key': 'ipv6LinkLocalAddress', 'type': 'str'}, + 'dns_servers': {'key': 'dnsServers', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkAdapter, self).__init__(**kwargs) + self.adapter_id = None + self.adapter_position = None + self.index = None + self.node_id = None + self.network_adapter_name = None + self.label = None + self.mac_address = None + self.link_speed = None + self.status = None + self.rdma_status = kwargs.get('rdma_status', None) + self.dhcp_status = kwargs.get('dhcp_status', None) + self.ipv4_configuration = None + self.ipv6_configuration = None + self.ipv6_link_local_address = None + self.dns_servers = None + + +class NetworkAdapterPosition(msrest.serialization.Model): + """The network adapter position. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar network_group: The network group. Possible values include: "None", "NonRDMA", "RDMA". + :vartype network_group: str or ~azure.mgmt.databoxedge.v2020_09_01.models.NetworkGroup + :ivar port: The port. + :vartype port: int + """ + + _validation = { + 'network_group': {'readonly': True}, + 'port': {'readonly': True}, + } + + _attribute_map = { + 'network_group': {'key': 'networkGroup', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkAdapterPosition, self).__init__(**kwargs) + self.network_group = None + self.port = None + + +class NetworkSettings(ARMBaseModel): + """The network settings of a device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar network_adapters: The network adapter list on the device. + :vartype network_adapters: list[~azure.mgmt.databoxedge.v2020_09_01.models.NetworkAdapter] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'network_adapters': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'network_adapters': {'key': 'properties.networkAdapters', 'type': '[NetworkAdapter]'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkSettings, self).__init__(**kwargs) + self.network_adapters = None + + +class Node(ARMBaseModel): + """Represents a single node in a Data box Edge/Gateway device +Gateway devices, standalone Edge devices and a single node cluster Edge device will all have 1 node +Multi-node Edge devices will have more than 1 nodes. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar node_status: The current status of the individual node. Possible values include: + "Unknown", "Up", "Down", "Rebooting", "ShuttingDown". + :vartype node_status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.NodeStatus + :ivar node_chassis_serial_number: Serial number of the Chassis. + :vartype node_chassis_serial_number: str + :ivar node_serial_number: Serial number of the individual node. + :vartype node_serial_number: str + :ivar node_display_name: Display Name of the individual node. + :vartype node_display_name: str + :ivar node_friendly_software_version: Friendly software version name that is currently + installed on the node. + :vartype node_friendly_software_version: str + :ivar node_hcs_version: HCS version that is currently installed on the node. + :vartype node_hcs_version: str + :ivar node_instance_id: Guid instance id of the node. + :vartype node_instance_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'node_status': {'readonly': True}, + 'node_chassis_serial_number': {'readonly': True}, + 'node_serial_number': {'readonly': True}, + 'node_display_name': {'readonly': True}, + 'node_friendly_software_version': {'readonly': True}, + 'node_hcs_version': {'readonly': True}, + 'node_instance_id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'node_status': {'key': 'properties.nodeStatus', 'type': 'str'}, + 'node_chassis_serial_number': {'key': 'properties.nodeChassisSerialNumber', 'type': 'str'}, + 'node_serial_number': {'key': 'properties.nodeSerialNumber', 'type': 'str'}, + 'node_display_name': {'key': 'properties.nodeDisplayName', 'type': 'str'}, + 'node_friendly_software_version': {'key': 'properties.nodeFriendlySoftwareVersion', 'type': 'str'}, + 'node_hcs_version': {'key': 'properties.nodeHcsVersion', 'type': 'str'}, + 'node_instance_id': {'key': 'properties.nodeInstanceId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Node, self).__init__(**kwargs) + self.node_status = None + self.node_chassis_serial_number = None + self.node_serial_number = None + self.node_display_name = None + self.node_friendly_software_version = None + self.node_hcs_version = None + self.node_instance_id = None + + +class NodeInfo(msrest.serialization.Model): + """Kubernetes node info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Node name. + :vartype name: str + :ivar type: Node type - Master/Worker. Possible values include: "Invalid", "Master", "Worker". + :vartype type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.KubernetesNodeType + :param ip_configuration: IP Configuration of the Kubernetes node. + :type ip_configuration: + list[~azure.mgmt.databoxedge.v2020_09_01.models.KubernetesIPConfiguration] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'ip_configuration': {'key': 'ipConfiguration', 'type': '[KubernetesIPConfiguration]'}, + } + + def __init__( + self, + **kwargs + ): + super(NodeInfo, self).__init__(**kwargs) + self.name = None + self.type = None + self.ip_configuration = kwargs.get('ip_configuration', None) + + +class NodeList(msrest.serialization.Model): + """Collection of Nodes. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of Nodes. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.Node] + :param next_link: Link to the next set of results. + :type next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Node]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NodeList, self).__init__(**kwargs) + self.value = None + self.next_link = kwargs.get('next_link', None) + + +class Operation(msrest.serialization.Model): + """Operations. + + :param name: Name of the operation. + :type name: str + :param display: Properties displayed for the operation. + :type display: ~azure.mgmt.databoxedge.v2020_09_01.models.OperationDisplay + :param origin: Origin of the operation. + :type origin: str + :param is_data_action: Indicates whether the operation is a data action. + :type is_data_action: bool + :param service_specification: Service specification. + :type service_specification: ~azure.mgmt.databoxedge.v2020_09_01.models.ServiceSpecification + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'OperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, + 'service_specification': {'key': 'properties.serviceSpecification', 'type': 'ServiceSpecification'}, + } + + def __init__( + self, + **kwargs + ): + super(Operation, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display = kwargs.get('display', None) + self.origin = kwargs.get('origin', None) + self.is_data_action = kwargs.get('is_data_action', None) + self.service_specification = kwargs.get('service_specification', None) + + +class OperationDisplay(msrest.serialization.Model): + """Operation display properties. + + :param provider: Provider name. + :type provider: str + :param resource: The type of resource in which the operation is performed. + :type resource: str + :param operation: Operation to be performed on the resource. + :type operation: str + :param description: Description of the operation to be performed. + :type description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OperationDisplay, self).__init__(**kwargs) + self.provider = kwargs.get('provider', None) + self.resource = kwargs.get('resource', None) + self.operation = kwargs.get('operation', None) + self.description = kwargs.get('description', None) + + +class OperationsList(msrest.serialization.Model): + """The list of operations used for the discovery of available provider operations. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. The value. + :type value: list[~azure.mgmt.databoxedge.v2020_09_01.models.Operation] + :param next_link: Link to the next set of results. + :type next_link: str + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Operation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OperationsList, self).__init__(**kwargs) + self.value = kwargs['value'] + self.next_link = kwargs.get('next_link', None) + + +class Order(ARMBaseModel): + """The order details. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param contact_information: The contact details. + :type contact_information: ~azure.mgmt.databoxedge.v2020_09_01.models.ContactDetails + :param shipping_address: The shipping address. + :type shipping_address: ~azure.mgmt.databoxedge.v2020_09_01.models.Address + :ivar current_status: Current status of the order. + :vartype current_status: ~azure.mgmt.databoxedge.v2020_09_01.models.OrderStatus + :ivar order_history: List of status changes in the order. + :vartype order_history: list[~azure.mgmt.databoxedge.v2020_09_01.models.OrderStatus] + :ivar serial_number: Serial number of the device. + :vartype serial_number: str + :ivar delivery_tracking_info: Tracking information for the package delivered to the customer + whether it has an original or a replacement device. + :vartype delivery_tracking_info: list[~azure.mgmt.databoxedge.v2020_09_01.models.TrackingInfo] + :ivar return_tracking_info: Tracking information for the package returned from the customer + whether it has an original or a replacement device. + :vartype return_tracking_info: list[~azure.mgmt.databoxedge.v2020_09_01.models.TrackingInfo] + :param shipment_type: ShipmentType of the order. Possible values include: "NotApplicable", + "ShippedToCustomer", "SelfPickup". + :type shipment_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.ShipmentType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'current_status': {'readonly': True}, + 'order_history': {'readonly': True}, + 'serial_number': {'readonly': True}, + 'delivery_tracking_info': {'readonly': True}, + 'return_tracking_info': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'contact_information': {'key': 'properties.contactInformation', 'type': 'ContactDetails'}, + 'shipping_address': {'key': 'properties.shippingAddress', 'type': 'Address'}, + 'current_status': {'key': 'properties.currentStatus', 'type': 'OrderStatus'}, + 'order_history': {'key': 'properties.orderHistory', 'type': '[OrderStatus]'}, + 'serial_number': {'key': 'properties.serialNumber', 'type': 'str'}, + 'delivery_tracking_info': {'key': 'properties.deliveryTrackingInfo', 'type': '[TrackingInfo]'}, + 'return_tracking_info': {'key': 'properties.returnTrackingInfo', 'type': '[TrackingInfo]'}, + 'shipment_type': {'key': 'properties.shipmentType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Order, self).__init__(**kwargs) + self.contact_information = kwargs.get('contact_information', None) + self.shipping_address = kwargs.get('shipping_address', None) + self.current_status = None + self.order_history = None + self.serial_number = None + self.delivery_tracking_info = None + self.return_tracking_info = None + self.shipment_type = kwargs.get('shipment_type', None) + + +class OrderList(msrest.serialization.Model): + """List of order entities. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of orders. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.Order] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Order]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OrderList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class OrderStatus(msrest.serialization.Model): + """Represents a single status change. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param status: Required. Status of the order as per the allowed status types. Possible values + include: "Untracked", "AwaitingFulfilment", "AwaitingPreparation", "AwaitingShipment", + "Shipped", "Arriving", "Delivered", "ReplacementRequested", "LostDevice", "Declined", + "ReturnInitiated", "AwaitingReturnShipment", "ShippedBack", "CollectedAtMicrosoft", + "AwaitingPickup", "PickupCompleted", "AwaitingDrop". + :type status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.OrderState + :ivar update_date_time: Time of status update. + :vartype update_date_time: ~datetime.datetime + :param comments: Comments related to this status change. + :type comments: str + :ivar tracking_information: Tracking information related to the state in the ordering flow. + :vartype tracking_information: ~azure.mgmt.databoxedge.v2020_09_01.models.TrackingInfo + :ivar additional_order_details: Dictionary to hold generic information which is not stored + by the already existing properties. + :vartype additional_order_details: dict[str, str] + """ + + _validation = { + 'status': {'required': True}, + 'update_date_time': {'readonly': True}, + 'tracking_information': {'readonly': True}, + 'additional_order_details': {'readonly': True}, + } + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + 'update_date_time': {'key': 'updateDateTime', 'type': 'iso-8601'}, + 'comments': {'key': 'comments', 'type': 'str'}, + 'tracking_information': {'key': 'trackingInformation', 'type': 'TrackingInfo'}, + 'additional_order_details': {'key': 'additionalOrderDetails', 'type': '{str}'}, + } + + def __init__( + self, + **kwargs + ): + super(OrderStatus, self).__init__(**kwargs) + self.status = kwargs['status'] + self.update_date_time = None + self.comments = kwargs.get('comments', None) + self.tracking_information = None + self.additional_order_details = None + + +class PeriodicTimerEventTrigger(Trigger): + """Trigger details. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Trigger in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: + "FileEvent", "PeriodicTimerEvent". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01.models.TriggerEventType + :param source_info: Required. Periodic timer details. + :type source_info: ~azure.mgmt.databoxedge.v2020_09_01.models.PeriodicTimerSourceInfo + :param sink_info: Required. Role Sink information. + :type sink_info: ~azure.mgmt.databoxedge.v2020_09_01.models.RoleSinkInfo + :param custom_context_tag: A custom context tag typically used to correlate the trigger against + its usage. For example, if a periodic timer trigger is intended for certain specific IoT + modules in the device, the tag can be the name or the image URL of the module. + :type custom_context_tag: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'kind': {'required': True}, + 'source_info': {'required': True}, + 'sink_info': {'required': True}, + 'custom_context_tag': {'max_length': 192, 'min_length': 0}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'source_info': {'key': 'properties.sourceInfo', 'type': 'PeriodicTimerSourceInfo'}, + 'sink_info': {'key': 'properties.sinkInfo', 'type': 'RoleSinkInfo'}, + 'custom_context_tag': {'key': 'properties.customContextTag', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PeriodicTimerEventTrigger, self).__init__(**kwargs) + self.kind = 'PeriodicTimerEvent' # type: str + self.source_info = kwargs['source_info'] + self.sink_info = kwargs['sink_info'] + self.custom_context_tag = kwargs.get('custom_context_tag', None) + + +class PeriodicTimerSourceInfo(msrest.serialization.Model): + """Periodic timer event source. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. The time of the day that results in a valid trigger. Schedule is + computed with reference to the time specified upto seconds. If timezone is not specified the + time will considered to be in device timezone. The value will always be returned as UTC time. + :type start_time: ~datetime.datetime + :param schedule: Required. Periodic frequency at which timer event needs to be raised. Supports + daily, hourly, minutes, and seconds. + :type schedule: str + :param topic: Topic where periodic events are published to IoT device. + :type topic: str + """ + + _validation = { + 'start_time': {'required': True}, + 'schedule': {'required': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'schedule': {'key': 'schedule', 'type': 'str'}, + 'topic': {'key': 'topic', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PeriodicTimerSourceInfo, self).__init__(**kwargs) + self.start_time = kwargs['start_time'] + self.schedule = kwargs['schedule'] + self.topic = kwargs.get('topic', None) + + +class RefreshDetails(msrest.serialization.Model): + """Fields for tracking refresh job on the share or container. + + :param in_progress_refresh_job_id: If a refresh job is currently in progress on this share or + container, this field indicates the ARM resource ID of that job. The field is empty if no job + is in progress. + :type in_progress_refresh_job_id: str + :param last_completed_refresh_job_time_in_utc: Indicates the completed time for the last + refresh job on this particular share or container, if any.This could be a failed job or a + successful job. + :type last_completed_refresh_job_time_in_utc: ~datetime.datetime + :param error_manifest_file: Indicates the relative path of the error xml for the last refresh + job on this particular share or container, if any. This could be a failed job or a successful + job. + :type error_manifest_file: str + :param last_job: Indicates the id of the last refresh job on this particular share or + container,if any. This could be a failed job or a successful job. + :type last_job: str + """ + + _attribute_map = { + 'in_progress_refresh_job_id': {'key': 'inProgressRefreshJobId', 'type': 'str'}, + 'last_completed_refresh_job_time_in_utc': {'key': 'lastCompletedRefreshJobTimeInUTC', 'type': 'iso-8601'}, + 'error_manifest_file': {'key': 'errorManifestFile', 'type': 'str'}, + 'last_job': {'key': 'lastJob', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RefreshDetails, self).__init__(**kwargs) + self.in_progress_refresh_job_id = kwargs.get('in_progress_refresh_job_id', None) + self.last_completed_refresh_job_time_in_utc = kwargs.get('last_completed_refresh_job_time_in_utc', None) + self.error_manifest_file = kwargs.get('error_manifest_file', None) + self.last_job = kwargs.get('last_job', None) + + +class ResourceIdentity(msrest.serialization.Model): + """Msi identity details of the resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param type: Identity type. Possible values include: "None", "SystemAssigned", "UserAssigned". + :type type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.MsiIdentityType + :ivar principal_id: Service Principal Id backing the Msi. + :vartype principal_id: str + :ivar tenant_id: Home Tenant Id. + :vartype tenant_id: str + """ + + _validation = { + 'principal_id': {'readonly': True}, + 'tenant_id': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'principal_id': {'key': 'principalId', 'type': 'str'}, + 'tenant_id': {'key': 'tenantId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceIdentity, self).__init__(**kwargs) + self.type = kwargs.get('type', None) + self.principal_id = None + self.tenant_id = None + + +class ResourceMoveDetails(msrest.serialization.Model): + """Fields for tracking resource move. + + :param operation_in_progress: Denotes whether move operation is in progress. Possible values + include: "None", "ResourceMoveInProgress", "ResourceMoveFailed". + :type operation_in_progress: str or + ~azure.mgmt.databoxedge.v2020_09_01.models.ResourceMoveStatus + :param operation_in_progress_lock_timeout_in_utc: Denotes the timeout of the operation to + finish. + :type operation_in_progress_lock_timeout_in_utc: ~datetime.datetime + """ + + _attribute_map = { + 'operation_in_progress': {'key': 'operationInProgress', 'type': 'str'}, + 'operation_in_progress_lock_timeout_in_utc': {'key': 'operationInProgressLockTimeoutInUTC', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceMoveDetails, self).__init__(**kwargs) + self.operation_in_progress = kwargs.get('operation_in_progress', None) + self.operation_in_progress_lock_timeout_in_utc = kwargs.get('operation_in_progress_lock_timeout_in_utc', None) + + +class ResourceTypeSku(msrest.serialization.Model): + """Resource type Sku object. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar resource_type: The resource type. + :vartype resource_type: str + :ivar skus: The skus. + :vartype skus: list[~azure.mgmt.databoxedge.v2020_09_01.models.SkuInformation] + """ + + _validation = { + 'resource_type': {'readonly': True}, + 'skus': {'readonly': True}, + } + + _attribute_map = { + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'skus': {'key': 'skus', 'type': '[SkuInformation]'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceTypeSku, self).__init__(**kwargs) + self.resource_type = None + self.skus = None + + +class RoleList(msrest.serialization.Model): + """Collection of all the roles on the Data Box Edge device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The Value. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.Role] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Role]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RoleList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class RoleSinkInfo(msrest.serialization.Model): + """Compute role against which events will be raised. + + All required parameters must be populated in order to send to Azure. + + :param role_id: Required. Compute role ID. + :type role_id: str + """ + + _validation = { + 'role_id': {'required': True}, + } + + _attribute_map = { + 'role_id': {'key': 'roleId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RoleSinkInfo, self).__init__(**kwargs) + self.role_id = kwargs['role_id'] + + +class SecuritySettings(ARMBaseModel): + """The security settings of a device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param device_admin_password: Required. Device administrator password as an encrypted string + (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual + password should have at least 8 characters that are a combination of uppercase, lowercase, + numeric, and special characters. + :type device_admin_password: + ~azure.mgmt.databoxedge.v2020_09_01.models.AsymmetricEncryptedSecret + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'device_admin_password': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'device_admin_password': {'key': 'properties.deviceAdminPassword', 'type': 'AsymmetricEncryptedSecret'}, + } + + def __init__( + self, + **kwargs + ): + super(SecuritySettings, self).__init__(**kwargs) + self.device_admin_password = kwargs['device_admin_password'] + + +class ServiceSpecification(msrest.serialization.Model): + """Service specification. + + :param metric_specifications: Metric specification as defined by shoebox. + :type metric_specifications: + list[~azure.mgmt.databoxedge.v2020_09_01.models.MetricSpecificationV1] + """ + + _attribute_map = { + 'metric_specifications': {'key': 'metricSpecifications', 'type': '[MetricSpecificationV1]'}, + } + + def __init__( + self, + **kwargs + ): + super(ServiceSpecification, self).__init__(**kwargs) + self.metric_specifications = kwargs.get('metric_specifications', None) + + +class Share(ARMBaseModel): + """Represents a share on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Share on ASE device. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param description: Description for the share. + :type description: str + :param share_status: Required. Current status of the share. Possible values include: "Offline", + "Unknown", "OK", "Updating", "NeedsAttention". + :type share_status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.ShareStatus + :param monitoring_status: Required. Current monitoring status of the share. Possible values + include: "Enabled", "Disabled". + :type monitoring_status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.MonitoringStatus + :param azure_container_info: Azure container mapping for the share. + :type azure_container_info: ~azure.mgmt.databoxedge.v2020_09_01.models.AzureContainerInfo + :param access_protocol: Required. Access protocol to be used by the share. Possible values + include: "SMB", "NFS". + :type access_protocol: str or ~azure.mgmt.databoxedge.v2020_09_01.models.ShareAccessProtocol + :param user_access_rights: Mapping of users and corresponding access rights on the share + (required for SMB protocol). + :type user_access_rights: list[~azure.mgmt.databoxedge.v2020_09_01.models.UserAccessRight] + :param client_access_rights: List of IP addresses and corresponding access rights on the + share(required for NFS protocol). + :type client_access_rights: list[~azure.mgmt.databoxedge.v2020_09_01.models.ClientAccessRight] + :param refresh_details: Details of the refresh job on this share. + :type refresh_details: ~azure.mgmt.databoxedge.v2020_09_01.models.RefreshDetails + :ivar share_mappings: Share mount point to the role. + :vartype share_mappings: list[~azure.mgmt.databoxedge.v2020_09_01.models.MountPointMap] + :param data_policy: Data policy of the share. Possible values include: "Cloud", "Local". + :type data_policy: str or ~azure.mgmt.databoxedge.v2020_09_01.models.DataPolicy + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'share_status': {'required': True}, + 'monitoring_status': {'required': True}, + 'access_protocol': {'required': True}, + 'share_mappings': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'share_status': {'key': 'properties.shareStatus', 'type': 'str'}, + 'monitoring_status': {'key': 'properties.monitoringStatus', 'type': 'str'}, + 'azure_container_info': {'key': 'properties.azureContainerInfo', 'type': 'AzureContainerInfo'}, + 'access_protocol': {'key': 'properties.accessProtocol', 'type': 'str'}, + 'user_access_rights': {'key': 'properties.userAccessRights', 'type': '[UserAccessRight]'}, + 'client_access_rights': {'key': 'properties.clientAccessRights', 'type': '[ClientAccessRight]'}, + 'refresh_details': {'key': 'properties.refreshDetails', 'type': 'RefreshDetails'}, + 'share_mappings': {'key': 'properties.shareMappings', 'type': '[MountPointMap]'}, + 'data_policy': {'key': 'properties.dataPolicy', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Share, self).__init__(**kwargs) + self.system_data = None + self.description = kwargs.get('description', None) + self.share_status = kwargs['share_status'] + self.monitoring_status = kwargs['monitoring_status'] + self.azure_container_info = kwargs.get('azure_container_info', None) + self.access_protocol = kwargs['access_protocol'] + self.user_access_rights = kwargs.get('user_access_rights', None) + self.client_access_rights = kwargs.get('client_access_rights', None) + self.refresh_details = kwargs.get('refresh_details', None) + self.share_mappings = None + self.data_policy = kwargs.get('data_policy', None) + + +class ShareAccessRight(msrest.serialization.Model): + """Specifies the mapping between this particular user and the type of access he has on shares on this device. + + All required parameters must be populated in order to send to Azure. + + :param share_id: Required. The share ID. + :type share_id: str + :param access_type: Required. Type of access to be allowed on the share for this user. Possible + values include: "Change", "Read", "Custom". + :type access_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.ShareAccessType + """ + + _validation = { + 'share_id': {'required': True}, + 'access_type': {'required': True}, + } + + _attribute_map = { + 'share_id': {'key': 'shareId', 'type': 'str'}, + 'access_type': {'key': 'accessType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ShareAccessRight, self).__init__(**kwargs) + self.share_id = kwargs['share_id'] + self.access_type = kwargs['access_type'] + + +class ShareList(msrest.serialization.Model): + """Collection of all the shares on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of shares. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.Share] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Share]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ShareList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class Sku(msrest.serialization.Model): + """The SKU type. + + :param name: SKU name. Possible values include: "Gateway", "Edge", "TEA_1Node", + "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", + "TEA_4Node_UPS_Heater", "TMA", "TDC", "TCA_Small", "GPU", "TCA_Large", "EdgeP_Base", + "EdgeP_High", "EdgePR_Base", "EdgePR_Base_UPS", "EdgeMR_Mini", "RCA_Small", "RCA_Large", "RDC". + :type name: str or ~azure.mgmt.databoxedge.v2020_09_01.models.SkuName + :param tier: The SKU tier. This is based on the SKU name. Possible values include: "Standard". + :type tier: str or ~azure.mgmt.databoxedge.v2020_09_01.models.SkuTier + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Sku, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.tier = kwargs.get('tier', None) + + +class SkuCost(msrest.serialization.Model): + """The metadata for retrieving price info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar meter_id: Used for querying price from commerce. + :vartype meter_id: str + :ivar quantity: The cost quantity. + :vartype quantity: long + :ivar extended_unit: The extended unit. + :vartype extended_unit: str + """ + + _validation = { + 'meter_id': {'readonly': True}, + 'quantity': {'readonly': True}, + 'extended_unit': {'readonly': True}, + } + + _attribute_map = { + 'meter_id': {'key': 'meterId', 'type': 'str'}, + 'quantity': {'key': 'quantity', 'type': 'long'}, + 'extended_unit': {'key': 'extendedUnit', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuCost, self).__init__(**kwargs) + self.meter_id = None + self.quantity = None + self.extended_unit = None + + +class SkuInformation(msrest.serialization.Model): + """Sku information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: The sku name. + :vartype name: str + :ivar tier: The sku tier. + :vartype tier: str + :ivar kind: The sku kind. + :vartype kind: str + :ivar family: The Sku family. + :vartype family: str + :ivar costs: The pricing info of the Sku. + :vartype costs: list[~azure.mgmt.databoxedge.v2020_09_01.models.SkuCost] + :ivar locations: The locations where Sku is available. + :vartype locations: list[str] + :ivar location_info: The locations where Sku is available with zones and sites info. + :vartype location_info: list[~azure.mgmt.databoxedge.v2020_09_01.models.SkuLocationInfo] + :ivar required_quota_ids: The required quotaIds for the sku to be available. + :vartype required_quota_ids: list[str] + :ivar required_features: The required features for the sku to be available. + :vartype required_features: list[str] + """ + + _validation = { + 'name': {'readonly': True}, + 'tier': {'readonly': True}, + 'kind': {'readonly': True}, + 'family': {'readonly': True}, + 'costs': {'readonly': True}, + 'locations': {'readonly': True}, + 'location_info': {'readonly': True}, + 'required_quota_ids': {'readonly': True}, + 'required_features': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'costs': {'key': 'costs', 'type': '[SkuCost]'}, + 'locations': {'key': 'locations', 'type': '[str]'}, + 'location_info': {'key': 'locationInfo', 'type': '[SkuLocationInfo]'}, + 'required_quota_ids': {'key': 'requiredQuotaIds', 'type': '[str]'}, + 'required_features': {'key': 'requiredFeatures', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuInformation, self).__init__(**kwargs) + self.name = None + self.tier = None + self.kind = None + self.family = None + self.costs = None + self.locations = None + self.location_info = None + self.required_quota_ids = None + self.required_features = None + + +class SkuInformationList(msrest.serialization.Model): + """List of SKU Information objects. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of ResourceTypeSku objects. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.ResourceTypeSku] + :ivar next_link: Links to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ResourceTypeSku]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuInformationList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SkuLocationInfo(msrest.serialization.Model): + """The location info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar location: The location. + :vartype location: str + :ivar zones: The zones. + :vartype zones: list[str] + :ivar sites: The sites. + :vartype sites: list[str] + """ + + _validation = { + 'location': {'readonly': True}, + 'zones': {'readonly': True}, + 'sites': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + 'sites': {'key': 'sites', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuLocationInfo, self).__init__(**kwargs) + self.location = None + self.zones = None + self.sites = None + + +class StorageAccount(ARMBaseModel): + """Represents a Storage Account on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: StorageAccount object on ASE device. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param description: Description for the storage Account. + :type description: str + :param storage_account_status: Current status of the storage account. Possible values include: + "OK", "Offline", "Unknown", "Updating", "NeedsAttention". + :type storage_account_status: str or + ~azure.mgmt.databoxedge.v2020_09_01.models.StorageAccountStatus + :param data_policy: Required. Data policy of the storage Account. Possible values include: + "Cloud", "Local". + :type data_policy: str or ~azure.mgmt.databoxedge.v2020_09_01.models.DataPolicy + :param storage_account_credential_id: Storage Account Credential Id. + :type storage_account_credential_id: str + :ivar blob_endpoint: BlobEndpoint of Storage Account. + :vartype blob_endpoint: str + :ivar container_count: The Container Count. Present only for Storage Accounts with DataPolicy + set to Cloud. + :vartype container_count: int + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'data_policy': {'required': True}, + 'blob_endpoint': {'readonly': True}, + 'container_count': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'storage_account_status': {'key': 'properties.storageAccountStatus', 'type': 'str'}, + 'data_policy': {'key': 'properties.dataPolicy', 'type': 'str'}, + 'storage_account_credential_id': {'key': 'properties.storageAccountCredentialId', 'type': 'str'}, + 'blob_endpoint': {'key': 'properties.blobEndpoint', 'type': 'str'}, + 'container_count': {'key': 'properties.containerCount', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(StorageAccount, self).__init__(**kwargs) + self.system_data = None + self.description = kwargs.get('description', None) + self.storage_account_status = kwargs.get('storage_account_status', None) + self.data_policy = kwargs['data_policy'] + self.storage_account_credential_id = kwargs.get('storage_account_credential_id', None) + self.blob_endpoint = None + self.container_count = None + + +class StorageAccountCredential(ARMBaseModel): + """The storage account credential. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: StorageAccountCredential object. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param alias: Required. Alias for the storage account. + :type alias: str + :param user_name: Username for the storage account. + :type user_name: str + :param account_key: Encrypted storage key. + :type account_key: ~azure.mgmt.databoxedge.v2020_09_01.models.AsymmetricEncryptedSecret + :param connection_string: Connection string for the storage account. Use this string if + username and account key are not specified. + :type connection_string: str + :param ssl_status: Required. Signifies whether SSL needs to be enabled or not. Possible values + include: "Enabled", "Disabled". + :type ssl_status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.SSLStatus + :param blob_domain_name: Blob end point for private clouds. + :type blob_domain_name: str + :param account_type: Required. Type of storage accessed on the storage account. Possible values + include: "GeneralPurposeStorage", "BlobStorage". + :type account_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.AccountType + :param storage_account_id: Id of the storage account. + :type storage_account_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'alias': {'required': True}, + 'ssl_status': {'required': True}, + 'account_type': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'alias': {'key': 'properties.alias', 'type': 'str'}, + 'user_name': {'key': 'properties.userName', 'type': 'str'}, + 'account_key': {'key': 'properties.accountKey', 'type': 'AsymmetricEncryptedSecret'}, + 'connection_string': {'key': 'properties.connectionString', 'type': 'str'}, + 'ssl_status': {'key': 'properties.sslStatus', 'type': 'str'}, + 'blob_domain_name': {'key': 'properties.blobDomainName', 'type': 'str'}, + 'account_type': {'key': 'properties.accountType', 'type': 'str'}, + 'storage_account_id': {'key': 'properties.storageAccountId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StorageAccountCredential, self).__init__(**kwargs) + self.system_data = None + self.alias = kwargs['alias'] + self.user_name = kwargs.get('user_name', None) + self.account_key = kwargs.get('account_key', None) + self.connection_string = kwargs.get('connection_string', None) + self.ssl_status = kwargs['ssl_status'] + self.blob_domain_name = kwargs.get('blob_domain_name', None) + self.account_type = kwargs['account_type'] + self.storage_account_id = kwargs.get('storage_account_id', None) + + +class StorageAccountCredentialList(msrest.serialization.Model): + """The collection of storage account credentials. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The value. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.StorageAccountCredential] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[StorageAccountCredential]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StorageAccountCredentialList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class StorageAccountList(msrest.serialization.Model): + """Collection of all the Storage Accounts on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of storageAccounts. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.StorageAccount] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[StorageAccount]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StorageAccountList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SubscriptionRegisteredFeatures(msrest.serialization.Model): + """SubscriptionRegisteredFeatures. + + :param name: + :type name: str + :param state: + :type state: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SubscriptionRegisteredFeatures, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.state = kwargs.get('state', None) + + +class SymmetricKey(msrest.serialization.Model): + """Symmetric key for authentication. + + :param connection_string: Connection string based on the symmetric key. + :type connection_string: ~azure.mgmt.databoxedge.v2020_09_01.models.AsymmetricEncryptedSecret + """ + + _attribute_map = { + 'connection_string': {'key': 'connectionString', 'type': 'AsymmetricEncryptedSecret'}, + } + + def __init__( + self, + **kwargs + ): + super(SymmetricKey, self).__init__(**kwargs) + self.connection_string = kwargs.get('connection_string', None) + + +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :param created_by: The identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :type created_by_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.CreatedByType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: ~datetime.datetime + :param last_modified_by: The identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :type last_modified_by_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.CreatedByType + :param last_modified_at: The type of identity that last modified the resource. + :type last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(SystemData, self).__init__(**kwargs) + self.created_by = kwargs.get('created_by', None) + self.created_by_type = kwargs.get('created_by_type', None) + self.created_at = kwargs.get('created_at', None) + self.last_modified_by = kwargs.get('last_modified_by', None) + self.last_modified_by_type = kwargs.get('last_modified_by_type', None) + self.last_modified_at = kwargs.get('last_modified_at', None) + + +class TrackingInfo(msrest.serialization.Model): + """Tracking courier information. + + :param serial_number: Serial number of the device being tracked. + :type serial_number: str + :param carrier_name: Name of the carrier used in the delivery. + :type carrier_name: str + :param tracking_id: Tracking ID of the shipment. + :type tracking_id: str + :param tracking_url: Tracking URL of the shipment. + :type tracking_url: str + """ + + _attribute_map = { + 'serial_number': {'key': 'serialNumber', 'type': 'str'}, + 'carrier_name': {'key': 'carrierName', 'type': 'str'}, + 'tracking_id': {'key': 'trackingId', 'type': 'str'}, + 'tracking_url': {'key': 'trackingUrl', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TrackingInfo, self).__init__(**kwargs) + self.serial_number = kwargs.get('serial_number', None) + self.carrier_name = kwargs.get('carrier_name', None) + self.tracking_id = kwargs.get('tracking_id', None) + self.tracking_url = kwargs.get('tracking_url', None) + + +class TriggerList(msrest.serialization.Model): + """Collection of all trigger on the data box edge device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of triggers. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.Trigger] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Trigger]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TriggerList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class UpdateDownloadProgress(msrest.serialization.Model): + """Details about the download progress of update. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar download_phase: The download phase. Possible values include: "Unknown", "Initializing", + "Downloading", "Verifying". + :vartype download_phase: str or ~azure.mgmt.databoxedge.v2020_09_01.models.DownloadPhase + :ivar percent_complete: Percentage of completion. + :vartype percent_complete: int + :ivar total_bytes_to_download: Total bytes to download. + :vartype total_bytes_to_download: float + :ivar total_bytes_downloaded: Total bytes downloaded. + :vartype total_bytes_downloaded: float + :ivar number_of_updates_to_download: Number of updates to download. + :vartype number_of_updates_to_download: int + :ivar number_of_updates_downloaded: Number of updates downloaded. + :vartype number_of_updates_downloaded: int + """ + + _validation = { + 'download_phase': {'readonly': True}, + 'percent_complete': {'readonly': True}, + 'total_bytes_to_download': {'readonly': True}, + 'total_bytes_downloaded': {'readonly': True}, + 'number_of_updates_to_download': {'readonly': True}, + 'number_of_updates_downloaded': {'readonly': True}, + } + + _attribute_map = { + 'download_phase': {'key': 'downloadPhase', 'type': 'str'}, + 'percent_complete': {'key': 'percentComplete', 'type': 'int'}, + 'total_bytes_to_download': {'key': 'totalBytesToDownload', 'type': 'float'}, + 'total_bytes_downloaded': {'key': 'totalBytesDownloaded', 'type': 'float'}, + 'number_of_updates_to_download': {'key': 'numberOfUpdatesToDownload', 'type': 'int'}, + 'number_of_updates_downloaded': {'key': 'numberOfUpdatesDownloaded', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(UpdateDownloadProgress, self).__init__(**kwargs) + self.download_phase = None + self.percent_complete = None + self.total_bytes_to_download = None + self.total_bytes_downloaded = None + self.number_of_updates_to_download = None + self.number_of_updates_downloaded = None + + +class UpdateInstallProgress(msrest.serialization.Model): + """Progress details during installation of updates. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar percent_complete: Percentage completed. + :vartype percent_complete: int + :ivar number_of_updates_to_install: Number of updates to install. + :vartype number_of_updates_to_install: int + :ivar number_of_updates_installed: Number of updates installed. + :vartype number_of_updates_installed: int + """ + + _validation = { + 'percent_complete': {'readonly': True}, + 'number_of_updates_to_install': {'readonly': True}, + 'number_of_updates_installed': {'readonly': True}, + } + + _attribute_map = { + 'percent_complete': {'key': 'percentComplete', 'type': 'int'}, + 'number_of_updates_to_install': {'key': 'numberOfUpdatesToInstall', 'type': 'int'}, + 'number_of_updates_installed': {'key': 'numberOfUpdatesInstalled', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(UpdateInstallProgress, self).__init__(**kwargs) + self.percent_complete = None + self.number_of_updates_to_install = None + self.number_of_updates_installed = None + + +class UpdateSummary(ARMBaseModel): + """Details about ongoing updates and availability of updates on the device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param device_version_number: The current version of the device in format: 1.2.17312.13.",. + :type device_version_number: str + :param friendly_device_version_name: The current version of the device in text format. + :type friendly_device_version_name: str + :param device_last_scanned_date_time: The last time when a scan was done on the device. + :type device_last_scanned_date_time: ~datetime.datetime + :param last_completed_scan_job_date_time: The time when the last scan job was completed + (success/cancelled/failed) on the appliance. + :type last_completed_scan_job_date_time: ~datetime.datetime + :ivar last_completed_download_job_date_time: The time when the last Download job was completed + (success/cancelled/failed) on the appliance. + :vartype last_completed_download_job_date_time: ~datetime.datetime + :ivar last_completed_install_job_date_time: The time when the last Install job was completed + (success/cancelled/failed) on the appliance. + :vartype last_completed_install_job_date_time: ~datetime.datetime + :ivar total_number_of_updates_available: The number of updates available for the current device + version as per the last device scan. + :vartype total_number_of_updates_available: int + :ivar total_number_of_updates_pending_download: The total number of items pending download. + :vartype total_number_of_updates_pending_download: int + :ivar total_number_of_updates_pending_install: The total number of items pending install. + :vartype total_number_of_updates_pending_install: int + :ivar reboot_behavior: Indicates if updates are available and at least one of the updates needs + a reboot. Possible values include: "NeverReboots", "RequiresReboot", "RequestReboot". + :vartype reboot_behavior: str or + ~azure.mgmt.databoxedge.v2020_09_01.models.InstallRebootBehavior + :ivar ongoing_update_operation: The current update operation. Possible values include: "None", + "Scan", "Download", "Install". + :vartype ongoing_update_operation: str or + ~azure.mgmt.databoxedge.v2020_09_01.models.UpdateOperation + :ivar in_progress_download_job_id: The job ID of the download job in progress. + :vartype in_progress_download_job_id: str + :ivar in_progress_install_job_id: The job ID of the install job in progress. + :vartype in_progress_install_job_id: str + :ivar in_progress_download_job_started_date_time: The time when the currently running download + (if any) started. + :vartype in_progress_download_job_started_date_time: ~datetime.datetime + :ivar in_progress_install_job_started_date_time: The time when the currently running install + (if any) started. + :vartype in_progress_install_job_started_date_time: ~datetime.datetime + :ivar update_titles: The list of updates available for install. + :vartype update_titles: list[str] + :ivar total_update_size_in_bytes: The total size of updates available for download in bytes. + :vartype total_update_size_in_bytes: float + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'last_completed_download_job_date_time': {'readonly': True}, + 'last_completed_install_job_date_time': {'readonly': True}, + 'total_number_of_updates_available': {'readonly': True}, + 'total_number_of_updates_pending_download': {'readonly': True}, + 'total_number_of_updates_pending_install': {'readonly': True}, + 'reboot_behavior': {'readonly': True}, + 'ongoing_update_operation': {'readonly': True}, + 'in_progress_download_job_id': {'readonly': True}, + 'in_progress_install_job_id': {'readonly': True}, + 'in_progress_download_job_started_date_time': {'readonly': True}, + 'in_progress_install_job_started_date_time': {'readonly': True}, + 'update_titles': {'readonly': True}, + 'total_update_size_in_bytes': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'device_version_number': {'key': 'properties.deviceVersionNumber', 'type': 'str'}, + 'friendly_device_version_name': {'key': 'properties.friendlyDeviceVersionName', 'type': 'str'}, + 'device_last_scanned_date_time': {'key': 'properties.deviceLastScannedDateTime', 'type': 'iso-8601'}, + 'last_completed_scan_job_date_time': {'key': 'properties.lastCompletedScanJobDateTime', 'type': 'iso-8601'}, + 'last_completed_download_job_date_time': {'key': 'properties.lastCompletedDownloadJobDateTime', 'type': 'iso-8601'}, + 'last_completed_install_job_date_time': {'key': 'properties.lastCompletedInstallJobDateTime', 'type': 'iso-8601'}, + 'total_number_of_updates_available': {'key': 'properties.totalNumberOfUpdatesAvailable', 'type': 'int'}, + 'total_number_of_updates_pending_download': {'key': 'properties.totalNumberOfUpdatesPendingDownload', 'type': 'int'}, + 'total_number_of_updates_pending_install': {'key': 'properties.totalNumberOfUpdatesPendingInstall', 'type': 'int'}, + 'reboot_behavior': {'key': 'properties.rebootBehavior', 'type': 'str'}, + 'ongoing_update_operation': {'key': 'properties.ongoingUpdateOperation', 'type': 'str'}, + 'in_progress_download_job_id': {'key': 'properties.inProgressDownloadJobId', 'type': 'str'}, + 'in_progress_install_job_id': {'key': 'properties.inProgressInstallJobId', 'type': 'str'}, + 'in_progress_download_job_started_date_time': {'key': 'properties.inProgressDownloadJobStartedDateTime', 'type': 'iso-8601'}, + 'in_progress_install_job_started_date_time': {'key': 'properties.inProgressInstallJobStartedDateTime', 'type': 'iso-8601'}, + 'update_titles': {'key': 'properties.updateTitles', 'type': '[str]'}, + 'total_update_size_in_bytes': {'key': 'properties.totalUpdateSizeInBytes', 'type': 'float'}, + } + + def __init__( + self, + **kwargs + ): + super(UpdateSummary, self).__init__(**kwargs) + self.device_version_number = kwargs.get('device_version_number', None) + self.friendly_device_version_name = kwargs.get('friendly_device_version_name', None) + self.device_last_scanned_date_time = kwargs.get('device_last_scanned_date_time', None) + self.last_completed_scan_job_date_time = kwargs.get('last_completed_scan_job_date_time', None) + self.last_completed_download_job_date_time = None + self.last_completed_install_job_date_time = None + self.total_number_of_updates_available = None + self.total_number_of_updates_pending_download = None + self.total_number_of_updates_pending_install = None + self.reboot_behavior = None + self.ongoing_update_operation = None + self.in_progress_download_job_id = None + self.in_progress_install_job_id = None + self.in_progress_download_job_started_date_time = None + self.in_progress_install_job_started_date_time = None + self.update_titles = None + self.total_update_size_in_bytes = None + + +class UploadCertificateRequest(msrest.serialization.Model): + """The upload certificate request. + + All required parameters must be populated in order to send to Azure. + + :param authentication_type: The authentication type. Possible values include: "Invalid", + "AzureActiveDirectory". + :type authentication_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.AuthenticationType + :param certificate: Required. The base64 encoded certificate raw data. + :type certificate: str + """ + + _validation = { + 'certificate': {'required': True}, + } + + _attribute_map = { + 'authentication_type': {'key': 'properties.authenticationType', 'type': 'str'}, + 'certificate': {'key': 'properties.certificate', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UploadCertificateRequest, self).__init__(**kwargs) + self.authentication_type = kwargs.get('authentication_type', None) + self.certificate = kwargs['certificate'] + + +class UploadCertificateResponse(msrest.serialization.Model): + """The upload registration certificate response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param auth_type: Specifies authentication type. Possible values include: "Invalid", + "AzureActiveDirectory". + :type auth_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.AuthenticationType + :ivar resource_id: The resource ID of the Data Box Edge/Gateway device. + :vartype resource_id: str + :ivar aad_authority: Azure Active Directory tenant authority. + :vartype aad_authority: str + :ivar aad_tenant_id: Azure Active Directory tenant ID. + :vartype aad_tenant_id: str + :ivar service_principal_client_id: Azure Active Directory service principal client ID. + :vartype service_principal_client_id: str + :ivar service_principal_object_id: Azure Active Directory service principal object ID. + :vartype service_principal_object_id: str + :ivar azure_management_endpoint_audience: The azure management endpoint audience. + :vartype azure_management_endpoint_audience: str + :ivar aad_audience: Identifier of the target resource that is the recipient of the requested + token. + :vartype aad_audience: str + """ + + _validation = { + 'resource_id': {'readonly': True}, + 'aad_authority': {'readonly': True}, + 'aad_tenant_id': {'readonly': True}, + 'service_principal_client_id': {'readonly': True}, + 'service_principal_object_id': {'readonly': True}, + 'azure_management_endpoint_audience': {'readonly': True}, + 'aad_audience': {'readonly': True}, + } + + _attribute_map = { + 'auth_type': {'key': 'authType', 'type': 'str'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'aad_authority': {'key': 'aadAuthority', 'type': 'str'}, + 'aad_tenant_id': {'key': 'aadTenantId', 'type': 'str'}, + 'service_principal_client_id': {'key': 'servicePrincipalClientId', 'type': 'str'}, + 'service_principal_object_id': {'key': 'servicePrincipalObjectId', 'type': 'str'}, + 'azure_management_endpoint_audience': {'key': 'azureManagementEndpointAudience', 'type': 'str'}, + 'aad_audience': {'key': 'aadAudience', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UploadCertificateResponse, self).__init__(**kwargs) + self.auth_type = kwargs.get('auth_type', None) + self.resource_id = None + self.aad_authority = None + self.aad_tenant_id = None + self.service_principal_client_id = None + self.service_principal_object_id = None + self.azure_management_endpoint_audience = None + self.aad_audience = None + + +class User(ARMBaseModel): + """Represents a user who has access to one or more shares on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: User in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param encrypted_password: The password details. + :type encrypted_password: ~azure.mgmt.databoxedge.v2020_09_01.models.AsymmetricEncryptedSecret + :ivar share_access_rights: List of shares that the user has rights on. This field should not be + specified during user creation. + :vartype share_access_rights: list[~azure.mgmt.databoxedge.v2020_09_01.models.ShareAccessRight] + :param user_type: Type of the user. Possible values include: "Share", "LocalManagement", "ARM". + :type user_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.UserType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'share_access_rights': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'encrypted_password': {'key': 'properties.encryptedPassword', 'type': 'AsymmetricEncryptedSecret'}, + 'share_access_rights': {'key': 'properties.shareAccessRights', 'type': '[ShareAccessRight]'}, + 'user_type': {'key': 'properties.userType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(User, self).__init__(**kwargs) + self.system_data = None + self.encrypted_password = kwargs.get('encrypted_password', None) + self.share_access_rights = None + self.user_type = kwargs.get('user_type', None) + + +class UserAccessRight(msrest.serialization.Model): + """The mapping between a particular user and the access type on the SMB share. + + All required parameters must be populated in order to send to Azure. + + :param user_id: Required. User ID (already existing in the device). + :type user_id: str + :param access_type: Required. Type of access to be allowed for the user. Possible values + include: "Change", "Read", "Custom". + :type access_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.ShareAccessType + """ + + _validation = { + 'user_id': {'required': True}, + 'access_type': {'required': True}, + } + + _attribute_map = { + 'user_id': {'key': 'userId', 'type': 'str'}, + 'access_type': {'key': 'accessType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UserAccessRight, self).__init__(**kwargs) + self.user_id = kwargs['user_id'] + self.access_type = kwargs['access_type'] + + +class UserList(msrest.serialization.Model): + """Collection of users. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of users. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.User] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[User]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UserList, self).__init__(**kwargs) + self.value = None + self.next_link = None diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/models/_models_py3.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/models/_models_py3.py new file mode 100644 index 000000000000..3940676b4046 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/models/_models_py3.py @@ -0,0 +1,5288 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +import datetime +from typing import Dict, List, Optional, Union + +import msrest.serialization + +from ._data_box_edge_management_client_enums import * + + +class ARMBaseModel(msrest.serialization.Model): + """Represents the base class for all object models. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ARMBaseModel, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class Addon(ARMBaseModel): + """Role Addon. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: ArcAddon, IoTAddon. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Addon type.Constant filled by server. Possible values include: + "IotEdge", "ArcForKubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01.models.AddonType + :ivar system_data: Addon type. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + } + + _subtype_map = { + 'kind': {'ArcForKubernetes': 'ArcAddon', 'IotEdge': 'IoTAddon'} + } + + def __init__( + self, + **kwargs + ): + super(Addon, self).__init__(**kwargs) + self.kind = 'Addon' # type: str + self.system_data = None + + +class AddonList(msrest.serialization.Model): + """Collection of all the Role addon on the Azure Stack Edge device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The Value. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.Addon] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Addon]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AddonList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class Address(msrest.serialization.Model): + """The shipping address of the customer. + + All required parameters must be populated in order to send to Azure. + + :param address_line1: The address line1. + :type address_line1: str + :param address_line2: The address line2. + :type address_line2: str + :param address_line3: The address line3. + :type address_line3: str + :param postal_code: The postal code. + :type postal_code: str + :param city: The city name. + :type city: str + :param state: The state name. + :type state: str + :param country: Required. The country name. + :type country: str + """ + + _validation = { + 'country': {'required': True}, + } + + _attribute_map = { + 'address_line1': {'key': 'addressLine1', 'type': 'str'}, + 'address_line2': {'key': 'addressLine2', 'type': 'str'}, + 'address_line3': {'key': 'addressLine3', 'type': 'str'}, + 'postal_code': {'key': 'postalCode', 'type': 'str'}, + 'city': {'key': 'city', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + 'country': {'key': 'country', 'type': 'str'}, + } + + def __init__( + self, + *, + country: str, + address_line1: Optional[str] = None, + address_line2: Optional[str] = None, + address_line3: Optional[str] = None, + postal_code: Optional[str] = None, + city: Optional[str] = None, + state: Optional[str] = None, + **kwargs + ): + super(Address, self).__init__(**kwargs) + self.address_line1 = address_line1 + self.address_line2 = address_line2 + self.address_line3 = address_line3 + self.postal_code = postal_code + self.city = city + self.state = state + self.country = country + + +class Alert(ARMBaseModel): + """Alert on the data box edge/gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Alert generated in the resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :ivar title: Alert title. + :vartype title: str + :ivar alert_type: Alert type. + :vartype alert_type: str + :ivar appeared_at_date_time: UTC time when the alert appeared. + :vartype appeared_at_date_time: ~datetime.datetime + :ivar recommendation: Alert recommendation. + :vartype recommendation: str + :ivar severity: Severity of the alert. Possible values include: "Informational", "Warning", + "Critical". + :vartype severity: str or ~azure.mgmt.databoxedge.v2020_09_01.models.AlertSeverity + :ivar error_details: Error details of the alert. + :vartype error_details: ~azure.mgmt.databoxedge.v2020_09_01.models.AlertErrorDetails + :ivar detailed_information: Alert details. + :vartype detailed_information: dict[str, str] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'title': {'readonly': True}, + 'alert_type': {'readonly': True}, + 'appeared_at_date_time': {'readonly': True}, + 'recommendation': {'readonly': True}, + 'severity': {'readonly': True}, + 'error_details': {'readonly': True}, + 'detailed_information': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'title': {'key': 'properties.title', 'type': 'str'}, + 'alert_type': {'key': 'properties.alertType', 'type': 'str'}, + 'appeared_at_date_time': {'key': 'properties.appearedAtDateTime', 'type': 'iso-8601'}, + 'recommendation': {'key': 'properties.recommendation', 'type': 'str'}, + 'severity': {'key': 'properties.severity', 'type': 'str'}, + 'error_details': {'key': 'properties.errorDetails', 'type': 'AlertErrorDetails'}, + 'detailed_information': {'key': 'properties.detailedInformation', 'type': '{str}'}, + } + + def __init__( + self, + **kwargs + ): + super(Alert, self).__init__(**kwargs) + self.system_data = None + self.title = None + self.alert_type = None + self.appeared_at_date_time = None + self.recommendation = None + self.severity = None + self.error_details = None + self.detailed_information = None + + +class AlertErrorDetails(msrest.serialization.Model): + """Error details for the alert. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar error_code: Error code. + :vartype error_code: str + :ivar error_message: Error Message. + :vartype error_message: str + :ivar occurrences: Number of occurrences. + :vartype occurrences: int + """ + + _validation = { + 'error_code': {'readonly': True}, + 'error_message': {'readonly': True}, + 'occurrences': {'readonly': True}, + } + + _attribute_map = { + 'error_code': {'key': 'errorCode', 'type': 'str'}, + 'error_message': {'key': 'errorMessage', 'type': 'str'}, + 'occurrences': {'key': 'occurrences', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(AlertErrorDetails, self).__init__(**kwargs) + self.error_code = None + self.error_message = None + self.occurrences = None + + +class AlertList(msrest.serialization.Model): + """Collection of alerts. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The value. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.Alert] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Alert]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AlertList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ArcAddon(Addon): + """Arc Addon. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Addon type.Constant filled by server. Possible values include: + "IotEdge", "ArcForKubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01.models.AddonType + :ivar system_data: Addon type. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param subscription_id: Required. Arc resource subscription Id. + :type subscription_id: str + :param resource_group_name: Required. Arc resource group name. + :type resource_group_name: str + :param resource_name: Required. Arc resource Name. + :type resource_name: str + :param resource_location: Required. Arc resource location. + :type resource_location: str + :ivar version: Arc resource version. + :vartype version: str + :ivar host_platform: Host OS supported by the Arc addon. Possible values include: "Windows", + "Linux". + :vartype host_platform: str or ~azure.mgmt.databoxedge.v2020_09_01.models.PlatformType + :ivar host_platform_type: Platform where the runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.HostPlatformType + :ivar provisioning_state: Addon Provisioning State. Possible values include: "Invalid", + "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting". + :vartype provisioning_state: str or ~azure.mgmt.databoxedge.v2020_09_01.models.AddonState + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'subscription_id': {'required': True}, + 'resource_group_name': {'required': True}, + 'resource_name': {'required': True}, + 'resource_location': {'required': True}, + 'version': {'readonly': True}, + 'host_platform': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'subscription_id': {'key': 'properties.subscriptionId', 'type': 'str'}, + 'resource_group_name': {'key': 'properties.resourceGroupName', 'type': 'str'}, + 'resource_name': {'key': 'properties.resourceName', 'type': 'str'}, + 'resource_location': {'key': 'properties.resourceLocation', 'type': 'str'}, + 'version': {'key': 'properties.version', 'type': 'str'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + subscription_id: str, + resource_group_name: str, + resource_name: str, + resource_location: str, + **kwargs + ): + super(ArcAddon, self).__init__(**kwargs) + self.kind = 'ArcForKubernetes' # type: str + self.subscription_id = subscription_id + self.resource_group_name = resource_group_name + self.resource_name = resource_name + self.resource_location = resource_location + self.version = None + self.host_platform = None + self.host_platform_type = None + self.provisioning_state = None + + +class AsymmetricEncryptedSecret(msrest.serialization.Model): + """Represent the secrets intended for encryption with asymmetric key pair. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. The value of the secret. + :type value: str + :param encryption_cert_thumbprint: Thumbprint certificate used to encrypt \"Value\". If the + value is unencrypted, it will be null. + :type encryption_cert_thumbprint: str + :param encryption_algorithm: Required. The algorithm used to encrypt "Value". Possible values + include: "None", "AES256", "RSAES_PKCS1_v_1_5". + :type encryption_algorithm: str or + ~azure.mgmt.databoxedge.v2020_09_01.models.EncryptionAlgorithm + """ + + _validation = { + 'value': {'required': True}, + 'encryption_algorithm': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': 'str'}, + 'encryption_cert_thumbprint': {'key': 'encryptionCertThumbprint', 'type': 'str'}, + 'encryption_algorithm': {'key': 'encryptionAlgorithm', 'type': 'str'}, + } + + def __init__( + self, + *, + value: str, + encryption_algorithm: Union[str, "EncryptionAlgorithm"], + encryption_cert_thumbprint: Optional[str] = None, + **kwargs + ): + super(AsymmetricEncryptedSecret, self).__init__(**kwargs) + self.value = value + self.encryption_cert_thumbprint = encryption_cert_thumbprint + self.encryption_algorithm = encryption_algorithm + + +class Authentication(msrest.serialization.Model): + """Authentication mechanism for IoT devices. + + :param symmetric_key: Symmetric key for authentication. + :type symmetric_key: ~azure.mgmt.databoxedge.v2020_09_01.models.SymmetricKey + """ + + _attribute_map = { + 'symmetric_key': {'key': 'symmetricKey', 'type': 'SymmetricKey'}, + } + + def __init__( + self, + *, + symmetric_key: Optional["SymmetricKey"] = None, + **kwargs + ): + super(Authentication, self).__init__(**kwargs) + self.symmetric_key = symmetric_key + + +class AzureContainerInfo(msrest.serialization.Model): + """Azure container mapping of the endpoint. + + All required parameters must be populated in order to send to Azure. + + :param storage_account_credential_id: Required. ID of the storage account credential used to + access storage. + :type storage_account_credential_id: str + :param container_name: Required. Container name (Based on the data format specified, this + represents the name of Azure Files/Page blob/Block blob). + :type container_name: str + :param data_format: Required. Storage format used for the file represented by the share. + Possible values include: "BlockBlob", "PageBlob", "AzureFile". + :type data_format: str or ~azure.mgmt.databoxedge.v2020_09_01.models.AzureContainerDataFormat + """ + + _validation = { + 'storage_account_credential_id': {'required': True}, + 'container_name': {'required': True}, + 'data_format': {'required': True}, + } + + _attribute_map = { + 'storage_account_credential_id': {'key': 'storageAccountCredentialId', 'type': 'str'}, + 'container_name': {'key': 'containerName', 'type': 'str'}, + 'data_format': {'key': 'dataFormat', 'type': 'str'}, + } + + def __init__( + self, + *, + storage_account_credential_id: str, + container_name: str, + data_format: Union[str, "AzureContainerDataFormat"], + **kwargs + ): + super(AzureContainerInfo, self).__init__(**kwargs) + self.storage_account_credential_id = storage_account_credential_id + self.container_name = container_name + self.data_format = data_format + + +class BandwidthSchedule(ARMBaseModel): + """The bandwidth schedule details. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Bandwidth object related to ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param start: Required. The start time of the schedule in UTC. + :type start: str + :param stop: Required. The stop time of the schedule in UTC. + :type stop: str + :param rate_in_mbps: Required. The bandwidth rate in Mbps. + :type rate_in_mbps: int + :param days: Required. The days of the week when this schedule is applicable. + :type days: list[str or ~azure.mgmt.databoxedge.v2020_09_01.models.DayOfWeek] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'start': {'required': True}, + 'stop': {'required': True}, + 'rate_in_mbps': {'required': True}, + 'days': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'start': {'key': 'properties.start', 'type': 'str'}, + 'stop': {'key': 'properties.stop', 'type': 'str'}, + 'rate_in_mbps': {'key': 'properties.rateInMbps', 'type': 'int'}, + 'days': {'key': 'properties.days', 'type': '[str]'}, + } + + def __init__( + self, + *, + start: str, + stop: str, + rate_in_mbps: int, + days: List[Union[str, "DayOfWeek"]], + **kwargs + ): + super(BandwidthSchedule, self).__init__(**kwargs) + self.system_data = None + self.start = start + self.stop = stop + self.rate_in_mbps = rate_in_mbps + self.days = days + + +class BandwidthSchedulesList(msrest.serialization.Model): + """The collection of bandwidth schedules. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of bandwidth schedules. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.BandwidthSchedule] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[BandwidthSchedule]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(BandwidthSchedulesList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ClientAccessRight(msrest.serialization.Model): + """The mapping between a particular client IP and the type of access client has on the NFS share. + + All required parameters must be populated in order to send to Azure. + + :param client: Required. IP of the client. + :type client: str + :param access_permission: Required. Type of access to be allowed for the client. Possible + values include: "NoAccess", "ReadOnly", "ReadWrite". + :type access_permission: str or ~azure.mgmt.databoxedge.v2020_09_01.models.ClientPermissionType + """ + + _validation = { + 'client': {'required': True}, + 'access_permission': {'required': True}, + } + + _attribute_map = { + 'client': {'key': 'client', 'type': 'str'}, + 'access_permission': {'key': 'accessPermission', 'type': 'str'}, + } + + def __init__( + self, + *, + client: str, + access_permission: Union[str, "ClientPermissionType"], + **kwargs + ): + super(ClientAccessRight, self).__init__(**kwargs) + self.client = client + self.access_permission = access_permission + + +class Role(ARMBaseModel): + """Compute role. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: CloudEdgeManagementRole, IoTRole, KubernetesRole, MECRole. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + } + + _subtype_map = { + 'kind': {'CloudEdgeManagement': 'CloudEdgeManagementRole', 'IOT': 'IoTRole', 'Kubernetes': 'KubernetesRole', 'MEC': 'MECRole'} + } + + def __init__( + self, + **kwargs + ): + super(Role, self).__init__(**kwargs) + self.kind = 'Role' # type: str + self.system_data = None + + +class CloudEdgeManagementRole(Role): + """CloudEdgeManagementRole role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :ivar local_management_status: Local Edge Management Status. Possible values include: + "Enabled", "Disabled". + :vartype local_management_status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.RoleStatus + :ivar edge_profile: Edge Profile of the resource. + :vartype edge_profile: ~azure.mgmt.databoxedge.v2020_09_01.models.EdgeProfile + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'local_management_status': {'readonly': True}, + 'edge_profile': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'local_management_status': {'key': 'properties.localManagementStatus', 'type': 'str'}, + 'edge_profile': {'key': 'properties.edgeProfile', 'type': 'EdgeProfile'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + *, + role_status: Optional[Union[str, "RoleStatus"]] = None, + **kwargs + ): + super(CloudEdgeManagementRole, self).__init__(**kwargs) + self.kind = 'CloudEdgeManagement' # type: str + self.local_management_status = None + self.edge_profile = None + self.role_status = role_status + + +class CloudErrorBody(msrest.serialization.Model): + """An error response from the service. + + :param code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :type code: str + :param message: A message describing the error, intended to be suitable for display in a user + interface. + :type message: str + :param details: A list of additional details about the error. + :type details: list[~azure.mgmt.databoxedge.v2020_09_01.models.CloudErrorBody] + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[CloudErrorBody]'}, + } + + def __init__( + self, + *, + code: Optional[str] = None, + message: Optional[str] = None, + details: Optional[List["CloudErrorBody"]] = None, + **kwargs + ): + super(CloudErrorBody, self).__init__(**kwargs) + self.code = code + self.message = message + self.details = details + + +class CniConfig(msrest.serialization.Model): + """Cni configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: Cni type. + :vartype type: str + :ivar version: Cni version. + :vartype version: str + :ivar pod_subnet: Pod Subnet. + :vartype pod_subnet: str + :ivar service_subnet: Service subnet. + :vartype service_subnet: str + """ + + _validation = { + 'type': {'readonly': True}, + 'version': {'readonly': True}, + 'pod_subnet': {'readonly': True}, + 'service_subnet': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + 'pod_subnet': {'key': 'podSubnet', 'type': 'str'}, + 'service_subnet': {'key': 'serviceSubnet', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(CniConfig, self).__init__(**kwargs) + self.type = None + self.version = None + self.pod_subnet = None + self.service_subnet = None + + +class ComputeResource(msrest.serialization.Model): + """Compute infrastructure Resource. + + All required parameters must be populated in order to send to Azure. + + :param processor_count: Required. Processor count. + :type processor_count: int + :param memory_in_gb: Required. Memory in GB. + :type memory_in_gb: long + """ + + _validation = { + 'processor_count': {'required': True}, + 'memory_in_gb': {'required': True}, + } + + _attribute_map = { + 'processor_count': {'key': 'processorCount', 'type': 'int'}, + 'memory_in_gb': {'key': 'memoryInGB', 'type': 'long'}, + } + + def __init__( + self, + *, + processor_count: int, + memory_in_gb: int, + **kwargs + ): + super(ComputeResource, self).__init__(**kwargs) + self.processor_count = processor_count + self.memory_in_gb = memory_in_gb + + +class ContactDetails(msrest.serialization.Model): + """Contains all the contact details of the customer. + + All required parameters must be populated in order to send to Azure. + + :param contact_person: Required. The contact person name. + :type contact_person: str + :param company_name: Required. The name of the company. + :type company_name: str + :param phone: Required. The phone number. + :type phone: str + :param email_list: Required. The email list. + :type email_list: list[str] + """ + + _validation = { + 'contact_person': {'required': True}, + 'company_name': {'required': True}, + 'phone': {'required': True}, + 'email_list': {'required': True}, + } + + _attribute_map = { + 'contact_person': {'key': 'contactPerson', 'type': 'str'}, + 'company_name': {'key': 'companyName', 'type': 'str'}, + 'phone': {'key': 'phone', 'type': 'str'}, + 'email_list': {'key': 'emailList', 'type': '[str]'}, + } + + def __init__( + self, + *, + contact_person: str, + company_name: str, + phone: str, + email_list: List[str], + **kwargs + ): + super(ContactDetails, self).__init__(**kwargs) + self.contact_person = contact_person + self.company_name = company_name + self.phone = phone + self.email_list = email_list + + +class Container(ARMBaseModel): + """Represents a container on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Container in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :ivar container_status: Current status of the container. Possible values include: "OK", + "Offline", "Unknown", "Updating", "NeedsAttention". + :vartype container_status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.ContainerStatus + :param data_format: Required. DataFormat for Container. Possible values include: "BlockBlob", + "PageBlob", "AzureFile". + :type data_format: str or ~azure.mgmt.databoxedge.v2020_09_01.models.AzureContainerDataFormat + :ivar refresh_details: Details of the refresh job on this container. + :vartype refresh_details: ~azure.mgmt.databoxedge.v2020_09_01.models.RefreshDetails + :ivar created_date_time: The UTC time when container got created. + :vartype created_date_time: ~datetime.datetime + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'container_status': {'readonly': True}, + 'data_format': {'required': True}, + 'refresh_details': {'readonly': True}, + 'created_date_time': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'container_status': {'key': 'properties.containerStatus', 'type': 'str'}, + 'data_format': {'key': 'properties.dataFormat', 'type': 'str'}, + 'refresh_details': {'key': 'properties.refreshDetails', 'type': 'RefreshDetails'}, + 'created_date_time': {'key': 'properties.createdDateTime', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + data_format: Union[str, "AzureContainerDataFormat"], + **kwargs + ): + super(Container, self).__init__(**kwargs) + self.system_data = None + self.container_status = None + self.data_format = data_format + self.refresh_details = None + self.created_date_time = None + + +class ContainerList(msrest.serialization.Model): + """Collection of all the containers on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of containers. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.Container] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Container]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ContainerList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class DataBoxEdgeDevice(ARMBaseModel): + """The Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param location: Required. The location of the device. This is a supported and registered Azure + geographical region (for example, West US, East US, or Southeast Asia). The geographical region + of a device cannot be changed once it is created, but if an identical geographical region is + specified on update, the request will succeed. + :type location: str + :param tags: A set of tags. The list of tags that describe the device. These tags can be used + to view and group this device (across resource groups). + :type tags: dict[str, str] + :param sku: The SKU type. + :type sku: ~azure.mgmt.databoxedge.v2020_09_01.models.Sku + :param etag: The etag for the devices. + :type etag: str + :param identity: Msi identity of the resource. + :type identity: ~azure.mgmt.databoxedge.v2020_09_01.models.ResourceIdentity + :ivar kind: The etag for the devices. Possible values include: "AzureDataBoxGateway", + "AzureStackEdge", "AzureStackHub", "AzureModularDataCentre". + :vartype kind: str or ~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDeviceKind + :ivar system_data: DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param data_box_edge_device_status: The status of the Data Box Edge/Gateway device. Possible + values include: "ReadyToSetup", "Online", "Offline", "NeedsAttention", "Disconnected", + "PartiallyDisconnected", "Maintenance". + :type data_box_edge_device_status: str or + ~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDeviceStatus + :ivar serial_number: The Serial Number of Data Box Edge/Gateway device. + :vartype serial_number: str + :ivar description: The Description of the Data Box Edge/Gateway device. + :vartype description: str + :ivar model_description: The description of the Data Box Edge/Gateway device model. + :vartype model_description: str + :ivar device_type: The type of the Data Box Edge/Gateway device. Possible values include: + "DataBoxEdgeDevice". + :vartype device_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.DeviceType + :ivar friendly_name: The Data Box Edge/Gateway device name. + :vartype friendly_name: str + :ivar culture: The Data Box Edge/Gateway device culture. + :vartype culture: str + :ivar device_model: The Data Box Edge/Gateway device model. + :vartype device_model: str + :ivar device_software_version: The Data Box Edge/Gateway device software version. + :vartype device_software_version: str + :ivar device_local_capacity: The Data Box Edge/Gateway device local capacity in MB. + :vartype device_local_capacity: long + :ivar time_zone: The Data Box Edge/Gateway device timezone. + :vartype time_zone: str + :ivar device_hcs_version: The device software version number of the device (eg: 1.2.18105.6). + :vartype device_hcs_version: str + :ivar configured_role_types: Type of compute roles configured. + :vartype configured_role_types: list[str or + ~azure.mgmt.databoxedge.v2020_09_01.models.RoleTypes] + :ivar node_count: The number of nodes in the cluster. + :vartype node_count: int + :ivar resource_move_details: The details of the move operation on this resource. + :vartype resource_move_details: ~azure.mgmt.databoxedge.v2020_09_01.models.ResourceMoveDetails + :ivar edge_profile: The details of Edge Profile for this resource. + :vartype edge_profile: ~azure.mgmt.databoxedge.v2020_09_01.models.EdgeProfile + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'kind': {'readonly': True}, + 'system_data': {'readonly': True}, + 'serial_number': {'readonly': True}, + 'description': {'readonly': True}, + 'model_description': {'readonly': True}, + 'device_type': {'readonly': True}, + 'friendly_name': {'readonly': True}, + 'culture': {'readonly': True}, + 'device_model': {'readonly': True}, + 'device_software_version': {'readonly': True}, + 'device_local_capacity': {'readonly': True}, + 'time_zone': {'readonly': True}, + 'device_hcs_version': {'readonly': True}, + 'configured_role_types': {'readonly': True}, + 'node_count': {'readonly': True}, + 'resource_move_details': {'readonly': True}, + 'edge_profile': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'sku': {'key': 'sku', 'type': 'Sku'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'identity': {'key': 'identity', 'type': 'ResourceIdentity'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'data_box_edge_device_status': {'key': 'properties.dataBoxEdgeDeviceStatus', 'type': 'str'}, + 'serial_number': {'key': 'properties.serialNumber', 'type': 'str'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'model_description': {'key': 'properties.modelDescription', 'type': 'str'}, + 'device_type': {'key': 'properties.deviceType', 'type': 'str'}, + 'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'}, + 'culture': {'key': 'properties.culture', 'type': 'str'}, + 'device_model': {'key': 'properties.deviceModel', 'type': 'str'}, + 'device_software_version': {'key': 'properties.deviceSoftwareVersion', 'type': 'str'}, + 'device_local_capacity': {'key': 'properties.deviceLocalCapacity', 'type': 'long'}, + 'time_zone': {'key': 'properties.timeZone', 'type': 'str'}, + 'device_hcs_version': {'key': 'properties.deviceHcsVersion', 'type': 'str'}, + 'configured_role_types': {'key': 'properties.configuredRoleTypes', 'type': '[str]'}, + 'node_count': {'key': 'properties.nodeCount', 'type': 'int'}, + 'resource_move_details': {'key': 'properties.resourceMoveDetails', 'type': 'ResourceMoveDetails'}, + 'edge_profile': {'key': 'properties.edgeProfile', 'type': 'EdgeProfile'}, + } + + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + sku: Optional["Sku"] = None, + etag: Optional[str] = None, + identity: Optional["ResourceIdentity"] = None, + data_box_edge_device_status: Optional[Union[str, "DataBoxEdgeDeviceStatus"]] = None, + **kwargs + ): + super(DataBoxEdgeDevice, self).__init__(**kwargs) + self.location = location + self.tags = tags + self.sku = sku + self.etag = etag + self.identity = identity + self.kind = None + self.system_data = None + self.data_box_edge_device_status = data_box_edge_device_status + self.serial_number = None + self.description = None + self.model_description = None + self.device_type = None + self.friendly_name = None + self.culture = None + self.device_model = None + self.device_software_version = None + self.device_local_capacity = None + self.time_zone = None + self.device_hcs_version = None + self.configured_role_types = None + self.node_count = None + self.resource_move_details = None + self.edge_profile = None + + +class DataBoxEdgeDeviceExtendedInfo(ARMBaseModel): + """The extended Info of the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param encryption_key_thumbprint: The digital signature of encrypted certificate. + :type encryption_key_thumbprint: str + :param encryption_key: The public part of the encryption certificate. Client uses this to + encrypt any secret. + :type encryption_key: str + :ivar resource_key: The Resource ID of the Resource. + :vartype resource_key: str + :param client_secret_store_id: The Key Vault ARM Id for client secrets. + :type client_secret_store_id: str + :param client_secret_store_url: The url to access the Client Key Vault. + :type client_secret_store_url: str + :param channel_integrity_key_name: The name of Channel Integrity Key stored in the Client Key + Vault. + :type channel_integrity_key_name: str + :param channel_integrity_key_version: The version of Channel Integrity Key stored in the Client + Key Vault. + :type channel_integrity_key_version: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'resource_key': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'encryption_key_thumbprint': {'key': 'properties.encryptionKeyThumbprint', 'type': 'str'}, + 'encryption_key': {'key': 'properties.encryptionKey', 'type': 'str'}, + 'resource_key': {'key': 'properties.resourceKey', 'type': 'str'}, + 'client_secret_store_id': {'key': 'properties.clientSecretStoreId', 'type': 'str'}, + 'client_secret_store_url': {'key': 'properties.clientSecretStoreUrl', 'type': 'str'}, + 'channel_integrity_key_name': {'key': 'properties.channelIntegrityKeyName', 'type': 'str'}, + 'channel_integrity_key_version': {'key': 'properties.channelIntegrityKeyVersion', 'type': 'str'}, + } + + def __init__( + self, + *, + encryption_key_thumbprint: Optional[str] = None, + encryption_key: Optional[str] = None, + client_secret_store_id: Optional[str] = None, + client_secret_store_url: Optional[str] = None, + channel_integrity_key_name: Optional[str] = None, + channel_integrity_key_version: Optional[str] = None, + **kwargs + ): + super(DataBoxEdgeDeviceExtendedInfo, self).__init__(**kwargs) + self.encryption_key_thumbprint = encryption_key_thumbprint + self.encryption_key = encryption_key + self.resource_key = None + self.client_secret_store_id = client_secret_store_id + self.client_secret_store_url = client_secret_store_url + self.channel_integrity_key_name = channel_integrity_key_name + self.channel_integrity_key_version = channel_integrity_key_version + + +class DataBoxEdgeDeviceExtendedInfoPatch(msrest.serialization.Model): + """The Data Box Edge/Gateway device extended info patch. + + :param client_secret_store_id: The Key Vault ARM Id for client secrets. + :type client_secret_store_id: str + :param client_secret_store_url: The url to access the Client Key Vault. + :type client_secret_store_url: str + :param channel_integrity_key_name: The name for Channel Integrity Key stored in the Client Key + Vault. + :type channel_integrity_key_name: str + :param channel_integrity_key_version: The version of Channel Integrity Key stored in the Client + Key Vault. + :type channel_integrity_key_version: str + """ + + _attribute_map = { + 'client_secret_store_id': {'key': 'clientSecretStoreId', 'type': 'str'}, + 'client_secret_store_url': {'key': 'clientSecretStoreUrl', 'type': 'str'}, + 'channel_integrity_key_name': {'key': 'channelIntegrityKeyName', 'type': 'str'}, + 'channel_integrity_key_version': {'key': 'channelIntegrityKeyVersion', 'type': 'str'}, + } + + def __init__( + self, + *, + client_secret_store_id: Optional[str] = None, + client_secret_store_url: Optional[str] = None, + channel_integrity_key_name: Optional[str] = None, + channel_integrity_key_version: Optional[str] = None, + **kwargs + ): + super(DataBoxEdgeDeviceExtendedInfoPatch, self).__init__(**kwargs) + self.client_secret_store_id = client_secret_store_id + self.client_secret_store_url = client_secret_store_url + self.channel_integrity_key_name = channel_integrity_key_name + self.channel_integrity_key_version = channel_integrity_key_version + + +class DataBoxEdgeDeviceList(msrest.serialization.Model): + """The collection of Data Box Edge/Gateway devices. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of Data Box Edge/Gateway devices. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDevice] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DataBoxEdgeDevice]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeDeviceList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class DataBoxEdgeDevicePatch(msrest.serialization.Model): + """The Data Box Edge/Gateway device patch. + + :param tags: A set of tags. The tags attached to the Data Box Edge/Gateway resource. + :type tags: dict[str, str] + :param identity: Msi identity of the resource. + :type identity: ~azure.mgmt.databoxedge.v2020_09_01.models.ResourceIdentity + :param edge_profile: Edge Profile property of the Data Box Edge/Gateway device. + :type edge_profile: ~azure.mgmt.databoxedge.v2020_09_01.models.EdgeProfilePatch + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + 'identity': {'key': 'identity', 'type': 'ResourceIdentity'}, + 'edge_profile': {'key': 'properties.edgeProfile', 'type': 'EdgeProfilePatch'}, + } + + def __init__( + self, + *, + tags: Optional[Dict[str, str]] = None, + identity: Optional["ResourceIdentity"] = None, + edge_profile: Optional["EdgeProfilePatch"] = None, + **kwargs + ): + super(DataBoxEdgeDevicePatch, self).__init__(**kwargs) + self.tags = tags + self.identity = identity + self.edge_profile = edge_profile + + +class DataBoxEdgeMoveRequest(msrest.serialization.Model): + """Resource Move details. + + All required parameters must be populated in order to send to Azure. + + :param target_resource_group: Required. Target resource group ARMId. + :type target_resource_group: str + :param resources: Required. List of resources to be moved. + :type resources: list[str] + """ + + _validation = { + 'target_resource_group': {'required': True}, + 'resources': {'required': True}, + } + + _attribute_map = { + 'target_resource_group': {'key': 'targetResourceGroup', 'type': 'str'}, + 'resources': {'key': 'resources', 'type': '[str]'}, + } + + def __init__( + self, + *, + target_resource_group: str, + resources: List[str], + **kwargs + ): + super(DataBoxEdgeMoveRequest, self).__init__(**kwargs) + self.target_resource_group = target_resource_group + self.resources = resources + + +class DataBoxEdgeSku(msrest.serialization.Model): + """The Sku information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar resource_type: The type of the resource. + :vartype resource_type: str + :ivar name: The Sku name. Possible values include: "Gateway", "Edge", "TEA_1Node", + "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", + "TEA_4Node_UPS_Heater", "TMA", "TDC", "TCA_Small", "GPU", "TCA_Large", "EdgeP_Base", + "EdgeP_High", "EdgePR_Base", "EdgePR_Base_UPS", "EdgeMR_Mini", "RCA_Small", "RCA_Large", "RDC". + :vartype name: str or ~azure.mgmt.databoxedge.v2020_09_01.models.SkuName + :ivar kind: The Sku kind. + :vartype kind: str + :ivar tier: The Sku tier. Possible values include: "Standard". + :vartype tier: str or ~azure.mgmt.databoxedge.v2020_09_01.models.SkuTier + :ivar size: The Sku kind. + :vartype size: str + :ivar family: The Sku family. + :vartype family: str + :ivar locations: Availability of the Sku for the region. + :vartype locations: list[str] + :ivar api_versions: The API versions in which Sku is available. + :vartype api_versions: list[str] + :ivar location_info: Availability of the Sku for the location/zone/site. + :vartype location_info: list[~azure.mgmt.databoxedge.v2020_09_01.models.SkuLocationInfo] + :ivar costs: The pricing info of the Sku. + :vartype costs: list[~azure.mgmt.databoxedge.v2020_09_01.models.SkuCost] + :ivar signup_option: Sku can be signed up by customer or not. Possible values include: "None", + "Available". + :vartype signup_option: str or ~azure.mgmt.databoxedge.v2020_09_01.models.SkuSignupOption + :ivar version: Availability of the Sku as preview/stable. Possible values include: "Stable", + "Preview". + :vartype version: str or ~azure.mgmt.databoxedge.v2020_09_01.models.SkuVersion + :ivar availability: Links to the next set of results. Possible values include: "Available", + "Unavailable". + :vartype availability: str or ~azure.mgmt.databoxedge.v2020_09_01.models.SkuAvailability + :ivar shipment_types: List of Shipment Types supported by this SKU. + :vartype shipment_types: list[str or ~azure.mgmt.databoxedge.v2020_09_01.models.ShipmentType] + """ + + _validation = { + 'resource_type': {'readonly': True}, + 'name': {'readonly': True}, + 'kind': {'readonly': True}, + 'tier': {'readonly': True}, + 'size': {'readonly': True}, + 'family': {'readonly': True}, + 'locations': {'readonly': True}, + 'api_versions': {'readonly': True}, + 'location_info': {'readonly': True}, + 'costs': {'readonly': True}, + 'signup_option': {'readonly': True}, + 'version': {'readonly': True}, + 'availability': {'readonly': True}, + 'shipment_types': {'readonly': True}, + } + + _attribute_map = { + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'size': {'key': 'size', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'locations': {'key': 'locations', 'type': '[str]'}, + 'api_versions': {'key': 'apiVersions', 'type': '[str]'}, + 'location_info': {'key': 'locationInfo', 'type': '[SkuLocationInfo]'}, + 'costs': {'key': 'costs', 'type': '[SkuCost]'}, + 'signup_option': {'key': 'signupOption', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + 'availability': {'key': 'availability', 'type': 'str'}, + 'shipment_types': {'key': 'shipmentTypes', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeSku, self).__init__(**kwargs) + self.resource_type = None + self.name = None + self.kind = None + self.tier = None + self.size = None + self.family = None + self.locations = None + self.api_versions = None + self.location_info = None + self.costs = None + self.signup_option = None + self.version = None + self.availability = None + self.shipment_types = None + + +class DataBoxEdgeSkuList(msrest.serialization.Model): + """List of SKU Information objects. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of ResourceType Sku. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeSku] + :ivar next_link: Links to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DataBoxEdgeSku]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeSkuList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class DCAccessCode(msrest.serialization.Model): + """DC Access code in the case of Self Managed Shipping. + + :param auth_code: DCAccess Code for the Self Managed shipment. + :type auth_code: str + """ + + _attribute_map = { + 'auth_code': {'key': 'properties.authCode', 'type': 'str'}, + } + + def __init__( + self, + *, + auth_code: Optional[str] = None, + **kwargs + ): + super(DCAccessCode, self).__init__(**kwargs) + self.auth_code = auth_code + + +class EdgeProfile(msrest.serialization.Model): + """Details about Edge Profile for the resource. + + :param subscription: Edge Profile Subscription. + :type subscription: ~azure.mgmt.databoxedge.v2020_09_01.models.EdgeProfileSubscription + """ + + _attribute_map = { + 'subscription': {'key': 'subscription', 'type': 'EdgeProfileSubscription'}, + } + + def __init__( + self, + *, + subscription: Optional["EdgeProfileSubscription"] = None, + **kwargs + ): + super(EdgeProfile, self).__init__(**kwargs) + self.subscription = subscription + + +class EdgeProfilePatch(msrest.serialization.Model): + """The Data Box Edge/Gateway Edge Profile patch. + + :param subscription: The Data Box Edge/Gateway Edge Profile Subscription patch. + :type subscription: ~azure.mgmt.databoxedge.v2020_09_01.models.EdgeProfileSubscriptionPatch + """ + + _attribute_map = { + 'subscription': {'key': 'subscription', 'type': 'EdgeProfileSubscriptionPatch'}, + } + + def __init__( + self, + *, + subscription: Optional["EdgeProfileSubscriptionPatch"] = None, + **kwargs + ): + super(EdgeProfilePatch, self).__init__(**kwargs) + self.subscription = subscription + + +class EdgeProfileSubscription(msrest.serialization.Model): + """Subscription details for the Edge Profile. + + :param registration_id: Edge Subscription Registration ID. + :type registration_id: str + :param id: ARM ID of the subscription. + :type id: str + :param state: Possible values include: "Registered", "Warned", "Suspended", "Deleted", + "Unregistered". + :type state: str or ~azure.mgmt.databoxedge.v2020_09_01.models.SubscriptionState + :param registration_date: + :type registration_date: str + :param subscription_id: + :type subscription_id: str + :param tenant_id: + :type tenant_id: str + :param location_placement_id: + :type location_placement_id: str + :param quota_id: + :type quota_id: str + :param serialized_details: + :type serialized_details: str + :param registered_features: + :type registered_features: + list[~azure.mgmt.databoxedge.v2020_09_01.models.SubscriptionRegisteredFeatures] + """ + + _attribute_map = { + 'registration_id': {'key': 'registrationId', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + 'registration_date': {'key': 'registrationDate', 'type': 'str'}, + 'subscription_id': {'key': 'subscriptionId', 'type': 'str'}, + 'tenant_id': {'key': 'properties.tenantId', 'type': 'str'}, + 'location_placement_id': {'key': 'properties.locationPlacementId', 'type': 'str'}, + 'quota_id': {'key': 'properties.quotaId', 'type': 'str'}, + 'serialized_details': {'key': 'properties.serializedDetails', 'type': 'str'}, + 'registered_features': {'key': 'properties.registeredFeatures', 'type': '[SubscriptionRegisteredFeatures]'}, + } + + def __init__( + self, + *, + registration_id: Optional[str] = None, + id: Optional[str] = None, + state: Optional[Union[str, "SubscriptionState"]] = None, + registration_date: Optional[str] = None, + subscription_id: Optional[str] = None, + tenant_id: Optional[str] = None, + location_placement_id: Optional[str] = None, + quota_id: Optional[str] = None, + serialized_details: Optional[str] = None, + registered_features: Optional[List["SubscriptionRegisteredFeatures"]] = None, + **kwargs + ): + super(EdgeProfileSubscription, self).__init__(**kwargs) + self.registration_id = registration_id + self.id = id + self.state = state + self.registration_date = registration_date + self.subscription_id = subscription_id + self.tenant_id = tenant_id + self.location_placement_id = location_placement_id + self.quota_id = quota_id + self.serialized_details = serialized_details + self.registered_features = registered_features + + +class EdgeProfileSubscriptionPatch(msrest.serialization.Model): + """The Data Box Edge/Gateway Edge Profile Subscription patch. + + :param id: The path ID that uniquely identifies the subscription of the edge profile. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + **kwargs + ): + super(EdgeProfileSubscriptionPatch, self).__init__(**kwargs) + self.id = id + + +class EtcdInfo(msrest.serialization.Model): + """Etcd configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: Etcd type. + :vartype type: str + :ivar version: Etcd version. + :vartype version: str + """ + + _validation = { + 'type': {'readonly': True}, + 'version': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EtcdInfo, self).__init__(**kwargs) + self.type = None + self.version = None + + +class Trigger(ARMBaseModel): + """Trigger details. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: FileEventTrigger, PeriodicTimerEventTrigger. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Trigger in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: + "FileEvent", "PeriodicTimerEvent". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01.models.TriggerEventType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'kind': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'kind': {'key': 'kind', 'type': 'str'}, + } + + _subtype_map = { + 'kind': {'FileEvent': 'FileEventTrigger', 'PeriodicTimerEvent': 'PeriodicTimerEventTrigger'} + } + + def __init__( + self, + **kwargs + ): + super(Trigger, self).__init__(**kwargs) + self.system_data = None + self.kind = 'Trigger' # type: str + + +class FileEventTrigger(Trigger): + """Trigger details. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Trigger in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: + "FileEvent", "PeriodicTimerEvent". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01.models.TriggerEventType + :param source_info: Required. File event source details. + :type source_info: ~azure.mgmt.databoxedge.v2020_09_01.models.FileSourceInfo + :param sink_info: Required. Role sink info. + :type sink_info: ~azure.mgmt.databoxedge.v2020_09_01.models.RoleSinkInfo + :param custom_context_tag: A custom context tag typically used to correlate the trigger against + its usage. For example, if a periodic timer trigger is intended for certain specific IoT + modules in the device, the tag can be the name or the image URL of the module. + :type custom_context_tag: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'kind': {'required': True}, + 'source_info': {'required': True}, + 'sink_info': {'required': True}, + 'custom_context_tag': {'max_length': 192, 'min_length': 0}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'source_info': {'key': 'properties.sourceInfo', 'type': 'FileSourceInfo'}, + 'sink_info': {'key': 'properties.sinkInfo', 'type': 'RoleSinkInfo'}, + 'custom_context_tag': {'key': 'properties.customContextTag', 'type': 'str'}, + } + + def __init__( + self, + *, + source_info: "FileSourceInfo", + sink_info: "RoleSinkInfo", + custom_context_tag: Optional[str] = None, + **kwargs + ): + super(FileEventTrigger, self).__init__(**kwargs) + self.kind = 'FileEvent' # type: str + self.source_info = source_info + self.sink_info = sink_info + self.custom_context_tag = custom_context_tag + + +class FileSourceInfo(msrest.serialization.Model): + """File source details. + + All required parameters must be populated in order to send to Azure. + + :param share_id: Required. File share ID. + :type share_id: str + """ + + _validation = { + 'share_id': {'required': True}, + } + + _attribute_map = { + 'share_id': {'key': 'shareId', 'type': 'str'}, + } + + def __init__( + self, + *, + share_id: str, + **kwargs + ): + super(FileSourceInfo, self).__init__(**kwargs) + self.share_id = share_id + + +class GenerateCertResponse(msrest.serialization.Model): + """Used in activation key generation flow. + + :param public_key: Gets or sets base64 encoded certificate raw data, + this is the public part needed to be uploaded to cert vault. + :type public_key: str + :param private_key: Gets or sets base64 encoded private part of the certificate, + needed to form the activation key. + :type private_key: str + :param expiry_time_in_utc: Gets or sets expiry time in UTC. + :type expiry_time_in_utc: str + """ + + _attribute_map = { + 'public_key': {'key': 'publicKey', 'type': 'str'}, + 'private_key': {'key': 'privateKey', 'type': 'str'}, + 'expiry_time_in_utc': {'key': 'expiryTimeInUTC', 'type': 'str'}, + } + + def __init__( + self, + *, + public_key: Optional[str] = None, + private_key: Optional[str] = None, + expiry_time_in_utc: Optional[str] = None, + **kwargs + ): + super(GenerateCertResponse, self).__init__(**kwargs) + self.public_key = public_key + self.private_key = private_key + self.expiry_time_in_utc = expiry_time_in_utc + + +class ImageRepositoryCredential(msrest.serialization.Model): + """Image repository credential. + + All required parameters must be populated in order to send to Azure. + + :param image_repository_url: Required. Image repository url (e.g.: mcr.microsoft.com). + :type image_repository_url: str + :param user_name: Required. Repository user name. + :type user_name: str + :param password: Repository user password. + :type password: ~azure.mgmt.databoxedge.v2020_09_01.models.AsymmetricEncryptedSecret + """ + + _validation = { + 'image_repository_url': {'required': True}, + 'user_name': {'required': True}, + } + + _attribute_map = { + 'image_repository_url': {'key': 'imageRepositoryUrl', 'type': 'str'}, + 'user_name': {'key': 'userName', 'type': 'str'}, + 'password': {'key': 'password', 'type': 'AsymmetricEncryptedSecret'}, + } + + def __init__( + self, + *, + image_repository_url: str, + user_name: str, + password: Optional["AsymmetricEncryptedSecret"] = None, + **kwargs + ): + super(ImageRepositoryCredential, self).__init__(**kwargs) + self.image_repository_url = image_repository_url + self.user_name = user_name + self.password = password + + +class IoTAddon(Addon): + """IoT Addon. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Addon type.Constant filled by server. Possible values include: + "IotEdge", "ArcForKubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01.models.AddonType + :ivar system_data: Addon type. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param io_t_device_details: Required. IoT device metadata to which appliance needs to be + connected. + :type io_t_device_details: ~azure.mgmt.databoxedge.v2020_09_01.models.IoTDeviceInfo + :param io_t_edge_device_details: Required. IoT edge device to which the IoT Addon needs to be + configured. + :type io_t_edge_device_details: ~azure.mgmt.databoxedge.v2020_09_01.models.IoTDeviceInfo + :ivar version: Version of IoT running on the appliance. + :vartype version: str + :ivar host_platform: Host OS supported by the IoT addon. Possible values include: "Windows", + "Linux". + :vartype host_platform: str or ~azure.mgmt.databoxedge.v2020_09_01.models.PlatformType + :ivar host_platform_type: Platform where the runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.HostPlatformType + :ivar provisioning_state: Addon Provisioning State. Possible values include: "Invalid", + "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting". + :vartype provisioning_state: str or ~azure.mgmt.databoxedge.v2020_09_01.models.AddonState + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'io_t_device_details': {'required': True}, + 'io_t_edge_device_details': {'required': True}, + 'version': {'readonly': True}, + 'host_platform': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'io_t_device_details': {'key': 'properties.ioTDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'io_t_edge_device_details': {'key': 'properties.ioTEdgeDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'version': {'key': 'properties.version', 'type': 'str'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + io_t_device_details: "IoTDeviceInfo", + io_t_edge_device_details: "IoTDeviceInfo", + **kwargs + ): + super(IoTAddon, self).__init__(**kwargs) + self.kind = 'IotEdge' # type: str + self.io_t_device_details = io_t_device_details + self.io_t_edge_device_details = io_t_edge_device_details + self.version = None + self.host_platform = None + self.host_platform_type = None + self.provisioning_state = None + + +class IoTDeviceInfo(msrest.serialization.Model): + """Metadata of IoT device/IoT Edge device to be configured. + + All required parameters must be populated in order to send to Azure. + + :param device_id: Required. ID of the IoT device/edge device. + :type device_id: str + :param io_t_host_hub: Required. Host name for the IoT hub associated to the device. + :type io_t_host_hub: str + :param io_t_host_hub_id: Id for the IoT hub associated to the device. + :type io_t_host_hub_id: str + :param authentication: Encrypted IoT device/IoT edge device connection string. + :type authentication: ~azure.mgmt.databoxedge.v2020_09_01.models.Authentication + """ + + _validation = { + 'device_id': {'required': True}, + 'io_t_host_hub': {'required': True}, + } + + _attribute_map = { + 'device_id': {'key': 'deviceId', 'type': 'str'}, + 'io_t_host_hub': {'key': 'ioTHostHub', 'type': 'str'}, + 'io_t_host_hub_id': {'key': 'ioTHostHubId', 'type': 'str'}, + 'authentication': {'key': 'authentication', 'type': 'Authentication'}, + } + + def __init__( + self, + *, + device_id: str, + io_t_host_hub: str, + io_t_host_hub_id: Optional[str] = None, + authentication: Optional["Authentication"] = None, + **kwargs + ): + super(IoTDeviceInfo, self).__init__(**kwargs) + self.device_id = device_id + self.io_t_host_hub = io_t_host_hub + self.io_t_host_hub_id = io_t_host_hub_id + self.authentication = authentication + + +class IoTEdgeAgentInfo(msrest.serialization.Model): + """IoT edge agent details is optional, this will be used for download system Agent module while bootstrapping IoT Role if specified. + + All required parameters must be populated in order to send to Azure. + + :param image_name: Required. Name of the IoT edge agent image. + :type image_name: str + :param tag: Required. Image Tag. + :type tag: str + :param image_repository: Image repository details. + :type image_repository: ~azure.mgmt.databoxedge.v2020_09_01.models.ImageRepositoryCredential + """ + + _validation = { + 'image_name': {'required': True}, + 'tag': {'required': True}, + } + + _attribute_map = { + 'image_name': {'key': 'imageName', 'type': 'str'}, + 'tag': {'key': 'tag', 'type': 'str'}, + 'image_repository': {'key': 'imageRepository', 'type': 'ImageRepositoryCredential'}, + } + + def __init__( + self, + *, + image_name: str, + tag: str, + image_repository: Optional["ImageRepositoryCredential"] = None, + **kwargs + ): + super(IoTEdgeAgentInfo, self).__init__(**kwargs) + self.image_name = image_name + self.tag = tag + self.image_repository = image_repository + + +class IoTRole(Role): + """Compute role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param host_platform: Host OS supported by the IoT role. Possible values include: "Windows", + "Linux". + :type host_platform: str or ~azure.mgmt.databoxedge.v2020_09_01.models.PlatformType + :param io_t_device_details: IoT device metadata to which data box edge device needs to be + connected. + :type io_t_device_details: ~azure.mgmt.databoxedge.v2020_09_01.models.IoTDeviceInfo + :param io_t_edge_device_details: IoT edge device to which the IoT role needs to be configured. + :type io_t_edge_device_details: ~azure.mgmt.databoxedge.v2020_09_01.models.IoTDeviceInfo + :param share_mappings: Mount points of shares in role(s). + :type share_mappings: list[~azure.mgmt.databoxedge.v2020_09_01.models.MountPointMap] + :param io_t_edge_agent_info: Iot edge agent details to download the agent and bootstrap iot + runtime. + :type io_t_edge_agent_info: ~azure.mgmt.databoxedge.v2020_09_01.models.IoTEdgeAgentInfo + :ivar host_platform_type: Platform where the Iot runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.HostPlatformType + :param compute_resource: Resource allocation. + :type compute_resource: ~azure.mgmt.databoxedge.v2020_09_01.models.ComputeResource + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'io_t_device_details': {'key': 'properties.ioTDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'io_t_edge_device_details': {'key': 'properties.ioTEdgeDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'share_mappings': {'key': 'properties.shareMappings', 'type': '[MountPointMap]'}, + 'io_t_edge_agent_info': {'key': 'properties.ioTEdgeAgentInfo', 'type': 'IoTEdgeAgentInfo'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'compute_resource': {'key': 'properties.computeResource', 'type': 'ComputeResource'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + *, + host_platform: Optional[Union[str, "PlatformType"]] = None, + io_t_device_details: Optional["IoTDeviceInfo"] = None, + io_t_edge_device_details: Optional["IoTDeviceInfo"] = None, + share_mappings: Optional[List["MountPointMap"]] = None, + io_t_edge_agent_info: Optional["IoTEdgeAgentInfo"] = None, + compute_resource: Optional["ComputeResource"] = None, + role_status: Optional[Union[str, "RoleStatus"]] = None, + **kwargs + ): + super(IoTRole, self).__init__(**kwargs) + self.kind = 'IOT' # type: str + self.host_platform = host_platform + self.io_t_device_details = io_t_device_details + self.io_t_edge_device_details = io_t_edge_device_details + self.share_mappings = share_mappings + self.io_t_edge_agent_info = io_t_edge_agent_info + self.host_platform_type = None + self.compute_resource = compute_resource + self.role_status = role_status + + +class Ipv4Config(msrest.serialization.Model): + """Details related to the IPv4 address configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar ip_address: The IPv4 address of the network adapter. + :vartype ip_address: str + :ivar subnet: The IPv4 subnet of the network adapter. + :vartype subnet: str + :ivar gateway: The IPv4 gateway of the network adapter. + :vartype gateway: str + """ + + _validation = { + 'ip_address': {'readonly': True}, + 'subnet': {'readonly': True}, + 'gateway': {'readonly': True}, + } + + _attribute_map = { + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + 'subnet': {'key': 'subnet', 'type': 'str'}, + 'gateway': {'key': 'gateway', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Ipv4Config, self).__init__(**kwargs) + self.ip_address = None + self.subnet = None + self.gateway = None + + +class Ipv6Config(msrest.serialization.Model): + """Details related to the IPv6 address configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar ip_address: The IPv6 address of the network adapter. + :vartype ip_address: str + :ivar prefix_length: The IPv6 prefix of the network adapter. + :vartype prefix_length: int + :ivar gateway: The IPv6 gateway of the network adapter. + :vartype gateway: str + """ + + _validation = { + 'ip_address': {'readonly': True}, + 'prefix_length': {'readonly': True}, + 'gateway': {'readonly': True}, + } + + _attribute_map = { + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + 'prefix_length': {'key': 'prefixLength', 'type': 'int'}, + 'gateway': {'key': 'gateway', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Ipv6Config, self).__init__(**kwargs) + self.ip_address = None + self.prefix_length = None + self.gateway = None + + +class Job(msrest.serialization.Model): + """A device job. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The name of the object. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar status: The current status of the job. Possible values include: "Invalid", "Running", + "Succeeded", "Failed", "Canceled", "Paused", "Scheduled". + :vartype status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.JobStatus + :ivar start_time: The UTC date and time at which the job started. + :vartype start_time: ~datetime.datetime + :ivar end_time: The UTC date and time at which the job completed. + :vartype end_time: ~datetime.datetime + :ivar percent_complete: The percentage of the job that is complete. + :vartype percent_complete: int + :ivar error: The error details. + :vartype error: ~azure.mgmt.databoxedge.v2020_09_01.models.JobErrorDetails + :ivar job_type: The type of the job. Possible values include: "Invalid", "ScanForUpdates", + "DownloadUpdates", "InstallUpdates", "RefreshShare", "RefreshContainer", "Backup", "Restore", + "TriggerSupportPackage". + :vartype job_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.JobType + :ivar current_stage: Current stage of the update operation. Possible values include: "Unknown", + "Initial", "ScanStarted", "ScanComplete", "ScanFailed", "DownloadStarted", "DownloadComplete", + "DownloadFailed", "InstallStarted", "InstallComplete", "InstallFailed", "RebootInitiated", + "Success", "Failure", "RescanStarted", "RescanComplete", "RescanFailed". + :vartype current_stage: str or ~azure.mgmt.databoxedge.v2020_09_01.models.UpdateOperationStage + :ivar download_progress: The download progress. + :vartype download_progress: ~azure.mgmt.databoxedge.v2020_09_01.models.UpdateDownloadProgress + :ivar install_progress: The install progress. + :vartype install_progress: ~azure.mgmt.databoxedge.v2020_09_01.models.UpdateInstallProgress + :ivar total_refresh_errors: Total number of errors encountered during the refresh process. + :vartype total_refresh_errors: int + :ivar error_manifest_file: Local share/remote container relative path to the error manifest + file of the refresh. + :vartype error_manifest_file: str + :ivar refreshed_entity_id: ARM ID of the entity that was refreshed. + :vartype refreshed_entity_id: str + :param folder: If only subfolders need to be refreshed, then the subfolder path inside the + share or container. (The path is empty if there are no subfolders.). + :type folder: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'status': {'readonly': True}, + 'start_time': {'readonly': True}, + 'end_time': {'readonly': True}, + 'percent_complete': {'readonly': True}, + 'error': {'readonly': True}, + 'job_type': {'readonly': True}, + 'current_stage': {'readonly': True}, + 'download_progress': {'readonly': True}, + 'install_progress': {'readonly': True}, + 'total_refresh_errors': {'readonly': True}, + 'error_manifest_file': {'readonly': True}, + 'refreshed_entity_id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'percent_complete': {'key': 'percentComplete', 'type': 'int'}, + 'error': {'key': 'error', 'type': 'JobErrorDetails'}, + 'job_type': {'key': 'properties.jobType', 'type': 'str'}, + 'current_stage': {'key': 'properties.currentStage', 'type': 'str'}, + 'download_progress': {'key': 'properties.downloadProgress', 'type': 'UpdateDownloadProgress'}, + 'install_progress': {'key': 'properties.installProgress', 'type': 'UpdateInstallProgress'}, + 'total_refresh_errors': {'key': 'properties.totalRefreshErrors', 'type': 'int'}, + 'error_manifest_file': {'key': 'properties.errorManifestFile', 'type': 'str'}, + 'refreshed_entity_id': {'key': 'properties.refreshedEntityId', 'type': 'str'}, + 'folder': {'key': 'properties.folder', 'type': 'str'}, + } + + def __init__( + self, + *, + folder: Optional[str] = None, + **kwargs + ): + super(Job, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.status = None + self.start_time = None + self.end_time = None + self.percent_complete = None + self.error = None + self.job_type = None + self.current_stage = None + self.download_progress = None + self.install_progress = None + self.total_refresh_errors = None + self.error_manifest_file = None + self.refreshed_entity_id = None + self.folder = folder + + +class JobErrorDetails(msrest.serialization.Model): + """The job error information containing the list of job errors. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar error_details: The error details. + :vartype error_details: list[~azure.mgmt.databoxedge.v2020_09_01.models.JobErrorItem] + :ivar code: The code intended for programmatic access. + :vartype code: str + :ivar message: The message that describes the error in detail. + :vartype message: str + """ + + _validation = { + 'error_details': {'readonly': True}, + 'code': {'readonly': True}, + 'message': {'readonly': True}, + } + + _attribute_map = { + 'error_details': {'key': 'errorDetails', 'type': '[JobErrorItem]'}, + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(JobErrorDetails, self).__init__(**kwargs) + self.error_details = None + self.code = None + self.message = None + + +class JobErrorItem(msrest.serialization.Model): + """The job error items. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar recommendations: The recommended actions. + :vartype recommendations: list[str] + :ivar code: The code intended for programmatic access. + :vartype code: str + :ivar message: The message that describes the error in detail. + :vartype message: str + """ + + _validation = { + 'recommendations': {'readonly': True}, + 'code': {'readonly': True}, + 'message': {'readonly': True}, + } + + _attribute_map = { + 'recommendations': {'key': 'recommendations', 'type': '[str]'}, + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(JobErrorItem, self).__init__(**kwargs) + self.recommendations = None + self.code = None + self.message = None + + +class KubernetesClusterInfo(msrest.serialization.Model): + """Kubernetes cluster configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar etcd_info: Etcd configuration. + :vartype etcd_info: ~azure.mgmt.databoxedge.v2020_09_01.models.EtcdInfo + :ivar nodes: Kubernetes cluster nodes. + :vartype nodes: list[~azure.mgmt.databoxedge.v2020_09_01.models.NodeInfo] + :param version: Required. Kubernetes cluster version. + :type version: str + """ + + _validation = { + 'etcd_info': {'readonly': True}, + 'nodes': {'readonly': True}, + 'version': {'required': True}, + } + + _attribute_map = { + 'etcd_info': {'key': 'etcdInfo', 'type': 'EtcdInfo'}, + 'nodes': {'key': 'nodes', 'type': '[NodeInfo]'}, + 'version': {'key': 'version', 'type': 'str'}, + } + + def __init__( + self, + *, + version: str, + **kwargs + ): + super(KubernetesClusterInfo, self).__init__(**kwargs) + self.etcd_info = None + self.nodes = None + self.version = version + + +class KubernetesIPConfiguration(msrest.serialization.Model): + """Kubernetes node IP configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar port: Port of the Kubernetes node. + :vartype port: str + :param ip_address: IP address of the Kubernetes node. + :type ip_address: str + """ + + _validation = { + 'port': {'readonly': True}, + } + + _attribute_map = { + 'port': {'key': 'port', 'type': 'str'}, + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + } + + def __init__( + self, + *, + ip_address: Optional[str] = None, + **kwargs + ): + super(KubernetesIPConfiguration, self).__init__(**kwargs) + self.port = None + self.ip_address = ip_address + + +class KubernetesRole(Role): + """Kubernetes role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param host_platform: Host OS supported by the Kubernetes role. Possible values include: + "Windows", "Linux". + :type host_platform: str or ~azure.mgmt.databoxedge.v2020_09_01.models.PlatformType + :ivar provisioning_state: State of Kubernetes deployment. Possible values include: "Invalid", + "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting". + :vartype provisioning_state: str or ~azure.mgmt.databoxedge.v2020_09_01.models.KubernetesState + :ivar host_platform_type: Platform where the runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.HostPlatformType + :param kubernetes_cluster_info: Kubernetes cluster configuration. + :type kubernetes_cluster_info: ~azure.mgmt.databoxedge.v2020_09_01.models.KubernetesClusterInfo + :param kubernetes_role_resources: Kubernetes role resources. + :type kubernetes_role_resources: + ~azure.mgmt.databoxedge.v2020_09_01.models.KubernetesRoleResources + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'kubernetes_cluster_info': {'key': 'properties.kubernetesClusterInfo', 'type': 'KubernetesClusterInfo'}, + 'kubernetes_role_resources': {'key': 'properties.kubernetesRoleResources', 'type': 'KubernetesRoleResources'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + *, + host_platform: Optional[Union[str, "PlatformType"]] = None, + kubernetes_cluster_info: Optional["KubernetesClusterInfo"] = None, + kubernetes_role_resources: Optional["KubernetesRoleResources"] = None, + role_status: Optional[Union[str, "RoleStatus"]] = None, + **kwargs + ): + super(KubernetesRole, self).__init__(**kwargs) + self.kind = 'Kubernetes' # type: str + self.host_platform = host_platform + self.provisioning_state = None + self.host_platform_type = None + self.kubernetes_cluster_info = kubernetes_cluster_info + self.kubernetes_role_resources = kubernetes_role_resources + self.role_status = role_status + + +class KubernetesRoleCompute(msrest.serialization.Model): + """Kubernetes role compute resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param vm_profile: Required. VM profile. + :type vm_profile: str + :ivar memory_in_bytes: Memory in bytes. + :vartype memory_in_bytes: long + :ivar processor_count: Processor count. + :vartype processor_count: int + """ + + _validation = { + 'vm_profile': {'required': True}, + 'memory_in_bytes': {'readonly': True}, + 'processor_count': {'readonly': True}, + } + + _attribute_map = { + 'vm_profile': {'key': 'vmProfile', 'type': 'str'}, + 'memory_in_bytes': {'key': 'memoryInBytes', 'type': 'long'}, + 'processor_count': {'key': 'processorCount', 'type': 'int'}, + } + + def __init__( + self, + *, + vm_profile: str, + **kwargs + ): + super(KubernetesRoleCompute, self).__init__(**kwargs) + self.vm_profile = vm_profile + self.memory_in_bytes = None + self.processor_count = None + + +class KubernetesRoleNetwork(msrest.serialization.Model): + """Kubernetes role network resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar cni_config: Cni configuration. + :vartype cni_config: ~azure.mgmt.databoxedge.v2020_09_01.models.CniConfig + :ivar load_balancer_config: Load balancer configuration. + :vartype load_balancer_config: ~azure.mgmt.databoxedge.v2020_09_01.models.LoadBalancerConfig + """ + + _validation = { + 'cni_config': {'readonly': True}, + 'load_balancer_config': {'readonly': True}, + } + + _attribute_map = { + 'cni_config': {'key': 'cniConfig', 'type': 'CniConfig'}, + 'load_balancer_config': {'key': 'loadBalancerConfig', 'type': 'LoadBalancerConfig'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleNetwork, self).__init__(**kwargs) + self.cni_config = None + self.load_balancer_config = None + + +class KubernetesRoleResources(msrest.serialization.Model): + """Kubernetes role resources. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param storage: Kubernetes role storage resource. + :type storage: ~azure.mgmt.databoxedge.v2020_09_01.models.KubernetesRoleStorage + :param compute: Required. Kubernetes role compute resource. + :type compute: ~azure.mgmt.databoxedge.v2020_09_01.models.KubernetesRoleCompute + :ivar network: Kubernetes role network resource. + :vartype network: ~azure.mgmt.databoxedge.v2020_09_01.models.KubernetesRoleNetwork + """ + + _validation = { + 'compute': {'required': True}, + 'network': {'readonly': True}, + } + + _attribute_map = { + 'storage': {'key': 'storage', 'type': 'KubernetesRoleStorage'}, + 'compute': {'key': 'compute', 'type': 'KubernetesRoleCompute'}, + 'network': {'key': 'network', 'type': 'KubernetesRoleNetwork'}, + } + + def __init__( + self, + *, + compute: "KubernetesRoleCompute", + storage: Optional["KubernetesRoleStorage"] = None, + **kwargs + ): + super(KubernetesRoleResources, self).__init__(**kwargs) + self.storage = storage + self.compute = compute + self.network = None + + +class KubernetesRoleStorage(msrest.serialization.Model): + """Kubernetes role storage resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar storage_classes: Kubernetes storage class info. + :vartype storage_classes: + list[~azure.mgmt.databoxedge.v2020_09_01.models.KubernetesRoleStorageClassInfo] + :param endpoints: Mount points of shares in role(s). + :type endpoints: list[~azure.mgmt.databoxedge.v2020_09_01.models.MountPointMap] + """ + + _validation = { + 'storage_classes': {'readonly': True}, + } + + _attribute_map = { + 'storage_classes': {'key': 'storageClasses', 'type': '[KubernetesRoleStorageClassInfo]'}, + 'endpoints': {'key': 'endpoints', 'type': '[MountPointMap]'}, + } + + def __init__( + self, + *, + endpoints: Optional[List["MountPointMap"]] = None, + **kwargs + ): + super(KubernetesRoleStorage, self).__init__(**kwargs) + self.storage_classes = None + self.endpoints = endpoints + + +class KubernetesRoleStorageClassInfo(msrest.serialization.Model): + """Kubernetes storage class info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Storage class name. + :vartype name: str + :ivar type: Storage class type. + :vartype type: str + :ivar posix_compliant: If provisioned storage is posix compliant. Possible values include: + "Invalid", "Enabled", "Disabled". + :vartype posix_compliant: str or + ~azure.mgmt.databoxedge.v2020_09_01.models.PosixComplianceStatus + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'posix_compliant': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'posix_compliant': {'key': 'posixCompliant', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleStorageClassInfo, self).__init__(**kwargs) + self.name = None + self.type = None + self.posix_compliant = None + + +class LoadBalancerConfig(msrest.serialization.Model): + """Load balancer configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: Load balancer type. + :vartype type: str + :ivar version: Load balancer version. + :vartype version: str + """ + + _validation = { + 'type': {'readonly': True}, + 'version': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LoadBalancerConfig, self).__init__(**kwargs) + self.type = None + self.version = None + + +class MECRole(Role): + """MEC role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param connection_string: Activation key of the MEC. + :type connection_string: ~azure.mgmt.databoxedge.v2020_09_01.models.AsymmetricEncryptedSecret + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'connection_string': {'key': 'properties.connectionString', 'type': 'AsymmetricEncryptedSecret'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + *, + connection_string: Optional["AsymmetricEncryptedSecret"] = None, + role_status: Optional[Union[str, "RoleStatus"]] = None, + **kwargs + ): + super(MECRole, self).__init__(**kwargs) + self.kind = 'MEC' # type: str + self.connection_string = connection_string + self.role_status = role_status + + +class MetricConfiguration(msrest.serialization.Model): + """Metric configuration. + + All required parameters must be populated in order to send to Azure. + + :param resource_id: Required. The Resource ID on which the metrics should be pushed. + :type resource_id: str + :param mdm_account: The MDM account to which the counters should be pushed. + :type mdm_account: str + :param metric_name_space: The MDM namespace to which the counters should be pushed. This is + required if MDMAccount is specified. + :type metric_name_space: str + :param counter_sets: Required. Host name for the IoT hub associated to the device. + :type counter_sets: list[~azure.mgmt.databoxedge.v2020_09_01.models.MetricCounterSet] + """ + + _validation = { + 'resource_id': {'required': True}, + 'counter_sets': {'required': True}, + } + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'mdm_account': {'key': 'mdmAccount', 'type': 'str'}, + 'metric_name_space': {'key': 'metricNameSpace', 'type': 'str'}, + 'counter_sets': {'key': 'counterSets', 'type': '[MetricCounterSet]'}, + } + + def __init__( + self, + *, + resource_id: str, + counter_sets: List["MetricCounterSet"], + mdm_account: Optional[str] = None, + metric_name_space: Optional[str] = None, + **kwargs + ): + super(MetricConfiguration, self).__init__(**kwargs) + self.resource_id = resource_id + self.mdm_account = mdm_account + self.metric_name_space = metric_name_space + self.counter_sets = counter_sets + + +class MetricCounter(msrest.serialization.Model): + """The metric counter. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The counter name. + :type name: str + :param instance: The instance from which counter should be collected. + :type instance: str + :param dimension_filter: The dimension filter. + :type dimension_filter: list[~azure.mgmt.databoxedge.v2020_09_01.models.MetricDimension] + :param additional_dimensions: The additional dimensions to be added to metric. + :type additional_dimensions: list[~azure.mgmt.databoxedge.v2020_09_01.models.MetricDimension] + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'instance': {'key': 'instance', 'type': 'str'}, + 'dimension_filter': {'key': 'dimensionFilter', 'type': '[MetricDimension]'}, + 'additional_dimensions': {'key': 'additionalDimensions', 'type': '[MetricDimension]'}, + } + + def __init__( + self, + *, + name: str, + instance: Optional[str] = None, + dimension_filter: Optional[List["MetricDimension"]] = None, + additional_dimensions: Optional[List["MetricDimension"]] = None, + **kwargs + ): + super(MetricCounter, self).__init__(**kwargs) + self.name = name + self.instance = instance + self.dimension_filter = dimension_filter + self.additional_dimensions = additional_dimensions + + +class MetricCounterSet(msrest.serialization.Model): + """The metric counter set. + + All required parameters must be populated in order to send to Azure. + + :param counters: Required. The counters that should be collected in this set. + :type counters: list[~azure.mgmt.databoxedge.v2020_09_01.models.MetricCounter] + """ + + _validation = { + 'counters': {'required': True}, + } + + _attribute_map = { + 'counters': {'key': 'counters', 'type': '[MetricCounter]'}, + } + + def __init__( + self, + *, + counters: List["MetricCounter"], + **kwargs + ): + super(MetricCounterSet, self).__init__(**kwargs) + self.counters = counters + + +class MetricDimension(msrest.serialization.Model): + """The metric dimension. + + All required parameters must be populated in order to send to Azure. + + :param source_type: Required. The dimension type. + :type source_type: str + :param source_name: Required. The dimension value. + :type source_name: str + """ + + _validation = { + 'source_type': {'required': True}, + 'source_name': {'required': True}, + } + + _attribute_map = { + 'source_type': {'key': 'sourceType', 'type': 'str'}, + 'source_name': {'key': 'sourceName', 'type': 'str'}, + } + + def __init__( + self, + *, + source_type: str, + source_name: str, + **kwargs + ): + super(MetricDimension, self).__init__(**kwargs) + self.source_type = source_type + self.source_name = source_name + + +class MetricDimensionV1(msrest.serialization.Model): + """Metric Dimension v1. + + :param name: Name of the metrics dimension. + :type name: str + :param display_name: Display name of the metrics dimension. + :type display_name: str + :param to_be_exported_for_shoebox: To be exported to shoe box. + :type to_be_exported_for_shoebox: bool + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'to_be_exported_for_shoebox': {'key': 'toBeExportedForShoebox', 'type': 'bool'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + display_name: Optional[str] = None, + to_be_exported_for_shoebox: Optional[bool] = None, + **kwargs + ): + super(MetricDimensionV1, self).__init__(**kwargs) + self.name = name + self.display_name = display_name + self.to_be_exported_for_shoebox = to_be_exported_for_shoebox + + +class MetricSpecificationV1(msrest.serialization.Model): + """Metric specification version 1. + + :param name: Name of the metric. + :type name: str + :param display_name: Display name of the metric. + :type display_name: str + :param display_description: Description of the metric to be displayed. + :type display_description: str + :param unit: Metric units. Possible values include: "NotSpecified", "Percent", "Count", + "Seconds", "Milliseconds", "Bytes", "BytesPerSecond", "CountPerSecond". + :type unit: str or ~azure.mgmt.databoxedge.v2020_09_01.models.MetricUnit + :param aggregation_type: Metric aggregation type. Possible values include: "NotSpecified", + "None", "Average", "Minimum", "Maximum", "Total", "Count". + :type aggregation_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.MetricAggregationType + :param dimensions: Metric dimensions, other than default dimension which is resource. + :type dimensions: list[~azure.mgmt.databoxedge.v2020_09_01.models.MetricDimensionV1] + :param fill_gap_with_zero: Set true to fill the gaps with zero. + :type fill_gap_with_zero: bool + :param category: Metric category. Possible values include: "Capacity", "Transaction". + :type category: str or ~azure.mgmt.databoxedge.v2020_09_01.models.MetricCategory + :param resource_id_dimension_name_override: Resource name override. + :type resource_id_dimension_name_override: str + :param supported_time_grain_types: Support granularity of metrics. + :type supported_time_grain_types: list[str or + ~azure.mgmt.databoxedge.v2020_09_01.models.TimeGrain] + :param supported_aggregation_types: Support metric aggregation type. + :type supported_aggregation_types: list[str or + ~azure.mgmt.databoxedge.v2020_09_01.models.MetricAggregationType] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'display_description': {'key': 'displayDescription', 'type': 'str'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, + 'dimensions': {'key': 'dimensions', 'type': '[MetricDimensionV1]'}, + 'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'}, + 'category': {'key': 'category', 'type': 'str'}, + 'resource_id_dimension_name_override': {'key': 'resourceIdDimensionNameOverride', 'type': 'str'}, + 'supported_time_grain_types': {'key': 'supportedTimeGrainTypes', 'type': '[str]'}, + 'supported_aggregation_types': {'key': 'supportedAggregationTypes', 'type': '[str]'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + display_name: Optional[str] = None, + display_description: Optional[str] = None, + unit: Optional[Union[str, "MetricUnit"]] = None, + aggregation_type: Optional[Union[str, "MetricAggregationType"]] = None, + dimensions: Optional[List["MetricDimensionV1"]] = None, + fill_gap_with_zero: Optional[bool] = None, + category: Optional[Union[str, "MetricCategory"]] = None, + resource_id_dimension_name_override: Optional[str] = None, + supported_time_grain_types: Optional[List[Union[str, "TimeGrain"]]] = None, + supported_aggregation_types: Optional[List[Union[str, "MetricAggregationType"]]] = None, + **kwargs + ): + super(MetricSpecificationV1, self).__init__(**kwargs) + self.name = name + self.display_name = display_name + self.display_description = display_description + self.unit = unit + self.aggregation_type = aggregation_type + self.dimensions = dimensions + self.fill_gap_with_zero = fill_gap_with_zero + self.category = category + self.resource_id_dimension_name_override = resource_id_dimension_name_override + self.supported_time_grain_types = supported_time_grain_types + self.supported_aggregation_types = supported_aggregation_types + + +class MonitoringMetricConfiguration(ARMBaseModel): + """The metric setting details for the role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param metric_configurations: Required. The metrics configuration details. + :type metric_configurations: + list[~azure.mgmt.databoxedge.v2020_09_01.models.MetricConfiguration] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'metric_configurations': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'metric_configurations': {'key': 'properties.metricConfigurations', 'type': '[MetricConfiguration]'}, + } + + def __init__( + self, + *, + metric_configurations: List["MetricConfiguration"], + **kwargs + ): + super(MonitoringMetricConfiguration, self).__init__(**kwargs) + self.metric_configurations = metric_configurations + + +class MonitoringMetricConfigurationList(msrest.serialization.Model): + """Collection of metric configurations. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of metric configurations. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.MonitoringMetricConfiguration] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[MonitoringMetricConfiguration]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MonitoringMetricConfigurationList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class MountPointMap(msrest.serialization.Model): + """The share mount point. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param share_id: Required. ID of the share mounted to the role VM. + :type share_id: str + :ivar role_id: ID of the role to which share is mounted. + :vartype role_id: str + :ivar mount_point: Mount point for the share. + :vartype mount_point: str + :ivar mount_type: Mounting type. Possible values include: "Volume", "HostPath". + :vartype mount_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.MountType + :ivar role_type: Role type. Possible values include: "IOT", "ASA", "Functions", "Cognitive", + "MEC", "CloudEdgeManagement", "Kubernetes". + :vartype role_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.RoleTypes + """ + + _validation = { + 'share_id': {'required': True}, + 'role_id': {'readonly': True}, + 'mount_point': {'readonly': True}, + 'mount_type': {'readonly': True}, + 'role_type': {'readonly': True}, + } + + _attribute_map = { + 'share_id': {'key': 'shareId', 'type': 'str'}, + 'role_id': {'key': 'roleId', 'type': 'str'}, + 'mount_point': {'key': 'mountPoint', 'type': 'str'}, + 'mount_type': {'key': 'mountType', 'type': 'str'}, + 'role_type': {'key': 'roleType', 'type': 'str'}, + } + + def __init__( + self, + *, + share_id: str, + **kwargs + ): + super(MountPointMap, self).__init__(**kwargs) + self.share_id = share_id + self.role_id = None + self.mount_point = None + self.mount_type = None + self.role_type = None + + +class NetworkAdapter(msrest.serialization.Model): + """Represents the networkAdapter on a device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar adapter_id: Instance ID of network adapter. + :vartype adapter_id: str + :ivar adapter_position: Hardware position of network adapter. + :vartype adapter_position: ~azure.mgmt.databoxedge.v2020_09_01.models.NetworkAdapterPosition + :ivar index: Logical index of the adapter. + :vartype index: int + :ivar node_id: Node ID of the network adapter. + :vartype node_id: str + :ivar network_adapter_name: Network adapter name. + :vartype network_adapter_name: str + :ivar label: Hardware label for the adapter. + :vartype label: str + :ivar mac_address: MAC address. + :vartype mac_address: str + :ivar link_speed: Link speed. + :vartype link_speed: long + :ivar status: Value indicating whether this adapter is valid. Possible values include: + "Inactive", "Active". + :vartype status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.NetworkAdapterStatus + :param rdma_status: Value indicating whether this adapter is RDMA capable. Possible values + include: "Incapable", "Capable". + :type rdma_status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.NetworkAdapterRDMAStatus + :param dhcp_status: Value indicating whether this adapter has DHCP enabled. Possible values + include: "Disabled", "Enabled". + :type dhcp_status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.NetworkAdapterDHCPStatus + :ivar ipv4_configuration: The IPv4 configuration of the network adapter. + :vartype ipv4_configuration: ~azure.mgmt.databoxedge.v2020_09_01.models.Ipv4Config + :ivar ipv6_configuration: The IPv6 configuration of the network adapter. + :vartype ipv6_configuration: ~azure.mgmt.databoxedge.v2020_09_01.models.Ipv6Config + :ivar ipv6_link_local_address: The IPv6 local address. + :vartype ipv6_link_local_address: str + :ivar dns_servers: The list of DNS Servers of the device. + :vartype dns_servers: list[str] + """ + + _validation = { + 'adapter_id': {'readonly': True}, + 'adapter_position': {'readonly': True}, + 'index': {'readonly': True}, + 'node_id': {'readonly': True}, + 'network_adapter_name': {'readonly': True}, + 'label': {'readonly': True}, + 'mac_address': {'readonly': True}, + 'link_speed': {'readonly': True}, + 'status': {'readonly': True}, + 'ipv4_configuration': {'readonly': True}, + 'ipv6_configuration': {'readonly': True}, + 'ipv6_link_local_address': {'readonly': True}, + 'dns_servers': {'readonly': True}, + } + + _attribute_map = { + 'adapter_id': {'key': 'adapterId', 'type': 'str'}, + 'adapter_position': {'key': 'adapterPosition', 'type': 'NetworkAdapterPosition'}, + 'index': {'key': 'index', 'type': 'int'}, + 'node_id': {'key': 'nodeId', 'type': 'str'}, + 'network_adapter_name': {'key': 'networkAdapterName', 'type': 'str'}, + 'label': {'key': 'label', 'type': 'str'}, + 'mac_address': {'key': 'macAddress', 'type': 'str'}, + 'link_speed': {'key': 'linkSpeed', 'type': 'long'}, + 'status': {'key': 'status', 'type': 'str'}, + 'rdma_status': {'key': 'rdmaStatus', 'type': 'str'}, + 'dhcp_status': {'key': 'dhcpStatus', 'type': 'str'}, + 'ipv4_configuration': {'key': 'ipv4Configuration', 'type': 'Ipv4Config'}, + 'ipv6_configuration': {'key': 'ipv6Configuration', 'type': 'Ipv6Config'}, + 'ipv6_link_local_address': {'key': 'ipv6LinkLocalAddress', 'type': 'str'}, + 'dns_servers': {'key': 'dnsServers', 'type': '[str]'}, + } + + def __init__( + self, + *, + rdma_status: Optional[Union[str, "NetworkAdapterRDMAStatus"]] = None, + dhcp_status: Optional[Union[str, "NetworkAdapterDHCPStatus"]] = None, + **kwargs + ): + super(NetworkAdapter, self).__init__(**kwargs) + self.adapter_id = None + self.adapter_position = None + self.index = None + self.node_id = None + self.network_adapter_name = None + self.label = None + self.mac_address = None + self.link_speed = None + self.status = None + self.rdma_status = rdma_status + self.dhcp_status = dhcp_status + self.ipv4_configuration = None + self.ipv6_configuration = None + self.ipv6_link_local_address = None + self.dns_servers = None + + +class NetworkAdapterPosition(msrest.serialization.Model): + """The network adapter position. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar network_group: The network group. Possible values include: "None", "NonRDMA", "RDMA". + :vartype network_group: str or ~azure.mgmt.databoxedge.v2020_09_01.models.NetworkGroup + :ivar port: The port. + :vartype port: int + """ + + _validation = { + 'network_group': {'readonly': True}, + 'port': {'readonly': True}, + } + + _attribute_map = { + 'network_group': {'key': 'networkGroup', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkAdapterPosition, self).__init__(**kwargs) + self.network_group = None + self.port = None + + +class NetworkSettings(ARMBaseModel): + """The network settings of a device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar network_adapters: The network adapter list on the device. + :vartype network_adapters: list[~azure.mgmt.databoxedge.v2020_09_01.models.NetworkAdapter] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'network_adapters': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'network_adapters': {'key': 'properties.networkAdapters', 'type': '[NetworkAdapter]'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkSettings, self).__init__(**kwargs) + self.network_adapters = None + + +class Node(ARMBaseModel): + """Represents a single node in a Data box Edge/Gateway device +Gateway devices, standalone Edge devices and a single node cluster Edge device will all have 1 node +Multi-node Edge devices will have more than 1 nodes. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar node_status: The current status of the individual node. Possible values include: + "Unknown", "Up", "Down", "Rebooting", "ShuttingDown". + :vartype node_status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.NodeStatus + :ivar node_chassis_serial_number: Serial number of the Chassis. + :vartype node_chassis_serial_number: str + :ivar node_serial_number: Serial number of the individual node. + :vartype node_serial_number: str + :ivar node_display_name: Display Name of the individual node. + :vartype node_display_name: str + :ivar node_friendly_software_version: Friendly software version name that is currently + installed on the node. + :vartype node_friendly_software_version: str + :ivar node_hcs_version: HCS version that is currently installed on the node. + :vartype node_hcs_version: str + :ivar node_instance_id: Guid instance id of the node. + :vartype node_instance_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'node_status': {'readonly': True}, + 'node_chassis_serial_number': {'readonly': True}, + 'node_serial_number': {'readonly': True}, + 'node_display_name': {'readonly': True}, + 'node_friendly_software_version': {'readonly': True}, + 'node_hcs_version': {'readonly': True}, + 'node_instance_id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'node_status': {'key': 'properties.nodeStatus', 'type': 'str'}, + 'node_chassis_serial_number': {'key': 'properties.nodeChassisSerialNumber', 'type': 'str'}, + 'node_serial_number': {'key': 'properties.nodeSerialNumber', 'type': 'str'}, + 'node_display_name': {'key': 'properties.nodeDisplayName', 'type': 'str'}, + 'node_friendly_software_version': {'key': 'properties.nodeFriendlySoftwareVersion', 'type': 'str'}, + 'node_hcs_version': {'key': 'properties.nodeHcsVersion', 'type': 'str'}, + 'node_instance_id': {'key': 'properties.nodeInstanceId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Node, self).__init__(**kwargs) + self.node_status = None + self.node_chassis_serial_number = None + self.node_serial_number = None + self.node_display_name = None + self.node_friendly_software_version = None + self.node_hcs_version = None + self.node_instance_id = None + + +class NodeInfo(msrest.serialization.Model): + """Kubernetes node info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Node name. + :vartype name: str + :ivar type: Node type - Master/Worker. Possible values include: "Invalid", "Master", "Worker". + :vartype type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.KubernetesNodeType + :param ip_configuration: IP Configuration of the Kubernetes node. + :type ip_configuration: + list[~azure.mgmt.databoxedge.v2020_09_01.models.KubernetesIPConfiguration] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'ip_configuration': {'key': 'ipConfiguration', 'type': '[KubernetesIPConfiguration]'}, + } + + def __init__( + self, + *, + ip_configuration: Optional[List["KubernetesIPConfiguration"]] = None, + **kwargs + ): + super(NodeInfo, self).__init__(**kwargs) + self.name = None + self.type = None + self.ip_configuration = ip_configuration + + +class NodeList(msrest.serialization.Model): + """Collection of Nodes. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of Nodes. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.Node] + :param next_link: Link to the next set of results. + :type next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Node]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + next_link: Optional[str] = None, + **kwargs + ): + super(NodeList, self).__init__(**kwargs) + self.value = None + self.next_link = next_link + + +class Operation(msrest.serialization.Model): + """Operations. + + :param name: Name of the operation. + :type name: str + :param display: Properties displayed for the operation. + :type display: ~azure.mgmt.databoxedge.v2020_09_01.models.OperationDisplay + :param origin: Origin of the operation. + :type origin: str + :param is_data_action: Indicates whether the operation is a data action. + :type is_data_action: bool + :param service_specification: Service specification. + :type service_specification: ~azure.mgmt.databoxedge.v2020_09_01.models.ServiceSpecification + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'OperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, + 'service_specification': {'key': 'properties.serviceSpecification', 'type': 'ServiceSpecification'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + display: Optional["OperationDisplay"] = None, + origin: Optional[str] = None, + is_data_action: Optional[bool] = None, + service_specification: Optional["ServiceSpecification"] = None, + **kwargs + ): + super(Operation, self).__init__(**kwargs) + self.name = name + self.display = display + self.origin = origin + self.is_data_action = is_data_action + self.service_specification = service_specification + + +class OperationDisplay(msrest.serialization.Model): + """Operation display properties. + + :param provider: Provider name. + :type provider: str + :param resource: The type of resource in which the operation is performed. + :type resource: str + :param operation: Operation to be performed on the resource. + :type operation: str + :param description: Description of the operation to be performed. + :type description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + *, + provider: Optional[str] = None, + resource: Optional[str] = None, + operation: Optional[str] = None, + description: Optional[str] = None, + **kwargs + ): + super(OperationDisplay, self).__init__(**kwargs) + self.provider = provider + self.resource = resource + self.operation = operation + self.description = description + + +class OperationsList(msrest.serialization.Model): + """The list of operations used for the discovery of available provider operations. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. The value. + :type value: list[~azure.mgmt.databoxedge.v2020_09_01.models.Operation] + :param next_link: Link to the next set of results. + :type next_link: str + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Operation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: List["Operation"], + next_link: Optional[str] = None, + **kwargs + ): + super(OperationsList, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class Order(ARMBaseModel): + """The order details. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param contact_information: The contact details. + :type contact_information: ~azure.mgmt.databoxedge.v2020_09_01.models.ContactDetails + :param shipping_address: The shipping address. + :type shipping_address: ~azure.mgmt.databoxedge.v2020_09_01.models.Address + :ivar current_status: Current status of the order. + :vartype current_status: ~azure.mgmt.databoxedge.v2020_09_01.models.OrderStatus + :ivar order_history: List of status changes in the order. + :vartype order_history: list[~azure.mgmt.databoxedge.v2020_09_01.models.OrderStatus] + :ivar serial_number: Serial number of the device. + :vartype serial_number: str + :ivar delivery_tracking_info: Tracking information for the package delivered to the customer + whether it has an original or a replacement device. + :vartype delivery_tracking_info: list[~azure.mgmt.databoxedge.v2020_09_01.models.TrackingInfo] + :ivar return_tracking_info: Tracking information for the package returned from the customer + whether it has an original or a replacement device. + :vartype return_tracking_info: list[~azure.mgmt.databoxedge.v2020_09_01.models.TrackingInfo] + :param shipment_type: ShipmentType of the order. Possible values include: "NotApplicable", + "ShippedToCustomer", "SelfPickup". + :type shipment_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.ShipmentType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'current_status': {'readonly': True}, + 'order_history': {'readonly': True}, + 'serial_number': {'readonly': True}, + 'delivery_tracking_info': {'readonly': True}, + 'return_tracking_info': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'contact_information': {'key': 'properties.contactInformation', 'type': 'ContactDetails'}, + 'shipping_address': {'key': 'properties.shippingAddress', 'type': 'Address'}, + 'current_status': {'key': 'properties.currentStatus', 'type': 'OrderStatus'}, + 'order_history': {'key': 'properties.orderHistory', 'type': '[OrderStatus]'}, + 'serial_number': {'key': 'properties.serialNumber', 'type': 'str'}, + 'delivery_tracking_info': {'key': 'properties.deliveryTrackingInfo', 'type': '[TrackingInfo]'}, + 'return_tracking_info': {'key': 'properties.returnTrackingInfo', 'type': '[TrackingInfo]'}, + 'shipment_type': {'key': 'properties.shipmentType', 'type': 'str'}, + } + + def __init__( + self, + *, + contact_information: Optional["ContactDetails"] = None, + shipping_address: Optional["Address"] = None, + shipment_type: Optional[Union[str, "ShipmentType"]] = None, + **kwargs + ): + super(Order, self).__init__(**kwargs) + self.contact_information = contact_information + self.shipping_address = shipping_address + self.current_status = None + self.order_history = None + self.serial_number = None + self.delivery_tracking_info = None + self.return_tracking_info = None + self.shipment_type = shipment_type + + +class OrderList(msrest.serialization.Model): + """List of order entities. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of orders. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.Order] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Order]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OrderList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class OrderStatus(msrest.serialization.Model): + """Represents a single status change. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param status: Required. Status of the order as per the allowed status types. Possible values + include: "Untracked", "AwaitingFulfilment", "AwaitingPreparation", "AwaitingShipment", + "Shipped", "Arriving", "Delivered", "ReplacementRequested", "LostDevice", "Declined", + "ReturnInitiated", "AwaitingReturnShipment", "ShippedBack", "CollectedAtMicrosoft", + "AwaitingPickup", "PickupCompleted", "AwaitingDrop". + :type status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.OrderState + :ivar update_date_time: Time of status update. + :vartype update_date_time: ~datetime.datetime + :param comments: Comments related to this status change. + :type comments: str + :ivar tracking_information: Tracking information related to the state in the ordering flow. + :vartype tracking_information: ~azure.mgmt.databoxedge.v2020_09_01.models.TrackingInfo + :ivar additional_order_details: Dictionary to hold generic information which is not stored + by the already existing properties. + :vartype additional_order_details: dict[str, str] + """ + + _validation = { + 'status': {'required': True}, + 'update_date_time': {'readonly': True}, + 'tracking_information': {'readonly': True}, + 'additional_order_details': {'readonly': True}, + } + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + 'update_date_time': {'key': 'updateDateTime', 'type': 'iso-8601'}, + 'comments': {'key': 'comments', 'type': 'str'}, + 'tracking_information': {'key': 'trackingInformation', 'type': 'TrackingInfo'}, + 'additional_order_details': {'key': 'additionalOrderDetails', 'type': '{str}'}, + } + + def __init__( + self, + *, + status: Union[str, "OrderState"], + comments: Optional[str] = None, + **kwargs + ): + super(OrderStatus, self).__init__(**kwargs) + self.status = status + self.update_date_time = None + self.comments = comments + self.tracking_information = None + self.additional_order_details = None + + +class PeriodicTimerEventTrigger(Trigger): + """Trigger details. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Trigger in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: + "FileEvent", "PeriodicTimerEvent". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01.models.TriggerEventType + :param source_info: Required. Periodic timer details. + :type source_info: ~azure.mgmt.databoxedge.v2020_09_01.models.PeriodicTimerSourceInfo + :param sink_info: Required. Role Sink information. + :type sink_info: ~azure.mgmt.databoxedge.v2020_09_01.models.RoleSinkInfo + :param custom_context_tag: A custom context tag typically used to correlate the trigger against + its usage. For example, if a periodic timer trigger is intended for certain specific IoT + modules in the device, the tag can be the name or the image URL of the module. + :type custom_context_tag: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'kind': {'required': True}, + 'source_info': {'required': True}, + 'sink_info': {'required': True}, + 'custom_context_tag': {'max_length': 192, 'min_length': 0}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'source_info': {'key': 'properties.sourceInfo', 'type': 'PeriodicTimerSourceInfo'}, + 'sink_info': {'key': 'properties.sinkInfo', 'type': 'RoleSinkInfo'}, + 'custom_context_tag': {'key': 'properties.customContextTag', 'type': 'str'}, + } + + def __init__( + self, + *, + source_info: "PeriodicTimerSourceInfo", + sink_info: "RoleSinkInfo", + custom_context_tag: Optional[str] = None, + **kwargs + ): + super(PeriodicTimerEventTrigger, self).__init__(**kwargs) + self.kind = 'PeriodicTimerEvent' # type: str + self.source_info = source_info + self.sink_info = sink_info + self.custom_context_tag = custom_context_tag + + +class PeriodicTimerSourceInfo(msrest.serialization.Model): + """Periodic timer event source. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. The time of the day that results in a valid trigger. Schedule is + computed with reference to the time specified upto seconds. If timezone is not specified the + time will considered to be in device timezone. The value will always be returned as UTC time. + :type start_time: ~datetime.datetime + :param schedule: Required. Periodic frequency at which timer event needs to be raised. Supports + daily, hourly, minutes, and seconds. + :type schedule: str + :param topic: Topic where periodic events are published to IoT device. + :type topic: str + """ + + _validation = { + 'start_time': {'required': True}, + 'schedule': {'required': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'schedule': {'key': 'schedule', 'type': 'str'}, + 'topic': {'key': 'topic', 'type': 'str'}, + } + + def __init__( + self, + *, + start_time: datetime.datetime, + schedule: str, + topic: Optional[str] = None, + **kwargs + ): + super(PeriodicTimerSourceInfo, self).__init__(**kwargs) + self.start_time = start_time + self.schedule = schedule + self.topic = topic + + +class RefreshDetails(msrest.serialization.Model): + """Fields for tracking refresh job on the share or container. + + :param in_progress_refresh_job_id: If a refresh job is currently in progress on this share or + container, this field indicates the ARM resource ID of that job. The field is empty if no job + is in progress. + :type in_progress_refresh_job_id: str + :param last_completed_refresh_job_time_in_utc: Indicates the completed time for the last + refresh job on this particular share or container, if any.This could be a failed job or a + successful job. + :type last_completed_refresh_job_time_in_utc: ~datetime.datetime + :param error_manifest_file: Indicates the relative path of the error xml for the last refresh + job on this particular share or container, if any. This could be a failed job or a successful + job. + :type error_manifest_file: str + :param last_job: Indicates the id of the last refresh job on this particular share or + container,if any. This could be a failed job or a successful job. + :type last_job: str + """ + + _attribute_map = { + 'in_progress_refresh_job_id': {'key': 'inProgressRefreshJobId', 'type': 'str'}, + 'last_completed_refresh_job_time_in_utc': {'key': 'lastCompletedRefreshJobTimeInUTC', 'type': 'iso-8601'}, + 'error_manifest_file': {'key': 'errorManifestFile', 'type': 'str'}, + 'last_job': {'key': 'lastJob', 'type': 'str'}, + } + + def __init__( + self, + *, + in_progress_refresh_job_id: Optional[str] = None, + last_completed_refresh_job_time_in_utc: Optional[datetime.datetime] = None, + error_manifest_file: Optional[str] = None, + last_job: Optional[str] = None, + **kwargs + ): + super(RefreshDetails, self).__init__(**kwargs) + self.in_progress_refresh_job_id = in_progress_refresh_job_id + self.last_completed_refresh_job_time_in_utc = last_completed_refresh_job_time_in_utc + self.error_manifest_file = error_manifest_file + self.last_job = last_job + + +class ResourceIdentity(msrest.serialization.Model): + """Msi identity details of the resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param type: Identity type. Possible values include: "None", "SystemAssigned", "UserAssigned". + :type type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.MsiIdentityType + :ivar principal_id: Service Principal Id backing the Msi. + :vartype principal_id: str + :ivar tenant_id: Home Tenant Id. + :vartype tenant_id: str + """ + + _validation = { + 'principal_id': {'readonly': True}, + 'tenant_id': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'principal_id': {'key': 'principalId', 'type': 'str'}, + 'tenant_id': {'key': 'tenantId', 'type': 'str'}, + } + + def __init__( + self, + *, + type: Optional[Union[str, "MsiIdentityType"]] = None, + **kwargs + ): + super(ResourceIdentity, self).__init__(**kwargs) + self.type = type + self.principal_id = None + self.tenant_id = None + + +class ResourceMoveDetails(msrest.serialization.Model): + """Fields for tracking resource move. + + :param operation_in_progress: Denotes whether move operation is in progress. Possible values + include: "None", "ResourceMoveInProgress", "ResourceMoveFailed". + :type operation_in_progress: str or + ~azure.mgmt.databoxedge.v2020_09_01.models.ResourceMoveStatus + :param operation_in_progress_lock_timeout_in_utc: Denotes the timeout of the operation to + finish. + :type operation_in_progress_lock_timeout_in_utc: ~datetime.datetime + """ + + _attribute_map = { + 'operation_in_progress': {'key': 'operationInProgress', 'type': 'str'}, + 'operation_in_progress_lock_timeout_in_utc': {'key': 'operationInProgressLockTimeoutInUTC', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + operation_in_progress: Optional[Union[str, "ResourceMoveStatus"]] = None, + operation_in_progress_lock_timeout_in_utc: Optional[datetime.datetime] = None, + **kwargs + ): + super(ResourceMoveDetails, self).__init__(**kwargs) + self.operation_in_progress = operation_in_progress + self.operation_in_progress_lock_timeout_in_utc = operation_in_progress_lock_timeout_in_utc + + +class ResourceTypeSku(msrest.serialization.Model): + """Resource type Sku object. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar resource_type: The resource type. + :vartype resource_type: str + :ivar skus: The skus. + :vartype skus: list[~azure.mgmt.databoxedge.v2020_09_01.models.SkuInformation] + """ + + _validation = { + 'resource_type': {'readonly': True}, + 'skus': {'readonly': True}, + } + + _attribute_map = { + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'skus': {'key': 'skus', 'type': '[SkuInformation]'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceTypeSku, self).__init__(**kwargs) + self.resource_type = None + self.skus = None + + +class RoleList(msrest.serialization.Model): + """Collection of all the roles on the Data Box Edge device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The Value. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.Role] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Role]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RoleList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class RoleSinkInfo(msrest.serialization.Model): + """Compute role against which events will be raised. + + All required parameters must be populated in order to send to Azure. + + :param role_id: Required. Compute role ID. + :type role_id: str + """ + + _validation = { + 'role_id': {'required': True}, + } + + _attribute_map = { + 'role_id': {'key': 'roleId', 'type': 'str'}, + } + + def __init__( + self, + *, + role_id: str, + **kwargs + ): + super(RoleSinkInfo, self).__init__(**kwargs) + self.role_id = role_id + + +class SecuritySettings(ARMBaseModel): + """The security settings of a device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param device_admin_password: Required. Device administrator password as an encrypted string + (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual + password should have at least 8 characters that are a combination of uppercase, lowercase, + numeric, and special characters. + :type device_admin_password: + ~azure.mgmt.databoxedge.v2020_09_01.models.AsymmetricEncryptedSecret + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'device_admin_password': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'device_admin_password': {'key': 'properties.deviceAdminPassword', 'type': 'AsymmetricEncryptedSecret'}, + } + + def __init__( + self, + *, + device_admin_password: "AsymmetricEncryptedSecret", + **kwargs + ): + super(SecuritySettings, self).__init__(**kwargs) + self.device_admin_password = device_admin_password + + +class ServiceSpecification(msrest.serialization.Model): + """Service specification. + + :param metric_specifications: Metric specification as defined by shoebox. + :type metric_specifications: + list[~azure.mgmt.databoxedge.v2020_09_01.models.MetricSpecificationV1] + """ + + _attribute_map = { + 'metric_specifications': {'key': 'metricSpecifications', 'type': '[MetricSpecificationV1]'}, + } + + def __init__( + self, + *, + metric_specifications: Optional[List["MetricSpecificationV1"]] = None, + **kwargs + ): + super(ServiceSpecification, self).__init__(**kwargs) + self.metric_specifications = metric_specifications + + +class Share(ARMBaseModel): + """Represents a share on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Share on ASE device. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param description: Description for the share. + :type description: str + :param share_status: Required. Current status of the share. Possible values include: "Offline", + "Unknown", "OK", "Updating", "NeedsAttention". + :type share_status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.ShareStatus + :param monitoring_status: Required. Current monitoring status of the share. Possible values + include: "Enabled", "Disabled". + :type monitoring_status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.MonitoringStatus + :param azure_container_info: Azure container mapping for the share. + :type azure_container_info: ~azure.mgmt.databoxedge.v2020_09_01.models.AzureContainerInfo + :param access_protocol: Required. Access protocol to be used by the share. Possible values + include: "SMB", "NFS". + :type access_protocol: str or ~azure.mgmt.databoxedge.v2020_09_01.models.ShareAccessProtocol + :param user_access_rights: Mapping of users and corresponding access rights on the share + (required for SMB protocol). + :type user_access_rights: list[~azure.mgmt.databoxedge.v2020_09_01.models.UserAccessRight] + :param client_access_rights: List of IP addresses and corresponding access rights on the + share(required for NFS protocol). + :type client_access_rights: list[~azure.mgmt.databoxedge.v2020_09_01.models.ClientAccessRight] + :param refresh_details: Details of the refresh job on this share. + :type refresh_details: ~azure.mgmt.databoxedge.v2020_09_01.models.RefreshDetails + :ivar share_mappings: Share mount point to the role. + :vartype share_mappings: list[~azure.mgmt.databoxedge.v2020_09_01.models.MountPointMap] + :param data_policy: Data policy of the share. Possible values include: "Cloud", "Local". + :type data_policy: str or ~azure.mgmt.databoxedge.v2020_09_01.models.DataPolicy + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'share_status': {'required': True}, + 'monitoring_status': {'required': True}, + 'access_protocol': {'required': True}, + 'share_mappings': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'share_status': {'key': 'properties.shareStatus', 'type': 'str'}, + 'monitoring_status': {'key': 'properties.monitoringStatus', 'type': 'str'}, + 'azure_container_info': {'key': 'properties.azureContainerInfo', 'type': 'AzureContainerInfo'}, + 'access_protocol': {'key': 'properties.accessProtocol', 'type': 'str'}, + 'user_access_rights': {'key': 'properties.userAccessRights', 'type': '[UserAccessRight]'}, + 'client_access_rights': {'key': 'properties.clientAccessRights', 'type': '[ClientAccessRight]'}, + 'refresh_details': {'key': 'properties.refreshDetails', 'type': 'RefreshDetails'}, + 'share_mappings': {'key': 'properties.shareMappings', 'type': '[MountPointMap]'}, + 'data_policy': {'key': 'properties.dataPolicy', 'type': 'str'}, + } + + def __init__( + self, + *, + share_status: Union[str, "ShareStatus"], + monitoring_status: Union[str, "MonitoringStatus"], + access_protocol: Union[str, "ShareAccessProtocol"], + description: Optional[str] = None, + azure_container_info: Optional["AzureContainerInfo"] = None, + user_access_rights: Optional[List["UserAccessRight"]] = None, + client_access_rights: Optional[List["ClientAccessRight"]] = None, + refresh_details: Optional["RefreshDetails"] = None, + data_policy: Optional[Union[str, "DataPolicy"]] = None, + **kwargs + ): + super(Share, self).__init__(**kwargs) + self.system_data = None + self.description = description + self.share_status = share_status + self.monitoring_status = monitoring_status + self.azure_container_info = azure_container_info + self.access_protocol = access_protocol + self.user_access_rights = user_access_rights + self.client_access_rights = client_access_rights + self.refresh_details = refresh_details + self.share_mappings = None + self.data_policy = data_policy + + +class ShareAccessRight(msrest.serialization.Model): + """Specifies the mapping between this particular user and the type of access he has on shares on this device. + + All required parameters must be populated in order to send to Azure. + + :param share_id: Required. The share ID. + :type share_id: str + :param access_type: Required. Type of access to be allowed on the share for this user. Possible + values include: "Change", "Read", "Custom". + :type access_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.ShareAccessType + """ + + _validation = { + 'share_id': {'required': True}, + 'access_type': {'required': True}, + } + + _attribute_map = { + 'share_id': {'key': 'shareId', 'type': 'str'}, + 'access_type': {'key': 'accessType', 'type': 'str'}, + } + + def __init__( + self, + *, + share_id: str, + access_type: Union[str, "ShareAccessType"], + **kwargs + ): + super(ShareAccessRight, self).__init__(**kwargs) + self.share_id = share_id + self.access_type = access_type + + +class ShareList(msrest.serialization.Model): + """Collection of all the shares on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of shares. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.Share] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Share]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ShareList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class Sku(msrest.serialization.Model): + """The SKU type. + + :param name: SKU name. Possible values include: "Gateway", "Edge", "TEA_1Node", + "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", + "TEA_4Node_UPS_Heater", "TMA", "TDC", "TCA_Small", "GPU", "TCA_Large", "EdgeP_Base", + "EdgeP_High", "EdgePR_Base", "EdgePR_Base_UPS", "EdgeMR_Mini", "RCA_Small", "RCA_Large", "RDC". + :type name: str or ~azure.mgmt.databoxedge.v2020_09_01.models.SkuName + :param tier: The SKU tier. This is based on the SKU name. Possible values include: "Standard". + :type tier: str or ~azure.mgmt.databoxedge.v2020_09_01.models.SkuTier + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[Union[str, "SkuName"]] = None, + tier: Optional[Union[str, "SkuTier"]] = None, + **kwargs + ): + super(Sku, self).__init__(**kwargs) + self.name = name + self.tier = tier + + +class SkuCost(msrest.serialization.Model): + """The metadata for retrieving price info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar meter_id: Used for querying price from commerce. + :vartype meter_id: str + :ivar quantity: The cost quantity. + :vartype quantity: long + :ivar extended_unit: The extended unit. + :vartype extended_unit: str + """ + + _validation = { + 'meter_id': {'readonly': True}, + 'quantity': {'readonly': True}, + 'extended_unit': {'readonly': True}, + } + + _attribute_map = { + 'meter_id': {'key': 'meterId', 'type': 'str'}, + 'quantity': {'key': 'quantity', 'type': 'long'}, + 'extended_unit': {'key': 'extendedUnit', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuCost, self).__init__(**kwargs) + self.meter_id = None + self.quantity = None + self.extended_unit = None + + +class SkuInformation(msrest.serialization.Model): + """Sku information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: The sku name. + :vartype name: str + :ivar tier: The sku tier. + :vartype tier: str + :ivar kind: The sku kind. + :vartype kind: str + :ivar family: The Sku family. + :vartype family: str + :ivar costs: The pricing info of the Sku. + :vartype costs: list[~azure.mgmt.databoxedge.v2020_09_01.models.SkuCost] + :ivar locations: The locations where Sku is available. + :vartype locations: list[str] + :ivar location_info: The locations where Sku is available with zones and sites info. + :vartype location_info: list[~azure.mgmt.databoxedge.v2020_09_01.models.SkuLocationInfo] + :ivar required_quota_ids: The required quotaIds for the sku to be available. + :vartype required_quota_ids: list[str] + :ivar required_features: The required features for the sku to be available. + :vartype required_features: list[str] + """ + + _validation = { + 'name': {'readonly': True}, + 'tier': {'readonly': True}, + 'kind': {'readonly': True}, + 'family': {'readonly': True}, + 'costs': {'readonly': True}, + 'locations': {'readonly': True}, + 'location_info': {'readonly': True}, + 'required_quota_ids': {'readonly': True}, + 'required_features': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'costs': {'key': 'costs', 'type': '[SkuCost]'}, + 'locations': {'key': 'locations', 'type': '[str]'}, + 'location_info': {'key': 'locationInfo', 'type': '[SkuLocationInfo]'}, + 'required_quota_ids': {'key': 'requiredQuotaIds', 'type': '[str]'}, + 'required_features': {'key': 'requiredFeatures', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuInformation, self).__init__(**kwargs) + self.name = None + self.tier = None + self.kind = None + self.family = None + self.costs = None + self.locations = None + self.location_info = None + self.required_quota_ids = None + self.required_features = None + + +class SkuInformationList(msrest.serialization.Model): + """List of SKU Information objects. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of ResourceTypeSku objects. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.ResourceTypeSku] + :ivar next_link: Links to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ResourceTypeSku]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuInformationList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SkuLocationInfo(msrest.serialization.Model): + """The location info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar location: The location. + :vartype location: str + :ivar zones: The zones. + :vartype zones: list[str] + :ivar sites: The sites. + :vartype sites: list[str] + """ + + _validation = { + 'location': {'readonly': True}, + 'zones': {'readonly': True}, + 'sites': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + 'sites': {'key': 'sites', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuLocationInfo, self).__init__(**kwargs) + self.location = None + self.zones = None + self.sites = None + + +class StorageAccount(ARMBaseModel): + """Represents a Storage Account on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: StorageAccount object on ASE device. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param description: Description for the storage Account. + :type description: str + :param storage_account_status: Current status of the storage account. Possible values include: + "OK", "Offline", "Unknown", "Updating", "NeedsAttention". + :type storage_account_status: str or + ~azure.mgmt.databoxedge.v2020_09_01.models.StorageAccountStatus + :param data_policy: Required. Data policy of the storage Account. Possible values include: + "Cloud", "Local". + :type data_policy: str or ~azure.mgmt.databoxedge.v2020_09_01.models.DataPolicy + :param storage_account_credential_id: Storage Account Credential Id. + :type storage_account_credential_id: str + :ivar blob_endpoint: BlobEndpoint of Storage Account. + :vartype blob_endpoint: str + :ivar container_count: The Container Count. Present only for Storage Accounts with DataPolicy + set to Cloud. + :vartype container_count: int + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'data_policy': {'required': True}, + 'blob_endpoint': {'readonly': True}, + 'container_count': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'storage_account_status': {'key': 'properties.storageAccountStatus', 'type': 'str'}, + 'data_policy': {'key': 'properties.dataPolicy', 'type': 'str'}, + 'storage_account_credential_id': {'key': 'properties.storageAccountCredentialId', 'type': 'str'}, + 'blob_endpoint': {'key': 'properties.blobEndpoint', 'type': 'str'}, + 'container_count': {'key': 'properties.containerCount', 'type': 'int'}, + } + + def __init__( + self, + *, + data_policy: Union[str, "DataPolicy"], + description: Optional[str] = None, + storage_account_status: Optional[Union[str, "StorageAccountStatus"]] = None, + storage_account_credential_id: Optional[str] = None, + **kwargs + ): + super(StorageAccount, self).__init__(**kwargs) + self.system_data = None + self.description = description + self.storage_account_status = storage_account_status + self.data_policy = data_policy + self.storage_account_credential_id = storage_account_credential_id + self.blob_endpoint = None + self.container_count = None + + +class StorageAccountCredential(ARMBaseModel): + """The storage account credential. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: StorageAccountCredential object. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param alias: Required. Alias for the storage account. + :type alias: str + :param user_name: Username for the storage account. + :type user_name: str + :param account_key: Encrypted storage key. + :type account_key: ~azure.mgmt.databoxedge.v2020_09_01.models.AsymmetricEncryptedSecret + :param connection_string: Connection string for the storage account. Use this string if + username and account key are not specified. + :type connection_string: str + :param ssl_status: Required. Signifies whether SSL needs to be enabled or not. Possible values + include: "Enabled", "Disabled". + :type ssl_status: str or ~azure.mgmt.databoxedge.v2020_09_01.models.SSLStatus + :param blob_domain_name: Blob end point for private clouds. + :type blob_domain_name: str + :param account_type: Required. Type of storage accessed on the storage account. Possible values + include: "GeneralPurposeStorage", "BlobStorage". + :type account_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.AccountType + :param storage_account_id: Id of the storage account. + :type storage_account_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'alias': {'required': True}, + 'ssl_status': {'required': True}, + 'account_type': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'alias': {'key': 'properties.alias', 'type': 'str'}, + 'user_name': {'key': 'properties.userName', 'type': 'str'}, + 'account_key': {'key': 'properties.accountKey', 'type': 'AsymmetricEncryptedSecret'}, + 'connection_string': {'key': 'properties.connectionString', 'type': 'str'}, + 'ssl_status': {'key': 'properties.sslStatus', 'type': 'str'}, + 'blob_domain_name': {'key': 'properties.blobDomainName', 'type': 'str'}, + 'account_type': {'key': 'properties.accountType', 'type': 'str'}, + 'storage_account_id': {'key': 'properties.storageAccountId', 'type': 'str'}, + } + + def __init__( + self, + *, + alias: str, + ssl_status: Union[str, "SSLStatus"], + account_type: Union[str, "AccountType"], + user_name: Optional[str] = None, + account_key: Optional["AsymmetricEncryptedSecret"] = None, + connection_string: Optional[str] = None, + blob_domain_name: Optional[str] = None, + storage_account_id: Optional[str] = None, + **kwargs + ): + super(StorageAccountCredential, self).__init__(**kwargs) + self.system_data = None + self.alias = alias + self.user_name = user_name + self.account_key = account_key + self.connection_string = connection_string + self.ssl_status = ssl_status + self.blob_domain_name = blob_domain_name + self.account_type = account_type + self.storage_account_id = storage_account_id + + +class StorageAccountCredentialList(msrest.serialization.Model): + """The collection of storage account credentials. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The value. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.StorageAccountCredential] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[StorageAccountCredential]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StorageAccountCredentialList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class StorageAccountList(msrest.serialization.Model): + """Collection of all the Storage Accounts on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of storageAccounts. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.StorageAccount] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[StorageAccount]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StorageAccountList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SubscriptionRegisteredFeatures(msrest.serialization.Model): + """SubscriptionRegisteredFeatures. + + :param name: + :type name: str + :param state: + :type state: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + state: Optional[str] = None, + **kwargs + ): + super(SubscriptionRegisteredFeatures, self).__init__(**kwargs) + self.name = name + self.state = state + + +class SymmetricKey(msrest.serialization.Model): + """Symmetric key for authentication. + + :param connection_string: Connection string based on the symmetric key. + :type connection_string: ~azure.mgmt.databoxedge.v2020_09_01.models.AsymmetricEncryptedSecret + """ + + _attribute_map = { + 'connection_string': {'key': 'connectionString', 'type': 'AsymmetricEncryptedSecret'}, + } + + def __init__( + self, + *, + connection_string: Optional["AsymmetricEncryptedSecret"] = None, + **kwargs + ): + super(SymmetricKey, self).__init__(**kwargs) + self.connection_string = connection_string + + +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :param created_by: The identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :type created_by_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.CreatedByType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: ~datetime.datetime + :param last_modified_by: The identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :type last_modified_by_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.CreatedByType + :param last_modified_at: The type of identity that last modified the resource. + :type last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + created_by: Optional[str] = None, + created_by_type: Optional[Union[str, "CreatedByType"]] = None, + created_at: Optional[datetime.datetime] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[Union[str, "CreatedByType"]] = None, + last_modified_at: Optional[datetime.datetime] = None, + **kwargs + ): + super(SystemData, self).__init__(**kwargs) + self.created_by = created_by + self.created_by_type = created_by_type + self.created_at = created_at + self.last_modified_by = last_modified_by + self.last_modified_by_type = last_modified_by_type + self.last_modified_at = last_modified_at + + +class TrackingInfo(msrest.serialization.Model): + """Tracking courier information. + + :param serial_number: Serial number of the device being tracked. + :type serial_number: str + :param carrier_name: Name of the carrier used in the delivery. + :type carrier_name: str + :param tracking_id: Tracking ID of the shipment. + :type tracking_id: str + :param tracking_url: Tracking URL of the shipment. + :type tracking_url: str + """ + + _attribute_map = { + 'serial_number': {'key': 'serialNumber', 'type': 'str'}, + 'carrier_name': {'key': 'carrierName', 'type': 'str'}, + 'tracking_id': {'key': 'trackingId', 'type': 'str'}, + 'tracking_url': {'key': 'trackingUrl', 'type': 'str'}, + } + + def __init__( + self, + *, + serial_number: Optional[str] = None, + carrier_name: Optional[str] = None, + tracking_id: Optional[str] = None, + tracking_url: Optional[str] = None, + **kwargs + ): + super(TrackingInfo, self).__init__(**kwargs) + self.serial_number = serial_number + self.carrier_name = carrier_name + self.tracking_id = tracking_id + self.tracking_url = tracking_url + + +class TriggerList(msrest.serialization.Model): + """Collection of all trigger on the data box edge device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of triggers. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.Trigger] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Trigger]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TriggerList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class UpdateDownloadProgress(msrest.serialization.Model): + """Details about the download progress of update. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar download_phase: The download phase. Possible values include: "Unknown", "Initializing", + "Downloading", "Verifying". + :vartype download_phase: str or ~azure.mgmt.databoxedge.v2020_09_01.models.DownloadPhase + :ivar percent_complete: Percentage of completion. + :vartype percent_complete: int + :ivar total_bytes_to_download: Total bytes to download. + :vartype total_bytes_to_download: float + :ivar total_bytes_downloaded: Total bytes downloaded. + :vartype total_bytes_downloaded: float + :ivar number_of_updates_to_download: Number of updates to download. + :vartype number_of_updates_to_download: int + :ivar number_of_updates_downloaded: Number of updates downloaded. + :vartype number_of_updates_downloaded: int + """ + + _validation = { + 'download_phase': {'readonly': True}, + 'percent_complete': {'readonly': True}, + 'total_bytes_to_download': {'readonly': True}, + 'total_bytes_downloaded': {'readonly': True}, + 'number_of_updates_to_download': {'readonly': True}, + 'number_of_updates_downloaded': {'readonly': True}, + } + + _attribute_map = { + 'download_phase': {'key': 'downloadPhase', 'type': 'str'}, + 'percent_complete': {'key': 'percentComplete', 'type': 'int'}, + 'total_bytes_to_download': {'key': 'totalBytesToDownload', 'type': 'float'}, + 'total_bytes_downloaded': {'key': 'totalBytesDownloaded', 'type': 'float'}, + 'number_of_updates_to_download': {'key': 'numberOfUpdatesToDownload', 'type': 'int'}, + 'number_of_updates_downloaded': {'key': 'numberOfUpdatesDownloaded', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(UpdateDownloadProgress, self).__init__(**kwargs) + self.download_phase = None + self.percent_complete = None + self.total_bytes_to_download = None + self.total_bytes_downloaded = None + self.number_of_updates_to_download = None + self.number_of_updates_downloaded = None + + +class UpdateInstallProgress(msrest.serialization.Model): + """Progress details during installation of updates. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar percent_complete: Percentage completed. + :vartype percent_complete: int + :ivar number_of_updates_to_install: Number of updates to install. + :vartype number_of_updates_to_install: int + :ivar number_of_updates_installed: Number of updates installed. + :vartype number_of_updates_installed: int + """ + + _validation = { + 'percent_complete': {'readonly': True}, + 'number_of_updates_to_install': {'readonly': True}, + 'number_of_updates_installed': {'readonly': True}, + } + + _attribute_map = { + 'percent_complete': {'key': 'percentComplete', 'type': 'int'}, + 'number_of_updates_to_install': {'key': 'numberOfUpdatesToInstall', 'type': 'int'}, + 'number_of_updates_installed': {'key': 'numberOfUpdatesInstalled', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(UpdateInstallProgress, self).__init__(**kwargs) + self.percent_complete = None + self.number_of_updates_to_install = None + self.number_of_updates_installed = None + + +class UpdateSummary(ARMBaseModel): + """Details about ongoing updates and availability of updates on the device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param device_version_number: The current version of the device in format: 1.2.17312.13.",. + :type device_version_number: str + :param friendly_device_version_name: The current version of the device in text format. + :type friendly_device_version_name: str + :param device_last_scanned_date_time: The last time when a scan was done on the device. + :type device_last_scanned_date_time: ~datetime.datetime + :param last_completed_scan_job_date_time: The time when the last scan job was completed + (success/cancelled/failed) on the appliance. + :type last_completed_scan_job_date_time: ~datetime.datetime + :ivar last_completed_download_job_date_time: The time when the last Download job was completed + (success/cancelled/failed) on the appliance. + :vartype last_completed_download_job_date_time: ~datetime.datetime + :ivar last_completed_install_job_date_time: The time when the last Install job was completed + (success/cancelled/failed) on the appliance. + :vartype last_completed_install_job_date_time: ~datetime.datetime + :ivar total_number_of_updates_available: The number of updates available for the current device + version as per the last device scan. + :vartype total_number_of_updates_available: int + :ivar total_number_of_updates_pending_download: The total number of items pending download. + :vartype total_number_of_updates_pending_download: int + :ivar total_number_of_updates_pending_install: The total number of items pending install. + :vartype total_number_of_updates_pending_install: int + :ivar reboot_behavior: Indicates if updates are available and at least one of the updates needs + a reboot. Possible values include: "NeverReboots", "RequiresReboot", "RequestReboot". + :vartype reboot_behavior: str or + ~azure.mgmt.databoxedge.v2020_09_01.models.InstallRebootBehavior + :ivar ongoing_update_operation: The current update operation. Possible values include: "None", + "Scan", "Download", "Install". + :vartype ongoing_update_operation: str or + ~azure.mgmt.databoxedge.v2020_09_01.models.UpdateOperation + :ivar in_progress_download_job_id: The job ID of the download job in progress. + :vartype in_progress_download_job_id: str + :ivar in_progress_install_job_id: The job ID of the install job in progress. + :vartype in_progress_install_job_id: str + :ivar in_progress_download_job_started_date_time: The time when the currently running download + (if any) started. + :vartype in_progress_download_job_started_date_time: ~datetime.datetime + :ivar in_progress_install_job_started_date_time: The time when the currently running install + (if any) started. + :vartype in_progress_install_job_started_date_time: ~datetime.datetime + :ivar update_titles: The list of updates available for install. + :vartype update_titles: list[str] + :ivar total_update_size_in_bytes: The total size of updates available for download in bytes. + :vartype total_update_size_in_bytes: float + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'last_completed_download_job_date_time': {'readonly': True}, + 'last_completed_install_job_date_time': {'readonly': True}, + 'total_number_of_updates_available': {'readonly': True}, + 'total_number_of_updates_pending_download': {'readonly': True}, + 'total_number_of_updates_pending_install': {'readonly': True}, + 'reboot_behavior': {'readonly': True}, + 'ongoing_update_operation': {'readonly': True}, + 'in_progress_download_job_id': {'readonly': True}, + 'in_progress_install_job_id': {'readonly': True}, + 'in_progress_download_job_started_date_time': {'readonly': True}, + 'in_progress_install_job_started_date_time': {'readonly': True}, + 'update_titles': {'readonly': True}, + 'total_update_size_in_bytes': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'device_version_number': {'key': 'properties.deviceVersionNumber', 'type': 'str'}, + 'friendly_device_version_name': {'key': 'properties.friendlyDeviceVersionName', 'type': 'str'}, + 'device_last_scanned_date_time': {'key': 'properties.deviceLastScannedDateTime', 'type': 'iso-8601'}, + 'last_completed_scan_job_date_time': {'key': 'properties.lastCompletedScanJobDateTime', 'type': 'iso-8601'}, + 'last_completed_download_job_date_time': {'key': 'properties.lastCompletedDownloadJobDateTime', 'type': 'iso-8601'}, + 'last_completed_install_job_date_time': {'key': 'properties.lastCompletedInstallJobDateTime', 'type': 'iso-8601'}, + 'total_number_of_updates_available': {'key': 'properties.totalNumberOfUpdatesAvailable', 'type': 'int'}, + 'total_number_of_updates_pending_download': {'key': 'properties.totalNumberOfUpdatesPendingDownload', 'type': 'int'}, + 'total_number_of_updates_pending_install': {'key': 'properties.totalNumberOfUpdatesPendingInstall', 'type': 'int'}, + 'reboot_behavior': {'key': 'properties.rebootBehavior', 'type': 'str'}, + 'ongoing_update_operation': {'key': 'properties.ongoingUpdateOperation', 'type': 'str'}, + 'in_progress_download_job_id': {'key': 'properties.inProgressDownloadJobId', 'type': 'str'}, + 'in_progress_install_job_id': {'key': 'properties.inProgressInstallJobId', 'type': 'str'}, + 'in_progress_download_job_started_date_time': {'key': 'properties.inProgressDownloadJobStartedDateTime', 'type': 'iso-8601'}, + 'in_progress_install_job_started_date_time': {'key': 'properties.inProgressInstallJobStartedDateTime', 'type': 'iso-8601'}, + 'update_titles': {'key': 'properties.updateTitles', 'type': '[str]'}, + 'total_update_size_in_bytes': {'key': 'properties.totalUpdateSizeInBytes', 'type': 'float'}, + } + + def __init__( + self, + *, + device_version_number: Optional[str] = None, + friendly_device_version_name: Optional[str] = None, + device_last_scanned_date_time: Optional[datetime.datetime] = None, + last_completed_scan_job_date_time: Optional[datetime.datetime] = None, + **kwargs + ): + super(UpdateSummary, self).__init__(**kwargs) + self.device_version_number = device_version_number + self.friendly_device_version_name = friendly_device_version_name + self.device_last_scanned_date_time = device_last_scanned_date_time + self.last_completed_scan_job_date_time = last_completed_scan_job_date_time + self.last_completed_download_job_date_time = None + self.last_completed_install_job_date_time = None + self.total_number_of_updates_available = None + self.total_number_of_updates_pending_download = None + self.total_number_of_updates_pending_install = None + self.reboot_behavior = None + self.ongoing_update_operation = None + self.in_progress_download_job_id = None + self.in_progress_install_job_id = None + self.in_progress_download_job_started_date_time = None + self.in_progress_install_job_started_date_time = None + self.update_titles = None + self.total_update_size_in_bytes = None + + +class UploadCertificateRequest(msrest.serialization.Model): + """The upload certificate request. + + All required parameters must be populated in order to send to Azure. + + :param authentication_type: The authentication type. Possible values include: "Invalid", + "AzureActiveDirectory". + :type authentication_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.AuthenticationType + :param certificate: Required. The base64 encoded certificate raw data. + :type certificate: str + """ + + _validation = { + 'certificate': {'required': True}, + } + + _attribute_map = { + 'authentication_type': {'key': 'properties.authenticationType', 'type': 'str'}, + 'certificate': {'key': 'properties.certificate', 'type': 'str'}, + } + + def __init__( + self, + *, + certificate: str, + authentication_type: Optional[Union[str, "AuthenticationType"]] = None, + **kwargs + ): + super(UploadCertificateRequest, self).__init__(**kwargs) + self.authentication_type = authentication_type + self.certificate = certificate + + +class UploadCertificateResponse(msrest.serialization.Model): + """The upload registration certificate response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param auth_type: Specifies authentication type. Possible values include: "Invalid", + "AzureActiveDirectory". + :type auth_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.AuthenticationType + :ivar resource_id: The resource ID of the Data Box Edge/Gateway device. + :vartype resource_id: str + :ivar aad_authority: Azure Active Directory tenant authority. + :vartype aad_authority: str + :ivar aad_tenant_id: Azure Active Directory tenant ID. + :vartype aad_tenant_id: str + :ivar service_principal_client_id: Azure Active Directory service principal client ID. + :vartype service_principal_client_id: str + :ivar service_principal_object_id: Azure Active Directory service principal object ID. + :vartype service_principal_object_id: str + :ivar azure_management_endpoint_audience: The azure management endpoint audience. + :vartype azure_management_endpoint_audience: str + :ivar aad_audience: Identifier of the target resource that is the recipient of the requested + token. + :vartype aad_audience: str + """ + + _validation = { + 'resource_id': {'readonly': True}, + 'aad_authority': {'readonly': True}, + 'aad_tenant_id': {'readonly': True}, + 'service_principal_client_id': {'readonly': True}, + 'service_principal_object_id': {'readonly': True}, + 'azure_management_endpoint_audience': {'readonly': True}, + 'aad_audience': {'readonly': True}, + } + + _attribute_map = { + 'auth_type': {'key': 'authType', 'type': 'str'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'aad_authority': {'key': 'aadAuthority', 'type': 'str'}, + 'aad_tenant_id': {'key': 'aadTenantId', 'type': 'str'}, + 'service_principal_client_id': {'key': 'servicePrincipalClientId', 'type': 'str'}, + 'service_principal_object_id': {'key': 'servicePrincipalObjectId', 'type': 'str'}, + 'azure_management_endpoint_audience': {'key': 'azureManagementEndpointAudience', 'type': 'str'}, + 'aad_audience': {'key': 'aadAudience', 'type': 'str'}, + } + + def __init__( + self, + *, + auth_type: Optional[Union[str, "AuthenticationType"]] = None, + **kwargs + ): + super(UploadCertificateResponse, self).__init__(**kwargs) + self.auth_type = auth_type + self.resource_id = None + self.aad_authority = None + self.aad_tenant_id = None + self.service_principal_client_id = None + self.service_principal_object_id = None + self.azure_management_endpoint_audience = None + self.aad_audience = None + + +class User(ARMBaseModel): + """Represents a user who has access to one or more shares on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: User in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01.models.SystemData + :param encrypted_password: The password details. + :type encrypted_password: ~azure.mgmt.databoxedge.v2020_09_01.models.AsymmetricEncryptedSecret + :ivar share_access_rights: List of shares that the user has rights on. This field should not be + specified during user creation. + :vartype share_access_rights: list[~azure.mgmt.databoxedge.v2020_09_01.models.ShareAccessRight] + :param user_type: Type of the user. Possible values include: "Share", "LocalManagement", "ARM". + :type user_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.UserType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'share_access_rights': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'encrypted_password': {'key': 'properties.encryptedPassword', 'type': 'AsymmetricEncryptedSecret'}, + 'share_access_rights': {'key': 'properties.shareAccessRights', 'type': '[ShareAccessRight]'}, + 'user_type': {'key': 'properties.userType', 'type': 'str'}, + } + + def __init__( + self, + *, + encrypted_password: Optional["AsymmetricEncryptedSecret"] = None, + user_type: Optional[Union[str, "UserType"]] = None, + **kwargs + ): + super(User, self).__init__(**kwargs) + self.system_data = None + self.encrypted_password = encrypted_password + self.share_access_rights = None + self.user_type = user_type + + +class UserAccessRight(msrest.serialization.Model): + """The mapping between a particular user and the access type on the SMB share. + + All required parameters must be populated in order to send to Azure. + + :param user_id: Required. User ID (already existing in the device). + :type user_id: str + :param access_type: Required. Type of access to be allowed for the user. Possible values + include: "Change", "Read", "Custom". + :type access_type: str or ~azure.mgmt.databoxedge.v2020_09_01.models.ShareAccessType + """ + + _validation = { + 'user_id': {'required': True}, + 'access_type': {'required': True}, + } + + _attribute_map = { + 'user_id': {'key': 'userId', 'type': 'str'}, + 'access_type': {'key': 'accessType', 'type': 'str'}, + } + + def __init__( + self, + *, + user_id: str, + access_type: Union[str, "ShareAccessType"], + **kwargs + ): + super(UserAccessRight, self).__init__(**kwargs) + self.user_id = user_id + self.access_type = access_type + + +class UserList(msrest.serialization.Model): + """Collection of users. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of users. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01.models.User] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[User]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UserList, self).__init__(**kwargs) + self.value = None + self.next_link = None diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/__init__.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/__init__.py new file mode 100644 index 000000000000..d70057be6458 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/__init__.py @@ -0,0 +1,47 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._operations import Operations +from ._available_skus_operations import AvailableSkusOperations +from ._devices_operations import DevicesOperations +from ._alerts_operations import AlertsOperations +from ._bandwidth_schedules_operations import BandwidthSchedulesOperations +from ._jobs_operations import JobsOperations +from ._nodes_operations import NodesOperations +from ._operations_status_operations import OperationsStatusOperations +from ._orders_operations import OrdersOperations +from ._roles_operations import RolesOperations +from ._addons_operations import AddonsOperations +from ._monitoring_config_operations import MonitoringConfigOperations +from ._shares_operations import SharesOperations +from ._storage_account_credentials_operations import StorageAccountCredentialsOperations +from ._storage_accounts_operations import StorageAccountsOperations +from ._containers_operations import ContainersOperations +from ._triggers_operations import TriggersOperations +from ._users_operations import UsersOperations + +__all__ = [ + 'Operations', + 'AvailableSkusOperations', + 'DevicesOperations', + 'AlertsOperations', + 'BandwidthSchedulesOperations', + 'JobsOperations', + 'NodesOperations', + 'OperationsStatusOperations', + 'OrdersOperations', + 'RolesOperations', + 'AddonsOperations', + 'MonitoringConfigOperations', + 'SharesOperations', + 'StorageAccountCredentialsOperations', + 'StorageAccountsOperations', + 'ContainersOperations', + 'TriggersOperations', + 'UsersOperations', +] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_addons_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_addons_operations.py new file mode 100644 index 000000000000..32c85be90393 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_addons_operations.py @@ -0,0 +1,460 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class AddonsOperations(object): + """AddonsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_role( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.AddonList"] + """Lists all the addons configured in the role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AddonList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.AddonList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AddonList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_role.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AddonList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_role.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons'} # type: ignore + + def get( + self, + device_name, # type: str + role_name, # type: str + addon_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Addon" + """Gets a specific addon by name. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param addon_name: The addon name. + :type addon_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Addon, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.Addon + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Addon"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Addon', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + role_name, # type: str + addon_name, # type: str + resource_group_name, # type: str + addon, # type: "_models.Addon" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.Addon"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Addon"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(addon, 'Addon') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Addon', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + role_name, # type: str + addon_name, # type: str + resource_group_name, # type: str + addon, # type: "_models.Addon" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Addon"] + """Create or update a addon. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param addon_name: The addon name. + :type addon_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param addon: The addon properties. + :type addon: ~azure.mgmt.databoxedge.v2020_09_01.models.Addon + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Addon or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_09_01.models.Addon] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Addon"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + role_name=role_name, + addon_name=addon_name, + resource_group_name=resource_group_name, + addon=addon, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Addon', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + role_name, # type: str + addon_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + role_name, # type: str + addon_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the addon on the device. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param addon_name: The addon name. + :type addon_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + role_name=role_name, + addon_name=addon_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_alerts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_alerts_operations.py new file mode 100644 index 000000000000..5e475c8ca70b --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_alerts_operations.py @@ -0,0 +1,186 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class AlertsOperations(object): + """AlertsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.AlertList"] + """Gets all the alerts for a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AlertList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.AlertList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AlertList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AlertList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Alert" + """Gets an alert by name. + + Gets an alert by name. + + :param device_name: The device name. + :type device_name: str + :param name: The alert name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Alert, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.Alert + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Alert"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Alert', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_available_skus_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_available_skus_operations.py new file mode 100644 index 000000000000..739f14c52a86 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_available_skus_operations.py @@ -0,0 +1,115 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class AvailableSkusOperations(object): + """AvailableSkusOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.DataBoxEdgeSkuList"] + """List all the available Skus and information related to them. + + List all the available Skus and information related to them. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataBoxEdgeSkuList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeSkuList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeSkuList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeSkuList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataBoxEdge/availableSkus'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_bandwidth_schedules_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_bandwidth_schedules_operations.py new file mode 100644 index 000000000000..c08125370b0a --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_bandwidth_schedules_operations.py @@ -0,0 +1,438 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class BandwidthSchedulesOperations(object): + """BandwidthSchedulesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.BandwidthSchedulesList"] + """Gets all the bandwidth schedules for a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either BandwidthSchedulesList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.BandwidthSchedulesList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedulesList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('BandwidthSchedulesList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.BandwidthSchedule" + """Gets the properties of the specified bandwidth schedule. + + :param device_name: The device name. + :type device_name: str + :param name: The bandwidth schedule name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: BandwidthSchedule, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.BandwidthSchedule + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('BandwidthSchedule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + parameters, # type: "_models.BandwidthSchedule" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.BandwidthSchedule"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.BandwidthSchedule"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'BandwidthSchedule') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('BandwidthSchedule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + parameters, # type: "_models.BandwidthSchedule" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.BandwidthSchedule"] + """Creates or updates a bandwidth schedule. + + :param device_name: The device name. + :type device_name: str + :param name: The bandwidth schedule name which needs to be added/updated. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The bandwidth schedule to be added or updated. + :type parameters: ~azure.mgmt.databoxedge.v2020_09_01.models.BandwidthSchedule + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either BandwidthSchedule or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_09_01.models.BandwidthSchedule] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedule"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('BandwidthSchedule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified bandwidth schedule. + + :param device_name: The device name. + :type device_name: str + :param name: The bandwidth schedule name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_containers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_containers_operations.py new file mode 100644 index 000000000000..18514cba48b2 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_containers_operations.py @@ -0,0 +1,592 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ContainersOperations(object): + """ContainersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_storage_account( + self, + device_name, # type: str + storage_account_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ContainerList"] + """Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device. + + Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The storage Account name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ContainerList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.ContainerList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ContainerList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_storage_account.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ContainerList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_storage_account.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers'} # type: ignore + + def get( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Container" + """Gets a container by name. + + Gets a container by name. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container Name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Container, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.Container + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Container"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Container', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + container, # type: "_models.Container" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.Container"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Container"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(container, 'Container') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Container', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + container, # type: "_models.Container" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Container"] + """Creates a new container or updates an existing container on the device. + + Creates a new container or updates an existing container on the device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param container: The container properties. + :type container: ~azure.mgmt.databoxedge.v2020_09_01.models.Container + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Container or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_09_01.models.Container] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Container"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + storage_account_name=storage_account_name, + container_name=container_name, + resource_group_name=resource_group_name, + container=container, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Container', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the container on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + storage_account_name=storage_account_name, + container_name=container_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + def _refresh_initial( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._refresh_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _refresh_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}/refresh'} # type: ignore + + def begin_refresh( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Refreshes the container metadata with the data from the cloud. + + Refreshes the container metadata with the data from the cloud. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._refresh_initial( + device_name=device_name, + storage_account_name=storage_account_name, + container_name=container_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_refresh.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}/refresh'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_devices_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_devices_operations.py new file mode 100644 index 000000000000..376eeb43c44f --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_devices_operations.py @@ -0,0 +1,1389 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class DevicesOperations(object): + """DevicesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_subscription( + self, + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.DataBoxEdgeDeviceList"] + """Gets all the Data Box Edge/Data Box Gateway devices in a subscription. + + :param expand: Specify $expand=details to populate additional fields related to the resource or + Specify $skipToken=:code:`` to populate the next page in the list. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDeviceList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeDeviceList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.DataBoxEdgeDeviceList"] + """Gets all the Data Box Edge/Data Box Gateway devices in a resource group. + + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param expand: Specify $expand=details to populate additional fields related to the resource or + Specify $skipToken=:code:`` to populate the next page in the list. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDeviceList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeDeviceList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices'} # type: ignore + + def get( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.DataBoxEdgeDevice" + """Gets the properties of the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDevice, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDevice + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + resource_group_name, # type: str + data_box_edge_device, # type: "_models.DataBoxEdgeDevice" + **kwargs # type: Any + ): + # type: (...) -> "_models.DataBoxEdgeDevice" + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(data_box_edge_device, 'DataBoxEdgeDevice') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + resource_group_name, # type: str + data_box_edge_device, # type: "_models.DataBoxEdgeDevice" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.DataBoxEdgeDevice"] + """Creates or updates a Data Box Edge/Data Box Gateway resource. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param data_box_edge_device: The resource object. + :type data_box_edge_device: ~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDevice + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either DataBoxEdgeDevice or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDevice] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + resource_group_name=resource_group_name, + data_box_edge_device=data_box_edge_device, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + def update( + self, + device_name, # type: str + resource_group_name, # type: str + parameters, # type: "_models.DataBoxEdgeDevicePatch" + **kwargs # type: Any + ): + # type: (...) -> "_models.DataBoxEdgeDevice" + """Modifies a Data Box Edge/Data Box Gateway resource. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The resource parameters. + :type parameters: ~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDevicePatch + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDevice, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDevice + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DataBoxEdgeDevicePatch') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + def _download_updates_initial( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._download_updates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _download_updates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/downloadUpdates'} # type: ignore + + def begin_download_updates( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Downloads the updates on a Data Box Edge/Data Box Gateway device. + + Downloads the updates on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._download_updates_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_download_updates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/downloadUpdates'} # type: ignore + + def generate_certificate( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.GenerateCertResponse" + """Generates certificate for activation key. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: GenerateCertResponse, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.GenerateCertResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.GenerateCertResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.generate_certificate.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('GenerateCertResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + generate_certificate.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/generateCertificate'} # type: ignore + + def get_extended_information( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.DataBoxEdgeDeviceExtendedInfo" + """Gets additional information for the specified Azure Stack Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDeviceExtendedInfo, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDeviceExtendedInfo + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceExtendedInfo"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get_extended_information.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDeviceExtendedInfo', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_extended_information.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/getExtendedInformation'} # type: ignore + + def _install_updates_initial( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._install_updates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _install_updates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/installUpdates'} # type: ignore + + def begin_install_updates( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Installs the updates on the Data Box Edge/Data Box Gateway device. + + Installs the updates on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._install_updates_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_install_updates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/installUpdates'} # type: ignore + + def get_network_settings( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkSettings" + """Gets the network settings of the specified Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkSettings, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.NetworkSettings + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSettings"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get_network_settings.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkSettings', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_network_settings.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/networkSettings/default'} # type: ignore + + def _scan_for_updates_initial( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._scan_for_updates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _scan_for_updates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/scanForUpdates'} # type: ignore + + def begin_scan_for_updates( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Scans for updates on a Data Box Edge/Data Box Gateway device. + + Scans for updates on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._scan_for_updates_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_scan_for_updates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/scanForUpdates'} # type: ignore + + def _create_or_update_security_settings_initial( + self, + device_name, # type: str + resource_group_name, # type: str + security_settings, # type: "_models.SecuritySettings" + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_security_settings_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(security_settings, 'SecuritySettings') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _create_or_update_security_settings_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/securitySettings/default/update'} # type: ignore + + def begin_create_or_update_security_settings( + self, + device_name, # type: str + resource_group_name, # type: str + security_settings, # type: "_models.SecuritySettings" + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Updates the security settings on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param security_settings: The security settings. + :type security_settings: ~azure.mgmt.databoxedge.v2020_09_01.models.SecuritySettings + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_security_settings_initial( + device_name=device_name, + resource_group_name=resource_group_name, + security_settings=security_settings, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update_security_settings.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/securitySettings/default/update'} # type: ignore + + def update_extended_information( + self, + device_name, # type: str + resource_group_name, # type: str + parameters, # type: "_models.DataBoxEdgeDeviceExtendedInfoPatch" + **kwargs # type: Any + ): + # type: (...) -> "_models.DataBoxEdgeDeviceExtendedInfo" + """Gets additional information for the specified Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The patch object. + :type parameters: ~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDeviceExtendedInfoPatch + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDeviceExtendedInfo, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.DataBoxEdgeDeviceExtendedInfo + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceExtendedInfo"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_extended_information.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DataBoxEdgeDeviceExtendedInfoPatch') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDeviceExtendedInfo', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_extended_information.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/updateExtendedInformation'} # type: ignore + + def get_update_summary( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.UpdateSummary" + """Gets information about the availability of updates based on the last scan of the device. It also gets information about any ongoing download or install jobs on the device. + + Gets information about the availability of updates based on the last scan of the device. It + also gets information about any ongoing download or install jobs on the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: UpdateSummary, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.UpdateSummary + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UpdateSummary"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get_update_summary.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('UpdateSummary', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_update_summary.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/updateSummary/default'} # type: ignore + + def upload_certificate( + self, + device_name, # type: str + resource_group_name, # type: str + parameters, # type: "_models.UploadCertificateRequest" + **kwargs # type: Any + ): + # type: (...) -> "_models.UploadCertificateResponse" + """Uploads registration certificate for the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The upload certificate request. + :type parameters: ~azure.mgmt.databoxedge.v2020_09_01.models.UploadCertificateRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :return: UploadCertificateResponse, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.UploadCertificateResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UploadCertificateResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.upload_certificate.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'UploadCertificateRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('UploadCertificateResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + upload_certificate.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/uploadCertificate'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_jobs_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_jobs_operations.py new file mode 100644 index 000000000000..b9023fcd83e1 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_jobs_operations.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class JobsOperations(object): + """JobsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Job" + """Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The job name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Job, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.Job + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Job', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/jobs/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_monitoring_config_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_monitoring_config_operations.py new file mode 100644 index 000000000000..5036dd1df3ef --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_monitoring_config_operations.py @@ -0,0 +1,450 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class MonitoringConfigOperations(object): + """MonitoringConfigOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.MonitoringMetricConfigurationList"] + """Lists metric configurations in a role. + + Lists metric configurations in a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either MonitoringMetricConfigurationList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.MonitoringMetricConfigurationList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.MonitoringMetricConfigurationList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('MonitoringMetricConfigurationList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig'} # type: ignore + + def get( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.MonitoringMetricConfiguration" + """Gets a metric configuration of a role. + + Gets a metric configuration of a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: MonitoringMetricConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.MonitoringMetricConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.MonitoringMetricConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('MonitoringMetricConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + monitoring_metric_configuration, # type: "_models.MonitoringMetricConfiguration" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.MonitoringMetricConfiguration"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.MonitoringMetricConfiguration"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(monitoring_metric_configuration, 'MonitoringMetricConfiguration') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('MonitoringMetricConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + monitoring_metric_configuration, # type: "_models.MonitoringMetricConfiguration" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.MonitoringMetricConfiguration"] + """Creates a new metric configuration or updates an existing one for a role. + + Creates a new metric configuration or updates an existing one for a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param monitoring_metric_configuration: The metric configuration. + :type monitoring_metric_configuration: ~azure.mgmt.databoxedge.v2020_09_01.models.MonitoringMetricConfiguration + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either MonitoringMetricConfiguration or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_09_01.models.MonitoringMetricConfiguration] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.MonitoringMetricConfiguration"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + role_name=role_name, + resource_group_name=resource_group_name, + monitoring_metric_configuration=monitoring_metric_configuration, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('MonitoringMetricConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """deletes a new metric configuration for a role. + + deletes a new metric configuration for a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + role_name=role_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_nodes_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_nodes_operations.py new file mode 100644 index 000000000000..098069c8a553 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_nodes_operations.py @@ -0,0 +1,121 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class NodesOperations(object): + """NodesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NodeList"] + """Gets all the nodes currently configured under this Data Box Edge device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NodeList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.NodeList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NodeList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NodeList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/nodes'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_operations.py new file mode 100644 index 000000000000..f1df400f6fca --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_operations.py @@ -0,0 +1,111 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class Operations(object): + """Operations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.OperationsList"] + """List all the supported operations. + + List all the supported operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationsList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.OperationsList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationsList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('OperationsList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/providers/Microsoft.DataBoxEdge/operations'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_operations_status_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_operations_status_operations.py new file mode 100644 index 000000000000..a99b8e94cea7 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_operations_status_operations.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class OperationsStatusOperations(object): + """OperationsStatusOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Job" + """Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The job name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Job, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.Job + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Job', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/operationsStatus/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_orders_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_orders_operations.py new file mode 100644 index 000000000000..d580b845a6da --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_orders_operations.py @@ -0,0 +1,489 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class OrdersOperations(object): + """OrdersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.OrderList"] + """Lists all the orders related to a Data Box Edge/Data Box Gateway device. + + Lists all the orders related to a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OrderList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.OrderList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OrderList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('OrderList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders'} # type: ignore + + def get( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Order" + """Gets a specific order by name. + + Gets a specific order by name. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Order, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.Order + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Order"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Order', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + resource_group_name, # type: str + order, # type: "_models.Order" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.Order"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Order"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(order, 'Order') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Order', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + resource_group_name, # type: str + order, # type: "_models.Order" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Order"] + """Creates or updates an order. + + Creates or updates an order. + + :param device_name: The order details of a device. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param order: The order to be created or updated. + :type order: ~azure.mgmt.databoxedge.v2020_09_01.models.Order + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Order or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_09_01.models.Order] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Order"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + resource_group_name=resource_group_name, + order=order, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Order', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the order related to the device. + + Deletes the order related to the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + def list_dc_access_code( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.DCAccessCode" + """Gets the DCAccess Code. + + Gets the DCAccess Code. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DCAccessCode, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.DCAccessCode + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DCAccessCode"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.list_dc_access_code.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DCAccessCode', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_dc_access_code.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default/listDCAccessCode'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_roles_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_roles_operations.py new file mode 100644 index 000000000000..d885cd2fbb11 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_roles_operations.py @@ -0,0 +1,438 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class RolesOperations(object): + """RolesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.RoleList"] + """Lists all the roles configured in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either RoleList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.RoleList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RoleList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('RoleList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Role" + """Gets a specific role by name. + + :param device_name: The device name. + :type device_name: str + :param name: The role name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Role, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.Role + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Role"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Role', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + role, # type: "_models.Role" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.Role"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Role"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(role, 'Role') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Role', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + role, # type: "_models.Role" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Role"] + """Create or update a role. + + :param device_name: The device name. + :type device_name: str + :param name: The role name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param role: The role properties. + :type role: ~azure.mgmt.databoxedge.v2020_09_01.models.Role + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Role or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_09_01.models.Role] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Role"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + role=role, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Role', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the role on the device. + + :param device_name: The device name. + :type device_name: str + :param name: The role name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_shares_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_shares_operations.py new file mode 100644 index 000000000000..03b97b7f9625 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_shares_operations.py @@ -0,0 +1,563 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class SharesOperations(object): + """SharesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ShareList"] + """Lists all the shares in a Data Box Edge/Data Box Gateway device. + + Lists all the shares in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ShareList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.ShareList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ShareList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ShareList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Share" + """Gets a share by name. + + Gets a share by name. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Share, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.Share + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Share"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Share', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + share, # type: "_models.Share" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.Share"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Share"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(share, 'Share') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Share', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + share, # type: "_models.Share" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Share"] + """Creates a new share or updates an existing share on the device. + + Creates a new share or updates an existing share on the device. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param share: The share properties. + :type share: ~azure.mgmt.databoxedge.v2020_09_01.models.Share + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Share or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_09_01.models.Share] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Share"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + share=share, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Share', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the share on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + def _refresh_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._refresh_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _refresh_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}/refresh'} # type: ignore + + def begin_refresh( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Refreshes the share metadata with the data from the cloud. + + Refreshes the share metadata with the data from the cloud. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._refresh_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_refresh.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}/refresh'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_storage_account_credentials_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_storage_account_credentials_operations.py new file mode 100644 index 000000000000..cd19b75ebc50 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_storage_account_credentials_operations.py @@ -0,0 +1,440 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class StorageAccountCredentialsOperations(object): + """StorageAccountCredentialsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.StorageAccountCredentialList"] + """Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device. + + Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StorageAccountCredentialList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.StorageAccountCredentialList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredentialList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('StorageAccountCredentialList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.StorageAccountCredential" + """Gets the properties of the specified storage account credential. + + :param device_name: The device name. + :type device_name: str + :param name: The storage account credential name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: StorageAccountCredential, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.StorageAccountCredential + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredential"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('StorageAccountCredential', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + storage_account_credential, # type: "_models.StorageAccountCredential" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.StorageAccountCredential"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.StorageAccountCredential"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(storage_account_credential, 'StorageAccountCredential') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('StorageAccountCredential', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + storage_account_credential, # type: "_models.StorageAccountCredential" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.StorageAccountCredential"] + """Creates or updates the storage account credential. + + :param device_name: The device name. + :type device_name: str + :param name: The storage account credential name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param storage_account_credential: The storage account credential. + :type storage_account_credential: ~azure.mgmt.databoxedge.v2020_09_01.models.StorageAccountCredential + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either StorageAccountCredential or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_09_01.models.StorageAccountCredential] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredential"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + storage_account_credential=storage_account_credential, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('StorageAccountCredential', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the storage account credential. + + :param device_name: The device name. + :type device_name: str + :param name: The storage account credential name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_storage_accounts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_storage_accounts_operations.py new file mode 100644 index 000000000000..4d5ae80068de --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_storage_accounts_operations.py @@ -0,0 +1,444 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class StorageAccountsOperations(object): + """StorageAccountsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.StorageAccountList"] + """Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device. + + Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StorageAccountList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.StorageAccountList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('StorageAccountList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts'} # type: ignore + + def get( + self, + device_name, # type: str + storage_account_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.StorageAccount" + """Gets a StorageAccount by name. + + Gets a StorageAccount by name. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The storage account name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: StorageAccount, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.StorageAccount + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('StorageAccount', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + storage_account_name, # type: str + resource_group_name, # type: str + storage_account, # type: "_models.StorageAccount" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.StorageAccount"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.StorageAccount"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(storage_account, 'StorageAccount') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('StorageAccount', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + storage_account_name, # type: str + resource_group_name, # type: str + storage_account, # type: "_models.StorageAccount" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.StorageAccount"] + """Creates a new StorageAccount or updates an existing StorageAccount on the device. + + Creates a new StorageAccount or updates an existing StorageAccount on the device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The StorageAccount name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param storage_account: The StorageAccount properties. + :type storage_account: ~azure.mgmt.databoxedge.v2020_09_01.models.StorageAccount + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either StorageAccount or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_09_01.models.StorageAccount] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + storage_account_name=storage_account_name, + resource_group_name=resource_group_name, + storage_account=storage_account, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('StorageAccount', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + storage_account_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + storage_account_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the StorageAccount on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The StorageAccount name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + storage_account_name=storage_account_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_triggers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_triggers_operations.py new file mode 100644 index 000000000000..f6b42b941e51 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_triggers_operations.py @@ -0,0 +1,444 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class TriggersOperations(object): + """TriggersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + filter=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.TriggerList"] + """Lists all the triggers configured in the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param filter: Specify $filter='CustomContextTag eq :code:``' to filter on custom context + tag property. + :type filter: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TriggerList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.TriggerList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TriggerList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if filter is not None: + query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('TriggerList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Trigger" + """Get a specific trigger by name. + + :param device_name: The device name. + :type device_name: str + :param name: The trigger name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Trigger, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.Trigger + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Trigger"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Trigger', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + trigger, # type: "_models.Trigger" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.Trigger"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Trigger"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(trigger, 'Trigger') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Trigger', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + trigger, # type: "_models.Trigger" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Trigger"] + """Creates or updates a trigger. + + :param device_name: Creates or updates a trigger. + :type device_name: str + :param name: The trigger name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param trigger: The trigger. + :type trigger: ~azure.mgmt.databoxedge.v2020_09_01.models.Trigger + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Trigger or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_09_01.models.Trigger] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Trigger"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + trigger=trigger, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Trigger', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the trigger on the gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The trigger name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_users_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_users_operations.py new file mode 100644 index 000000000000..aa8c34b50bf4 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/operations/_users_operations.py @@ -0,0 +1,445 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class UsersOperations(object): + """UsersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.UserList"] + """Gets all the users registered on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param expand: Specify $expand=details to populate additional fields related to the resource or + Specify $skipToken=:code:`` to populate the next page in the list. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either UserList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01.models.UserList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UserList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('UserList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.User" + """Gets the properties of the specified user. + + :param device_name: The device name. + :type device_name: str + :param name: The user name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: User, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01.models.User + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.User"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('User', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + user, # type: "_models.User" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.User"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.User"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(user, 'User') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('User', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + user, # type: "_models.User" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.User"] + """Creates a new user or updates an existing user's information on a Data Box Edge/Data Box + Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The user name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param user: The user details. + :type user: ~azure.mgmt.databoxedge.v2020_09_01.models.User + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either User or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_09_01.models.User] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.User"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + user=user, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('User', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the user on a databox edge/gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The user name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/py.typed b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/py.typed new file mode 100644 index 000000000000..e5aff4f83af8 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561. \ No newline at end of file diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/__init__.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/__init__.py new file mode 100644 index 000000000000..e63196b6b98f --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/__init__.py @@ -0,0 +1,16 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._data_box_edge_management_client import DataBoxEdgeManagementClient +__all__ = ['DataBoxEdgeManagementClient'] + +try: + from ._patch import patch_sdk # type: ignore + patch_sdk() +except ImportError: + pass diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/_configuration.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/_configuration.py new file mode 100644 index 000000000000..47c80b2e85dc --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/_configuration.py @@ -0,0 +1,70 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + from azure.core.credentials import TokenCredential + +VERSION = "unknown" + +class DataBoxEdgeManagementClientConfiguration(Configuration): + """Configuration for DataBoxEdgeManagementClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The subscription ID. + :type subscription_id: str + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(DataBoxEdgeManagementClientConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2020-09-01-preview" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'mgmt-databoxedge/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs # type: Any + ): + # type: (...) -> None + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/_data_box_edge_management_client.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/_data_box_edge_management_client.py new file mode 100644 index 000000000000..71d0d3a836f6 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/_data_box_edge_management_client.py @@ -0,0 +1,174 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import TYPE_CHECKING + +from azure.mgmt.core import ARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Optional + + from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse + +from ._configuration import DataBoxEdgeManagementClientConfiguration +from .operations import Operations +from .operations import AvailableSkusOperations +from .operations import DevicesOperations +from .operations import AlertsOperations +from .operations import BandwidthSchedulesOperations +from .operations import JobsOperations +from .operations import NodesOperations +from .operations import OperationsStatusOperations +from .operations import OrdersOperations +from .operations import RolesOperations +from .operations import AddonsOperations +from .operations import MonitoringConfigOperations +from .operations import SharesOperations +from .operations import StorageAccountCredentialsOperations +from .operations import StorageAccountsOperations +from .operations import ContainersOperations +from .operations import TriggersOperations +from .operations import UsersOperations +from . import models + + +class DataBoxEdgeManagementClient(object): + """The DataBoxEdge Client. + + :ivar operations: Operations operations + :vartype operations: azure.mgmt.databoxedge.v2020_09_01_preview.operations.Operations + :ivar available_skus: AvailableSkusOperations operations + :vartype available_skus: azure.mgmt.databoxedge.v2020_09_01_preview.operations.AvailableSkusOperations + :ivar devices: DevicesOperations operations + :vartype devices: azure.mgmt.databoxedge.v2020_09_01_preview.operations.DevicesOperations + :ivar alerts: AlertsOperations operations + :vartype alerts: azure.mgmt.databoxedge.v2020_09_01_preview.operations.AlertsOperations + :ivar bandwidth_schedules: BandwidthSchedulesOperations operations + :vartype bandwidth_schedules: azure.mgmt.databoxedge.v2020_09_01_preview.operations.BandwidthSchedulesOperations + :ivar jobs: JobsOperations operations + :vartype jobs: azure.mgmt.databoxedge.v2020_09_01_preview.operations.JobsOperations + :ivar nodes: NodesOperations operations + :vartype nodes: azure.mgmt.databoxedge.v2020_09_01_preview.operations.NodesOperations + :ivar operations_status: OperationsStatusOperations operations + :vartype operations_status: azure.mgmt.databoxedge.v2020_09_01_preview.operations.OperationsStatusOperations + :ivar orders: OrdersOperations operations + :vartype orders: azure.mgmt.databoxedge.v2020_09_01_preview.operations.OrdersOperations + :ivar roles: RolesOperations operations + :vartype roles: azure.mgmt.databoxedge.v2020_09_01_preview.operations.RolesOperations + :ivar addons: AddonsOperations operations + :vartype addons: azure.mgmt.databoxedge.v2020_09_01_preview.operations.AddonsOperations + :ivar monitoring_config: MonitoringConfigOperations operations + :vartype monitoring_config: azure.mgmt.databoxedge.v2020_09_01_preview.operations.MonitoringConfigOperations + :ivar shares: SharesOperations operations + :vartype shares: azure.mgmt.databoxedge.v2020_09_01_preview.operations.SharesOperations + :ivar storage_account_credentials: StorageAccountCredentialsOperations operations + :vartype storage_account_credentials: azure.mgmt.databoxedge.v2020_09_01_preview.operations.StorageAccountCredentialsOperations + :ivar storage_accounts: StorageAccountsOperations operations + :vartype storage_accounts: azure.mgmt.databoxedge.v2020_09_01_preview.operations.StorageAccountsOperations + :ivar containers: ContainersOperations operations + :vartype containers: azure.mgmt.databoxedge.v2020_09_01_preview.operations.ContainersOperations + :ivar triggers: TriggersOperations operations + :vartype triggers: azure.mgmt.databoxedge.v2020_09_01_preview.operations.TriggersOperations + :ivar users: UsersOperations operations + :vartype users: azure.mgmt.databoxedge.v2020_09_01_preview.operations.UsersOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The subscription ID. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + base_url=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> None + if not base_url: + base_url = 'https://management.azure.com' + self._config = DataBoxEdgeManagementClientConfiguration(credential, subscription_id, **kwargs) + self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize) + self.available_skus = AvailableSkusOperations( + self._client, self._config, self._serialize, self._deserialize) + self.devices = DevicesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.alerts = AlertsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.bandwidth_schedules = BandwidthSchedulesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.jobs = JobsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.nodes = NodesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.operations_status = OperationsStatusOperations( + self._client, self._config, self._serialize, self._deserialize) + self.orders = OrdersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.roles = RolesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.addons = AddonsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.monitoring_config = MonitoringConfigOperations( + self._client, self._config, self._serialize, self._deserialize) + self.shares = SharesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.storage_account_credentials = StorageAccountCredentialsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.storage_accounts = StorageAccountsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.containers = ContainersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.triggers = TriggersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.users = UsersOperations( + self._client, self._config, self._serialize, self._deserialize) + + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + + def close(self): + # type: () -> None + self._client.close() + + def __enter__(self): + # type: () -> DataBoxEdgeManagementClient + self._client.__enter__() + return self + + def __exit__(self, *exc_details): + # type: (Any) -> None + self._client.__exit__(*exc_details) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/_metadata.json b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/_metadata.json new file mode 100644 index 000000000000..8f4872654ff2 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/_metadata.json @@ -0,0 +1,120 @@ +{ + "chosen_version": "2020-09-01-preview", + "total_api_version_list": ["2020-09-01-preview"], + "client": { + "name": "DataBoxEdgeManagementClient", + "filename": "_data_box_edge_management_client", + "description": "The DataBoxEdge Client.", + "base_url": "\u0027https://management.azure.com\u0027", + "custom_base_url": null, + "azure_arm": true, + "has_lro_operations": true, + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"DataBoxEdgeManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"DataBoxEdgeManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" + }, + "global_parameters": { + "sync": { + "credential": { + "signature": "credential, # type: \"TokenCredential\"", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials.TokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id, # type: str", + "description": "The subscription ID.", + "docstring_type": "str", + "required": true + } + }, + "async": { + "credential": { + "signature": "credential: \"AsyncTokenCredential\",", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id: str,", + "description": "The subscription ID.", + "docstring_type": "str", + "required": true + } + }, + "constant": { + }, + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } + }, + "config": { + "credential": true, + "credential_scopes": ["https://management.azure.com/.default"], + "credential_default_policy_type": "BearerTokenCredentialPolicy", + "credential_default_policy_type_has_async_version": true, + "credential_key_header_name": null, + "sync_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\": [\"TokenCredential\"]}}}", + "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": { + "operations": "Operations", + "available_skus": "AvailableSkusOperations", + "devices": "DevicesOperations", + "alerts": "AlertsOperations", + "bandwidth_schedules": "BandwidthSchedulesOperations", + "jobs": "JobsOperations", + "nodes": "NodesOperations", + "operations_status": "OperationsStatusOperations", + "orders": "OrdersOperations", + "roles": "RolesOperations", + "addons": "AddonsOperations", + "monitoring_config": "MonitoringConfigOperations", + "shares": "SharesOperations", + "storage_account_credentials": "StorageAccountCredentialsOperations", + "storage_accounts": "StorageAccountsOperations", + "containers": "ContainersOperations", + "triggers": "TriggersOperations", + "users": "UsersOperations" + } +} \ No newline at end of file diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/__init__.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/__init__.py new file mode 100644 index 000000000000..c33d46ee91d8 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/__init__.py @@ -0,0 +1,10 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._data_box_edge_management_client import DataBoxEdgeManagementClient +__all__ = ['DataBoxEdgeManagementClient'] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/_configuration.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/_configuration.py new file mode 100644 index 000000000000..b545e589e3d1 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/_configuration.py @@ -0,0 +1,66 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +VERSION = "unknown" + +class DataBoxEdgeManagementClientConfiguration(Configuration): + """Configuration for DataBoxEdgeManagementClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The subscription ID. + :type subscription_id: str + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + **kwargs: Any + ) -> None: + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(DataBoxEdgeManagementClientConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2020-09-01-preview" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'mgmt-databoxedge/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs: Any + ) -> None: + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/_data_box_edge_management_client.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/_data_box_edge_management_client.py new file mode 100644 index 000000000000..7b23ab727068 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/_data_box_edge_management_client.py @@ -0,0 +1,167 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, Optional, TYPE_CHECKING + +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core import AsyncARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +from ._configuration import DataBoxEdgeManagementClientConfiguration +from .operations import Operations +from .operations import AvailableSkusOperations +from .operations import DevicesOperations +from .operations import AlertsOperations +from .operations import BandwidthSchedulesOperations +from .operations import JobsOperations +from .operations import NodesOperations +from .operations import OperationsStatusOperations +from .operations import OrdersOperations +from .operations import RolesOperations +from .operations import AddonsOperations +from .operations import MonitoringConfigOperations +from .operations import SharesOperations +from .operations import StorageAccountCredentialsOperations +from .operations import StorageAccountsOperations +from .operations import ContainersOperations +from .operations import TriggersOperations +from .operations import UsersOperations +from .. import models + + +class DataBoxEdgeManagementClient(object): + """The DataBoxEdge Client. + + :ivar operations: Operations operations + :vartype operations: azure.mgmt.databoxedge.v2020_09_01_preview.aio.operations.Operations + :ivar available_skus: AvailableSkusOperations operations + :vartype available_skus: azure.mgmt.databoxedge.v2020_09_01_preview.aio.operations.AvailableSkusOperations + :ivar devices: DevicesOperations operations + :vartype devices: azure.mgmt.databoxedge.v2020_09_01_preview.aio.operations.DevicesOperations + :ivar alerts: AlertsOperations operations + :vartype alerts: azure.mgmt.databoxedge.v2020_09_01_preview.aio.operations.AlertsOperations + :ivar bandwidth_schedules: BandwidthSchedulesOperations operations + :vartype bandwidth_schedules: azure.mgmt.databoxedge.v2020_09_01_preview.aio.operations.BandwidthSchedulesOperations + :ivar jobs: JobsOperations operations + :vartype jobs: azure.mgmt.databoxedge.v2020_09_01_preview.aio.operations.JobsOperations + :ivar nodes: NodesOperations operations + :vartype nodes: azure.mgmt.databoxedge.v2020_09_01_preview.aio.operations.NodesOperations + :ivar operations_status: OperationsStatusOperations operations + :vartype operations_status: azure.mgmt.databoxedge.v2020_09_01_preview.aio.operations.OperationsStatusOperations + :ivar orders: OrdersOperations operations + :vartype orders: azure.mgmt.databoxedge.v2020_09_01_preview.aio.operations.OrdersOperations + :ivar roles: RolesOperations operations + :vartype roles: azure.mgmt.databoxedge.v2020_09_01_preview.aio.operations.RolesOperations + :ivar addons: AddonsOperations operations + :vartype addons: azure.mgmt.databoxedge.v2020_09_01_preview.aio.operations.AddonsOperations + :ivar monitoring_config: MonitoringConfigOperations operations + :vartype monitoring_config: azure.mgmt.databoxedge.v2020_09_01_preview.aio.operations.MonitoringConfigOperations + :ivar shares: SharesOperations operations + :vartype shares: azure.mgmt.databoxedge.v2020_09_01_preview.aio.operations.SharesOperations + :ivar storage_account_credentials: StorageAccountCredentialsOperations operations + :vartype storage_account_credentials: azure.mgmt.databoxedge.v2020_09_01_preview.aio.operations.StorageAccountCredentialsOperations + :ivar storage_accounts: StorageAccountsOperations operations + :vartype storage_accounts: azure.mgmt.databoxedge.v2020_09_01_preview.aio.operations.StorageAccountsOperations + :ivar containers: ContainersOperations operations + :vartype containers: azure.mgmt.databoxedge.v2020_09_01_preview.aio.operations.ContainersOperations + :ivar triggers: TriggersOperations operations + :vartype triggers: azure.mgmt.databoxedge.v2020_09_01_preview.aio.operations.TriggersOperations + :ivar users: UsersOperations operations + :vartype users: azure.mgmt.databoxedge.v2020_09_01_preview.aio.operations.UsersOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The subscription ID. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + base_url: Optional[str] = None, + **kwargs: Any + ) -> None: + if not base_url: + base_url = 'https://management.azure.com' + self._config = DataBoxEdgeManagementClientConfiguration(credential, subscription_id, **kwargs) + self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize) + self.available_skus = AvailableSkusOperations( + self._client, self._config, self._serialize, self._deserialize) + self.devices = DevicesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.alerts = AlertsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.bandwidth_schedules = BandwidthSchedulesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.jobs = JobsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.nodes = NodesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.operations_status = OperationsStatusOperations( + self._client, self._config, self._serialize, self._deserialize) + self.orders = OrdersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.roles = RolesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.addons = AddonsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.monitoring_config = MonitoringConfigOperations( + self._client, self._config, self._serialize, self._deserialize) + self.shares = SharesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.storage_account_credentials = StorageAccountCredentialsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.storage_accounts = StorageAccountsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.containers = ContainersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.triggers = TriggersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.users = UsersOperations( + self._client, self._config, self._serialize, self._deserialize) + + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "DataBoxEdgeManagementClient": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/__init__.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/__init__.py new file mode 100644 index 000000000000..d70057be6458 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/__init__.py @@ -0,0 +1,47 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._operations import Operations +from ._available_skus_operations import AvailableSkusOperations +from ._devices_operations import DevicesOperations +from ._alerts_operations import AlertsOperations +from ._bandwidth_schedules_operations import BandwidthSchedulesOperations +from ._jobs_operations import JobsOperations +from ._nodes_operations import NodesOperations +from ._operations_status_operations import OperationsStatusOperations +from ._orders_operations import OrdersOperations +from ._roles_operations import RolesOperations +from ._addons_operations import AddonsOperations +from ._monitoring_config_operations import MonitoringConfigOperations +from ._shares_operations import SharesOperations +from ._storage_account_credentials_operations import StorageAccountCredentialsOperations +from ._storage_accounts_operations import StorageAccountsOperations +from ._containers_operations import ContainersOperations +from ._triggers_operations import TriggersOperations +from ._users_operations import UsersOperations + +__all__ = [ + 'Operations', + 'AvailableSkusOperations', + 'DevicesOperations', + 'AlertsOperations', + 'BandwidthSchedulesOperations', + 'JobsOperations', + 'NodesOperations', + 'OperationsStatusOperations', + 'OrdersOperations', + 'RolesOperations', + 'AddonsOperations', + 'MonitoringConfigOperations', + 'SharesOperations', + 'StorageAccountCredentialsOperations', + 'StorageAccountsOperations', + 'ContainersOperations', + 'TriggersOperations', + 'UsersOperations', +] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_addons_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_addons_operations.py new file mode 100644 index 000000000000..86490d757f0c --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_addons_operations.py @@ -0,0 +1,450 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class AddonsOperations: + """AddonsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_role( + self, + device_name: str, + role_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.AddonList"]: + """Lists all the addons configured in the role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AddonList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.AddonList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AddonList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_role.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AddonList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_role.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons'} # type: ignore + + async def get( + self, + device_name: str, + role_name: str, + addon_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Addon": + """Gets a specific addon by name. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param addon_name: The addon name. + :type addon_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Addon, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Addon + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Addon"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Addon', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + role_name: str, + addon_name: str, + resource_group_name: str, + addon: "_models.Addon", + **kwargs + ) -> Optional["_models.Addon"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Addon"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(addon, 'Addon') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Addon', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + role_name: str, + addon_name: str, + resource_group_name: str, + addon: "_models.Addon", + **kwargs + ) -> AsyncLROPoller["_models.Addon"]: + """Create or update a addon. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param addon_name: The addon name. + :type addon_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param addon: The addon properties. + :type addon: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Addon + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Addon or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Addon] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Addon"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + role_name=role_name, + addon_name=addon_name, + resource_group_name=resource_group_name, + addon=addon, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Addon', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + role_name: str, + addon_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + role_name: str, + addon_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the addon on the device. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param addon_name: The addon name. + :type addon_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + role_name=role_name, + addon_name=addon_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_alerts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_alerts_operations.py new file mode 100644 index 000000000000..1df491e86495 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_alerts_operations.py @@ -0,0 +1,180 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class AlertsOperations: + """AlertsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.AlertList"]: + """Gets all the alerts for a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AlertList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.AlertList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AlertList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AlertList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Alert": + """Gets an alert by name. + + Gets an alert by name. + + :param device_name: The device name. + :type device_name: str + :param name: The alert name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Alert, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Alert + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Alert"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Alert', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_available_skus_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_available_skus_operations.py new file mode 100644 index 000000000000..4e0b2b5bcddf --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_available_skus_operations.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class AvailableSkusOperations: + """AvailableSkusOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.DataBoxEdgeSkuList"]: + """List all the available Skus and information related to them. + + List all the available Skus and information related to them. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataBoxEdgeSkuList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeSkuList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeSkuList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeSkuList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataBoxEdge/availableSkus'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_bandwidth_schedules_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_bandwidth_schedules_operations.py new file mode 100644 index 000000000000..8885812017bd --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_bandwidth_schedules_operations.py @@ -0,0 +1,428 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class BandwidthSchedulesOperations: + """BandwidthSchedulesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.BandwidthSchedulesList"]: + """Gets all the bandwidth schedules for a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either BandwidthSchedulesList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.BandwidthSchedulesList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedulesList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('BandwidthSchedulesList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.BandwidthSchedule": + """Gets the properties of the specified bandwidth schedule. + + :param device_name: The device name. + :type device_name: str + :param name: The bandwidth schedule name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: BandwidthSchedule, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.BandwidthSchedule + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('BandwidthSchedule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + parameters: "_models.BandwidthSchedule", + **kwargs + ) -> Optional["_models.BandwidthSchedule"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.BandwidthSchedule"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'BandwidthSchedule') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('BandwidthSchedule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + name: str, + resource_group_name: str, + parameters: "_models.BandwidthSchedule", + **kwargs + ) -> AsyncLROPoller["_models.BandwidthSchedule"]: + """Creates or updates a bandwidth schedule. + + :param device_name: The device name. + :type device_name: str + :param name: The bandwidth schedule name which needs to be added/updated. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The bandwidth schedule to be added or updated. + :type parameters: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.BandwidthSchedule + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either BandwidthSchedule or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_09_01_preview.models.BandwidthSchedule] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedule"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('BandwidthSchedule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified bandwidth schedule. + + :param device_name: The device name. + :type device_name: str + :param name: The bandwidth schedule name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_containers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_containers_operations.py new file mode 100644 index 000000000000..0d8b3454251d --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_containers_operations.py @@ -0,0 +1,580 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ContainersOperations: + """ContainersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_storage_account( + self, + device_name: str, + storage_account_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.ContainerList"]: + """Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device. + + Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The storage Account name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ContainerList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.ContainerList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ContainerList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_storage_account.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ContainerList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_storage_account.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers'} # type: ignore + + async def get( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Container": + """Gets a container by name. + + Gets a container by name. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container Name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Container, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Container + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Container"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Container', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + container: "_models.Container", + **kwargs + ) -> Optional["_models.Container"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Container"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(container, 'Container') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Container', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + container: "_models.Container", + **kwargs + ) -> AsyncLROPoller["_models.Container"]: + """Creates a new container or updates an existing container on the device. + + Creates a new container or updates an existing container on the device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param container: The container properties. + :type container: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Container + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Container or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Container] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Container"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + storage_account_name=storage_account_name, + container_name=container_name, + resource_group_name=resource_group_name, + container=container, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Container', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the container on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + storage_account_name=storage_account_name, + container_name=container_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + async def _refresh_initial( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._refresh_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _refresh_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}/refresh'} # type: ignore + + async def begin_refresh( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Refreshes the container metadata with the data from the cloud. + + Refreshes the container metadata with the data from the cloud. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._refresh_initial( + device_name=device_name, + storage_account_name=storage_account_name, + container_name=container_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_refresh.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}/refresh'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_devices_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_devices_operations.py new file mode 100644 index 000000000000..52cdbc54ff00 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_devices_operations.py @@ -0,0 +1,1363 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class DevicesOperations: + """DevicesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_subscription( + self, + expand: Optional[str] = None, + **kwargs + ) -> AsyncIterable["_models.DataBoxEdgeDeviceList"]: + """Gets all the Data Box Edge/Data Box Gateway devices in a subscription. + + :param expand: Specify $expand=details to populate additional fields related to the resource or + Specify $skipToken=:code:`` to populate the next page in the list. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDeviceList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeDeviceList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + expand: Optional[str] = None, + **kwargs + ) -> AsyncIterable["_models.DataBoxEdgeDeviceList"]: + """Gets all the Data Box Edge/Data Box Gateway devices in a resource group. + + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param expand: Specify $expand=details to populate additional fields related to the resource or + Specify $skipToken=:code:`` to populate the next page in the list. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDeviceList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeDeviceList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices'} # type: ignore + + async def get( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.DataBoxEdgeDevice": + """Gets the properties of the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDevice, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDevice + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + resource_group_name: str, + data_box_edge_device: "_models.DataBoxEdgeDevice", + **kwargs + ) -> "_models.DataBoxEdgeDevice": + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(data_box_edge_device, 'DataBoxEdgeDevice') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + resource_group_name: str, + data_box_edge_device: "_models.DataBoxEdgeDevice", + **kwargs + ) -> AsyncLROPoller["_models.DataBoxEdgeDevice"]: + """Creates or updates a Data Box Edge/Data Box Gateway resource. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param data_box_edge_device: The resource object. + :type data_box_edge_device: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDevice + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either DataBoxEdgeDevice or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDevice] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + resource_group_name=resource_group_name, + data_box_edge_device=data_box_edge_device, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + async def update( + self, + device_name: str, + resource_group_name: str, + parameters: "_models.DataBoxEdgeDevicePatch", + **kwargs + ) -> "_models.DataBoxEdgeDevice": + """Modifies a Data Box Edge/Data Box Gateway resource. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The resource parameters. + :type parameters: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDevicePatch + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDevice, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDevice + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DataBoxEdgeDevicePatch') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + async def _download_updates_initial( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._download_updates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _download_updates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/downloadUpdates'} # type: ignore + + async def begin_download_updates( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Downloads the updates on a Data Box Edge/Data Box Gateway device. + + Downloads the updates on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._download_updates_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_download_updates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/downloadUpdates'} # type: ignore + + async def generate_certificate( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.GenerateCertResponse": + """Generates certificate for activation key. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: GenerateCertResponse, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.GenerateCertResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.GenerateCertResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.generate_certificate.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('GenerateCertResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + generate_certificate.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/generateCertificate'} # type: ignore + + async def get_extended_information( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.DataBoxEdgeDeviceExtendedInfo": + """Gets additional information for the specified Azure Stack Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDeviceExtendedInfo, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDeviceExtendedInfo + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceExtendedInfo"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get_extended_information.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDeviceExtendedInfo', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_extended_information.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/getExtendedInformation'} # type: ignore + + async def _install_updates_initial( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._install_updates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _install_updates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/installUpdates'} # type: ignore + + async def begin_install_updates( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Installs the updates on the Data Box Edge/Data Box Gateway device. + + Installs the updates on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._install_updates_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_install_updates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/installUpdates'} # type: ignore + + async def get_network_settings( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.NetworkSettings": + """Gets the network settings of the specified Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkSettings, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.NetworkSettings + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSettings"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get_network_settings.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkSettings', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_network_settings.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/networkSettings/default'} # type: ignore + + async def _scan_for_updates_initial( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._scan_for_updates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _scan_for_updates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/scanForUpdates'} # type: ignore + + async def begin_scan_for_updates( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Scans for updates on a Data Box Edge/Data Box Gateway device. + + Scans for updates on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._scan_for_updates_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_scan_for_updates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/scanForUpdates'} # type: ignore + + async def _create_or_update_security_settings_initial( + self, + device_name: str, + resource_group_name: str, + security_settings: "_models.SecuritySettings", + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_security_settings_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(security_settings, 'SecuritySettings') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _create_or_update_security_settings_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/securitySettings/default/update'} # type: ignore + + async def begin_create_or_update_security_settings( + self, + device_name: str, + resource_group_name: str, + security_settings: "_models.SecuritySettings", + **kwargs + ) -> AsyncLROPoller[None]: + """Updates the security settings on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param security_settings: The security settings. + :type security_settings: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SecuritySettings + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_security_settings_initial( + device_name=device_name, + resource_group_name=resource_group_name, + security_settings=security_settings, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update_security_settings.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/securitySettings/default/update'} # type: ignore + + async def update_extended_information( + self, + device_name: str, + resource_group_name: str, + parameters: "_models.DataBoxEdgeDeviceExtendedInfoPatch", + **kwargs + ) -> "_models.DataBoxEdgeDeviceExtendedInfo": + """Gets additional information for the specified Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The patch object. + :type parameters: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDeviceExtendedInfoPatch + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDeviceExtendedInfo, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDeviceExtendedInfo + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceExtendedInfo"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_extended_information.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DataBoxEdgeDeviceExtendedInfoPatch') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDeviceExtendedInfo', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_extended_information.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/updateExtendedInformation'} # type: ignore + + async def get_update_summary( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.UpdateSummary": + """Gets information about the availability of updates based on the last scan of the device. It also gets information about any ongoing download or install jobs on the device. + + Gets information about the availability of updates based on the last scan of the device. It + also gets information about any ongoing download or install jobs on the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: UpdateSummary, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.UpdateSummary + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UpdateSummary"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get_update_summary.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('UpdateSummary', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_update_summary.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/updateSummary/default'} # type: ignore + + async def upload_certificate( + self, + device_name: str, + resource_group_name: str, + parameters: "_models.UploadCertificateRequest", + **kwargs + ) -> "_models.UploadCertificateResponse": + """Uploads registration certificate for the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The upload certificate request. + :type parameters: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.UploadCertificateRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :return: UploadCertificateResponse, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.UploadCertificateResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UploadCertificateResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.upload_certificate.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'UploadCertificateRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('UploadCertificateResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + upload_certificate.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/uploadCertificate'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_jobs_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_jobs_operations.py new file mode 100644 index 000000000000..8d1ef9d46a12 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_jobs_operations.py @@ -0,0 +1,105 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class JobsOperations: + """JobsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Job": + """Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The job name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Job, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Job + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Job', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/jobs/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_monitoring_config_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_monitoring_config_operations.py new file mode 100644 index 000000000000..01e65834f526 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_monitoring_config_operations.py @@ -0,0 +1,440 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class MonitoringConfigOperations: + """MonitoringConfigOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + device_name: str, + role_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.MonitoringMetricConfigurationList"]: + """Lists metric configurations in a role. + + Lists metric configurations in a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either MonitoringMetricConfigurationList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MonitoringMetricConfigurationList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.MonitoringMetricConfigurationList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('MonitoringMetricConfigurationList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig'} # type: ignore + + async def get( + self, + device_name: str, + role_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.MonitoringMetricConfiguration": + """Gets a metric configuration of a role. + + Gets a metric configuration of a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: MonitoringMetricConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.MonitoringMetricConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.MonitoringMetricConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('MonitoringMetricConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + role_name: str, + resource_group_name: str, + monitoring_metric_configuration: "_models.MonitoringMetricConfiguration", + **kwargs + ) -> Optional["_models.MonitoringMetricConfiguration"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.MonitoringMetricConfiguration"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(monitoring_metric_configuration, 'MonitoringMetricConfiguration') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('MonitoringMetricConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + role_name: str, + resource_group_name: str, + monitoring_metric_configuration: "_models.MonitoringMetricConfiguration", + **kwargs + ) -> AsyncLROPoller["_models.MonitoringMetricConfiguration"]: + """Creates a new metric configuration or updates an existing one for a role. + + Creates a new metric configuration or updates an existing one for a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param monitoring_metric_configuration: The metric configuration. + :type monitoring_metric_configuration: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.MonitoringMetricConfiguration + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either MonitoringMetricConfiguration or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MonitoringMetricConfiguration] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.MonitoringMetricConfiguration"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + role_name=role_name, + resource_group_name=resource_group_name, + monitoring_metric_configuration=monitoring_metric_configuration, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('MonitoringMetricConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + role_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + async def begin_delete( + self, + device_name: str, + role_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """deletes a new metric configuration for a role. + + deletes a new metric configuration for a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + role_name=role_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_nodes_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_nodes_operations.py new file mode 100644 index 000000000000..16b1502c3c01 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_nodes_operations.py @@ -0,0 +1,116 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class NodesOperations: + """NodesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.NodeList"]: + """Gets all the nodes currently configured under this Data Box Edge device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NodeList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.NodeList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NodeList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NodeList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/nodes'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_operations.py new file mode 100644 index 000000000000..e95f2b13a318 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_operations.py @@ -0,0 +1,106 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class Operations: + """Operations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.OperationsList"]: + """List all the supported operations. + + List all the supported operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationsList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.OperationsList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationsList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('OperationsList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/providers/Microsoft.DataBoxEdge/operations'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_operations_status_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_operations_status_operations.py new file mode 100644 index 000000000000..950f863461ed --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_operations_status_operations.py @@ -0,0 +1,105 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class OperationsStatusOperations: + """OperationsStatusOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Job": + """Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The job name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Job, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Job + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Job', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/operationsStatus/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_orders_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_orders_operations.py new file mode 100644 index 000000000000..1e665d55ec85 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_orders_operations.py @@ -0,0 +1,478 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class OrdersOperations: + """OrdersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.OrderList"]: + """Lists all the orders related to a Data Box Edge/Data Box Gateway device. + + Lists all the orders related to a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OrderList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.OrderList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OrderList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('OrderList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders'} # type: ignore + + async def get( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Order": + """Gets a specific order by name. + + Gets a specific order by name. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Order, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Order + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Order"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Order', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + resource_group_name: str, + order: "_models.Order", + **kwargs + ) -> Optional["_models.Order"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Order"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(order, 'Order') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Order', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + resource_group_name: str, + order: "_models.Order", + **kwargs + ) -> AsyncLROPoller["_models.Order"]: + """Creates or updates an order. + + Creates or updates an order. + + :param device_name: The order details of a device. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param order: The order to be created or updated. + :type order: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Order + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Order or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Order] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Order"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + resource_group_name=resource_group_name, + order=order, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Order', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + async def begin_delete( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the order related to the device. + + Deletes the order related to the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + async def list_dc_access_code( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.DCAccessCode": + """Gets the DCAccess Code. + + Gets the DCAccess Code. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DCAccessCode, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DCAccessCode + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DCAccessCode"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.list_dc_access_code.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DCAccessCode', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_dc_access_code.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default/listDCAccessCode'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_roles_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_roles_operations.py new file mode 100644 index 000000000000..6b88bc8be448 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_roles_operations.py @@ -0,0 +1,428 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class RolesOperations: + """RolesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.RoleList"]: + """Lists all the roles configured in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either RoleList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RoleList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('RoleList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Role": + """Gets a specific role by name. + + :param device_name: The device name. + :type device_name: str + :param name: The role name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Role, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Role + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Role"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Role', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + role: "_models.Role", + **kwargs + ) -> Optional["_models.Role"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Role"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(role, 'Role') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Role', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + name: str, + resource_group_name: str, + role: "_models.Role", + **kwargs + ) -> AsyncLROPoller["_models.Role"]: + """Create or update a role. + + :param device_name: The device name. + :type device_name: str + :param name: The role name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param role: The role properties. + :type role: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Role + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Role or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Role] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Role"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + role=role, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Role', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the role on the device. + + :param device_name: The device name. + :type device_name: str + :param name: The role name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_shares_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_shares_operations.py new file mode 100644 index 000000000000..d70a74348b59 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_shares_operations.py @@ -0,0 +1,551 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class SharesOperations: + """SharesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.ShareList"]: + """Lists all the shares in a Data Box Edge/Data Box Gateway device. + + Lists all the shares in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ShareList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.ShareList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ShareList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ShareList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Share": + """Gets a share by name. + + Gets a share by name. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Share, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Share + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Share"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Share', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + share: "_models.Share", + **kwargs + ) -> Optional["_models.Share"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Share"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(share, 'Share') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Share', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + name: str, + resource_group_name: str, + share: "_models.Share", + **kwargs + ) -> AsyncLROPoller["_models.Share"]: + """Creates a new share or updates an existing share on the device. + + Creates a new share or updates an existing share on the device. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param share: The share properties. + :type share: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Share + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Share or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Share] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Share"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + share=share, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Share', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the share on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + async def _refresh_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._refresh_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _refresh_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}/refresh'} # type: ignore + + async def begin_refresh( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Refreshes the share metadata with the data from the cloud. + + Refreshes the share metadata with the data from the cloud. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._refresh_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_refresh.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}/refresh'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_storage_account_credentials_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_storage_account_credentials_operations.py new file mode 100644 index 000000000000..40c4cd4f3593 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_storage_account_credentials_operations.py @@ -0,0 +1,430 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class StorageAccountCredentialsOperations: + """StorageAccountCredentialsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.StorageAccountCredentialList"]: + """Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device. + + Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StorageAccountCredentialList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.StorageAccountCredentialList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredentialList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('StorageAccountCredentialList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.StorageAccountCredential": + """Gets the properties of the specified storage account credential. + + :param device_name: The device name. + :type device_name: str + :param name: The storage account credential name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: StorageAccountCredential, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.StorageAccountCredential + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredential"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('StorageAccountCredential', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + storage_account_credential: "_models.StorageAccountCredential", + **kwargs + ) -> Optional["_models.StorageAccountCredential"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.StorageAccountCredential"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(storage_account_credential, 'StorageAccountCredential') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('StorageAccountCredential', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + name: str, + resource_group_name: str, + storage_account_credential: "_models.StorageAccountCredential", + **kwargs + ) -> AsyncLROPoller["_models.StorageAccountCredential"]: + """Creates or updates the storage account credential. + + :param device_name: The device name. + :type device_name: str + :param name: The storage account credential name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param storage_account_credential: The storage account credential. + :type storage_account_credential: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.StorageAccountCredential + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either StorageAccountCredential or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_09_01_preview.models.StorageAccountCredential] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredential"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + storage_account_credential=storage_account_credential, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('StorageAccountCredential', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the storage account credential. + + :param device_name: The device name. + :type device_name: str + :param name: The storage account credential name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_storage_accounts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_storage_accounts_operations.py new file mode 100644 index 000000000000..188f3555a9cd --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_storage_accounts_operations.py @@ -0,0 +1,434 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class StorageAccountsOperations: + """StorageAccountsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.StorageAccountList"]: + """Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device. + + Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StorageAccountList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.StorageAccountList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('StorageAccountList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts'} # type: ignore + + async def get( + self, + device_name: str, + storage_account_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.StorageAccount": + """Gets a StorageAccount by name. + + Gets a StorageAccount by name. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The storage account name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: StorageAccount, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.StorageAccount + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('StorageAccount', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + storage_account_name: str, + resource_group_name: str, + storage_account: "_models.StorageAccount", + **kwargs + ) -> Optional["_models.StorageAccount"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.StorageAccount"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(storage_account, 'StorageAccount') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('StorageAccount', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + storage_account_name: str, + resource_group_name: str, + storage_account: "_models.StorageAccount", + **kwargs + ) -> AsyncLROPoller["_models.StorageAccount"]: + """Creates a new StorageAccount or updates an existing StorageAccount on the device. + + Creates a new StorageAccount or updates an existing StorageAccount on the device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The StorageAccount name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param storage_account: The StorageAccount properties. + :type storage_account: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.StorageAccount + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_09_01_preview.models.StorageAccount] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + storage_account_name=storage_account_name, + resource_group_name=resource_group_name, + storage_account=storage_account, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('StorageAccount', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + storage_account_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + storage_account_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the StorageAccount on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The StorageAccount name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + storage_account_name=storage_account_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_triggers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_triggers_operations.py new file mode 100644 index 000000000000..ed62fda82f71 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_triggers_operations.py @@ -0,0 +1,434 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class TriggersOperations: + """TriggersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + filter: Optional[str] = None, + **kwargs + ) -> AsyncIterable["_models.TriggerList"]: + """Lists all the triggers configured in the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param filter: Specify $filter='CustomContextTag eq :code:``' to filter on custom context + tag property. + :type filter: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TriggerList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.TriggerList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TriggerList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if filter is not None: + query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('TriggerList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Trigger": + """Get a specific trigger by name. + + :param device_name: The device name. + :type device_name: str + :param name: The trigger name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Trigger, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Trigger + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Trigger"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Trigger', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + trigger: "_models.Trigger", + **kwargs + ) -> Optional["_models.Trigger"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Trigger"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(trigger, 'Trigger') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Trigger', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + name: str, + resource_group_name: str, + trigger: "_models.Trigger", + **kwargs + ) -> AsyncLROPoller["_models.Trigger"]: + """Creates or updates a trigger. + + :param device_name: Creates or updates a trigger. + :type device_name: str + :param name: The trigger name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param trigger: The trigger. + :type trigger: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Trigger + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Trigger or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Trigger] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Trigger"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + trigger=trigger, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Trigger', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the trigger on the gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The trigger name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_users_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_users_operations.py new file mode 100644 index 000000000000..f3eee3cf5521 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/aio/operations/_users_operations.py @@ -0,0 +1,435 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class UsersOperations: + """UsersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + expand: Optional[str] = None, + **kwargs + ) -> AsyncIterable["_models.UserList"]: + """Gets all the users registered on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param expand: Specify $expand=details to populate additional fields related to the resource or + Specify $skipToken=:code:`` to populate the next page in the list. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either UserList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.UserList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UserList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('UserList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.User": + """Gets the properties of the specified user. + + :param device_name: The device name. + :type device_name: str + :param name: The user name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: User, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.User + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.User"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('User', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + user: "_models.User", + **kwargs + ) -> Optional["_models.User"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.User"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(user, 'User') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('User', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + name: str, + resource_group_name: str, + user: "_models.User", + **kwargs + ) -> AsyncLROPoller["_models.User"]: + """Creates a new user or updates an existing user's information on a Data Box Edge/Data Box + Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The user name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param user: The user details. + :type user: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.User + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either User or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2020_09_01_preview.models.User] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.User"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + user=user, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('User', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the user on a databox edge/gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The user name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/models/__init__.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/models/__init__.py new file mode 100644 index 000000000000..8b331ada40a8 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/models/__init__.py @@ -0,0 +1,476 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +try: + from ._models_py3 import ARMBaseModel + from ._models_py3 import Addon + from ._models_py3 import AddonList + from ._models_py3 import Address + from ._models_py3 import Alert + from ._models_py3 import AlertErrorDetails + from ._models_py3 import AlertList + from ._models_py3 import ArcAddon + from ._models_py3 import AsymmetricEncryptedSecret + from ._models_py3 import Authentication + from ._models_py3 import AzureContainerInfo + from ._models_py3 import BandwidthSchedule + from ._models_py3 import BandwidthSchedulesList + from ._models_py3 import ClientAccessRight + from ._models_py3 import CloudEdgeManagementRole + from ._models_py3 import CloudErrorBody + from ._models_py3 import CniConfig + from ._models_py3 import ComputeResource + from ._models_py3 import ContactDetails + from ._models_py3 import Container + from ._models_py3 import ContainerList + from ._models_py3 import DCAccessCode + from ._models_py3 import DataBoxEdgeDevice + from ._models_py3 import DataBoxEdgeDeviceExtendedInfo + from ._models_py3 import DataBoxEdgeDeviceExtendedInfoPatch + from ._models_py3 import DataBoxEdgeDeviceList + from ._models_py3 import DataBoxEdgeDevicePatch + from ._models_py3 import DataBoxEdgeMoveRequest + from ._models_py3 import DataBoxEdgeSku + from ._models_py3 import DataBoxEdgeSkuList + from ._models_py3 import EdgeProfile + from ._models_py3 import EdgeProfilePatch + from ._models_py3 import EdgeProfileSubscription + from ._models_py3 import EdgeProfileSubscriptionPatch + from ._models_py3 import EtcdInfo + from ._models_py3 import FileEventTrigger + from ._models_py3 import FileSourceInfo + from ._models_py3 import GenerateCertResponse + from ._models_py3 import ImageRepositoryCredential + from ._models_py3 import IoTAddon + from ._models_py3 import IoTDeviceInfo + from ._models_py3 import IoTEdgeAgentInfo + from ._models_py3 import IoTRole + from ._models_py3 import Ipv4Config + from ._models_py3 import Ipv6Config + from ._models_py3 import Job + from ._models_py3 import JobErrorDetails + from ._models_py3 import JobErrorItem + from ._models_py3 import KubernetesClusterInfo + from ._models_py3 import KubernetesIPConfiguration + from ._models_py3 import KubernetesRole + from ._models_py3 import KubernetesRoleCompute + from ._models_py3 import KubernetesRoleNetwork + from ._models_py3 import KubernetesRoleResources + from ._models_py3 import KubernetesRoleStorage + from ._models_py3 import KubernetesRoleStorageClassInfo + from ._models_py3 import LoadBalancerConfig + from ._models_py3 import MECRole + from ._models_py3 import MetricConfiguration + from ._models_py3 import MetricCounter + from ._models_py3 import MetricCounterSet + from ._models_py3 import MetricDimension + from ._models_py3 import MetricDimensionV1 + from ._models_py3 import MetricSpecificationV1 + from ._models_py3 import MonitoringMetricConfiguration + from ._models_py3 import MonitoringMetricConfigurationList + from ._models_py3 import MountPointMap + from ._models_py3 import NetworkAdapter + from ._models_py3 import NetworkAdapterPosition + from ._models_py3 import NetworkSettings + from ._models_py3 import Node + from ._models_py3 import NodeInfo + from ._models_py3 import NodeList + from ._models_py3 import Operation + from ._models_py3 import OperationDisplay + from ._models_py3 import OperationsList + from ._models_py3 import Order + from ._models_py3 import OrderList + from ._models_py3 import OrderStatus + from ._models_py3 import PeriodicTimerEventTrigger + from ._models_py3 import PeriodicTimerSourceInfo + from ._models_py3 import RefreshDetails + from ._models_py3 import ResourceIdentity + from ._models_py3 import ResourceMoveDetails + from ._models_py3 import ResourceTypeSku + from ._models_py3 import Role + from ._models_py3 import RoleList + from ._models_py3 import RoleSinkInfo + from ._models_py3 import SecuritySettings + from ._models_py3 import ServiceSpecification + from ._models_py3 import Share + from ._models_py3 import ShareAccessRight + from ._models_py3 import ShareList + from ._models_py3 import Sku + from ._models_py3 import SkuCost + from ._models_py3 import SkuInformation + from ._models_py3 import SkuInformationList + from ._models_py3 import SkuLocationInfo + from ._models_py3 import StorageAccount + from ._models_py3 import StorageAccountCredential + from ._models_py3 import StorageAccountCredentialList + from ._models_py3 import StorageAccountList + from ._models_py3 import SubscriptionRegisteredFeatures + from ._models_py3 import SymmetricKey + from ._models_py3 import SystemData + from ._models_py3 import TrackingInfo + from ._models_py3 import Trigger + from ._models_py3 import TriggerList + from ._models_py3 import UpdateDownloadProgress + from ._models_py3 import UpdateInstallProgress + from ._models_py3 import UpdateSummary + from ._models_py3 import UploadCertificateRequest + from ._models_py3 import UploadCertificateResponse + from ._models_py3 import User + from ._models_py3 import UserAccessRight + from ._models_py3 import UserList +except (SyntaxError, ImportError): + from ._models import ARMBaseModel # type: ignore + from ._models import Addon # type: ignore + from ._models import AddonList # type: ignore + from ._models import Address # type: ignore + from ._models import Alert # type: ignore + from ._models import AlertErrorDetails # type: ignore + from ._models import AlertList # type: ignore + from ._models import ArcAddon # type: ignore + from ._models import AsymmetricEncryptedSecret # type: ignore + from ._models import Authentication # type: ignore + from ._models import AzureContainerInfo # type: ignore + from ._models import BandwidthSchedule # type: ignore + from ._models import BandwidthSchedulesList # type: ignore + from ._models import ClientAccessRight # type: ignore + from ._models import CloudEdgeManagementRole # type: ignore + from ._models import CloudErrorBody # type: ignore + from ._models import CniConfig # type: ignore + from ._models import ComputeResource # type: ignore + from ._models import ContactDetails # type: ignore + from ._models import Container # type: ignore + from ._models import ContainerList # type: ignore + from ._models import DCAccessCode # type: ignore + from ._models import DataBoxEdgeDevice # type: ignore + from ._models import DataBoxEdgeDeviceExtendedInfo # type: ignore + from ._models import DataBoxEdgeDeviceExtendedInfoPatch # type: ignore + from ._models import DataBoxEdgeDeviceList # type: ignore + from ._models import DataBoxEdgeDevicePatch # type: ignore + from ._models import DataBoxEdgeMoveRequest # type: ignore + from ._models import DataBoxEdgeSku # type: ignore + from ._models import DataBoxEdgeSkuList # type: ignore + from ._models import EdgeProfile # type: ignore + from ._models import EdgeProfilePatch # type: ignore + from ._models import EdgeProfileSubscription # type: ignore + from ._models import EdgeProfileSubscriptionPatch # type: ignore + from ._models import EtcdInfo # type: ignore + from ._models import FileEventTrigger # type: ignore + from ._models import FileSourceInfo # type: ignore + from ._models import GenerateCertResponse # type: ignore + from ._models import ImageRepositoryCredential # type: ignore + from ._models import IoTAddon # type: ignore + from ._models import IoTDeviceInfo # type: ignore + from ._models import IoTEdgeAgentInfo # type: ignore + from ._models import IoTRole # type: ignore + from ._models import Ipv4Config # type: ignore + from ._models import Ipv6Config # type: ignore + from ._models import Job # type: ignore + from ._models import JobErrorDetails # type: ignore + from ._models import JobErrorItem # type: ignore + from ._models import KubernetesClusterInfo # type: ignore + from ._models import KubernetesIPConfiguration # type: ignore + from ._models import KubernetesRole # type: ignore + from ._models import KubernetesRoleCompute # type: ignore + from ._models import KubernetesRoleNetwork # type: ignore + from ._models import KubernetesRoleResources # type: ignore + from ._models import KubernetesRoleStorage # type: ignore + from ._models import KubernetesRoleStorageClassInfo # type: ignore + from ._models import LoadBalancerConfig # type: ignore + from ._models import MECRole # type: ignore + from ._models import MetricConfiguration # type: ignore + from ._models import MetricCounter # type: ignore + from ._models import MetricCounterSet # type: ignore + from ._models import MetricDimension # type: ignore + from ._models import MetricDimensionV1 # type: ignore + from ._models import MetricSpecificationV1 # type: ignore + from ._models import MonitoringMetricConfiguration # type: ignore + from ._models import MonitoringMetricConfigurationList # type: ignore + from ._models import MountPointMap # type: ignore + from ._models import NetworkAdapter # type: ignore + from ._models import NetworkAdapterPosition # type: ignore + from ._models import NetworkSettings # type: ignore + from ._models import Node # type: ignore + from ._models import NodeInfo # type: ignore + from ._models import NodeList # type: ignore + from ._models import Operation # type: ignore + from ._models import OperationDisplay # type: ignore + from ._models import OperationsList # type: ignore + from ._models import Order # type: ignore + from ._models import OrderList # type: ignore + from ._models import OrderStatus # type: ignore + from ._models import PeriodicTimerEventTrigger # type: ignore + from ._models import PeriodicTimerSourceInfo # type: ignore + from ._models import RefreshDetails # type: ignore + from ._models import ResourceIdentity # type: ignore + from ._models import ResourceMoveDetails # type: ignore + from ._models import ResourceTypeSku # type: ignore + from ._models import Role # type: ignore + from ._models import RoleList # type: ignore + from ._models import RoleSinkInfo # type: ignore + from ._models import SecuritySettings # type: ignore + from ._models import ServiceSpecification # type: ignore + from ._models import Share # type: ignore + from ._models import ShareAccessRight # type: ignore + from ._models import ShareList # type: ignore + from ._models import Sku # type: ignore + from ._models import SkuCost # type: ignore + from ._models import SkuInformation # type: ignore + from ._models import SkuInformationList # type: ignore + from ._models import SkuLocationInfo # type: ignore + from ._models import StorageAccount # type: ignore + from ._models import StorageAccountCredential # type: ignore + from ._models import StorageAccountCredentialList # type: ignore + from ._models import StorageAccountList # type: ignore + from ._models import SubscriptionRegisteredFeatures # type: ignore + from ._models import SymmetricKey # type: ignore + from ._models import SystemData # type: ignore + from ._models import TrackingInfo # type: ignore + from ._models import Trigger # type: ignore + from ._models import TriggerList # type: ignore + from ._models import UpdateDownloadProgress # type: ignore + from ._models import UpdateInstallProgress # type: ignore + from ._models import UpdateSummary # type: ignore + from ._models import UploadCertificateRequest # type: ignore + from ._models import UploadCertificateResponse # type: ignore + from ._models import User # type: ignore + from ._models import UserAccessRight # type: ignore + from ._models import UserList # type: ignore + +from ._data_box_edge_management_client_enums import ( + AccountType, + AddonState, + AddonType, + AlertSeverity, + AuthenticationType, + AzureContainerDataFormat, + ClientPermissionType, + ContainerStatus, + CreatedByType, + DataBoxEdgeDeviceKind, + DataBoxEdgeDeviceStatus, + DataPolicy, + DayOfWeek, + DeviceType, + DownloadPhase, + EncryptionAlgorithm, + HostPlatformType, + InstallRebootBehavior, + JobStatus, + JobType, + KubernetesNodeType, + KubernetesState, + MetricAggregationType, + MetricCategory, + MetricUnit, + MonitoringStatus, + MountType, + MsiIdentityType, + NetworkAdapterDHCPStatus, + NetworkAdapterRDMAStatus, + NetworkAdapterStatus, + NetworkGroup, + NodeStatus, + OrderState, + PlatformType, + PosixComplianceStatus, + ResourceMoveStatus, + RoleStatus, + RoleTypes, + SSLStatus, + ShareAccessProtocol, + ShareAccessType, + ShareStatus, + ShipmentType, + SkuAvailability, + SkuName, + SkuSignupOption, + SkuTier, + SkuVersion, + StorageAccountStatus, + SubscriptionState, + TimeGrain, + TriggerEventType, + UpdateOperation, + UpdateOperationStage, + UserType, +) + +__all__ = [ + 'ARMBaseModel', + 'Addon', + 'AddonList', + 'Address', + 'Alert', + 'AlertErrorDetails', + 'AlertList', + 'ArcAddon', + 'AsymmetricEncryptedSecret', + 'Authentication', + 'AzureContainerInfo', + 'BandwidthSchedule', + 'BandwidthSchedulesList', + 'ClientAccessRight', + 'CloudEdgeManagementRole', + 'CloudErrorBody', + 'CniConfig', + 'ComputeResource', + 'ContactDetails', + 'Container', + 'ContainerList', + 'DCAccessCode', + 'DataBoxEdgeDevice', + 'DataBoxEdgeDeviceExtendedInfo', + 'DataBoxEdgeDeviceExtendedInfoPatch', + 'DataBoxEdgeDeviceList', + 'DataBoxEdgeDevicePatch', + 'DataBoxEdgeMoveRequest', + 'DataBoxEdgeSku', + 'DataBoxEdgeSkuList', + 'EdgeProfile', + 'EdgeProfilePatch', + 'EdgeProfileSubscription', + 'EdgeProfileSubscriptionPatch', + 'EtcdInfo', + 'FileEventTrigger', + 'FileSourceInfo', + 'GenerateCertResponse', + 'ImageRepositoryCredential', + 'IoTAddon', + 'IoTDeviceInfo', + 'IoTEdgeAgentInfo', + 'IoTRole', + 'Ipv4Config', + 'Ipv6Config', + 'Job', + 'JobErrorDetails', + 'JobErrorItem', + 'KubernetesClusterInfo', + 'KubernetesIPConfiguration', + 'KubernetesRole', + 'KubernetesRoleCompute', + 'KubernetesRoleNetwork', + 'KubernetesRoleResources', + 'KubernetesRoleStorage', + 'KubernetesRoleStorageClassInfo', + 'LoadBalancerConfig', + 'MECRole', + 'MetricConfiguration', + 'MetricCounter', + 'MetricCounterSet', + 'MetricDimension', + 'MetricDimensionV1', + 'MetricSpecificationV1', + 'MonitoringMetricConfiguration', + 'MonitoringMetricConfigurationList', + 'MountPointMap', + 'NetworkAdapter', + 'NetworkAdapterPosition', + 'NetworkSettings', + 'Node', + 'NodeInfo', + 'NodeList', + 'Operation', + 'OperationDisplay', + 'OperationsList', + 'Order', + 'OrderList', + 'OrderStatus', + 'PeriodicTimerEventTrigger', + 'PeriodicTimerSourceInfo', + 'RefreshDetails', + 'ResourceIdentity', + 'ResourceMoveDetails', + 'ResourceTypeSku', + 'Role', + 'RoleList', + 'RoleSinkInfo', + 'SecuritySettings', + 'ServiceSpecification', + 'Share', + 'ShareAccessRight', + 'ShareList', + 'Sku', + 'SkuCost', + 'SkuInformation', + 'SkuInformationList', + 'SkuLocationInfo', + 'StorageAccount', + 'StorageAccountCredential', + 'StorageAccountCredentialList', + 'StorageAccountList', + 'SubscriptionRegisteredFeatures', + 'SymmetricKey', + 'SystemData', + 'TrackingInfo', + 'Trigger', + 'TriggerList', + 'UpdateDownloadProgress', + 'UpdateInstallProgress', + 'UpdateSummary', + 'UploadCertificateRequest', + 'UploadCertificateResponse', + 'User', + 'UserAccessRight', + 'UserList', + 'AccountType', + 'AddonState', + 'AddonType', + 'AlertSeverity', + 'AuthenticationType', + 'AzureContainerDataFormat', + 'ClientPermissionType', + 'ContainerStatus', + 'CreatedByType', + 'DataBoxEdgeDeviceKind', + 'DataBoxEdgeDeviceStatus', + 'DataPolicy', + 'DayOfWeek', + 'DeviceType', + 'DownloadPhase', + 'EncryptionAlgorithm', + 'HostPlatformType', + 'InstallRebootBehavior', + 'JobStatus', + 'JobType', + 'KubernetesNodeType', + 'KubernetesState', + 'MetricAggregationType', + 'MetricCategory', + 'MetricUnit', + 'MonitoringStatus', + 'MountType', + 'MsiIdentityType', + 'NetworkAdapterDHCPStatus', + 'NetworkAdapterRDMAStatus', + 'NetworkAdapterStatus', + 'NetworkGroup', + 'NodeStatus', + 'OrderState', + 'PlatformType', + 'PosixComplianceStatus', + 'ResourceMoveStatus', + 'RoleStatus', + 'RoleTypes', + 'SSLStatus', + 'ShareAccessProtocol', + 'ShareAccessType', + 'ShareStatus', + 'ShipmentType', + 'SkuAvailability', + 'SkuName', + 'SkuSignupOption', + 'SkuTier', + 'SkuVersion', + 'StorageAccountStatus', + 'SubscriptionState', + 'TimeGrain', + 'TriggerEventType', + 'UpdateOperation', + 'UpdateOperationStage', + 'UserType', +] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/models/_data_box_edge_management_client_enums.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/models/_data_box_edge_management_client_enums.py new file mode 100644 index 000000000000..0cec6392e961 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/models/_data_box_edge_management_client_enums.py @@ -0,0 +1,546 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class AccountType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of storage accessed on the storage account. + """ + + GENERAL_PURPOSE_STORAGE = "GeneralPurposeStorage" + BLOB_STORAGE = "BlobStorage" + +class AddonState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Addon Provisioning State + """ + + INVALID = "Invalid" + CREATING = "Creating" + CREATED = "Created" + UPDATING = "Updating" + RECONFIGURING = "Reconfiguring" + FAILED = "Failed" + DELETING = "Deleting" + +class AddonType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Addon type. + """ + + IOT_EDGE = "IotEdge" + ARC_FOR_KUBERNETES = "ArcForKubernetes" + +class AlertSeverity(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Severity of the alert. + """ + + INFORMATIONAL = "Informational" + WARNING = "Warning" + CRITICAL = "Critical" + +class AuthenticationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The authentication type. + """ + + INVALID = "Invalid" + AZURE_ACTIVE_DIRECTORY = "AzureActiveDirectory" + +class AzureContainerDataFormat(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Storage format used for the file represented by the share. + """ + + BLOCK_BLOB = "BlockBlob" + PAGE_BLOB = "PageBlob" + AZURE_FILE = "AzureFile" + +class ClientPermissionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of access to be allowed for the client. + """ + + NO_ACCESS = "NoAccess" + READ_ONLY = "ReadOnly" + READ_WRITE = "ReadWrite" + +class ContainerStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current status of the container. + """ + + OK = "OK" + OFFLINE = "Offline" + UNKNOWN = "Unknown" + UPDATING = "Updating" + NEEDS_ATTENTION = "NeedsAttention" + +class CreatedByType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of identity that created the resource. + """ + + USER = "User" + APPLICATION = "Application" + MANAGED_IDENTITY = "ManagedIdentity" + KEY = "Key" + +class DataBoxEdgeDeviceKind(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The etag for the devices. + """ + + AZURE_DATA_BOX_GATEWAY = "AzureDataBoxGateway" + AZURE_STACK_EDGE = "AzureStackEdge" + AZURE_STACK_HUB = "AzureStackHub" + AZURE_MODULAR_DATA_CENTRE = "AzureModularDataCentre" + +class DataBoxEdgeDeviceStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The status of the Data Box Edge/Gateway device. + """ + + READY_TO_SETUP = "ReadyToSetup" + ONLINE = "Online" + OFFLINE = "Offline" + NEEDS_ATTENTION = "NeedsAttention" + DISCONNECTED = "Disconnected" + PARTIALLY_DISCONNECTED = "PartiallyDisconnected" + MAINTENANCE = "Maintenance" + +class DataPolicy(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Data policy of the share. + """ + + CLOUD = "Cloud" + LOCAL = "Local" + +class DayOfWeek(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + SUNDAY = "Sunday" + MONDAY = "Monday" + TUESDAY = "Tuesday" + WEDNESDAY = "Wednesday" + THURSDAY = "Thursday" + FRIDAY = "Friday" + SATURDAY = "Saturday" + +class DeviceType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of the Data Box Edge/Gateway device. + """ + + DATA_BOX_EDGE_DEVICE = "DataBoxEdgeDevice" + +class DownloadPhase(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The download phase. + """ + + UNKNOWN = "Unknown" + INITIALIZING = "Initializing" + DOWNLOADING = "Downloading" + VERIFYING = "Verifying" + +class EncryptionAlgorithm(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The algorithm used to encrypt "Value". + """ + + NONE = "None" + AES256 = "AES256" + RSAES_PKCS1_V1_5 = "RSAES_PKCS1_v_1_5" + +class HostPlatformType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Platform where the runtime is hosted. + """ + + KUBERNETES_CLUSTER = "KubernetesCluster" + LINUX_VM = "LinuxVM" + +class InstallRebootBehavior(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Indicates if updates are available and at least one of the updates needs a reboot. + """ + + NEVER_REBOOTS = "NeverReboots" + REQUIRES_REBOOT = "RequiresReboot" + REQUEST_REBOOT = "RequestReboot" + +class JobStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The current status of the job. + """ + + INVALID = "Invalid" + RUNNING = "Running" + SUCCEEDED = "Succeeded" + FAILED = "Failed" + CANCELED = "Canceled" + PAUSED = "Paused" + SCHEDULED = "Scheduled" + +class JobType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of the job. + """ + + INVALID = "Invalid" + SCAN_FOR_UPDATES = "ScanForUpdates" + DOWNLOAD_UPDATES = "DownloadUpdates" + INSTALL_UPDATES = "InstallUpdates" + REFRESH_SHARE = "RefreshShare" + REFRESH_CONTAINER = "RefreshContainer" + BACKUP = "Backup" + RESTORE = "Restore" + TRIGGER_SUPPORT_PACKAGE = "TriggerSupportPackage" + +class KubernetesNodeType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Node type - Master/Worker + """ + + INVALID = "Invalid" + MASTER = "Master" + WORKER = "Worker" + +class KubernetesState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """State of Kubernetes deployment + """ + + INVALID = "Invalid" + CREATING = "Creating" + CREATED = "Created" + UPDATING = "Updating" + RECONFIGURING = "Reconfiguring" + FAILED = "Failed" + DELETING = "Deleting" + +class MetricAggregationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Metric aggregation type. + """ + + NOT_SPECIFIED = "NotSpecified" + NONE = "None" + AVERAGE = "Average" + MINIMUM = "Minimum" + MAXIMUM = "Maximum" + TOTAL = "Total" + COUNT = "Count" + +class MetricCategory(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Metric category. + """ + + CAPACITY = "Capacity" + TRANSACTION = "Transaction" + +class MetricUnit(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Metric units. + """ + + NOT_SPECIFIED = "NotSpecified" + PERCENT = "Percent" + COUNT = "Count" + SECONDS = "Seconds" + MILLISECONDS = "Milliseconds" + BYTES = "Bytes" + BYTES_PER_SECOND = "BytesPerSecond" + COUNT_PER_SECOND = "CountPerSecond" + +class MonitoringStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current monitoring status of the share. + """ + + ENABLED = "Enabled" + DISABLED = "Disabled" + +class MountType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Mounting type. + """ + + VOLUME = "Volume" + HOST_PATH = "HostPath" + +class MsiIdentityType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Identity type + """ + + NONE = "None" + SYSTEM_ASSIGNED = "SystemAssigned" + USER_ASSIGNED = "UserAssigned" + +class NetworkAdapterDHCPStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Value indicating whether this adapter has DHCP enabled. + """ + + DISABLED = "Disabled" + ENABLED = "Enabled" + +class NetworkAdapterRDMAStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Value indicating whether this adapter is RDMA capable. + """ + + INCAPABLE = "Incapable" + CAPABLE = "Capable" + +class NetworkAdapterStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Value indicating whether this adapter is valid. + """ + + INACTIVE = "Inactive" + ACTIVE = "Active" + +class NetworkGroup(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The network group. + """ + + NONE = "None" + NON_RDMA = "NonRDMA" + RDMA = "RDMA" + +class NodeStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The current status of the individual node + """ + + UNKNOWN = "Unknown" + UP = "Up" + DOWN = "Down" + REBOOTING = "Rebooting" + SHUTTING_DOWN = "ShuttingDown" + +class OrderState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Status of the order as per the allowed status types. + """ + + UNTRACKED = "Untracked" + AWAITING_FULFILMENT = "AwaitingFulfilment" + AWAITING_PREPARATION = "AwaitingPreparation" + AWAITING_SHIPMENT = "AwaitingShipment" + SHIPPED = "Shipped" + ARRIVING = "Arriving" + DELIVERED = "Delivered" + REPLACEMENT_REQUESTED = "ReplacementRequested" + LOST_DEVICE = "LostDevice" + DECLINED = "Declined" + RETURN_INITIATED = "ReturnInitiated" + AWAITING_RETURN_SHIPMENT = "AwaitingReturnShipment" + SHIPPED_BACK = "ShippedBack" + COLLECTED_AT_MICROSOFT = "CollectedAtMicrosoft" + AWAITING_PICKUP = "AwaitingPickup" + PICKUP_COMPLETED = "PickupCompleted" + AWAITING_DROP = "AwaitingDrop" + +class PlatformType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Host OS supported by the Arc addon. + """ + + WINDOWS = "Windows" + LINUX = "Linux" + +class PosixComplianceStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """If provisioned storage is posix compliant. + """ + + INVALID = "Invalid" + ENABLED = "Enabled" + DISABLED = "Disabled" + +class ResourceMoveStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Denotes whether move operation is in progress + """ + + NONE = "None" + RESOURCE_MOVE_IN_PROGRESS = "ResourceMoveInProgress" + RESOURCE_MOVE_FAILED = "ResourceMoveFailed" + +class RoleStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Local Edge Management Status + """ + + ENABLED = "Enabled" + DISABLED = "Disabled" + +class RoleTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + IOT = "IOT" + ASA = "ASA" + FUNCTIONS = "Functions" + COGNITIVE = "Cognitive" + MEC = "MEC" + CLOUD_EDGE_MANAGEMENT = "CloudEdgeManagement" + KUBERNETES = "Kubernetes" + +class ShareAccessProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Access protocol to be used by the share. + """ + + SMB = "SMB" + NFS = "NFS" + +class ShareAccessType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of access to be allowed on the share for this user. + """ + + CHANGE = "Change" + READ = "Read" + CUSTOM = "Custom" + +class ShareStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current status of the share. + """ + + OFFLINE = "Offline" + UNKNOWN = "Unknown" + OK = "OK" + UPDATING = "Updating" + NEEDS_ATTENTION = "NeedsAttention" + +class ShipmentType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + NOT_APPLICABLE = "NotApplicable" + SHIPPED_TO_CUSTOMER = "ShippedToCustomer" + SELF_PICKUP = "SelfPickup" + +class SkuAvailability(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Links to the next set of results + """ + + AVAILABLE = "Available" + UNAVAILABLE = "Unavailable" + +class SkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The Sku name. + """ + + GATEWAY = "Gateway" + EDGE = "Edge" + TEA1_NODE = "TEA_1Node" + TEA1_NODE_UPS = "TEA_1Node_UPS" + TEA1_NODE_HEATER = "TEA_1Node_Heater" + TEA1_NODE_UPS_HEATER = "TEA_1Node_UPS_Heater" + TEA4_NODE_HEATER = "TEA_4Node_Heater" + TEA4_NODE_UPS_HEATER = "TEA_4Node_UPS_Heater" + TMA = "TMA" + TDC = "TDC" + TCA_SMALL = "TCA_Small" + GPU = "GPU" + TCA_LARGE = "TCA_Large" + EDGE_P_BASE = "EdgeP_Base" + EDGE_P_HIGH = "EdgeP_High" + EDGE_PR_BASE = "EdgePR_Base" + EDGE_PR_BASE_UPS = "EdgePR_Base_UPS" + EDGE_MR_MINI = "EdgeMR_Mini" + RCA_SMALL = "RCA_Small" + RCA_LARGE = "RCA_Large" + RDC = "RDC" + +class SkuSignupOption(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Sku can be signed up by customer or not. + """ + + NONE = "None" + AVAILABLE = "Available" + +class SkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The Sku tier. + """ + + STANDARD = "Standard" + +class SkuVersion(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Availability of the Sku as preview/stable. + """ + + STABLE = "Stable" + PREVIEW = "Preview" + +class SSLStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Signifies whether SSL needs to be enabled or not. + """ + + ENABLED = "Enabled" + DISABLED = "Disabled" + +class StorageAccountStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current status of the storage account + """ + + OK = "OK" + OFFLINE = "Offline" + UNKNOWN = "Unknown" + UPDATING = "Updating" + NEEDS_ATTENTION = "NeedsAttention" + +class SubscriptionState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + REGISTERED = "Registered" + WARNED = "Warned" + SUSPENDED = "Suspended" + DELETED = "Deleted" + UNREGISTERED = "Unregistered" + +class TimeGrain(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + PT1_M = "PT1M" + PT5_M = "PT5M" + PT15_M = "PT15M" + PT30_M = "PT30M" + PT1_H = "PT1H" + PT6_H = "PT6H" + PT12_H = "PT12H" + PT1_D = "PT1D" + +class TriggerEventType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Trigger Kind. + """ + + FILE_EVENT = "FileEvent" + PERIODIC_TIMER_EVENT = "PeriodicTimerEvent" + +class UpdateOperation(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The current update operation. + """ + + NONE = "None" + SCAN = "Scan" + DOWNLOAD = "Download" + INSTALL = "Install" + +class UpdateOperationStage(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current stage of the update operation. + """ + + UNKNOWN = "Unknown" + INITIAL = "Initial" + SCAN_STARTED = "ScanStarted" + SCAN_COMPLETE = "ScanComplete" + SCAN_FAILED = "ScanFailed" + DOWNLOAD_STARTED = "DownloadStarted" + DOWNLOAD_COMPLETE = "DownloadComplete" + DOWNLOAD_FAILED = "DownloadFailed" + INSTALL_STARTED = "InstallStarted" + INSTALL_COMPLETE = "InstallComplete" + INSTALL_FAILED = "InstallFailed" + REBOOT_INITIATED = "RebootInitiated" + SUCCESS = "Success" + FAILURE = "Failure" + RESCAN_STARTED = "RescanStarted" + RESCAN_COMPLETE = "RescanComplete" + RESCAN_FAILED = "RescanFailed" + +class UserType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of the user. + """ + + SHARE = "Share" + LOCAL_MANAGEMENT = "LocalManagement" + ARM = "ARM" diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/models/_models.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/models/_models.py new file mode 100644 index 000000000000..d4b0f61fd347 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/models/_models.py @@ -0,0 +1,5037 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +import msrest.serialization + + +class ARMBaseModel(msrest.serialization.Model): + """Represents the base class for all object models. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ARMBaseModel, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class Addon(ARMBaseModel): + """Role Addon. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: ArcAddon, IoTAddon. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Addon type.Constant filled by server. Possible values include: + "IotEdge", "ArcForKubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AddonType + :ivar system_data: Addon type. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + } + + _subtype_map = { + 'kind': {'ArcForKubernetes': 'ArcAddon', 'IotEdge': 'IoTAddon'} + } + + def __init__( + self, + **kwargs + ): + super(Addon, self).__init__(**kwargs) + self.kind = 'Addon' # type: str + self.system_data = None + + +class AddonList(msrest.serialization.Model): + """Collection of all the Role addon on the Azure Stack Edge device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The Value. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Addon] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Addon]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AddonList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class Address(msrest.serialization.Model): + """The shipping address of the customer. + + All required parameters must be populated in order to send to Azure. + + :param address_line1: The address line1. + :type address_line1: str + :param address_line2: The address line2. + :type address_line2: str + :param address_line3: The address line3. + :type address_line3: str + :param postal_code: The postal code. + :type postal_code: str + :param city: The city name. + :type city: str + :param state: The state name. + :type state: str + :param country: Required. The country name. + :type country: str + """ + + _validation = { + 'country': {'required': True}, + } + + _attribute_map = { + 'address_line1': {'key': 'addressLine1', 'type': 'str'}, + 'address_line2': {'key': 'addressLine2', 'type': 'str'}, + 'address_line3': {'key': 'addressLine3', 'type': 'str'}, + 'postal_code': {'key': 'postalCode', 'type': 'str'}, + 'city': {'key': 'city', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + 'country': {'key': 'country', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Address, self).__init__(**kwargs) + self.address_line1 = kwargs.get('address_line1', None) + self.address_line2 = kwargs.get('address_line2', None) + self.address_line3 = kwargs.get('address_line3', None) + self.postal_code = kwargs.get('postal_code', None) + self.city = kwargs.get('city', None) + self.state = kwargs.get('state', None) + self.country = kwargs['country'] + + +class Alert(ARMBaseModel): + """Alert on the data box edge/gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Alert generated in the resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :ivar title: Alert title. + :vartype title: str + :ivar alert_type: Alert type. + :vartype alert_type: str + :ivar appeared_at_date_time: UTC time when the alert appeared. + :vartype appeared_at_date_time: ~datetime.datetime + :ivar recommendation: Alert recommendation. + :vartype recommendation: str + :ivar severity: Severity of the alert. Possible values include: "Informational", "Warning", + "Critical". + :vartype severity: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AlertSeverity + :ivar error_details: Error details of the alert. + :vartype error_details: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AlertErrorDetails + :ivar detailed_information: Alert details. + :vartype detailed_information: dict[str, str] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'title': {'readonly': True}, + 'alert_type': {'readonly': True}, + 'appeared_at_date_time': {'readonly': True}, + 'recommendation': {'readonly': True}, + 'severity': {'readonly': True}, + 'error_details': {'readonly': True}, + 'detailed_information': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'title': {'key': 'properties.title', 'type': 'str'}, + 'alert_type': {'key': 'properties.alertType', 'type': 'str'}, + 'appeared_at_date_time': {'key': 'properties.appearedAtDateTime', 'type': 'iso-8601'}, + 'recommendation': {'key': 'properties.recommendation', 'type': 'str'}, + 'severity': {'key': 'properties.severity', 'type': 'str'}, + 'error_details': {'key': 'properties.errorDetails', 'type': 'AlertErrorDetails'}, + 'detailed_information': {'key': 'properties.detailedInformation', 'type': '{str}'}, + } + + def __init__( + self, + **kwargs + ): + super(Alert, self).__init__(**kwargs) + self.system_data = None + self.title = None + self.alert_type = None + self.appeared_at_date_time = None + self.recommendation = None + self.severity = None + self.error_details = None + self.detailed_information = None + + +class AlertErrorDetails(msrest.serialization.Model): + """Error details for the alert. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar error_code: Error code. + :vartype error_code: str + :ivar error_message: Error Message. + :vartype error_message: str + :ivar occurrences: Number of occurrences. + :vartype occurrences: int + """ + + _validation = { + 'error_code': {'readonly': True}, + 'error_message': {'readonly': True}, + 'occurrences': {'readonly': True}, + } + + _attribute_map = { + 'error_code': {'key': 'errorCode', 'type': 'str'}, + 'error_message': {'key': 'errorMessage', 'type': 'str'}, + 'occurrences': {'key': 'occurrences', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(AlertErrorDetails, self).__init__(**kwargs) + self.error_code = None + self.error_message = None + self.occurrences = None + + +class AlertList(msrest.serialization.Model): + """Collection of alerts. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The value. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Alert] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Alert]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AlertList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ArcAddon(Addon): + """Arc Addon. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Addon type.Constant filled by server. Possible values include: + "IotEdge", "ArcForKubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AddonType + :ivar system_data: Addon type. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param subscription_id: Required. Arc resource subscription Id. + :type subscription_id: str + :param resource_group_name: Required. Arc resource group name. + :type resource_group_name: str + :param resource_name: Required. Arc resource Name. + :type resource_name: str + :param resource_location: Required. Arc resource location. + :type resource_location: str + :ivar version: Arc resource version. + :vartype version: str + :ivar host_platform: Host OS supported by the Arc addon. Possible values include: "Windows", + "Linux". + :vartype host_platform: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.PlatformType + :ivar host_platform_type: Platform where the runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.HostPlatformType + :ivar provisioning_state: Addon Provisioning State. Possible values include: "Invalid", + "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting". + :vartype provisioning_state: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AddonState + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'subscription_id': {'required': True}, + 'resource_group_name': {'required': True}, + 'resource_name': {'required': True}, + 'resource_location': {'required': True}, + 'version': {'readonly': True}, + 'host_platform': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'subscription_id': {'key': 'properties.subscriptionId', 'type': 'str'}, + 'resource_group_name': {'key': 'properties.resourceGroupName', 'type': 'str'}, + 'resource_name': {'key': 'properties.resourceName', 'type': 'str'}, + 'resource_location': {'key': 'properties.resourceLocation', 'type': 'str'}, + 'version': {'key': 'properties.version', 'type': 'str'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ArcAddon, self).__init__(**kwargs) + self.kind = 'ArcForKubernetes' # type: str + self.subscription_id = kwargs['subscription_id'] + self.resource_group_name = kwargs['resource_group_name'] + self.resource_name = kwargs['resource_name'] + self.resource_location = kwargs['resource_location'] + self.version = None + self.host_platform = None + self.host_platform_type = None + self.provisioning_state = None + + +class AsymmetricEncryptedSecret(msrest.serialization.Model): + """Represent the secrets intended for encryption with asymmetric key pair. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. The value of the secret. + :type value: str + :param encryption_cert_thumbprint: Thumbprint certificate used to encrypt \"Value\". If the + value is unencrypted, it will be null. + :type encryption_cert_thumbprint: str + :param encryption_algorithm: Required. The algorithm used to encrypt "Value". Possible values + include: "None", "AES256", "RSAES_PKCS1_v_1_5". + :type encryption_algorithm: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.EncryptionAlgorithm + """ + + _validation = { + 'value': {'required': True}, + 'encryption_algorithm': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': 'str'}, + 'encryption_cert_thumbprint': {'key': 'encryptionCertThumbprint', 'type': 'str'}, + 'encryption_algorithm': {'key': 'encryptionAlgorithm', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AsymmetricEncryptedSecret, self).__init__(**kwargs) + self.value = kwargs['value'] + self.encryption_cert_thumbprint = kwargs.get('encryption_cert_thumbprint', None) + self.encryption_algorithm = kwargs['encryption_algorithm'] + + +class Authentication(msrest.serialization.Model): + """Authentication mechanism for IoT devices. + + :param symmetric_key: Symmetric key for authentication. + :type symmetric_key: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SymmetricKey + """ + + _attribute_map = { + 'symmetric_key': {'key': 'symmetricKey', 'type': 'SymmetricKey'}, + } + + def __init__( + self, + **kwargs + ): + super(Authentication, self).__init__(**kwargs) + self.symmetric_key = kwargs.get('symmetric_key', None) + + +class AzureContainerInfo(msrest.serialization.Model): + """Azure container mapping of the endpoint. + + All required parameters must be populated in order to send to Azure. + + :param storage_account_credential_id: Required. ID of the storage account credential used to + access storage. + :type storage_account_credential_id: str + :param container_name: Required. Container name (Based on the data format specified, this + represents the name of Azure Files/Page blob/Block blob). + :type container_name: str + :param data_format: Required. Storage format used for the file represented by the share. + Possible values include: "BlockBlob", "PageBlob", "AzureFile". + :type data_format: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AzureContainerDataFormat + """ + + _validation = { + 'storage_account_credential_id': {'required': True}, + 'container_name': {'required': True}, + 'data_format': {'required': True}, + } + + _attribute_map = { + 'storage_account_credential_id': {'key': 'storageAccountCredentialId', 'type': 'str'}, + 'container_name': {'key': 'containerName', 'type': 'str'}, + 'data_format': {'key': 'dataFormat', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureContainerInfo, self).__init__(**kwargs) + self.storage_account_credential_id = kwargs['storage_account_credential_id'] + self.container_name = kwargs['container_name'] + self.data_format = kwargs['data_format'] + + +class BandwidthSchedule(ARMBaseModel): + """The bandwidth schedule details. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Bandwidth object related to ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param start: Required. The start time of the schedule in UTC. + :type start: str + :param stop: Required. The stop time of the schedule in UTC. + :type stop: str + :param rate_in_mbps: Required. The bandwidth rate in Mbps. + :type rate_in_mbps: int + :param days: Required. The days of the week when this schedule is applicable. + :type days: list[str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DayOfWeek] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'start': {'required': True}, + 'stop': {'required': True}, + 'rate_in_mbps': {'required': True}, + 'days': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'start': {'key': 'properties.start', 'type': 'str'}, + 'stop': {'key': 'properties.stop', 'type': 'str'}, + 'rate_in_mbps': {'key': 'properties.rateInMbps', 'type': 'int'}, + 'days': {'key': 'properties.days', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(BandwidthSchedule, self).__init__(**kwargs) + self.system_data = None + self.start = kwargs['start'] + self.stop = kwargs['stop'] + self.rate_in_mbps = kwargs['rate_in_mbps'] + self.days = kwargs['days'] + + +class BandwidthSchedulesList(msrest.serialization.Model): + """The collection of bandwidth schedules. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of bandwidth schedules. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.BandwidthSchedule] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[BandwidthSchedule]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(BandwidthSchedulesList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ClientAccessRight(msrest.serialization.Model): + """The mapping between a particular client IP and the type of access client has on the NFS share. + + All required parameters must be populated in order to send to Azure. + + :param client: Required. IP of the client. + :type client: str + :param access_permission: Required. Type of access to be allowed for the client. Possible + values include: "NoAccess", "ReadOnly", "ReadWrite". + :type access_permission: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ClientPermissionType + """ + + _validation = { + 'client': {'required': True}, + 'access_permission': {'required': True}, + } + + _attribute_map = { + 'client': {'key': 'client', 'type': 'str'}, + 'access_permission': {'key': 'accessPermission', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ClientAccessRight, self).__init__(**kwargs) + self.client = kwargs['client'] + self.access_permission = kwargs['access_permission'] + + +class Role(ARMBaseModel): + """Compute role. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: CloudEdgeManagementRole, IoTRole, KubernetesRole, MECRole. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + } + + _subtype_map = { + 'kind': {'CloudEdgeManagement': 'CloudEdgeManagementRole', 'IOT': 'IoTRole', 'Kubernetes': 'KubernetesRole', 'MEC': 'MECRole'} + } + + def __init__( + self, + **kwargs + ): + super(Role, self).__init__(**kwargs) + self.kind = 'Role' # type: str + self.system_data = None + + +class CloudEdgeManagementRole(Role): + """CloudEdgeManagementRole role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :ivar local_management_status: Local Edge Management Status. Possible values include: + "Enabled", "Disabled". + :vartype local_management_status: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleStatus + :ivar edge_profile: Edge Profile of the resource. + :vartype edge_profile: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.EdgeProfile + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'local_management_status': {'readonly': True}, + 'edge_profile': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'local_management_status': {'key': 'properties.localManagementStatus', 'type': 'str'}, + 'edge_profile': {'key': 'properties.edgeProfile', 'type': 'EdgeProfile'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(CloudEdgeManagementRole, self).__init__(**kwargs) + self.kind = 'CloudEdgeManagement' # type: str + self.local_management_status = None + self.edge_profile = None + self.role_status = kwargs.get('role_status', None) + + +class CloudErrorBody(msrest.serialization.Model): + """An error response from the service. + + :param code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :type code: str + :param message: A message describing the error, intended to be suitable for display in a user + interface. + :type message: str + :param details: A list of additional details about the error. + :type details: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.CloudErrorBody] + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[CloudErrorBody]'}, + } + + def __init__( + self, + **kwargs + ): + super(CloudErrorBody, self).__init__(**kwargs) + self.code = kwargs.get('code', None) + self.message = kwargs.get('message', None) + self.details = kwargs.get('details', None) + + +class CniConfig(msrest.serialization.Model): + """Cni configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: Cni type. + :vartype type: str + :ivar version: Cni version. + :vartype version: str + :ivar pod_subnet: Pod Subnet. + :vartype pod_subnet: str + :ivar service_subnet: Service subnet. + :vartype service_subnet: str + """ + + _validation = { + 'type': {'readonly': True}, + 'version': {'readonly': True}, + 'pod_subnet': {'readonly': True}, + 'service_subnet': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + 'pod_subnet': {'key': 'podSubnet', 'type': 'str'}, + 'service_subnet': {'key': 'serviceSubnet', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(CniConfig, self).__init__(**kwargs) + self.type = None + self.version = None + self.pod_subnet = None + self.service_subnet = None + + +class ComputeResource(msrest.serialization.Model): + """Compute infrastructure Resource. + + All required parameters must be populated in order to send to Azure. + + :param processor_count: Required. Processor count. + :type processor_count: int + :param memory_in_gb: Required. Memory in GB. + :type memory_in_gb: long + """ + + _validation = { + 'processor_count': {'required': True}, + 'memory_in_gb': {'required': True}, + } + + _attribute_map = { + 'processor_count': {'key': 'processorCount', 'type': 'int'}, + 'memory_in_gb': {'key': 'memoryInGB', 'type': 'long'}, + } + + def __init__( + self, + **kwargs + ): + super(ComputeResource, self).__init__(**kwargs) + self.processor_count = kwargs['processor_count'] + self.memory_in_gb = kwargs['memory_in_gb'] + + +class ContactDetails(msrest.serialization.Model): + """Contains all the contact details of the customer. + + All required parameters must be populated in order to send to Azure. + + :param contact_person: Required. The contact person name. + :type contact_person: str + :param company_name: Required. The name of the company. + :type company_name: str + :param phone: Required. The phone number. + :type phone: str + :param email_list: Required. The email list. + :type email_list: list[str] + """ + + _validation = { + 'contact_person': {'required': True}, + 'company_name': {'required': True}, + 'phone': {'required': True}, + 'email_list': {'required': True}, + } + + _attribute_map = { + 'contact_person': {'key': 'contactPerson', 'type': 'str'}, + 'company_name': {'key': 'companyName', 'type': 'str'}, + 'phone': {'key': 'phone', 'type': 'str'}, + 'email_list': {'key': 'emailList', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(ContactDetails, self).__init__(**kwargs) + self.contact_person = kwargs['contact_person'] + self.company_name = kwargs['company_name'] + self.phone = kwargs['phone'] + self.email_list = kwargs['email_list'] + + +class Container(ARMBaseModel): + """Represents a container on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Container in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :ivar container_status: Current status of the container. Possible values include: "OK", + "Offline", "Unknown", "Updating", "NeedsAttention". + :vartype container_status: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ContainerStatus + :param data_format: Required. DataFormat for Container. Possible values include: "BlockBlob", + "PageBlob", "AzureFile". + :type data_format: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AzureContainerDataFormat + :ivar refresh_details: Details of the refresh job on this container. + :vartype refresh_details: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RefreshDetails + :ivar created_date_time: The UTC time when container got created. + :vartype created_date_time: ~datetime.datetime + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'container_status': {'readonly': True}, + 'data_format': {'required': True}, + 'refresh_details': {'readonly': True}, + 'created_date_time': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'container_status': {'key': 'properties.containerStatus', 'type': 'str'}, + 'data_format': {'key': 'properties.dataFormat', 'type': 'str'}, + 'refresh_details': {'key': 'properties.refreshDetails', 'type': 'RefreshDetails'}, + 'created_date_time': {'key': 'properties.createdDateTime', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(Container, self).__init__(**kwargs) + self.system_data = None + self.container_status = None + self.data_format = kwargs['data_format'] + self.refresh_details = None + self.created_date_time = None + + +class ContainerList(msrest.serialization.Model): + """Collection of all the containers on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of containers. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Container] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Container]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ContainerList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class DataBoxEdgeDevice(ARMBaseModel): + """The Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param location: Required. The location of the device. This is a supported and registered Azure + geographical region (for example, West US, East US, or Southeast Asia). The geographical region + of a device cannot be changed once it is created, but if an identical geographical region is + specified on update, the request will succeed. + :type location: str + :param tags: A set of tags. The list of tags that describe the device. These tags can be used + to view and group this device (across resource groups). + :type tags: dict[str, str] + :param sku: The SKU type. + :type sku: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Sku + :param etag: The etag for the devices. + :type etag: str + :param identity: Msi identity of the resource. + :type identity: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ResourceIdentity + :ivar kind: The etag for the devices. Possible values include: "AzureDataBoxGateway", + "AzureStackEdge", "AzureStackHub", "AzureModularDataCentre". + :vartype kind: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDeviceKind + :ivar system_data: DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param data_box_edge_device_status: The status of the Data Box Edge/Gateway device. Possible + values include: "ReadyToSetup", "Online", "Offline", "NeedsAttention", "Disconnected", + "PartiallyDisconnected", "Maintenance". + :type data_box_edge_device_status: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDeviceStatus + :ivar serial_number: The Serial Number of Data Box Edge/Gateway device. + :vartype serial_number: str + :ivar description: The Description of the Data Box Edge/Gateway device. + :vartype description: str + :ivar model_description: The description of the Data Box Edge/Gateway device model. + :vartype model_description: str + :ivar device_type: The type of the Data Box Edge/Gateway device. Possible values include: + "DataBoxEdgeDevice". + :vartype device_type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DeviceType + :ivar friendly_name: The Data Box Edge/Gateway device name. + :vartype friendly_name: str + :ivar culture: The Data Box Edge/Gateway device culture. + :vartype culture: str + :ivar device_model: The Data Box Edge/Gateway device model. + :vartype device_model: str + :ivar device_software_version: The Data Box Edge/Gateway device software version. + :vartype device_software_version: str + :ivar device_local_capacity: The Data Box Edge/Gateway device local capacity in MB. + :vartype device_local_capacity: long + :ivar time_zone: The Data Box Edge/Gateway device timezone. + :vartype time_zone: str + :ivar device_hcs_version: The device software version number of the device (eg: 1.2.18105.6). + :vartype device_hcs_version: str + :ivar configured_role_types: Type of compute roles configured. + :vartype configured_role_types: list[str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleTypes] + :ivar node_count: The number of nodes in the cluster. + :vartype node_count: int + :ivar resource_move_details: The details of the move operation on this resource. + :vartype resource_move_details: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ResourceMoveDetails + :ivar edge_profile: The details of Edge Profile for this resource. + :vartype edge_profile: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.EdgeProfile + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'kind': {'readonly': True}, + 'system_data': {'readonly': True}, + 'serial_number': {'readonly': True}, + 'description': {'readonly': True}, + 'model_description': {'readonly': True}, + 'device_type': {'readonly': True}, + 'friendly_name': {'readonly': True}, + 'culture': {'readonly': True}, + 'device_model': {'readonly': True}, + 'device_software_version': {'readonly': True}, + 'device_local_capacity': {'readonly': True}, + 'time_zone': {'readonly': True}, + 'device_hcs_version': {'readonly': True}, + 'configured_role_types': {'readonly': True}, + 'node_count': {'readonly': True}, + 'resource_move_details': {'readonly': True}, + 'edge_profile': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'sku': {'key': 'sku', 'type': 'Sku'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'identity': {'key': 'identity', 'type': 'ResourceIdentity'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'data_box_edge_device_status': {'key': 'properties.dataBoxEdgeDeviceStatus', 'type': 'str'}, + 'serial_number': {'key': 'properties.serialNumber', 'type': 'str'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'model_description': {'key': 'properties.modelDescription', 'type': 'str'}, + 'device_type': {'key': 'properties.deviceType', 'type': 'str'}, + 'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'}, + 'culture': {'key': 'properties.culture', 'type': 'str'}, + 'device_model': {'key': 'properties.deviceModel', 'type': 'str'}, + 'device_software_version': {'key': 'properties.deviceSoftwareVersion', 'type': 'str'}, + 'device_local_capacity': {'key': 'properties.deviceLocalCapacity', 'type': 'long'}, + 'time_zone': {'key': 'properties.timeZone', 'type': 'str'}, + 'device_hcs_version': {'key': 'properties.deviceHcsVersion', 'type': 'str'}, + 'configured_role_types': {'key': 'properties.configuredRoleTypes', 'type': '[str]'}, + 'node_count': {'key': 'properties.nodeCount', 'type': 'int'}, + 'resource_move_details': {'key': 'properties.resourceMoveDetails', 'type': 'ResourceMoveDetails'}, + 'edge_profile': {'key': 'properties.edgeProfile', 'type': 'EdgeProfile'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeDevice, self).__init__(**kwargs) + self.location = kwargs['location'] + self.tags = kwargs.get('tags', None) + self.sku = kwargs.get('sku', None) + self.etag = kwargs.get('etag', None) + self.identity = kwargs.get('identity', None) + self.kind = None + self.system_data = None + self.data_box_edge_device_status = kwargs.get('data_box_edge_device_status', None) + self.serial_number = None + self.description = None + self.model_description = None + self.device_type = None + self.friendly_name = None + self.culture = None + self.device_model = None + self.device_software_version = None + self.device_local_capacity = None + self.time_zone = None + self.device_hcs_version = None + self.configured_role_types = None + self.node_count = None + self.resource_move_details = None + self.edge_profile = None + + +class DataBoxEdgeDeviceExtendedInfo(ARMBaseModel): + """The extended Info of the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param encryption_key_thumbprint: The digital signature of encrypted certificate. + :type encryption_key_thumbprint: str + :param encryption_key: The public part of the encryption certificate. Client uses this to + encrypt any secret. + :type encryption_key: str + :ivar resource_key: The Resource ID of the Resource. + :vartype resource_key: str + :param client_secret_store_id: The Key Vault ARM Id for client secrets. + :type client_secret_store_id: str + :param client_secret_store_url: The url to access the Client Key Vault. + :type client_secret_store_url: str + :param channel_integrity_key_name: The name of Channel Integrity Key stored in the Client Key + Vault. + :type channel_integrity_key_name: str + :param channel_integrity_key_version: The version of Channel Integrity Key stored in the Client + Key Vault. + :type channel_integrity_key_version: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'resource_key': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'encryption_key_thumbprint': {'key': 'properties.encryptionKeyThumbprint', 'type': 'str'}, + 'encryption_key': {'key': 'properties.encryptionKey', 'type': 'str'}, + 'resource_key': {'key': 'properties.resourceKey', 'type': 'str'}, + 'client_secret_store_id': {'key': 'properties.clientSecretStoreId', 'type': 'str'}, + 'client_secret_store_url': {'key': 'properties.clientSecretStoreUrl', 'type': 'str'}, + 'channel_integrity_key_name': {'key': 'properties.channelIntegrityKeyName', 'type': 'str'}, + 'channel_integrity_key_version': {'key': 'properties.channelIntegrityKeyVersion', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeDeviceExtendedInfo, self).__init__(**kwargs) + self.encryption_key_thumbprint = kwargs.get('encryption_key_thumbprint', None) + self.encryption_key = kwargs.get('encryption_key', None) + self.resource_key = None + self.client_secret_store_id = kwargs.get('client_secret_store_id', None) + self.client_secret_store_url = kwargs.get('client_secret_store_url', None) + self.channel_integrity_key_name = kwargs.get('channel_integrity_key_name', None) + self.channel_integrity_key_version = kwargs.get('channel_integrity_key_version', None) + + +class DataBoxEdgeDeviceExtendedInfoPatch(msrest.serialization.Model): + """The Data Box Edge/Gateway device extended info patch. + + :param client_secret_store_id: The Key Vault ARM Id for client secrets. + :type client_secret_store_id: str + :param client_secret_store_url: The url to access the Client Key Vault. + :type client_secret_store_url: str + :param channel_integrity_key_name: The name for Channel Integrity Key stored in the Client Key + Vault. + :type channel_integrity_key_name: str + :param channel_integrity_key_version: The version of Channel Integrity Key stored in the Client + Key Vault. + :type channel_integrity_key_version: str + """ + + _attribute_map = { + 'client_secret_store_id': {'key': 'clientSecretStoreId', 'type': 'str'}, + 'client_secret_store_url': {'key': 'clientSecretStoreUrl', 'type': 'str'}, + 'channel_integrity_key_name': {'key': 'channelIntegrityKeyName', 'type': 'str'}, + 'channel_integrity_key_version': {'key': 'channelIntegrityKeyVersion', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeDeviceExtendedInfoPatch, self).__init__(**kwargs) + self.client_secret_store_id = kwargs.get('client_secret_store_id', None) + self.client_secret_store_url = kwargs.get('client_secret_store_url', None) + self.channel_integrity_key_name = kwargs.get('channel_integrity_key_name', None) + self.channel_integrity_key_version = kwargs.get('channel_integrity_key_version', None) + + +class DataBoxEdgeDeviceList(msrest.serialization.Model): + """The collection of Data Box Edge/Gateway devices. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of Data Box Edge/Gateway devices. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDevice] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DataBoxEdgeDevice]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeDeviceList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class DataBoxEdgeDevicePatch(msrest.serialization.Model): + """The Data Box Edge/Gateway device patch. + + :param tags: A set of tags. The tags attached to the Data Box Edge/Gateway resource. + :type tags: dict[str, str] + :param identity: Msi identity of the resource. + :type identity: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ResourceIdentity + :param edge_profile: Edge Profile property of the Data Box Edge/Gateway device. + :type edge_profile: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.EdgeProfilePatch + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + 'identity': {'key': 'identity', 'type': 'ResourceIdentity'}, + 'edge_profile': {'key': 'properties.edgeProfile', 'type': 'EdgeProfilePatch'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeDevicePatch, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) + self.identity = kwargs.get('identity', None) + self.edge_profile = kwargs.get('edge_profile', None) + + +class DataBoxEdgeMoveRequest(msrest.serialization.Model): + """Resource Move details. + + All required parameters must be populated in order to send to Azure. + + :param target_resource_group: Required. Target resource group ARMId. + :type target_resource_group: str + :param resources: Required. List of resources to be moved. + :type resources: list[str] + """ + + _validation = { + 'target_resource_group': {'required': True}, + 'resources': {'required': True}, + } + + _attribute_map = { + 'target_resource_group': {'key': 'targetResourceGroup', 'type': 'str'}, + 'resources': {'key': 'resources', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeMoveRequest, self).__init__(**kwargs) + self.target_resource_group = kwargs['target_resource_group'] + self.resources = kwargs['resources'] + + +class DataBoxEdgeSku(msrest.serialization.Model): + """The Sku information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar resource_type: The type of the resource. + :vartype resource_type: str + :ivar name: The Sku name. Possible values include: "Gateway", "Edge", "TEA_1Node", + "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", + "TEA_4Node_UPS_Heater", "TMA", "TDC", "TCA_Small", "GPU", "TCA_Large", "EdgeP_Base", + "EdgeP_High", "EdgePR_Base", "EdgePR_Base_UPS", "EdgeMR_Mini", "RCA_Small", "RCA_Large", "RDC". + :vartype name: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SkuName + :ivar kind: The Sku kind. + :vartype kind: str + :ivar tier: The Sku tier. Possible values include: "Standard". + :vartype tier: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SkuTier + :ivar size: The Sku kind. + :vartype size: str + :ivar family: The Sku family. + :vartype family: str + :ivar locations: Availability of the Sku for the region. + :vartype locations: list[str] + :ivar api_versions: The API versions in which Sku is available. + :vartype api_versions: list[str] + :ivar location_info: Availability of the Sku for the location/zone/site. + :vartype location_info: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.SkuLocationInfo] + :ivar costs: The pricing info of the Sku. + :vartype costs: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.SkuCost] + :ivar signup_option: Sku can be signed up by customer or not. Possible values include: "None", + "Available". + :vartype signup_option: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SkuSignupOption + :ivar version: Availability of the Sku as preview/stable. Possible values include: "Stable", + "Preview". + :vartype version: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SkuVersion + :ivar availability: Links to the next set of results. Possible values include: "Available", + "Unavailable". + :vartype availability: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SkuAvailability + :ivar shipment_types: List of Shipment Types supported by this SKU. + :vartype shipment_types: list[str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ShipmentType] + """ + + _validation = { + 'resource_type': {'readonly': True}, + 'name': {'readonly': True}, + 'kind': {'readonly': True}, + 'tier': {'readonly': True}, + 'size': {'readonly': True}, + 'family': {'readonly': True}, + 'locations': {'readonly': True}, + 'api_versions': {'readonly': True}, + 'location_info': {'readonly': True}, + 'costs': {'readonly': True}, + 'signup_option': {'readonly': True}, + 'version': {'readonly': True}, + 'availability': {'readonly': True}, + 'shipment_types': {'readonly': True}, + } + + _attribute_map = { + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'size': {'key': 'size', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'locations': {'key': 'locations', 'type': '[str]'}, + 'api_versions': {'key': 'apiVersions', 'type': '[str]'}, + 'location_info': {'key': 'locationInfo', 'type': '[SkuLocationInfo]'}, + 'costs': {'key': 'costs', 'type': '[SkuCost]'}, + 'signup_option': {'key': 'signupOption', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + 'availability': {'key': 'availability', 'type': 'str'}, + 'shipment_types': {'key': 'shipmentTypes', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeSku, self).__init__(**kwargs) + self.resource_type = None + self.name = None + self.kind = None + self.tier = None + self.size = None + self.family = None + self.locations = None + self.api_versions = None + self.location_info = None + self.costs = None + self.signup_option = None + self.version = None + self.availability = None + self.shipment_types = None + + +class DataBoxEdgeSkuList(msrest.serialization.Model): + """List of SKU Information objects. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of ResourceType Sku. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeSku] + :ivar next_link: Links to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DataBoxEdgeSku]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeSkuList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class DCAccessCode(msrest.serialization.Model): + """DC Access code in the case of Self Managed Shipping. + + :param auth_code: DCAccess Code for the Self Managed shipment. + :type auth_code: str + """ + + _attribute_map = { + 'auth_code': {'key': 'properties.authCode', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DCAccessCode, self).__init__(**kwargs) + self.auth_code = kwargs.get('auth_code', None) + + +class EdgeProfile(msrest.serialization.Model): + """Details about Edge Profile for the resource. + + :param subscription: Edge Profile Subscription. + :type subscription: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.EdgeProfileSubscription + """ + + _attribute_map = { + 'subscription': {'key': 'subscription', 'type': 'EdgeProfileSubscription'}, + } + + def __init__( + self, + **kwargs + ): + super(EdgeProfile, self).__init__(**kwargs) + self.subscription = kwargs.get('subscription', None) + + +class EdgeProfilePatch(msrest.serialization.Model): + """The Data Box Edge/Gateway Edge Profile patch. + + :param subscription: The Data Box Edge/Gateway Edge Profile Subscription patch. + :type subscription: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.EdgeProfileSubscriptionPatch + """ + + _attribute_map = { + 'subscription': {'key': 'subscription', 'type': 'EdgeProfileSubscriptionPatch'}, + } + + def __init__( + self, + **kwargs + ): + super(EdgeProfilePatch, self).__init__(**kwargs) + self.subscription = kwargs.get('subscription', None) + + +class EdgeProfileSubscription(msrest.serialization.Model): + """Subscription details for the Edge Profile. + + :param registration_id: Edge Subscription Registration ID. + :type registration_id: str + :param id: ARM ID of the subscription. + :type id: str + :param state: Possible values include: "Registered", "Warned", "Suspended", "Deleted", + "Unregistered". + :type state: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SubscriptionState + :param registration_date: + :type registration_date: str + :param subscription_id: + :type subscription_id: str + :param tenant_id: + :type tenant_id: str + :param location_placement_id: + :type location_placement_id: str + :param quota_id: + :type quota_id: str + :param serialized_details: + :type serialized_details: str + :param registered_features: + :type registered_features: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.SubscriptionRegisteredFeatures] + """ + + _attribute_map = { + 'registration_id': {'key': 'registrationId', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + 'registration_date': {'key': 'registrationDate', 'type': 'str'}, + 'subscription_id': {'key': 'subscriptionId', 'type': 'str'}, + 'tenant_id': {'key': 'properties.tenantId', 'type': 'str'}, + 'location_placement_id': {'key': 'properties.locationPlacementId', 'type': 'str'}, + 'quota_id': {'key': 'properties.quotaId', 'type': 'str'}, + 'serialized_details': {'key': 'properties.serializedDetails', 'type': 'str'}, + 'registered_features': {'key': 'properties.registeredFeatures', 'type': '[SubscriptionRegisteredFeatures]'}, + } + + def __init__( + self, + **kwargs + ): + super(EdgeProfileSubscription, self).__init__(**kwargs) + self.registration_id = kwargs.get('registration_id', None) + self.id = kwargs.get('id', None) + self.state = kwargs.get('state', None) + self.registration_date = kwargs.get('registration_date', None) + self.subscription_id = kwargs.get('subscription_id', None) + self.tenant_id = kwargs.get('tenant_id', None) + self.location_placement_id = kwargs.get('location_placement_id', None) + self.quota_id = kwargs.get('quota_id', None) + self.serialized_details = kwargs.get('serialized_details', None) + self.registered_features = kwargs.get('registered_features', None) + + +class EdgeProfileSubscriptionPatch(msrest.serialization.Model): + """The Data Box Edge/Gateway Edge Profile Subscription patch. + + :param id: The path ID that uniquely identifies the subscription of the edge profile. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EdgeProfileSubscriptionPatch, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + + +class EtcdInfo(msrest.serialization.Model): + """Etcd configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: Etcd type. + :vartype type: str + :ivar version: Etcd version. + :vartype version: str + """ + + _validation = { + 'type': {'readonly': True}, + 'version': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EtcdInfo, self).__init__(**kwargs) + self.type = None + self.version = None + + +class Trigger(ARMBaseModel): + """Trigger details. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: FileEventTrigger, PeriodicTimerEventTrigger. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Trigger in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: + "FileEvent", "PeriodicTimerEvent". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.TriggerEventType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'kind': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'kind': {'key': 'kind', 'type': 'str'}, + } + + _subtype_map = { + 'kind': {'FileEvent': 'FileEventTrigger', 'PeriodicTimerEvent': 'PeriodicTimerEventTrigger'} + } + + def __init__( + self, + **kwargs + ): + super(Trigger, self).__init__(**kwargs) + self.system_data = None + self.kind = 'Trigger' # type: str + + +class FileEventTrigger(Trigger): + """Trigger details. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Trigger in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: + "FileEvent", "PeriodicTimerEvent". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.TriggerEventType + :param source_info: Required. File event source details. + :type source_info: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.FileSourceInfo + :param sink_info: Required. Role sink info. + :type sink_info: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleSinkInfo + :param custom_context_tag: A custom context tag typically used to correlate the trigger against + its usage. For example, if a periodic timer trigger is intended for certain specific IoT + modules in the device, the tag can be the name or the image URL of the module. + :type custom_context_tag: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'kind': {'required': True}, + 'source_info': {'required': True}, + 'sink_info': {'required': True}, + 'custom_context_tag': {'max_length': 192, 'min_length': 0}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'source_info': {'key': 'properties.sourceInfo', 'type': 'FileSourceInfo'}, + 'sink_info': {'key': 'properties.sinkInfo', 'type': 'RoleSinkInfo'}, + 'custom_context_tag': {'key': 'properties.customContextTag', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FileEventTrigger, self).__init__(**kwargs) + self.kind = 'FileEvent' # type: str + self.source_info = kwargs['source_info'] + self.sink_info = kwargs['sink_info'] + self.custom_context_tag = kwargs.get('custom_context_tag', None) + + +class FileSourceInfo(msrest.serialization.Model): + """File source details. + + All required parameters must be populated in order to send to Azure. + + :param share_id: Required. File share ID. + :type share_id: str + """ + + _validation = { + 'share_id': {'required': True}, + } + + _attribute_map = { + 'share_id': {'key': 'shareId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FileSourceInfo, self).__init__(**kwargs) + self.share_id = kwargs['share_id'] + + +class GenerateCertResponse(msrest.serialization.Model): + """Used in activation key generation flow. + + :param public_key: Gets or sets base64 encoded certificate raw data, + this is the public part needed to be uploaded to cert vault. + :type public_key: str + :param private_key: Gets or sets base64 encoded private part of the certificate, + needed to form the activation key. + :type private_key: str + :param expiry_time_in_utc: Gets or sets expiry time in UTC. + :type expiry_time_in_utc: str + """ + + _attribute_map = { + 'public_key': {'key': 'publicKey', 'type': 'str'}, + 'private_key': {'key': 'privateKey', 'type': 'str'}, + 'expiry_time_in_utc': {'key': 'expiryTimeInUTC', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(GenerateCertResponse, self).__init__(**kwargs) + self.public_key = kwargs.get('public_key', None) + self.private_key = kwargs.get('private_key', None) + self.expiry_time_in_utc = kwargs.get('expiry_time_in_utc', None) + + +class ImageRepositoryCredential(msrest.serialization.Model): + """Image repository credential. + + All required parameters must be populated in order to send to Azure. + + :param image_repository_url: Required. Image repository url (e.g.: mcr.microsoft.com). + :type image_repository_url: str + :param user_name: Required. Repository user name. + :type user_name: str + :param password: Repository user password. + :type password: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AsymmetricEncryptedSecret + """ + + _validation = { + 'image_repository_url': {'required': True}, + 'user_name': {'required': True}, + } + + _attribute_map = { + 'image_repository_url': {'key': 'imageRepositoryUrl', 'type': 'str'}, + 'user_name': {'key': 'userName', 'type': 'str'}, + 'password': {'key': 'password', 'type': 'AsymmetricEncryptedSecret'}, + } + + def __init__( + self, + **kwargs + ): + super(ImageRepositoryCredential, self).__init__(**kwargs) + self.image_repository_url = kwargs['image_repository_url'] + self.user_name = kwargs['user_name'] + self.password = kwargs.get('password', None) + + +class IoTAddon(Addon): + """IoT Addon. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Addon type.Constant filled by server. Possible values include: + "IotEdge", "ArcForKubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AddonType + :ivar system_data: Addon type. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param io_t_device_details: Required. IoT device metadata to which appliance needs to be + connected. + :type io_t_device_details: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.IoTDeviceInfo + :param io_t_edge_device_details: Required. IoT edge device to which the IoT Addon needs to be + configured. + :type io_t_edge_device_details: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.IoTDeviceInfo + :ivar version: Version of IoT running on the appliance. + :vartype version: str + :ivar host_platform: Host OS supported by the IoT addon. Possible values include: "Windows", + "Linux". + :vartype host_platform: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.PlatformType + :ivar host_platform_type: Platform where the runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.HostPlatformType + :ivar provisioning_state: Addon Provisioning State. Possible values include: "Invalid", + "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting". + :vartype provisioning_state: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AddonState + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'io_t_device_details': {'required': True}, + 'io_t_edge_device_details': {'required': True}, + 'version': {'readonly': True}, + 'host_platform': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'io_t_device_details': {'key': 'properties.ioTDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'io_t_edge_device_details': {'key': 'properties.ioTEdgeDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'version': {'key': 'properties.version', 'type': 'str'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IoTAddon, self).__init__(**kwargs) + self.kind = 'IotEdge' # type: str + self.io_t_device_details = kwargs['io_t_device_details'] + self.io_t_edge_device_details = kwargs['io_t_edge_device_details'] + self.version = None + self.host_platform = None + self.host_platform_type = None + self.provisioning_state = None + + +class IoTDeviceInfo(msrest.serialization.Model): + """Metadata of IoT device/IoT Edge device to be configured. + + All required parameters must be populated in order to send to Azure. + + :param device_id: Required. ID of the IoT device/edge device. + :type device_id: str + :param io_t_host_hub: Required. Host name for the IoT hub associated to the device. + :type io_t_host_hub: str + :param io_t_host_hub_id: Id for the IoT hub associated to the device. + :type io_t_host_hub_id: str + :param authentication: Encrypted IoT device/IoT edge device connection string. + :type authentication: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Authentication + """ + + _validation = { + 'device_id': {'required': True}, + 'io_t_host_hub': {'required': True}, + } + + _attribute_map = { + 'device_id': {'key': 'deviceId', 'type': 'str'}, + 'io_t_host_hub': {'key': 'ioTHostHub', 'type': 'str'}, + 'io_t_host_hub_id': {'key': 'ioTHostHubId', 'type': 'str'}, + 'authentication': {'key': 'authentication', 'type': 'Authentication'}, + } + + def __init__( + self, + **kwargs + ): + super(IoTDeviceInfo, self).__init__(**kwargs) + self.device_id = kwargs['device_id'] + self.io_t_host_hub = kwargs['io_t_host_hub'] + self.io_t_host_hub_id = kwargs.get('io_t_host_hub_id', None) + self.authentication = kwargs.get('authentication', None) + + +class IoTEdgeAgentInfo(msrest.serialization.Model): + """IoT edge agent details is optional, this will be used for download system Agent module while bootstrapping IoT Role if specified. + + All required parameters must be populated in order to send to Azure. + + :param image_name: Required. Name of the IoT edge agent image. + :type image_name: str + :param tag: Required. Image Tag. + :type tag: str + :param image_repository: Image repository details. + :type image_repository: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ImageRepositoryCredential + """ + + _validation = { + 'image_name': {'required': True}, + 'tag': {'required': True}, + } + + _attribute_map = { + 'image_name': {'key': 'imageName', 'type': 'str'}, + 'tag': {'key': 'tag', 'type': 'str'}, + 'image_repository': {'key': 'imageRepository', 'type': 'ImageRepositoryCredential'}, + } + + def __init__( + self, + **kwargs + ): + super(IoTEdgeAgentInfo, self).__init__(**kwargs) + self.image_name = kwargs['image_name'] + self.tag = kwargs['tag'] + self.image_repository = kwargs.get('image_repository', None) + + +class IoTRole(Role): + """Compute role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param host_platform: Host OS supported by the IoT role. Possible values include: "Windows", + "Linux". + :type host_platform: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.PlatformType + :param io_t_device_details: IoT device metadata to which data box edge device needs to be + connected. + :type io_t_device_details: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.IoTDeviceInfo + :param io_t_edge_device_details: IoT edge device to which the IoT role needs to be configured. + :type io_t_edge_device_details: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.IoTDeviceInfo + :param share_mappings: Mount points of shares in role(s). + :type share_mappings: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MountPointMap] + :param io_t_edge_agent_info: Iot edge agent details to download the agent and bootstrap iot + runtime. + :type io_t_edge_agent_info: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.IoTEdgeAgentInfo + :ivar host_platform_type: Platform where the Iot runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.HostPlatformType + :param compute_resource: Resource allocation. + :type compute_resource: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ComputeResource + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'io_t_device_details': {'key': 'properties.ioTDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'io_t_edge_device_details': {'key': 'properties.ioTEdgeDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'share_mappings': {'key': 'properties.shareMappings', 'type': '[MountPointMap]'}, + 'io_t_edge_agent_info': {'key': 'properties.ioTEdgeAgentInfo', 'type': 'IoTEdgeAgentInfo'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'compute_resource': {'key': 'properties.computeResource', 'type': 'ComputeResource'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IoTRole, self).__init__(**kwargs) + self.kind = 'IOT' # type: str + self.host_platform = kwargs.get('host_platform', None) + self.io_t_device_details = kwargs.get('io_t_device_details', None) + self.io_t_edge_device_details = kwargs.get('io_t_edge_device_details', None) + self.share_mappings = kwargs.get('share_mappings', None) + self.io_t_edge_agent_info = kwargs.get('io_t_edge_agent_info', None) + self.host_platform_type = None + self.compute_resource = kwargs.get('compute_resource', None) + self.role_status = kwargs.get('role_status', None) + + +class Ipv4Config(msrest.serialization.Model): + """Details related to the IPv4 address configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar ip_address: The IPv4 address of the network adapter. + :vartype ip_address: str + :ivar subnet: The IPv4 subnet of the network adapter. + :vartype subnet: str + :ivar gateway: The IPv4 gateway of the network adapter. + :vartype gateway: str + """ + + _validation = { + 'ip_address': {'readonly': True}, + 'subnet': {'readonly': True}, + 'gateway': {'readonly': True}, + } + + _attribute_map = { + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + 'subnet': {'key': 'subnet', 'type': 'str'}, + 'gateway': {'key': 'gateway', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Ipv4Config, self).__init__(**kwargs) + self.ip_address = None + self.subnet = None + self.gateway = None + + +class Ipv6Config(msrest.serialization.Model): + """Details related to the IPv6 address configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar ip_address: The IPv6 address of the network adapter. + :vartype ip_address: str + :ivar prefix_length: The IPv6 prefix of the network adapter. + :vartype prefix_length: int + :ivar gateway: The IPv6 gateway of the network adapter. + :vartype gateway: str + """ + + _validation = { + 'ip_address': {'readonly': True}, + 'prefix_length': {'readonly': True}, + 'gateway': {'readonly': True}, + } + + _attribute_map = { + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + 'prefix_length': {'key': 'prefixLength', 'type': 'int'}, + 'gateway': {'key': 'gateway', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Ipv6Config, self).__init__(**kwargs) + self.ip_address = None + self.prefix_length = None + self.gateway = None + + +class Job(msrest.serialization.Model): + """A device job. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The name of the object. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar status: The current status of the job. Possible values include: "Invalid", "Running", + "Succeeded", "Failed", "Canceled", "Paused", "Scheduled". + :vartype status: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.JobStatus + :ivar start_time: The UTC date and time at which the job started. + :vartype start_time: ~datetime.datetime + :ivar end_time: The UTC date and time at which the job completed. + :vartype end_time: ~datetime.datetime + :ivar percent_complete: The percentage of the job that is complete. + :vartype percent_complete: int + :ivar error: The error details. + :vartype error: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.JobErrorDetails + :ivar job_type: The type of the job. Possible values include: "Invalid", "ScanForUpdates", + "DownloadUpdates", "InstallUpdates", "RefreshShare", "RefreshContainer", "Backup", "Restore", + "TriggerSupportPackage". + :vartype job_type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.JobType + :ivar current_stage: Current stage of the update operation. Possible values include: "Unknown", + "Initial", "ScanStarted", "ScanComplete", "ScanFailed", "DownloadStarted", "DownloadComplete", + "DownloadFailed", "InstallStarted", "InstallComplete", "InstallFailed", "RebootInitiated", + "Success", "Failure", "RescanStarted", "RescanComplete", "RescanFailed". + :vartype current_stage: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.UpdateOperationStage + :ivar download_progress: The download progress. + :vartype download_progress: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.UpdateDownloadProgress + :ivar install_progress: The install progress. + :vartype install_progress: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.UpdateInstallProgress + :ivar total_refresh_errors: Total number of errors encountered during the refresh process. + :vartype total_refresh_errors: int + :ivar error_manifest_file: Local share/remote container relative path to the error manifest + file of the refresh. + :vartype error_manifest_file: str + :ivar refreshed_entity_id: ARM ID of the entity that was refreshed. + :vartype refreshed_entity_id: str + :param folder: If only subfolders need to be refreshed, then the subfolder path inside the + share or container. (The path is empty if there are no subfolders.). + :type folder: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'status': {'readonly': True}, + 'start_time': {'readonly': True}, + 'end_time': {'readonly': True}, + 'percent_complete': {'readonly': True}, + 'error': {'readonly': True}, + 'job_type': {'readonly': True}, + 'current_stage': {'readonly': True}, + 'download_progress': {'readonly': True}, + 'install_progress': {'readonly': True}, + 'total_refresh_errors': {'readonly': True}, + 'error_manifest_file': {'readonly': True}, + 'refreshed_entity_id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'percent_complete': {'key': 'percentComplete', 'type': 'int'}, + 'error': {'key': 'error', 'type': 'JobErrorDetails'}, + 'job_type': {'key': 'properties.jobType', 'type': 'str'}, + 'current_stage': {'key': 'properties.currentStage', 'type': 'str'}, + 'download_progress': {'key': 'properties.downloadProgress', 'type': 'UpdateDownloadProgress'}, + 'install_progress': {'key': 'properties.installProgress', 'type': 'UpdateInstallProgress'}, + 'total_refresh_errors': {'key': 'properties.totalRefreshErrors', 'type': 'int'}, + 'error_manifest_file': {'key': 'properties.errorManifestFile', 'type': 'str'}, + 'refreshed_entity_id': {'key': 'properties.refreshedEntityId', 'type': 'str'}, + 'folder': {'key': 'properties.folder', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Job, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.status = None + self.start_time = None + self.end_time = None + self.percent_complete = None + self.error = None + self.job_type = None + self.current_stage = None + self.download_progress = None + self.install_progress = None + self.total_refresh_errors = None + self.error_manifest_file = None + self.refreshed_entity_id = None + self.folder = kwargs.get('folder', None) + + +class JobErrorDetails(msrest.serialization.Model): + """The job error information containing the list of job errors. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar error_details: The error details. + :vartype error_details: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.JobErrorItem] + :ivar code: The code intended for programmatic access. + :vartype code: str + :ivar message: The message that describes the error in detail. + :vartype message: str + """ + + _validation = { + 'error_details': {'readonly': True}, + 'code': {'readonly': True}, + 'message': {'readonly': True}, + } + + _attribute_map = { + 'error_details': {'key': 'errorDetails', 'type': '[JobErrorItem]'}, + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(JobErrorDetails, self).__init__(**kwargs) + self.error_details = None + self.code = None + self.message = None + + +class JobErrorItem(msrest.serialization.Model): + """The job error items. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar recommendations: The recommended actions. + :vartype recommendations: list[str] + :ivar code: The code intended for programmatic access. + :vartype code: str + :ivar message: The message that describes the error in detail. + :vartype message: str + """ + + _validation = { + 'recommendations': {'readonly': True}, + 'code': {'readonly': True}, + 'message': {'readonly': True}, + } + + _attribute_map = { + 'recommendations': {'key': 'recommendations', 'type': '[str]'}, + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(JobErrorItem, self).__init__(**kwargs) + self.recommendations = None + self.code = None + self.message = None + + +class KubernetesClusterInfo(msrest.serialization.Model): + """Kubernetes cluster configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar etcd_info: Etcd configuration. + :vartype etcd_info: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.EtcdInfo + :ivar nodes: Kubernetes cluster nodes. + :vartype nodes: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.NodeInfo] + :param version: Required. Kubernetes cluster version. + :type version: str + """ + + _validation = { + 'etcd_info': {'readonly': True}, + 'nodes': {'readonly': True}, + 'version': {'required': True}, + } + + _attribute_map = { + 'etcd_info': {'key': 'etcdInfo', 'type': 'EtcdInfo'}, + 'nodes': {'key': 'nodes', 'type': '[NodeInfo]'}, + 'version': {'key': 'version', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesClusterInfo, self).__init__(**kwargs) + self.etcd_info = None + self.nodes = None + self.version = kwargs['version'] + + +class KubernetesIPConfiguration(msrest.serialization.Model): + """Kubernetes node IP configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar port: Port of the Kubernetes node. + :vartype port: str + :param ip_address: IP address of the Kubernetes node. + :type ip_address: str + """ + + _validation = { + 'port': {'readonly': True}, + } + + _attribute_map = { + 'port': {'key': 'port', 'type': 'str'}, + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesIPConfiguration, self).__init__(**kwargs) + self.port = None + self.ip_address = kwargs.get('ip_address', None) + + +class KubernetesRole(Role): + """Kubernetes role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param host_platform: Host OS supported by the Kubernetes role. Possible values include: + "Windows", "Linux". + :type host_platform: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.PlatformType + :ivar provisioning_state: State of Kubernetes deployment. Possible values include: "Invalid", + "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting". + :vartype provisioning_state: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.KubernetesState + :ivar host_platform_type: Platform where the runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.HostPlatformType + :param kubernetes_cluster_info: Kubernetes cluster configuration. + :type kubernetes_cluster_info: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.KubernetesClusterInfo + :param kubernetes_role_resources: Kubernetes role resources. + :type kubernetes_role_resources: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.KubernetesRoleResources + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'kubernetes_cluster_info': {'key': 'properties.kubernetesClusterInfo', 'type': 'KubernetesClusterInfo'}, + 'kubernetes_role_resources': {'key': 'properties.kubernetesRoleResources', 'type': 'KubernetesRoleResources'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRole, self).__init__(**kwargs) + self.kind = 'Kubernetes' # type: str + self.host_platform = kwargs.get('host_platform', None) + self.provisioning_state = None + self.host_platform_type = None + self.kubernetes_cluster_info = kwargs.get('kubernetes_cluster_info', None) + self.kubernetes_role_resources = kwargs.get('kubernetes_role_resources', None) + self.role_status = kwargs.get('role_status', None) + + +class KubernetesRoleCompute(msrest.serialization.Model): + """Kubernetes role compute resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param vm_profile: Required. VM profile. + :type vm_profile: str + :ivar memory_in_bytes: Memory in bytes. + :vartype memory_in_bytes: long + :ivar processor_count: Processor count. + :vartype processor_count: int + """ + + _validation = { + 'vm_profile': {'required': True}, + 'memory_in_bytes': {'readonly': True}, + 'processor_count': {'readonly': True}, + } + + _attribute_map = { + 'vm_profile': {'key': 'vmProfile', 'type': 'str'}, + 'memory_in_bytes': {'key': 'memoryInBytes', 'type': 'long'}, + 'processor_count': {'key': 'processorCount', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleCompute, self).__init__(**kwargs) + self.vm_profile = kwargs['vm_profile'] + self.memory_in_bytes = None + self.processor_count = None + + +class KubernetesRoleNetwork(msrest.serialization.Model): + """Kubernetes role network resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar cni_config: Cni configuration. + :vartype cni_config: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.CniConfig + :ivar load_balancer_config: Load balancer configuration. + :vartype load_balancer_config: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.LoadBalancerConfig + """ + + _validation = { + 'cni_config': {'readonly': True}, + 'load_balancer_config': {'readonly': True}, + } + + _attribute_map = { + 'cni_config': {'key': 'cniConfig', 'type': 'CniConfig'}, + 'load_balancer_config': {'key': 'loadBalancerConfig', 'type': 'LoadBalancerConfig'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleNetwork, self).__init__(**kwargs) + self.cni_config = None + self.load_balancer_config = None + + +class KubernetesRoleResources(msrest.serialization.Model): + """Kubernetes role resources. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param storage: Kubernetes role storage resource. + :type storage: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.KubernetesRoleStorage + :param compute: Required. Kubernetes role compute resource. + :type compute: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.KubernetesRoleCompute + :ivar network: Kubernetes role network resource. + :vartype network: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.KubernetesRoleNetwork + """ + + _validation = { + 'compute': {'required': True}, + 'network': {'readonly': True}, + } + + _attribute_map = { + 'storage': {'key': 'storage', 'type': 'KubernetesRoleStorage'}, + 'compute': {'key': 'compute', 'type': 'KubernetesRoleCompute'}, + 'network': {'key': 'network', 'type': 'KubernetesRoleNetwork'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleResources, self).__init__(**kwargs) + self.storage = kwargs.get('storage', None) + self.compute = kwargs['compute'] + self.network = None + + +class KubernetesRoleStorage(msrest.serialization.Model): + """Kubernetes role storage resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar storage_classes: Kubernetes storage class info. + :vartype storage_classes: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.KubernetesRoleStorageClassInfo] + :param endpoints: Mount points of shares in role(s). + :type endpoints: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MountPointMap] + """ + + _validation = { + 'storage_classes': {'readonly': True}, + } + + _attribute_map = { + 'storage_classes': {'key': 'storageClasses', 'type': '[KubernetesRoleStorageClassInfo]'}, + 'endpoints': {'key': 'endpoints', 'type': '[MountPointMap]'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleStorage, self).__init__(**kwargs) + self.storage_classes = None + self.endpoints = kwargs.get('endpoints', None) + + +class KubernetesRoleStorageClassInfo(msrest.serialization.Model): + """Kubernetes storage class info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Storage class name. + :vartype name: str + :ivar type: Storage class type. + :vartype type: str + :ivar posix_compliant: If provisioned storage is posix compliant. Possible values include: + "Invalid", "Enabled", "Disabled". + :vartype posix_compliant: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.PosixComplianceStatus + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'posix_compliant': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'posix_compliant': {'key': 'posixCompliant', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleStorageClassInfo, self).__init__(**kwargs) + self.name = None + self.type = None + self.posix_compliant = None + + +class LoadBalancerConfig(msrest.serialization.Model): + """Load balancer configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: Load balancer type. + :vartype type: str + :ivar version: Load balancer version. + :vartype version: str + """ + + _validation = { + 'type': {'readonly': True}, + 'version': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LoadBalancerConfig, self).__init__(**kwargs) + self.type = None + self.version = None + + +class MECRole(Role): + """MEC role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param connection_string: Activation key of the MEC. + :type connection_string: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AsymmetricEncryptedSecret + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'connection_string': {'key': 'properties.connectionString', 'type': 'AsymmetricEncryptedSecret'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MECRole, self).__init__(**kwargs) + self.kind = 'MEC' # type: str + self.connection_string = kwargs.get('connection_string', None) + self.role_status = kwargs.get('role_status', None) + + +class MetricConfiguration(msrest.serialization.Model): + """Metric configuration. + + All required parameters must be populated in order to send to Azure. + + :param resource_id: Required. The Resource ID on which the metrics should be pushed. + :type resource_id: str + :param mdm_account: The MDM account to which the counters should be pushed. + :type mdm_account: str + :param metric_name_space: The MDM namespace to which the counters should be pushed. This is + required if MDMAccount is specified. + :type metric_name_space: str + :param counter_sets: Required. Host name for the IoT hub associated to the device. + :type counter_sets: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MetricCounterSet] + """ + + _validation = { + 'resource_id': {'required': True}, + 'counter_sets': {'required': True}, + } + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'mdm_account': {'key': 'mdmAccount', 'type': 'str'}, + 'metric_name_space': {'key': 'metricNameSpace', 'type': 'str'}, + 'counter_sets': {'key': 'counterSets', 'type': '[MetricCounterSet]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricConfiguration, self).__init__(**kwargs) + self.resource_id = kwargs['resource_id'] + self.mdm_account = kwargs.get('mdm_account', None) + self.metric_name_space = kwargs.get('metric_name_space', None) + self.counter_sets = kwargs['counter_sets'] + + +class MetricCounter(msrest.serialization.Model): + """The metric counter. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The counter name. + :type name: str + :param instance: The instance from which counter should be collected. + :type instance: str + :param dimension_filter: The dimension filter. + :type dimension_filter: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MetricDimension] + :param additional_dimensions: The additional dimensions to be added to metric. + :type additional_dimensions: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MetricDimension] + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'instance': {'key': 'instance', 'type': 'str'}, + 'dimension_filter': {'key': 'dimensionFilter', 'type': '[MetricDimension]'}, + 'additional_dimensions': {'key': 'additionalDimensions', 'type': '[MetricDimension]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricCounter, self).__init__(**kwargs) + self.name = kwargs['name'] + self.instance = kwargs.get('instance', None) + self.dimension_filter = kwargs.get('dimension_filter', None) + self.additional_dimensions = kwargs.get('additional_dimensions', None) + + +class MetricCounterSet(msrest.serialization.Model): + """The metric counter set. + + All required parameters must be populated in order to send to Azure. + + :param counters: Required. The counters that should be collected in this set. + :type counters: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MetricCounter] + """ + + _validation = { + 'counters': {'required': True}, + } + + _attribute_map = { + 'counters': {'key': 'counters', 'type': '[MetricCounter]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricCounterSet, self).__init__(**kwargs) + self.counters = kwargs['counters'] + + +class MetricDimension(msrest.serialization.Model): + """The metric dimension. + + All required parameters must be populated in order to send to Azure. + + :param source_type: Required. The dimension type. + :type source_type: str + :param source_name: Required. The dimension value. + :type source_name: str + """ + + _validation = { + 'source_type': {'required': True}, + 'source_name': {'required': True}, + } + + _attribute_map = { + 'source_type': {'key': 'sourceType', 'type': 'str'}, + 'source_name': {'key': 'sourceName', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricDimension, self).__init__(**kwargs) + self.source_type = kwargs['source_type'] + self.source_name = kwargs['source_name'] + + +class MetricDimensionV1(msrest.serialization.Model): + """Metric Dimension v1. + + :param name: Name of the metrics dimension. + :type name: str + :param display_name: Display name of the metrics dimension. + :type display_name: str + :param to_be_exported_for_shoebox: To be exported to shoe box. + :type to_be_exported_for_shoebox: bool + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'to_be_exported_for_shoebox': {'key': 'toBeExportedForShoebox', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricDimensionV1, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display_name = kwargs.get('display_name', None) + self.to_be_exported_for_shoebox = kwargs.get('to_be_exported_for_shoebox', None) + + +class MetricSpecificationV1(msrest.serialization.Model): + """Metric specification version 1. + + :param name: Name of the metric. + :type name: str + :param display_name: Display name of the metric. + :type display_name: str + :param display_description: Description of the metric to be displayed. + :type display_description: str + :param unit: Metric units. Possible values include: "NotSpecified", "Percent", "Count", + "Seconds", "Milliseconds", "Bytes", "BytesPerSecond", "CountPerSecond". + :type unit: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.MetricUnit + :param aggregation_type: Metric aggregation type. Possible values include: "NotSpecified", + "None", "Average", "Minimum", "Maximum", "Total", "Count". + :type aggregation_type: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.MetricAggregationType + :param dimensions: Metric dimensions, other than default dimension which is resource. + :type dimensions: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MetricDimensionV1] + :param fill_gap_with_zero: Set true to fill the gaps with zero. + :type fill_gap_with_zero: bool + :param category: Metric category. Possible values include: "Capacity", "Transaction". + :type category: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.MetricCategory + :param resource_id_dimension_name_override: Resource name override. + :type resource_id_dimension_name_override: str + :param supported_time_grain_types: Support granularity of metrics. + :type supported_time_grain_types: list[str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.TimeGrain] + :param supported_aggregation_types: Support metric aggregation type. + :type supported_aggregation_types: list[str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.MetricAggregationType] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'display_description': {'key': 'displayDescription', 'type': 'str'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, + 'dimensions': {'key': 'dimensions', 'type': '[MetricDimensionV1]'}, + 'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'}, + 'category': {'key': 'category', 'type': 'str'}, + 'resource_id_dimension_name_override': {'key': 'resourceIdDimensionNameOverride', 'type': 'str'}, + 'supported_time_grain_types': {'key': 'supportedTimeGrainTypes', 'type': '[str]'}, + 'supported_aggregation_types': {'key': 'supportedAggregationTypes', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricSpecificationV1, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display_name = kwargs.get('display_name', None) + self.display_description = kwargs.get('display_description', None) + self.unit = kwargs.get('unit', None) + self.aggregation_type = kwargs.get('aggregation_type', None) + self.dimensions = kwargs.get('dimensions', None) + self.fill_gap_with_zero = kwargs.get('fill_gap_with_zero', None) + self.category = kwargs.get('category', None) + self.resource_id_dimension_name_override = kwargs.get('resource_id_dimension_name_override', None) + self.supported_time_grain_types = kwargs.get('supported_time_grain_types', None) + self.supported_aggregation_types = kwargs.get('supported_aggregation_types', None) + + +class MonitoringMetricConfiguration(ARMBaseModel): + """The metric setting details for the role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param metric_configurations: Required. The metrics configuration details. + :type metric_configurations: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MetricConfiguration] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'metric_configurations': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'metric_configurations': {'key': 'properties.metricConfigurations', 'type': '[MetricConfiguration]'}, + } + + def __init__( + self, + **kwargs + ): + super(MonitoringMetricConfiguration, self).__init__(**kwargs) + self.metric_configurations = kwargs['metric_configurations'] + + +class MonitoringMetricConfigurationList(msrest.serialization.Model): + """Collection of metric configurations. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of metric configurations. + :vartype value: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MonitoringMetricConfiguration] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[MonitoringMetricConfiguration]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MonitoringMetricConfigurationList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class MountPointMap(msrest.serialization.Model): + """The share mount point. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param share_id: Required. ID of the share mounted to the role VM. + :type share_id: str + :ivar role_id: ID of the role to which share is mounted. + :vartype role_id: str + :ivar mount_point: Mount point for the share. + :vartype mount_point: str + :ivar mount_type: Mounting type. Possible values include: "Volume", "HostPath". + :vartype mount_type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.MountType + :ivar role_type: Role type. Possible values include: "IOT", "ASA", "Functions", "Cognitive", + "MEC", "CloudEdgeManagement", "Kubernetes". + :vartype role_type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleTypes + """ + + _validation = { + 'share_id': {'required': True}, + 'role_id': {'readonly': True}, + 'mount_point': {'readonly': True}, + 'mount_type': {'readonly': True}, + 'role_type': {'readonly': True}, + } + + _attribute_map = { + 'share_id': {'key': 'shareId', 'type': 'str'}, + 'role_id': {'key': 'roleId', 'type': 'str'}, + 'mount_point': {'key': 'mountPoint', 'type': 'str'}, + 'mount_type': {'key': 'mountType', 'type': 'str'}, + 'role_type': {'key': 'roleType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MountPointMap, self).__init__(**kwargs) + self.share_id = kwargs['share_id'] + self.role_id = None + self.mount_point = None + self.mount_type = None + self.role_type = None + + +class NetworkAdapter(msrest.serialization.Model): + """Represents the networkAdapter on a device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar adapter_id: Instance ID of network adapter. + :vartype adapter_id: str + :ivar adapter_position: Hardware position of network adapter. + :vartype adapter_position: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.NetworkAdapterPosition + :ivar index: Logical index of the adapter. + :vartype index: int + :ivar node_id: Node ID of the network adapter. + :vartype node_id: str + :ivar network_adapter_name: Network adapter name. + :vartype network_adapter_name: str + :ivar label: Hardware label for the adapter. + :vartype label: str + :ivar mac_address: MAC address. + :vartype mac_address: str + :ivar link_speed: Link speed. + :vartype link_speed: long + :ivar status: Value indicating whether this adapter is valid. Possible values include: + "Inactive", "Active". + :vartype status: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.NetworkAdapterStatus + :param rdma_status: Value indicating whether this adapter is RDMA capable. Possible values + include: "Incapable", "Capable". + :type rdma_status: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.NetworkAdapterRDMAStatus + :param dhcp_status: Value indicating whether this adapter has DHCP enabled. Possible values + include: "Disabled", "Enabled". + :type dhcp_status: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.NetworkAdapterDHCPStatus + :ivar ipv4_configuration: The IPv4 configuration of the network adapter. + :vartype ipv4_configuration: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Ipv4Config + :ivar ipv6_configuration: The IPv6 configuration of the network adapter. + :vartype ipv6_configuration: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Ipv6Config + :ivar ipv6_link_local_address: The IPv6 local address. + :vartype ipv6_link_local_address: str + :ivar dns_servers: The list of DNS Servers of the device. + :vartype dns_servers: list[str] + """ + + _validation = { + 'adapter_id': {'readonly': True}, + 'adapter_position': {'readonly': True}, + 'index': {'readonly': True}, + 'node_id': {'readonly': True}, + 'network_adapter_name': {'readonly': True}, + 'label': {'readonly': True}, + 'mac_address': {'readonly': True}, + 'link_speed': {'readonly': True}, + 'status': {'readonly': True}, + 'ipv4_configuration': {'readonly': True}, + 'ipv6_configuration': {'readonly': True}, + 'ipv6_link_local_address': {'readonly': True}, + 'dns_servers': {'readonly': True}, + } + + _attribute_map = { + 'adapter_id': {'key': 'adapterId', 'type': 'str'}, + 'adapter_position': {'key': 'adapterPosition', 'type': 'NetworkAdapterPosition'}, + 'index': {'key': 'index', 'type': 'int'}, + 'node_id': {'key': 'nodeId', 'type': 'str'}, + 'network_adapter_name': {'key': 'networkAdapterName', 'type': 'str'}, + 'label': {'key': 'label', 'type': 'str'}, + 'mac_address': {'key': 'macAddress', 'type': 'str'}, + 'link_speed': {'key': 'linkSpeed', 'type': 'long'}, + 'status': {'key': 'status', 'type': 'str'}, + 'rdma_status': {'key': 'rdmaStatus', 'type': 'str'}, + 'dhcp_status': {'key': 'dhcpStatus', 'type': 'str'}, + 'ipv4_configuration': {'key': 'ipv4Configuration', 'type': 'Ipv4Config'}, + 'ipv6_configuration': {'key': 'ipv6Configuration', 'type': 'Ipv6Config'}, + 'ipv6_link_local_address': {'key': 'ipv6LinkLocalAddress', 'type': 'str'}, + 'dns_servers': {'key': 'dnsServers', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkAdapter, self).__init__(**kwargs) + self.adapter_id = None + self.adapter_position = None + self.index = None + self.node_id = None + self.network_adapter_name = None + self.label = None + self.mac_address = None + self.link_speed = None + self.status = None + self.rdma_status = kwargs.get('rdma_status', None) + self.dhcp_status = kwargs.get('dhcp_status', None) + self.ipv4_configuration = None + self.ipv6_configuration = None + self.ipv6_link_local_address = None + self.dns_servers = None + + +class NetworkAdapterPosition(msrest.serialization.Model): + """The network adapter position. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar network_group: The network group. Possible values include: "None", "NonRDMA", "RDMA". + :vartype network_group: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.NetworkGroup + :ivar port: The port. + :vartype port: int + """ + + _validation = { + 'network_group': {'readonly': True}, + 'port': {'readonly': True}, + } + + _attribute_map = { + 'network_group': {'key': 'networkGroup', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkAdapterPosition, self).__init__(**kwargs) + self.network_group = None + self.port = None + + +class NetworkSettings(ARMBaseModel): + """The network settings of a device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar network_adapters: The network adapter list on the device. + :vartype network_adapters: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.NetworkAdapter] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'network_adapters': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'network_adapters': {'key': 'properties.networkAdapters', 'type': '[NetworkAdapter]'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkSettings, self).__init__(**kwargs) + self.network_adapters = None + + +class Node(ARMBaseModel): + """Represents a single node in a Data box Edge/Gateway device +Gateway devices, standalone Edge devices and a single node cluster Edge device will all have 1 node +Multi-node Edge devices will have more than 1 nodes. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar node_status: The current status of the individual node. Possible values include: + "Unknown", "Up", "Down", "Rebooting", "ShuttingDown". + :vartype node_status: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.NodeStatus + :ivar node_chassis_serial_number: Serial number of the Chassis. + :vartype node_chassis_serial_number: str + :ivar node_serial_number: Serial number of the individual node. + :vartype node_serial_number: str + :ivar node_display_name: Display Name of the individual node. + :vartype node_display_name: str + :ivar node_friendly_software_version: Friendly software version name that is currently + installed on the node. + :vartype node_friendly_software_version: str + :ivar node_hcs_version: HCS version that is currently installed on the node. + :vartype node_hcs_version: str + :ivar node_instance_id: Guid instance id of the node. + :vartype node_instance_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'node_status': {'readonly': True}, + 'node_chassis_serial_number': {'readonly': True}, + 'node_serial_number': {'readonly': True}, + 'node_display_name': {'readonly': True}, + 'node_friendly_software_version': {'readonly': True}, + 'node_hcs_version': {'readonly': True}, + 'node_instance_id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'node_status': {'key': 'properties.nodeStatus', 'type': 'str'}, + 'node_chassis_serial_number': {'key': 'properties.nodeChassisSerialNumber', 'type': 'str'}, + 'node_serial_number': {'key': 'properties.nodeSerialNumber', 'type': 'str'}, + 'node_display_name': {'key': 'properties.nodeDisplayName', 'type': 'str'}, + 'node_friendly_software_version': {'key': 'properties.nodeFriendlySoftwareVersion', 'type': 'str'}, + 'node_hcs_version': {'key': 'properties.nodeHcsVersion', 'type': 'str'}, + 'node_instance_id': {'key': 'properties.nodeInstanceId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Node, self).__init__(**kwargs) + self.node_status = None + self.node_chassis_serial_number = None + self.node_serial_number = None + self.node_display_name = None + self.node_friendly_software_version = None + self.node_hcs_version = None + self.node_instance_id = None + + +class NodeInfo(msrest.serialization.Model): + """Kubernetes node info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Node name. + :vartype name: str + :ivar type: Node type - Master/Worker. Possible values include: "Invalid", "Master", "Worker". + :vartype type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.KubernetesNodeType + :param ip_configuration: IP Configuration of the Kubernetes node. + :type ip_configuration: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.KubernetesIPConfiguration] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'ip_configuration': {'key': 'ipConfiguration', 'type': '[KubernetesIPConfiguration]'}, + } + + def __init__( + self, + **kwargs + ): + super(NodeInfo, self).__init__(**kwargs) + self.name = None + self.type = None + self.ip_configuration = kwargs.get('ip_configuration', None) + + +class NodeList(msrest.serialization.Model): + """Collection of Nodes. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of Nodes. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Node] + :param next_link: Link to the next set of results. + :type next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Node]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NodeList, self).__init__(**kwargs) + self.value = None + self.next_link = kwargs.get('next_link', None) + + +class Operation(msrest.serialization.Model): + """Operations. + + :param name: Name of the operation. + :type name: str + :param display: Properties displayed for the operation. + :type display: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.OperationDisplay + :param origin: Origin of the operation. + :type origin: str + :param is_data_action: Indicates whether the operation is a data action. + :type is_data_action: bool + :param service_specification: Service specification. + :type service_specification: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ServiceSpecification + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'OperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, + 'service_specification': {'key': 'properties.serviceSpecification', 'type': 'ServiceSpecification'}, + } + + def __init__( + self, + **kwargs + ): + super(Operation, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display = kwargs.get('display', None) + self.origin = kwargs.get('origin', None) + self.is_data_action = kwargs.get('is_data_action', None) + self.service_specification = kwargs.get('service_specification', None) + + +class OperationDisplay(msrest.serialization.Model): + """Operation display properties. + + :param provider: Provider name. + :type provider: str + :param resource: The type of resource in which the operation is performed. + :type resource: str + :param operation: Operation to be performed on the resource. + :type operation: str + :param description: Description of the operation to be performed. + :type description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OperationDisplay, self).__init__(**kwargs) + self.provider = kwargs.get('provider', None) + self.resource = kwargs.get('resource', None) + self.operation = kwargs.get('operation', None) + self.description = kwargs.get('description', None) + + +class OperationsList(msrest.serialization.Model): + """The list of operations used for the discovery of available provider operations. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. The value. + :type value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Operation] + :param next_link: Link to the next set of results. + :type next_link: str + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Operation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OperationsList, self).__init__(**kwargs) + self.value = kwargs['value'] + self.next_link = kwargs.get('next_link', None) + + +class Order(ARMBaseModel): + """The order details. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param contact_information: The contact details. + :type contact_information: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ContactDetails + :param shipping_address: The shipping address. + :type shipping_address: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Address + :ivar current_status: Current status of the order. + :vartype current_status: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.OrderStatus + :ivar order_history: List of status changes in the order. + :vartype order_history: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.OrderStatus] + :ivar serial_number: Serial number of the device. + :vartype serial_number: str + :ivar delivery_tracking_info: Tracking information for the package delivered to the customer + whether it has an original or a replacement device. + :vartype delivery_tracking_info: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.TrackingInfo] + :ivar return_tracking_info: Tracking information for the package returned from the customer + whether it has an original or a replacement device. + :vartype return_tracking_info: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.TrackingInfo] + :param shipment_type: ShipmentType of the order. Possible values include: "NotApplicable", + "ShippedToCustomer", "SelfPickup". + :type shipment_type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ShipmentType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'current_status': {'readonly': True}, + 'order_history': {'readonly': True}, + 'serial_number': {'readonly': True}, + 'delivery_tracking_info': {'readonly': True}, + 'return_tracking_info': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'contact_information': {'key': 'properties.contactInformation', 'type': 'ContactDetails'}, + 'shipping_address': {'key': 'properties.shippingAddress', 'type': 'Address'}, + 'current_status': {'key': 'properties.currentStatus', 'type': 'OrderStatus'}, + 'order_history': {'key': 'properties.orderHistory', 'type': '[OrderStatus]'}, + 'serial_number': {'key': 'properties.serialNumber', 'type': 'str'}, + 'delivery_tracking_info': {'key': 'properties.deliveryTrackingInfo', 'type': '[TrackingInfo]'}, + 'return_tracking_info': {'key': 'properties.returnTrackingInfo', 'type': '[TrackingInfo]'}, + 'shipment_type': {'key': 'properties.shipmentType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Order, self).__init__(**kwargs) + self.contact_information = kwargs.get('contact_information', None) + self.shipping_address = kwargs.get('shipping_address', None) + self.current_status = None + self.order_history = None + self.serial_number = None + self.delivery_tracking_info = None + self.return_tracking_info = None + self.shipment_type = kwargs.get('shipment_type', None) + + +class OrderList(msrest.serialization.Model): + """List of order entities. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of orders. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Order] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Order]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OrderList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class OrderStatus(msrest.serialization.Model): + """Represents a single status change. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param status: Required. Status of the order as per the allowed status types. Possible values + include: "Untracked", "AwaitingFulfilment", "AwaitingPreparation", "AwaitingShipment", + "Shipped", "Arriving", "Delivered", "ReplacementRequested", "LostDevice", "Declined", + "ReturnInitiated", "AwaitingReturnShipment", "ShippedBack", "CollectedAtMicrosoft", + "AwaitingPickup", "PickupCompleted", "AwaitingDrop". + :type status: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.OrderState + :ivar update_date_time: Time of status update. + :vartype update_date_time: ~datetime.datetime + :param comments: Comments related to this status change. + :type comments: str + :ivar tracking_information: Tracking information related to the state in the ordering flow. + :vartype tracking_information: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.TrackingInfo + :ivar additional_order_details: Dictionary to hold generic information which is not stored + by the already existing properties. + :vartype additional_order_details: dict[str, str] + """ + + _validation = { + 'status': {'required': True}, + 'update_date_time': {'readonly': True}, + 'tracking_information': {'readonly': True}, + 'additional_order_details': {'readonly': True}, + } + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + 'update_date_time': {'key': 'updateDateTime', 'type': 'iso-8601'}, + 'comments': {'key': 'comments', 'type': 'str'}, + 'tracking_information': {'key': 'trackingInformation', 'type': 'TrackingInfo'}, + 'additional_order_details': {'key': 'additionalOrderDetails', 'type': '{str}'}, + } + + def __init__( + self, + **kwargs + ): + super(OrderStatus, self).__init__(**kwargs) + self.status = kwargs['status'] + self.update_date_time = None + self.comments = kwargs.get('comments', None) + self.tracking_information = None + self.additional_order_details = None + + +class PeriodicTimerEventTrigger(Trigger): + """Trigger details. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Trigger in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: + "FileEvent", "PeriodicTimerEvent". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.TriggerEventType + :param source_info: Required. Periodic timer details. + :type source_info: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.PeriodicTimerSourceInfo + :param sink_info: Required. Role Sink information. + :type sink_info: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleSinkInfo + :param custom_context_tag: A custom context tag typically used to correlate the trigger against + its usage. For example, if a periodic timer trigger is intended for certain specific IoT + modules in the device, the tag can be the name or the image URL of the module. + :type custom_context_tag: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'kind': {'required': True}, + 'source_info': {'required': True}, + 'sink_info': {'required': True}, + 'custom_context_tag': {'max_length': 192, 'min_length': 0}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'source_info': {'key': 'properties.sourceInfo', 'type': 'PeriodicTimerSourceInfo'}, + 'sink_info': {'key': 'properties.sinkInfo', 'type': 'RoleSinkInfo'}, + 'custom_context_tag': {'key': 'properties.customContextTag', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PeriodicTimerEventTrigger, self).__init__(**kwargs) + self.kind = 'PeriodicTimerEvent' # type: str + self.source_info = kwargs['source_info'] + self.sink_info = kwargs['sink_info'] + self.custom_context_tag = kwargs.get('custom_context_tag', None) + + +class PeriodicTimerSourceInfo(msrest.serialization.Model): + """Periodic timer event source. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. The time of the day that results in a valid trigger. Schedule is + computed with reference to the time specified upto seconds. If timezone is not specified the + time will considered to be in device timezone. The value will always be returned as UTC time. + :type start_time: ~datetime.datetime + :param schedule: Required. Periodic frequency at which timer event needs to be raised. Supports + daily, hourly, minutes, and seconds. + :type schedule: str + :param topic: Topic where periodic events are published to IoT device. + :type topic: str + """ + + _validation = { + 'start_time': {'required': True}, + 'schedule': {'required': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'schedule': {'key': 'schedule', 'type': 'str'}, + 'topic': {'key': 'topic', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PeriodicTimerSourceInfo, self).__init__(**kwargs) + self.start_time = kwargs['start_time'] + self.schedule = kwargs['schedule'] + self.topic = kwargs.get('topic', None) + + +class RefreshDetails(msrest.serialization.Model): + """Fields for tracking refresh job on the share or container. + + :param in_progress_refresh_job_id: If a refresh job is currently in progress on this share or + container, this field indicates the ARM resource ID of that job. The field is empty if no job + is in progress. + :type in_progress_refresh_job_id: str + :param last_completed_refresh_job_time_in_utc: Indicates the completed time for the last + refresh job on this particular share or container, if any.This could be a failed job or a + successful job. + :type last_completed_refresh_job_time_in_utc: ~datetime.datetime + :param error_manifest_file: Indicates the relative path of the error xml for the last refresh + job on this particular share or container, if any. This could be a failed job or a successful + job. + :type error_manifest_file: str + :param last_job: Indicates the id of the last refresh job on this particular share or + container,if any. This could be a failed job or a successful job. + :type last_job: str + """ + + _attribute_map = { + 'in_progress_refresh_job_id': {'key': 'inProgressRefreshJobId', 'type': 'str'}, + 'last_completed_refresh_job_time_in_utc': {'key': 'lastCompletedRefreshJobTimeInUTC', 'type': 'iso-8601'}, + 'error_manifest_file': {'key': 'errorManifestFile', 'type': 'str'}, + 'last_job': {'key': 'lastJob', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RefreshDetails, self).__init__(**kwargs) + self.in_progress_refresh_job_id = kwargs.get('in_progress_refresh_job_id', None) + self.last_completed_refresh_job_time_in_utc = kwargs.get('last_completed_refresh_job_time_in_utc', None) + self.error_manifest_file = kwargs.get('error_manifest_file', None) + self.last_job = kwargs.get('last_job', None) + + +class ResourceIdentity(msrest.serialization.Model): + """Msi identity details of the resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param type: Identity type. Possible values include: "None", "SystemAssigned", "UserAssigned". + :type type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.MsiIdentityType + :ivar principal_id: Service Principal Id backing the Msi. + :vartype principal_id: str + :ivar tenant_id: Home Tenant Id. + :vartype tenant_id: str + """ + + _validation = { + 'principal_id': {'readonly': True}, + 'tenant_id': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'principal_id': {'key': 'principalId', 'type': 'str'}, + 'tenant_id': {'key': 'tenantId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceIdentity, self).__init__(**kwargs) + self.type = kwargs.get('type', None) + self.principal_id = None + self.tenant_id = None + + +class ResourceMoveDetails(msrest.serialization.Model): + """Fields for tracking resource move. + + :param operation_in_progress: Denotes whether move operation is in progress. Possible values + include: "None", "ResourceMoveInProgress", "ResourceMoveFailed". + :type operation_in_progress: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ResourceMoveStatus + :param operation_in_progress_lock_timeout_in_utc: Denotes the timeout of the operation to + finish. + :type operation_in_progress_lock_timeout_in_utc: ~datetime.datetime + """ + + _attribute_map = { + 'operation_in_progress': {'key': 'operationInProgress', 'type': 'str'}, + 'operation_in_progress_lock_timeout_in_utc': {'key': 'operationInProgressLockTimeoutInUTC', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceMoveDetails, self).__init__(**kwargs) + self.operation_in_progress = kwargs.get('operation_in_progress', None) + self.operation_in_progress_lock_timeout_in_utc = kwargs.get('operation_in_progress_lock_timeout_in_utc', None) + + +class ResourceTypeSku(msrest.serialization.Model): + """Resource type Sku object. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar resource_type: The resource type. + :vartype resource_type: str + :ivar skus: The skus. + :vartype skus: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.SkuInformation] + """ + + _validation = { + 'resource_type': {'readonly': True}, + 'skus': {'readonly': True}, + } + + _attribute_map = { + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'skus': {'key': 'skus', 'type': '[SkuInformation]'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceTypeSku, self).__init__(**kwargs) + self.resource_type = None + self.skus = None + + +class RoleList(msrest.serialization.Model): + """Collection of all the roles on the Data Box Edge device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The Value. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Role] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Role]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RoleList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class RoleSinkInfo(msrest.serialization.Model): + """Compute role against which events will be raised. + + All required parameters must be populated in order to send to Azure. + + :param role_id: Required. Compute role ID. + :type role_id: str + """ + + _validation = { + 'role_id': {'required': True}, + } + + _attribute_map = { + 'role_id': {'key': 'roleId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RoleSinkInfo, self).__init__(**kwargs) + self.role_id = kwargs['role_id'] + + +class SecuritySettings(ARMBaseModel): + """The security settings of a device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param device_admin_password: Required. Device administrator password as an encrypted string + (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual + password should have at least 8 characters that are a combination of uppercase, lowercase, + numeric, and special characters. + :type device_admin_password: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AsymmetricEncryptedSecret + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'device_admin_password': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'device_admin_password': {'key': 'properties.deviceAdminPassword', 'type': 'AsymmetricEncryptedSecret'}, + } + + def __init__( + self, + **kwargs + ): + super(SecuritySettings, self).__init__(**kwargs) + self.device_admin_password = kwargs['device_admin_password'] + + +class ServiceSpecification(msrest.serialization.Model): + """Service specification. + + :param metric_specifications: Metric specification as defined by shoebox. + :type metric_specifications: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MetricSpecificationV1] + """ + + _attribute_map = { + 'metric_specifications': {'key': 'metricSpecifications', 'type': '[MetricSpecificationV1]'}, + } + + def __init__( + self, + **kwargs + ): + super(ServiceSpecification, self).__init__(**kwargs) + self.metric_specifications = kwargs.get('metric_specifications', None) + + +class Share(ARMBaseModel): + """Represents a share on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Share on ASE device. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param description: Description for the share. + :type description: str + :param share_status: Required. Current status of the share. Possible values include: "Offline", + "Unknown", "OK", "Updating", "NeedsAttention". + :type share_status: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ShareStatus + :param monitoring_status: Required. Current monitoring status of the share. Possible values + include: "Enabled", "Disabled". + :type monitoring_status: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.MonitoringStatus + :param azure_container_info: Azure container mapping for the share. + :type azure_container_info: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AzureContainerInfo + :param access_protocol: Required. Access protocol to be used by the share. Possible values + include: "SMB", "NFS". + :type access_protocol: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ShareAccessProtocol + :param user_access_rights: Mapping of users and corresponding access rights on the share + (required for SMB protocol). + :type user_access_rights: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.UserAccessRight] + :param client_access_rights: List of IP addresses and corresponding access rights on the + share(required for NFS protocol). + :type client_access_rights: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.ClientAccessRight] + :param refresh_details: Details of the refresh job on this share. + :type refresh_details: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RefreshDetails + :ivar share_mappings: Share mount point to the role. + :vartype share_mappings: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MountPointMap] + :param data_policy: Data policy of the share. Possible values include: "Cloud", "Local". + :type data_policy: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataPolicy + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'share_status': {'required': True}, + 'monitoring_status': {'required': True}, + 'access_protocol': {'required': True}, + 'share_mappings': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'share_status': {'key': 'properties.shareStatus', 'type': 'str'}, + 'monitoring_status': {'key': 'properties.monitoringStatus', 'type': 'str'}, + 'azure_container_info': {'key': 'properties.azureContainerInfo', 'type': 'AzureContainerInfo'}, + 'access_protocol': {'key': 'properties.accessProtocol', 'type': 'str'}, + 'user_access_rights': {'key': 'properties.userAccessRights', 'type': '[UserAccessRight]'}, + 'client_access_rights': {'key': 'properties.clientAccessRights', 'type': '[ClientAccessRight]'}, + 'refresh_details': {'key': 'properties.refreshDetails', 'type': 'RefreshDetails'}, + 'share_mappings': {'key': 'properties.shareMappings', 'type': '[MountPointMap]'}, + 'data_policy': {'key': 'properties.dataPolicy', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Share, self).__init__(**kwargs) + self.system_data = None + self.description = kwargs.get('description', None) + self.share_status = kwargs['share_status'] + self.monitoring_status = kwargs['monitoring_status'] + self.azure_container_info = kwargs.get('azure_container_info', None) + self.access_protocol = kwargs['access_protocol'] + self.user_access_rights = kwargs.get('user_access_rights', None) + self.client_access_rights = kwargs.get('client_access_rights', None) + self.refresh_details = kwargs.get('refresh_details', None) + self.share_mappings = None + self.data_policy = kwargs.get('data_policy', None) + + +class ShareAccessRight(msrest.serialization.Model): + """Specifies the mapping between this particular user and the type of access he has on shares on this device. + + All required parameters must be populated in order to send to Azure. + + :param share_id: Required. The share ID. + :type share_id: str + :param access_type: Required. Type of access to be allowed on the share for this user. Possible + values include: "Change", "Read", "Custom". + :type access_type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ShareAccessType + """ + + _validation = { + 'share_id': {'required': True}, + 'access_type': {'required': True}, + } + + _attribute_map = { + 'share_id': {'key': 'shareId', 'type': 'str'}, + 'access_type': {'key': 'accessType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ShareAccessRight, self).__init__(**kwargs) + self.share_id = kwargs['share_id'] + self.access_type = kwargs['access_type'] + + +class ShareList(msrest.serialization.Model): + """Collection of all the shares on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of shares. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Share] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Share]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ShareList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class Sku(msrest.serialization.Model): + """The SKU type. + + :param name: SKU name. Possible values include: "Gateway", "Edge", "TEA_1Node", + "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", + "TEA_4Node_UPS_Heater", "TMA", "TDC", "TCA_Small", "GPU", "TCA_Large", "EdgeP_Base", + "EdgeP_High", "EdgePR_Base", "EdgePR_Base_UPS", "EdgeMR_Mini", "RCA_Small", "RCA_Large", "RDC". + :type name: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SkuName + :param tier: The SKU tier. This is based on the SKU name. Possible values include: "Standard". + :type tier: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SkuTier + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Sku, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.tier = kwargs.get('tier', None) + + +class SkuCost(msrest.serialization.Model): + """The metadata for retrieving price info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar meter_id: Used for querying price from commerce. + :vartype meter_id: str + :ivar quantity: The cost quantity. + :vartype quantity: long + :ivar extended_unit: The extended unit. + :vartype extended_unit: str + """ + + _validation = { + 'meter_id': {'readonly': True}, + 'quantity': {'readonly': True}, + 'extended_unit': {'readonly': True}, + } + + _attribute_map = { + 'meter_id': {'key': 'meterId', 'type': 'str'}, + 'quantity': {'key': 'quantity', 'type': 'long'}, + 'extended_unit': {'key': 'extendedUnit', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuCost, self).__init__(**kwargs) + self.meter_id = None + self.quantity = None + self.extended_unit = None + + +class SkuInformation(msrest.serialization.Model): + """Sku information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: The sku name. + :vartype name: str + :ivar tier: The sku tier. + :vartype tier: str + :ivar kind: The sku kind. + :vartype kind: str + :ivar family: The Sku family. + :vartype family: str + :ivar costs: The pricing info of the Sku. + :vartype costs: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.SkuCost] + :ivar locations: The locations where Sku is available. + :vartype locations: list[str] + :ivar location_info: The locations where Sku is available with zones and sites info. + :vartype location_info: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.SkuLocationInfo] + :ivar required_quota_ids: The required quotaIds for the sku to be available. + :vartype required_quota_ids: list[str] + :ivar required_features: The required features for the sku to be available. + :vartype required_features: list[str] + """ + + _validation = { + 'name': {'readonly': True}, + 'tier': {'readonly': True}, + 'kind': {'readonly': True}, + 'family': {'readonly': True}, + 'costs': {'readonly': True}, + 'locations': {'readonly': True}, + 'location_info': {'readonly': True}, + 'required_quota_ids': {'readonly': True}, + 'required_features': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'costs': {'key': 'costs', 'type': '[SkuCost]'}, + 'locations': {'key': 'locations', 'type': '[str]'}, + 'location_info': {'key': 'locationInfo', 'type': '[SkuLocationInfo]'}, + 'required_quota_ids': {'key': 'requiredQuotaIds', 'type': '[str]'}, + 'required_features': {'key': 'requiredFeatures', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuInformation, self).__init__(**kwargs) + self.name = None + self.tier = None + self.kind = None + self.family = None + self.costs = None + self.locations = None + self.location_info = None + self.required_quota_ids = None + self.required_features = None + + +class SkuInformationList(msrest.serialization.Model): + """List of SKU Information objects. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of ResourceTypeSku objects. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.ResourceTypeSku] + :ivar next_link: Links to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ResourceTypeSku]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuInformationList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SkuLocationInfo(msrest.serialization.Model): + """The location info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar location: The location. + :vartype location: str + :ivar zones: The zones. + :vartype zones: list[str] + :ivar sites: The sites. + :vartype sites: list[str] + """ + + _validation = { + 'location': {'readonly': True}, + 'zones': {'readonly': True}, + 'sites': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + 'sites': {'key': 'sites', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuLocationInfo, self).__init__(**kwargs) + self.location = None + self.zones = None + self.sites = None + + +class StorageAccount(ARMBaseModel): + """Represents a Storage Account on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: StorageAccount object on ASE device. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param description: Description for the storage Account. + :type description: str + :param storage_account_status: Current status of the storage account. Possible values include: + "OK", "Offline", "Unknown", "Updating", "NeedsAttention". + :type storage_account_status: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.StorageAccountStatus + :param data_policy: Required. Data policy of the storage Account. Possible values include: + "Cloud", "Local". + :type data_policy: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataPolicy + :param storage_account_credential_id: Storage Account Credential Id. + :type storage_account_credential_id: str + :ivar blob_endpoint: BlobEndpoint of Storage Account. + :vartype blob_endpoint: str + :ivar container_count: The Container Count. Present only for Storage Accounts with DataPolicy + set to Cloud. + :vartype container_count: int + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'data_policy': {'required': True}, + 'blob_endpoint': {'readonly': True}, + 'container_count': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'storage_account_status': {'key': 'properties.storageAccountStatus', 'type': 'str'}, + 'data_policy': {'key': 'properties.dataPolicy', 'type': 'str'}, + 'storage_account_credential_id': {'key': 'properties.storageAccountCredentialId', 'type': 'str'}, + 'blob_endpoint': {'key': 'properties.blobEndpoint', 'type': 'str'}, + 'container_count': {'key': 'properties.containerCount', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(StorageAccount, self).__init__(**kwargs) + self.system_data = None + self.description = kwargs.get('description', None) + self.storage_account_status = kwargs.get('storage_account_status', None) + self.data_policy = kwargs['data_policy'] + self.storage_account_credential_id = kwargs.get('storage_account_credential_id', None) + self.blob_endpoint = None + self.container_count = None + + +class StorageAccountCredential(ARMBaseModel): + """The storage account credential. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: StorageAccountCredential object. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param alias: Required. Alias for the storage account. + :type alias: str + :param user_name: Username for the storage account. + :type user_name: str + :param account_key: Encrypted storage key. + :type account_key: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AsymmetricEncryptedSecret + :param connection_string: Connection string for the storage account. Use this string if + username and account key are not specified. + :type connection_string: str + :param ssl_status: Required. Signifies whether SSL needs to be enabled or not. Possible values + include: "Enabled", "Disabled". + :type ssl_status: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SSLStatus + :param blob_domain_name: Blob end point for private clouds. + :type blob_domain_name: str + :param account_type: Required. Type of storage accessed on the storage account. Possible values + include: "GeneralPurposeStorage", "BlobStorage". + :type account_type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AccountType + :param storage_account_id: Id of the storage account. + :type storage_account_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'alias': {'required': True}, + 'ssl_status': {'required': True}, + 'account_type': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'alias': {'key': 'properties.alias', 'type': 'str'}, + 'user_name': {'key': 'properties.userName', 'type': 'str'}, + 'account_key': {'key': 'properties.accountKey', 'type': 'AsymmetricEncryptedSecret'}, + 'connection_string': {'key': 'properties.connectionString', 'type': 'str'}, + 'ssl_status': {'key': 'properties.sslStatus', 'type': 'str'}, + 'blob_domain_name': {'key': 'properties.blobDomainName', 'type': 'str'}, + 'account_type': {'key': 'properties.accountType', 'type': 'str'}, + 'storage_account_id': {'key': 'properties.storageAccountId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StorageAccountCredential, self).__init__(**kwargs) + self.system_data = None + self.alias = kwargs['alias'] + self.user_name = kwargs.get('user_name', None) + self.account_key = kwargs.get('account_key', None) + self.connection_string = kwargs.get('connection_string', None) + self.ssl_status = kwargs['ssl_status'] + self.blob_domain_name = kwargs.get('blob_domain_name', None) + self.account_type = kwargs['account_type'] + self.storage_account_id = kwargs.get('storage_account_id', None) + + +class StorageAccountCredentialList(msrest.serialization.Model): + """The collection of storage account credentials. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The value. + :vartype value: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.StorageAccountCredential] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[StorageAccountCredential]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StorageAccountCredentialList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class StorageAccountList(msrest.serialization.Model): + """Collection of all the Storage Accounts on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of storageAccounts. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.StorageAccount] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[StorageAccount]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StorageAccountList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SubscriptionRegisteredFeatures(msrest.serialization.Model): + """SubscriptionRegisteredFeatures. + + :param name: + :type name: str + :param state: + :type state: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SubscriptionRegisteredFeatures, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.state = kwargs.get('state', None) + + +class SymmetricKey(msrest.serialization.Model): + """Symmetric key for authentication. + + :param connection_string: Connection string based on the symmetric key. + :type connection_string: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AsymmetricEncryptedSecret + """ + + _attribute_map = { + 'connection_string': {'key': 'connectionString', 'type': 'AsymmetricEncryptedSecret'}, + } + + def __init__( + self, + **kwargs + ): + super(SymmetricKey, self).__init__(**kwargs) + self.connection_string = kwargs.get('connection_string', None) + + +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :param created_by: The identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :type created_by_type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.CreatedByType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: ~datetime.datetime + :param last_modified_by: The identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :type last_modified_by_type: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.CreatedByType + :param last_modified_at: The type of identity that last modified the resource. + :type last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(SystemData, self).__init__(**kwargs) + self.created_by = kwargs.get('created_by', None) + self.created_by_type = kwargs.get('created_by_type', None) + self.created_at = kwargs.get('created_at', None) + self.last_modified_by = kwargs.get('last_modified_by', None) + self.last_modified_by_type = kwargs.get('last_modified_by_type', None) + self.last_modified_at = kwargs.get('last_modified_at', None) + + +class TrackingInfo(msrest.serialization.Model): + """Tracking courier information. + + :param serial_number: Serial number of the device being tracked. + :type serial_number: str + :param carrier_name: Name of the carrier used in the delivery. + :type carrier_name: str + :param tracking_id: Tracking ID of the shipment. + :type tracking_id: str + :param tracking_url: Tracking URL of the shipment. + :type tracking_url: str + """ + + _attribute_map = { + 'serial_number': {'key': 'serialNumber', 'type': 'str'}, + 'carrier_name': {'key': 'carrierName', 'type': 'str'}, + 'tracking_id': {'key': 'trackingId', 'type': 'str'}, + 'tracking_url': {'key': 'trackingUrl', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TrackingInfo, self).__init__(**kwargs) + self.serial_number = kwargs.get('serial_number', None) + self.carrier_name = kwargs.get('carrier_name', None) + self.tracking_id = kwargs.get('tracking_id', None) + self.tracking_url = kwargs.get('tracking_url', None) + + +class TriggerList(msrest.serialization.Model): + """Collection of all trigger on the data box edge device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of triggers. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Trigger] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Trigger]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TriggerList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class UpdateDownloadProgress(msrest.serialization.Model): + """Details about the download progress of update. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar download_phase: The download phase. Possible values include: "Unknown", "Initializing", + "Downloading", "Verifying". + :vartype download_phase: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DownloadPhase + :ivar percent_complete: Percentage of completion. + :vartype percent_complete: int + :ivar total_bytes_to_download: Total bytes to download. + :vartype total_bytes_to_download: float + :ivar total_bytes_downloaded: Total bytes downloaded. + :vartype total_bytes_downloaded: float + :ivar number_of_updates_to_download: Number of updates to download. + :vartype number_of_updates_to_download: int + :ivar number_of_updates_downloaded: Number of updates downloaded. + :vartype number_of_updates_downloaded: int + """ + + _validation = { + 'download_phase': {'readonly': True}, + 'percent_complete': {'readonly': True}, + 'total_bytes_to_download': {'readonly': True}, + 'total_bytes_downloaded': {'readonly': True}, + 'number_of_updates_to_download': {'readonly': True}, + 'number_of_updates_downloaded': {'readonly': True}, + } + + _attribute_map = { + 'download_phase': {'key': 'downloadPhase', 'type': 'str'}, + 'percent_complete': {'key': 'percentComplete', 'type': 'int'}, + 'total_bytes_to_download': {'key': 'totalBytesToDownload', 'type': 'float'}, + 'total_bytes_downloaded': {'key': 'totalBytesDownloaded', 'type': 'float'}, + 'number_of_updates_to_download': {'key': 'numberOfUpdatesToDownload', 'type': 'int'}, + 'number_of_updates_downloaded': {'key': 'numberOfUpdatesDownloaded', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(UpdateDownloadProgress, self).__init__(**kwargs) + self.download_phase = None + self.percent_complete = None + self.total_bytes_to_download = None + self.total_bytes_downloaded = None + self.number_of_updates_to_download = None + self.number_of_updates_downloaded = None + + +class UpdateInstallProgress(msrest.serialization.Model): + """Progress details during installation of updates. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar percent_complete: Percentage completed. + :vartype percent_complete: int + :ivar number_of_updates_to_install: Number of updates to install. + :vartype number_of_updates_to_install: int + :ivar number_of_updates_installed: Number of updates installed. + :vartype number_of_updates_installed: int + """ + + _validation = { + 'percent_complete': {'readonly': True}, + 'number_of_updates_to_install': {'readonly': True}, + 'number_of_updates_installed': {'readonly': True}, + } + + _attribute_map = { + 'percent_complete': {'key': 'percentComplete', 'type': 'int'}, + 'number_of_updates_to_install': {'key': 'numberOfUpdatesToInstall', 'type': 'int'}, + 'number_of_updates_installed': {'key': 'numberOfUpdatesInstalled', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(UpdateInstallProgress, self).__init__(**kwargs) + self.percent_complete = None + self.number_of_updates_to_install = None + self.number_of_updates_installed = None + + +class UpdateSummary(ARMBaseModel): + """Details about ongoing updates and availability of updates on the device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param device_version_number: The current version of the device in format: 1.2.17312.13.",. + :type device_version_number: str + :param friendly_device_version_name: The current version of the device in text format. + :type friendly_device_version_name: str + :param device_last_scanned_date_time: The last time when a scan was done on the device. + :type device_last_scanned_date_time: ~datetime.datetime + :param last_completed_scan_job_date_time: The time when the last scan job was completed + (success/cancelled/failed) on the appliance. + :type last_completed_scan_job_date_time: ~datetime.datetime + :ivar last_completed_download_job_date_time: The time when the last Download job was completed + (success/cancelled/failed) on the appliance. + :vartype last_completed_download_job_date_time: ~datetime.datetime + :ivar last_completed_install_job_date_time: The time when the last Install job was completed + (success/cancelled/failed) on the appliance. + :vartype last_completed_install_job_date_time: ~datetime.datetime + :ivar total_number_of_updates_available: The number of updates available for the current device + version as per the last device scan. + :vartype total_number_of_updates_available: int + :ivar total_number_of_updates_pending_download: The total number of items pending download. + :vartype total_number_of_updates_pending_download: int + :ivar total_number_of_updates_pending_install: The total number of items pending install. + :vartype total_number_of_updates_pending_install: int + :ivar reboot_behavior: Indicates if updates are available and at least one of the updates needs + a reboot. Possible values include: "NeverReboots", "RequiresReboot", "RequestReboot". + :vartype reboot_behavior: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.InstallRebootBehavior + :ivar ongoing_update_operation: The current update operation. Possible values include: "None", + "Scan", "Download", "Install". + :vartype ongoing_update_operation: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.UpdateOperation + :ivar in_progress_download_job_id: The job ID of the download job in progress. + :vartype in_progress_download_job_id: str + :ivar in_progress_install_job_id: The job ID of the install job in progress. + :vartype in_progress_install_job_id: str + :ivar in_progress_download_job_started_date_time: The time when the currently running download + (if any) started. + :vartype in_progress_download_job_started_date_time: ~datetime.datetime + :ivar in_progress_install_job_started_date_time: The time when the currently running install + (if any) started. + :vartype in_progress_install_job_started_date_time: ~datetime.datetime + :ivar update_titles: The list of updates available for install. + :vartype update_titles: list[str] + :ivar total_update_size_in_bytes: The total size of updates available for download in bytes. + :vartype total_update_size_in_bytes: float + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'last_completed_download_job_date_time': {'readonly': True}, + 'last_completed_install_job_date_time': {'readonly': True}, + 'total_number_of_updates_available': {'readonly': True}, + 'total_number_of_updates_pending_download': {'readonly': True}, + 'total_number_of_updates_pending_install': {'readonly': True}, + 'reboot_behavior': {'readonly': True}, + 'ongoing_update_operation': {'readonly': True}, + 'in_progress_download_job_id': {'readonly': True}, + 'in_progress_install_job_id': {'readonly': True}, + 'in_progress_download_job_started_date_time': {'readonly': True}, + 'in_progress_install_job_started_date_time': {'readonly': True}, + 'update_titles': {'readonly': True}, + 'total_update_size_in_bytes': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'device_version_number': {'key': 'properties.deviceVersionNumber', 'type': 'str'}, + 'friendly_device_version_name': {'key': 'properties.friendlyDeviceVersionName', 'type': 'str'}, + 'device_last_scanned_date_time': {'key': 'properties.deviceLastScannedDateTime', 'type': 'iso-8601'}, + 'last_completed_scan_job_date_time': {'key': 'properties.lastCompletedScanJobDateTime', 'type': 'iso-8601'}, + 'last_completed_download_job_date_time': {'key': 'properties.lastCompletedDownloadJobDateTime', 'type': 'iso-8601'}, + 'last_completed_install_job_date_time': {'key': 'properties.lastCompletedInstallJobDateTime', 'type': 'iso-8601'}, + 'total_number_of_updates_available': {'key': 'properties.totalNumberOfUpdatesAvailable', 'type': 'int'}, + 'total_number_of_updates_pending_download': {'key': 'properties.totalNumberOfUpdatesPendingDownload', 'type': 'int'}, + 'total_number_of_updates_pending_install': {'key': 'properties.totalNumberOfUpdatesPendingInstall', 'type': 'int'}, + 'reboot_behavior': {'key': 'properties.rebootBehavior', 'type': 'str'}, + 'ongoing_update_operation': {'key': 'properties.ongoingUpdateOperation', 'type': 'str'}, + 'in_progress_download_job_id': {'key': 'properties.inProgressDownloadJobId', 'type': 'str'}, + 'in_progress_install_job_id': {'key': 'properties.inProgressInstallJobId', 'type': 'str'}, + 'in_progress_download_job_started_date_time': {'key': 'properties.inProgressDownloadJobStartedDateTime', 'type': 'iso-8601'}, + 'in_progress_install_job_started_date_time': {'key': 'properties.inProgressInstallJobStartedDateTime', 'type': 'iso-8601'}, + 'update_titles': {'key': 'properties.updateTitles', 'type': '[str]'}, + 'total_update_size_in_bytes': {'key': 'properties.totalUpdateSizeInBytes', 'type': 'float'}, + } + + def __init__( + self, + **kwargs + ): + super(UpdateSummary, self).__init__(**kwargs) + self.device_version_number = kwargs.get('device_version_number', None) + self.friendly_device_version_name = kwargs.get('friendly_device_version_name', None) + self.device_last_scanned_date_time = kwargs.get('device_last_scanned_date_time', None) + self.last_completed_scan_job_date_time = kwargs.get('last_completed_scan_job_date_time', None) + self.last_completed_download_job_date_time = None + self.last_completed_install_job_date_time = None + self.total_number_of_updates_available = None + self.total_number_of_updates_pending_download = None + self.total_number_of_updates_pending_install = None + self.reboot_behavior = None + self.ongoing_update_operation = None + self.in_progress_download_job_id = None + self.in_progress_install_job_id = None + self.in_progress_download_job_started_date_time = None + self.in_progress_install_job_started_date_time = None + self.update_titles = None + self.total_update_size_in_bytes = None + + +class UploadCertificateRequest(msrest.serialization.Model): + """The upload certificate request. + + All required parameters must be populated in order to send to Azure. + + :param authentication_type: The authentication type. Possible values include: "Invalid", + "AzureActiveDirectory". + :type authentication_type: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AuthenticationType + :param certificate: Required. The base64 encoded certificate raw data. + :type certificate: str + """ + + _validation = { + 'certificate': {'required': True}, + } + + _attribute_map = { + 'authentication_type': {'key': 'properties.authenticationType', 'type': 'str'}, + 'certificate': {'key': 'properties.certificate', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UploadCertificateRequest, self).__init__(**kwargs) + self.authentication_type = kwargs.get('authentication_type', None) + self.certificate = kwargs['certificate'] + + +class UploadCertificateResponse(msrest.serialization.Model): + """The upload registration certificate response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param auth_type: Specifies authentication type. Possible values include: "Invalid", + "AzureActiveDirectory". + :type auth_type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AuthenticationType + :ivar resource_id: The resource ID of the Data Box Edge/Gateway device. + :vartype resource_id: str + :ivar aad_authority: Azure Active Directory tenant authority. + :vartype aad_authority: str + :ivar aad_tenant_id: Azure Active Directory tenant ID. + :vartype aad_tenant_id: str + :ivar service_principal_client_id: Azure Active Directory service principal client ID. + :vartype service_principal_client_id: str + :ivar service_principal_object_id: Azure Active Directory service principal object ID. + :vartype service_principal_object_id: str + :ivar azure_management_endpoint_audience: The azure management endpoint audience. + :vartype azure_management_endpoint_audience: str + :ivar aad_audience: Identifier of the target resource that is the recipient of the requested + token. + :vartype aad_audience: str + """ + + _validation = { + 'resource_id': {'readonly': True}, + 'aad_authority': {'readonly': True}, + 'aad_tenant_id': {'readonly': True}, + 'service_principal_client_id': {'readonly': True}, + 'service_principal_object_id': {'readonly': True}, + 'azure_management_endpoint_audience': {'readonly': True}, + 'aad_audience': {'readonly': True}, + } + + _attribute_map = { + 'auth_type': {'key': 'authType', 'type': 'str'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'aad_authority': {'key': 'aadAuthority', 'type': 'str'}, + 'aad_tenant_id': {'key': 'aadTenantId', 'type': 'str'}, + 'service_principal_client_id': {'key': 'servicePrincipalClientId', 'type': 'str'}, + 'service_principal_object_id': {'key': 'servicePrincipalObjectId', 'type': 'str'}, + 'azure_management_endpoint_audience': {'key': 'azureManagementEndpointAudience', 'type': 'str'}, + 'aad_audience': {'key': 'aadAudience', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UploadCertificateResponse, self).__init__(**kwargs) + self.auth_type = kwargs.get('auth_type', None) + self.resource_id = None + self.aad_authority = None + self.aad_tenant_id = None + self.service_principal_client_id = None + self.service_principal_object_id = None + self.azure_management_endpoint_audience = None + self.aad_audience = None + + +class User(ARMBaseModel): + """Represents a user who has access to one or more shares on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: User in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param encrypted_password: The password details. + :type encrypted_password: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AsymmetricEncryptedSecret + :ivar share_access_rights: List of shares that the user has rights on. This field should not be + specified during user creation. + :vartype share_access_rights: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.ShareAccessRight] + :param user_type: Type of the user. Possible values include: "Share", "LocalManagement", "ARM". + :type user_type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.UserType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'share_access_rights': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'encrypted_password': {'key': 'properties.encryptedPassword', 'type': 'AsymmetricEncryptedSecret'}, + 'share_access_rights': {'key': 'properties.shareAccessRights', 'type': '[ShareAccessRight]'}, + 'user_type': {'key': 'properties.userType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(User, self).__init__(**kwargs) + self.system_data = None + self.encrypted_password = kwargs.get('encrypted_password', None) + self.share_access_rights = None + self.user_type = kwargs.get('user_type', None) + + +class UserAccessRight(msrest.serialization.Model): + """The mapping between a particular user and the access type on the SMB share. + + All required parameters must be populated in order to send to Azure. + + :param user_id: Required. User ID (already existing in the device). + :type user_id: str + :param access_type: Required. Type of access to be allowed for the user. Possible values + include: "Change", "Read", "Custom". + :type access_type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ShareAccessType + """ + + _validation = { + 'user_id': {'required': True}, + 'access_type': {'required': True}, + } + + _attribute_map = { + 'user_id': {'key': 'userId', 'type': 'str'}, + 'access_type': {'key': 'accessType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UserAccessRight, self).__init__(**kwargs) + self.user_id = kwargs['user_id'] + self.access_type = kwargs['access_type'] + + +class UserList(msrest.serialization.Model): + """Collection of users. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of users. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.User] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[User]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UserList, self).__init__(**kwargs) + self.value = None + self.next_link = None diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/models/_models_py3.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/models/_models_py3.py new file mode 100644 index 000000000000..3ee92825fd2d --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/models/_models_py3.py @@ -0,0 +1,5339 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +import datetime +from typing import Dict, List, Optional, Union + +import msrest.serialization + +from ._data_box_edge_management_client_enums import * + + +class ARMBaseModel(msrest.serialization.Model): + """Represents the base class for all object models. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ARMBaseModel, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class Addon(ARMBaseModel): + """Role Addon. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: ArcAddon, IoTAddon. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Addon type.Constant filled by server. Possible values include: + "IotEdge", "ArcForKubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AddonType + :ivar system_data: Addon type. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + } + + _subtype_map = { + 'kind': {'ArcForKubernetes': 'ArcAddon', 'IotEdge': 'IoTAddon'} + } + + def __init__( + self, + **kwargs + ): + super(Addon, self).__init__(**kwargs) + self.kind = 'Addon' # type: str + self.system_data = None + + +class AddonList(msrest.serialization.Model): + """Collection of all the Role addon on the Azure Stack Edge device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The Value. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Addon] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Addon]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AddonList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class Address(msrest.serialization.Model): + """The shipping address of the customer. + + All required parameters must be populated in order to send to Azure. + + :param address_line1: The address line1. + :type address_line1: str + :param address_line2: The address line2. + :type address_line2: str + :param address_line3: The address line3. + :type address_line3: str + :param postal_code: The postal code. + :type postal_code: str + :param city: The city name. + :type city: str + :param state: The state name. + :type state: str + :param country: Required. The country name. + :type country: str + """ + + _validation = { + 'country': {'required': True}, + } + + _attribute_map = { + 'address_line1': {'key': 'addressLine1', 'type': 'str'}, + 'address_line2': {'key': 'addressLine2', 'type': 'str'}, + 'address_line3': {'key': 'addressLine3', 'type': 'str'}, + 'postal_code': {'key': 'postalCode', 'type': 'str'}, + 'city': {'key': 'city', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + 'country': {'key': 'country', 'type': 'str'}, + } + + def __init__( + self, + *, + country: str, + address_line1: Optional[str] = None, + address_line2: Optional[str] = None, + address_line3: Optional[str] = None, + postal_code: Optional[str] = None, + city: Optional[str] = None, + state: Optional[str] = None, + **kwargs + ): + super(Address, self).__init__(**kwargs) + self.address_line1 = address_line1 + self.address_line2 = address_line2 + self.address_line3 = address_line3 + self.postal_code = postal_code + self.city = city + self.state = state + self.country = country + + +class Alert(ARMBaseModel): + """Alert on the data box edge/gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Alert generated in the resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :ivar title: Alert title. + :vartype title: str + :ivar alert_type: Alert type. + :vartype alert_type: str + :ivar appeared_at_date_time: UTC time when the alert appeared. + :vartype appeared_at_date_time: ~datetime.datetime + :ivar recommendation: Alert recommendation. + :vartype recommendation: str + :ivar severity: Severity of the alert. Possible values include: "Informational", "Warning", + "Critical". + :vartype severity: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AlertSeverity + :ivar error_details: Error details of the alert. + :vartype error_details: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AlertErrorDetails + :ivar detailed_information: Alert details. + :vartype detailed_information: dict[str, str] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'title': {'readonly': True}, + 'alert_type': {'readonly': True}, + 'appeared_at_date_time': {'readonly': True}, + 'recommendation': {'readonly': True}, + 'severity': {'readonly': True}, + 'error_details': {'readonly': True}, + 'detailed_information': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'title': {'key': 'properties.title', 'type': 'str'}, + 'alert_type': {'key': 'properties.alertType', 'type': 'str'}, + 'appeared_at_date_time': {'key': 'properties.appearedAtDateTime', 'type': 'iso-8601'}, + 'recommendation': {'key': 'properties.recommendation', 'type': 'str'}, + 'severity': {'key': 'properties.severity', 'type': 'str'}, + 'error_details': {'key': 'properties.errorDetails', 'type': 'AlertErrorDetails'}, + 'detailed_information': {'key': 'properties.detailedInformation', 'type': '{str}'}, + } + + def __init__( + self, + **kwargs + ): + super(Alert, self).__init__(**kwargs) + self.system_data = None + self.title = None + self.alert_type = None + self.appeared_at_date_time = None + self.recommendation = None + self.severity = None + self.error_details = None + self.detailed_information = None + + +class AlertErrorDetails(msrest.serialization.Model): + """Error details for the alert. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar error_code: Error code. + :vartype error_code: str + :ivar error_message: Error Message. + :vartype error_message: str + :ivar occurrences: Number of occurrences. + :vartype occurrences: int + """ + + _validation = { + 'error_code': {'readonly': True}, + 'error_message': {'readonly': True}, + 'occurrences': {'readonly': True}, + } + + _attribute_map = { + 'error_code': {'key': 'errorCode', 'type': 'str'}, + 'error_message': {'key': 'errorMessage', 'type': 'str'}, + 'occurrences': {'key': 'occurrences', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(AlertErrorDetails, self).__init__(**kwargs) + self.error_code = None + self.error_message = None + self.occurrences = None + + +class AlertList(msrest.serialization.Model): + """Collection of alerts. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The value. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Alert] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Alert]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AlertList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ArcAddon(Addon): + """Arc Addon. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Addon type.Constant filled by server. Possible values include: + "IotEdge", "ArcForKubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AddonType + :ivar system_data: Addon type. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param subscription_id: Required. Arc resource subscription Id. + :type subscription_id: str + :param resource_group_name: Required. Arc resource group name. + :type resource_group_name: str + :param resource_name: Required. Arc resource Name. + :type resource_name: str + :param resource_location: Required. Arc resource location. + :type resource_location: str + :ivar version: Arc resource version. + :vartype version: str + :ivar host_platform: Host OS supported by the Arc addon. Possible values include: "Windows", + "Linux". + :vartype host_platform: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.PlatformType + :ivar host_platform_type: Platform where the runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.HostPlatformType + :ivar provisioning_state: Addon Provisioning State. Possible values include: "Invalid", + "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting". + :vartype provisioning_state: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AddonState + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'subscription_id': {'required': True}, + 'resource_group_name': {'required': True}, + 'resource_name': {'required': True}, + 'resource_location': {'required': True}, + 'version': {'readonly': True}, + 'host_platform': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'subscription_id': {'key': 'properties.subscriptionId', 'type': 'str'}, + 'resource_group_name': {'key': 'properties.resourceGroupName', 'type': 'str'}, + 'resource_name': {'key': 'properties.resourceName', 'type': 'str'}, + 'resource_location': {'key': 'properties.resourceLocation', 'type': 'str'}, + 'version': {'key': 'properties.version', 'type': 'str'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + subscription_id: str, + resource_group_name: str, + resource_name: str, + resource_location: str, + **kwargs + ): + super(ArcAddon, self).__init__(**kwargs) + self.kind = 'ArcForKubernetes' # type: str + self.subscription_id = subscription_id + self.resource_group_name = resource_group_name + self.resource_name = resource_name + self.resource_location = resource_location + self.version = None + self.host_platform = None + self.host_platform_type = None + self.provisioning_state = None + + +class AsymmetricEncryptedSecret(msrest.serialization.Model): + """Represent the secrets intended for encryption with asymmetric key pair. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. The value of the secret. + :type value: str + :param encryption_cert_thumbprint: Thumbprint certificate used to encrypt \"Value\". If the + value is unencrypted, it will be null. + :type encryption_cert_thumbprint: str + :param encryption_algorithm: Required. The algorithm used to encrypt "Value". Possible values + include: "None", "AES256", "RSAES_PKCS1_v_1_5". + :type encryption_algorithm: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.EncryptionAlgorithm + """ + + _validation = { + 'value': {'required': True}, + 'encryption_algorithm': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': 'str'}, + 'encryption_cert_thumbprint': {'key': 'encryptionCertThumbprint', 'type': 'str'}, + 'encryption_algorithm': {'key': 'encryptionAlgorithm', 'type': 'str'}, + } + + def __init__( + self, + *, + value: str, + encryption_algorithm: Union[str, "EncryptionAlgorithm"], + encryption_cert_thumbprint: Optional[str] = None, + **kwargs + ): + super(AsymmetricEncryptedSecret, self).__init__(**kwargs) + self.value = value + self.encryption_cert_thumbprint = encryption_cert_thumbprint + self.encryption_algorithm = encryption_algorithm + + +class Authentication(msrest.serialization.Model): + """Authentication mechanism for IoT devices. + + :param symmetric_key: Symmetric key for authentication. + :type symmetric_key: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SymmetricKey + """ + + _attribute_map = { + 'symmetric_key': {'key': 'symmetricKey', 'type': 'SymmetricKey'}, + } + + def __init__( + self, + *, + symmetric_key: Optional["SymmetricKey"] = None, + **kwargs + ): + super(Authentication, self).__init__(**kwargs) + self.symmetric_key = symmetric_key + + +class AzureContainerInfo(msrest.serialization.Model): + """Azure container mapping of the endpoint. + + All required parameters must be populated in order to send to Azure. + + :param storage_account_credential_id: Required. ID of the storage account credential used to + access storage. + :type storage_account_credential_id: str + :param container_name: Required. Container name (Based on the data format specified, this + represents the name of Azure Files/Page blob/Block blob). + :type container_name: str + :param data_format: Required. Storage format used for the file represented by the share. + Possible values include: "BlockBlob", "PageBlob", "AzureFile". + :type data_format: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AzureContainerDataFormat + """ + + _validation = { + 'storage_account_credential_id': {'required': True}, + 'container_name': {'required': True}, + 'data_format': {'required': True}, + } + + _attribute_map = { + 'storage_account_credential_id': {'key': 'storageAccountCredentialId', 'type': 'str'}, + 'container_name': {'key': 'containerName', 'type': 'str'}, + 'data_format': {'key': 'dataFormat', 'type': 'str'}, + } + + def __init__( + self, + *, + storage_account_credential_id: str, + container_name: str, + data_format: Union[str, "AzureContainerDataFormat"], + **kwargs + ): + super(AzureContainerInfo, self).__init__(**kwargs) + self.storage_account_credential_id = storage_account_credential_id + self.container_name = container_name + self.data_format = data_format + + +class BandwidthSchedule(ARMBaseModel): + """The bandwidth schedule details. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Bandwidth object related to ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param start: Required. The start time of the schedule in UTC. + :type start: str + :param stop: Required. The stop time of the schedule in UTC. + :type stop: str + :param rate_in_mbps: Required. The bandwidth rate in Mbps. + :type rate_in_mbps: int + :param days: Required. The days of the week when this schedule is applicable. + :type days: list[str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DayOfWeek] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'start': {'required': True}, + 'stop': {'required': True}, + 'rate_in_mbps': {'required': True}, + 'days': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'start': {'key': 'properties.start', 'type': 'str'}, + 'stop': {'key': 'properties.stop', 'type': 'str'}, + 'rate_in_mbps': {'key': 'properties.rateInMbps', 'type': 'int'}, + 'days': {'key': 'properties.days', 'type': '[str]'}, + } + + def __init__( + self, + *, + start: str, + stop: str, + rate_in_mbps: int, + days: List[Union[str, "DayOfWeek"]], + **kwargs + ): + super(BandwidthSchedule, self).__init__(**kwargs) + self.system_data = None + self.start = start + self.stop = stop + self.rate_in_mbps = rate_in_mbps + self.days = days + + +class BandwidthSchedulesList(msrest.serialization.Model): + """The collection of bandwidth schedules. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of bandwidth schedules. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.BandwidthSchedule] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[BandwidthSchedule]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(BandwidthSchedulesList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ClientAccessRight(msrest.serialization.Model): + """The mapping between a particular client IP and the type of access client has on the NFS share. + + All required parameters must be populated in order to send to Azure. + + :param client: Required. IP of the client. + :type client: str + :param access_permission: Required. Type of access to be allowed for the client. Possible + values include: "NoAccess", "ReadOnly", "ReadWrite". + :type access_permission: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ClientPermissionType + """ + + _validation = { + 'client': {'required': True}, + 'access_permission': {'required': True}, + } + + _attribute_map = { + 'client': {'key': 'client', 'type': 'str'}, + 'access_permission': {'key': 'accessPermission', 'type': 'str'}, + } + + def __init__( + self, + *, + client: str, + access_permission: Union[str, "ClientPermissionType"], + **kwargs + ): + super(ClientAccessRight, self).__init__(**kwargs) + self.client = client + self.access_permission = access_permission + + +class Role(ARMBaseModel): + """Compute role. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: CloudEdgeManagementRole, IoTRole, KubernetesRole, MECRole. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + } + + _subtype_map = { + 'kind': {'CloudEdgeManagement': 'CloudEdgeManagementRole', 'IOT': 'IoTRole', 'Kubernetes': 'KubernetesRole', 'MEC': 'MECRole'} + } + + def __init__( + self, + **kwargs + ): + super(Role, self).__init__(**kwargs) + self.kind = 'Role' # type: str + self.system_data = None + + +class CloudEdgeManagementRole(Role): + """CloudEdgeManagementRole role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :ivar local_management_status: Local Edge Management Status. Possible values include: + "Enabled", "Disabled". + :vartype local_management_status: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleStatus + :ivar edge_profile: Edge Profile of the resource. + :vartype edge_profile: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.EdgeProfile + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'local_management_status': {'readonly': True}, + 'edge_profile': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'local_management_status': {'key': 'properties.localManagementStatus', 'type': 'str'}, + 'edge_profile': {'key': 'properties.edgeProfile', 'type': 'EdgeProfile'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + *, + role_status: Optional[Union[str, "RoleStatus"]] = None, + **kwargs + ): + super(CloudEdgeManagementRole, self).__init__(**kwargs) + self.kind = 'CloudEdgeManagement' # type: str + self.local_management_status = None + self.edge_profile = None + self.role_status = role_status + + +class CloudErrorBody(msrest.serialization.Model): + """An error response from the service. + + :param code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :type code: str + :param message: A message describing the error, intended to be suitable for display in a user + interface. + :type message: str + :param details: A list of additional details about the error. + :type details: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.CloudErrorBody] + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[CloudErrorBody]'}, + } + + def __init__( + self, + *, + code: Optional[str] = None, + message: Optional[str] = None, + details: Optional[List["CloudErrorBody"]] = None, + **kwargs + ): + super(CloudErrorBody, self).__init__(**kwargs) + self.code = code + self.message = message + self.details = details + + +class CniConfig(msrest.serialization.Model): + """Cni configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: Cni type. + :vartype type: str + :ivar version: Cni version. + :vartype version: str + :ivar pod_subnet: Pod Subnet. + :vartype pod_subnet: str + :ivar service_subnet: Service subnet. + :vartype service_subnet: str + """ + + _validation = { + 'type': {'readonly': True}, + 'version': {'readonly': True}, + 'pod_subnet': {'readonly': True}, + 'service_subnet': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + 'pod_subnet': {'key': 'podSubnet', 'type': 'str'}, + 'service_subnet': {'key': 'serviceSubnet', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(CniConfig, self).__init__(**kwargs) + self.type = None + self.version = None + self.pod_subnet = None + self.service_subnet = None + + +class ComputeResource(msrest.serialization.Model): + """Compute infrastructure Resource. + + All required parameters must be populated in order to send to Azure. + + :param processor_count: Required. Processor count. + :type processor_count: int + :param memory_in_gb: Required. Memory in GB. + :type memory_in_gb: long + """ + + _validation = { + 'processor_count': {'required': True}, + 'memory_in_gb': {'required': True}, + } + + _attribute_map = { + 'processor_count': {'key': 'processorCount', 'type': 'int'}, + 'memory_in_gb': {'key': 'memoryInGB', 'type': 'long'}, + } + + def __init__( + self, + *, + processor_count: int, + memory_in_gb: int, + **kwargs + ): + super(ComputeResource, self).__init__(**kwargs) + self.processor_count = processor_count + self.memory_in_gb = memory_in_gb + + +class ContactDetails(msrest.serialization.Model): + """Contains all the contact details of the customer. + + All required parameters must be populated in order to send to Azure. + + :param contact_person: Required. The contact person name. + :type contact_person: str + :param company_name: Required. The name of the company. + :type company_name: str + :param phone: Required. The phone number. + :type phone: str + :param email_list: Required. The email list. + :type email_list: list[str] + """ + + _validation = { + 'contact_person': {'required': True}, + 'company_name': {'required': True}, + 'phone': {'required': True}, + 'email_list': {'required': True}, + } + + _attribute_map = { + 'contact_person': {'key': 'contactPerson', 'type': 'str'}, + 'company_name': {'key': 'companyName', 'type': 'str'}, + 'phone': {'key': 'phone', 'type': 'str'}, + 'email_list': {'key': 'emailList', 'type': '[str]'}, + } + + def __init__( + self, + *, + contact_person: str, + company_name: str, + phone: str, + email_list: List[str], + **kwargs + ): + super(ContactDetails, self).__init__(**kwargs) + self.contact_person = contact_person + self.company_name = company_name + self.phone = phone + self.email_list = email_list + + +class Container(ARMBaseModel): + """Represents a container on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Container in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :ivar container_status: Current status of the container. Possible values include: "OK", + "Offline", "Unknown", "Updating", "NeedsAttention". + :vartype container_status: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ContainerStatus + :param data_format: Required. DataFormat for Container. Possible values include: "BlockBlob", + "PageBlob", "AzureFile". + :type data_format: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AzureContainerDataFormat + :ivar refresh_details: Details of the refresh job on this container. + :vartype refresh_details: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RefreshDetails + :ivar created_date_time: The UTC time when container got created. + :vartype created_date_time: ~datetime.datetime + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'container_status': {'readonly': True}, + 'data_format': {'required': True}, + 'refresh_details': {'readonly': True}, + 'created_date_time': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'container_status': {'key': 'properties.containerStatus', 'type': 'str'}, + 'data_format': {'key': 'properties.dataFormat', 'type': 'str'}, + 'refresh_details': {'key': 'properties.refreshDetails', 'type': 'RefreshDetails'}, + 'created_date_time': {'key': 'properties.createdDateTime', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + data_format: Union[str, "AzureContainerDataFormat"], + **kwargs + ): + super(Container, self).__init__(**kwargs) + self.system_data = None + self.container_status = None + self.data_format = data_format + self.refresh_details = None + self.created_date_time = None + + +class ContainerList(msrest.serialization.Model): + """Collection of all the containers on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of containers. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Container] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Container]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ContainerList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class DataBoxEdgeDevice(ARMBaseModel): + """The Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param location: Required. The location of the device. This is a supported and registered Azure + geographical region (for example, West US, East US, or Southeast Asia). The geographical region + of a device cannot be changed once it is created, but if an identical geographical region is + specified on update, the request will succeed. + :type location: str + :param tags: A set of tags. The list of tags that describe the device. These tags can be used + to view and group this device (across resource groups). + :type tags: dict[str, str] + :param sku: The SKU type. + :type sku: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Sku + :param etag: The etag for the devices. + :type etag: str + :param identity: Msi identity of the resource. + :type identity: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ResourceIdentity + :ivar kind: The etag for the devices. Possible values include: "AzureDataBoxGateway", + "AzureStackEdge", "AzureStackHub", "AzureModularDataCentre". + :vartype kind: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDeviceKind + :ivar system_data: DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param data_box_edge_device_status: The status of the Data Box Edge/Gateway device. Possible + values include: "ReadyToSetup", "Online", "Offline", "NeedsAttention", "Disconnected", + "PartiallyDisconnected", "Maintenance". + :type data_box_edge_device_status: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDeviceStatus + :ivar serial_number: The Serial Number of Data Box Edge/Gateway device. + :vartype serial_number: str + :ivar description: The Description of the Data Box Edge/Gateway device. + :vartype description: str + :ivar model_description: The description of the Data Box Edge/Gateway device model. + :vartype model_description: str + :ivar device_type: The type of the Data Box Edge/Gateway device. Possible values include: + "DataBoxEdgeDevice". + :vartype device_type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DeviceType + :ivar friendly_name: The Data Box Edge/Gateway device name. + :vartype friendly_name: str + :ivar culture: The Data Box Edge/Gateway device culture. + :vartype culture: str + :ivar device_model: The Data Box Edge/Gateway device model. + :vartype device_model: str + :ivar device_software_version: The Data Box Edge/Gateway device software version. + :vartype device_software_version: str + :ivar device_local_capacity: The Data Box Edge/Gateway device local capacity in MB. + :vartype device_local_capacity: long + :ivar time_zone: The Data Box Edge/Gateway device timezone. + :vartype time_zone: str + :ivar device_hcs_version: The device software version number of the device (eg: 1.2.18105.6). + :vartype device_hcs_version: str + :ivar configured_role_types: Type of compute roles configured. + :vartype configured_role_types: list[str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleTypes] + :ivar node_count: The number of nodes in the cluster. + :vartype node_count: int + :ivar resource_move_details: The details of the move operation on this resource. + :vartype resource_move_details: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ResourceMoveDetails + :ivar edge_profile: The details of Edge Profile for this resource. + :vartype edge_profile: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.EdgeProfile + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'kind': {'readonly': True}, + 'system_data': {'readonly': True}, + 'serial_number': {'readonly': True}, + 'description': {'readonly': True}, + 'model_description': {'readonly': True}, + 'device_type': {'readonly': True}, + 'friendly_name': {'readonly': True}, + 'culture': {'readonly': True}, + 'device_model': {'readonly': True}, + 'device_software_version': {'readonly': True}, + 'device_local_capacity': {'readonly': True}, + 'time_zone': {'readonly': True}, + 'device_hcs_version': {'readonly': True}, + 'configured_role_types': {'readonly': True}, + 'node_count': {'readonly': True}, + 'resource_move_details': {'readonly': True}, + 'edge_profile': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'sku': {'key': 'sku', 'type': 'Sku'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'identity': {'key': 'identity', 'type': 'ResourceIdentity'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'data_box_edge_device_status': {'key': 'properties.dataBoxEdgeDeviceStatus', 'type': 'str'}, + 'serial_number': {'key': 'properties.serialNumber', 'type': 'str'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'model_description': {'key': 'properties.modelDescription', 'type': 'str'}, + 'device_type': {'key': 'properties.deviceType', 'type': 'str'}, + 'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'}, + 'culture': {'key': 'properties.culture', 'type': 'str'}, + 'device_model': {'key': 'properties.deviceModel', 'type': 'str'}, + 'device_software_version': {'key': 'properties.deviceSoftwareVersion', 'type': 'str'}, + 'device_local_capacity': {'key': 'properties.deviceLocalCapacity', 'type': 'long'}, + 'time_zone': {'key': 'properties.timeZone', 'type': 'str'}, + 'device_hcs_version': {'key': 'properties.deviceHcsVersion', 'type': 'str'}, + 'configured_role_types': {'key': 'properties.configuredRoleTypes', 'type': '[str]'}, + 'node_count': {'key': 'properties.nodeCount', 'type': 'int'}, + 'resource_move_details': {'key': 'properties.resourceMoveDetails', 'type': 'ResourceMoveDetails'}, + 'edge_profile': {'key': 'properties.edgeProfile', 'type': 'EdgeProfile'}, + } + + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + sku: Optional["Sku"] = None, + etag: Optional[str] = None, + identity: Optional["ResourceIdentity"] = None, + data_box_edge_device_status: Optional[Union[str, "DataBoxEdgeDeviceStatus"]] = None, + **kwargs + ): + super(DataBoxEdgeDevice, self).__init__(**kwargs) + self.location = location + self.tags = tags + self.sku = sku + self.etag = etag + self.identity = identity + self.kind = None + self.system_data = None + self.data_box_edge_device_status = data_box_edge_device_status + self.serial_number = None + self.description = None + self.model_description = None + self.device_type = None + self.friendly_name = None + self.culture = None + self.device_model = None + self.device_software_version = None + self.device_local_capacity = None + self.time_zone = None + self.device_hcs_version = None + self.configured_role_types = None + self.node_count = None + self.resource_move_details = None + self.edge_profile = None + + +class DataBoxEdgeDeviceExtendedInfo(ARMBaseModel): + """The extended Info of the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param encryption_key_thumbprint: The digital signature of encrypted certificate. + :type encryption_key_thumbprint: str + :param encryption_key: The public part of the encryption certificate. Client uses this to + encrypt any secret. + :type encryption_key: str + :ivar resource_key: The Resource ID of the Resource. + :vartype resource_key: str + :param client_secret_store_id: The Key Vault ARM Id for client secrets. + :type client_secret_store_id: str + :param client_secret_store_url: The url to access the Client Key Vault. + :type client_secret_store_url: str + :param channel_integrity_key_name: The name of Channel Integrity Key stored in the Client Key + Vault. + :type channel_integrity_key_name: str + :param channel_integrity_key_version: The version of Channel Integrity Key stored in the Client + Key Vault. + :type channel_integrity_key_version: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'resource_key': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'encryption_key_thumbprint': {'key': 'properties.encryptionKeyThumbprint', 'type': 'str'}, + 'encryption_key': {'key': 'properties.encryptionKey', 'type': 'str'}, + 'resource_key': {'key': 'properties.resourceKey', 'type': 'str'}, + 'client_secret_store_id': {'key': 'properties.clientSecretStoreId', 'type': 'str'}, + 'client_secret_store_url': {'key': 'properties.clientSecretStoreUrl', 'type': 'str'}, + 'channel_integrity_key_name': {'key': 'properties.channelIntegrityKeyName', 'type': 'str'}, + 'channel_integrity_key_version': {'key': 'properties.channelIntegrityKeyVersion', 'type': 'str'}, + } + + def __init__( + self, + *, + encryption_key_thumbprint: Optional[str] = None, + encryption_key: Optional[str] = None, + client_secret_store_id: Optional[str] = None, + client_secret_store_url: Optional[str] = None, + channel_integrity_key_name: Optional[str] = None, + channel_integrity_key_version: Optional[str] = None, + **kwargs + ): + super(DataBoxEdgeDeviceExtendedInfo, self).__init__(**kwargs) + self.encryption_key_thumbprint = encryption_key_thumbprint + self.encryption_key = encryption_key + self.resource_key = None + self.client_secret_store_id = client_secret_store_id + self.client_secret_store_url = client_secret_store_url + self.channel_integrity_key_name = channel_integrity_key_name + self.channel_integrity_key_version = channel_integrity_key_version + + +class DataBoxEdgeDeviceExtendedInfoPatch(msrest.serialization.Model): + """The Data Box Edge/Gateway device extended info patch. + + :param client_secret_store_id: The Key Vault ARM Id for client secrets. + :type client_secret_store_id: str + :param client_secret_store_url: The url to access the Client Key Vault. + :type client_secret_store_url: str + :param channel_integrity_key_name: The name for Channel Integrity Key stored in the Client Key + Vault. + :type channel_integrity_key_name: str + :param channel_integrity_key_version: The version of Channel Integrity Key stored in the Client + Key Vault. + :type channel_integrity_key_version: str + """ + + _attribute_map = { + 'client_secret_store_id': {'key': 'clientSecretStoreId', 'type': 'str'}, + 'client_secret_store_url': {'key': 'clientSecretStoreUrl', 'type': 'str'}, + 'channel_integrity_key_name': {'key': 'channelIntegrityKeyName', 'type': 'str'}, + 'channel_integrity_key_version': {'key': 'channelIntegrityKeyVersion', 'type': 'str'}, + } + + def __init__( + self, + *, + client_secret_store_id: Optional[str] = None, + client_secret_store_url: Optional[str] = None, + channel_integrity_key_name: Optional[str] = None, + channel_integrity_key_version: Optional[str] = None, + **kwargs + ): + super(DataBoxEdgeDeviceExtendedInfoPatch, self).__init__(**kwargs) + self.client_secret_store_id = client_secret_store_id + self.client_secret_store_url = client_secret_store_url + self.channel_integrity_key_name = channel_integrity_key_name + self.channel_integrity_key_version = channel_integrity_key_version + + +class DataBoxEdgeDeviceList(msrest.serialization.Model): + """The collection of Data Box Edge/Gateway devices. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of Data Box Edge/Gateway devices. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDevice] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DataBoxEdgeDevice]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeDeviceList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class DataBoxEdgeDevicePatch(msrest.serialization.Model): + """The Data Box Edge/Gateway device patch. + + :param tags: A set of tags. The tags attached to the Data Box Edge/Gateway resource. + :type tags: dict[str, str] + :param identity: Msi identity of the resource. + :type identity: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ResourceIdentity + :param edge_profile: Edge Profile property of the Data Box Edge/Gateway device. + :type edge_profile: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.EdgeProfilePatch + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + 'identity': {'key': 'identity', 'type': 'ResourceIdentity'}, + 'edge_profile': {'key': 'properties.edgeProfile', 'type': 'EdgeProfilePatch'}, + } + + def __init__( + self, + *, + tags: Optional[Dict[str, str]] = None, + identity: Optional["ResourceIdentity"] = None, + edge_profile: Optional["EdgeProfilePatch"] = None, + **kwargs + ): + super(DataBoxEdgeDevicePatch, self).__init__(**kwargs) + self.tags = tags + self.identity = identity + self.edge_profile = edge_profile + + +class DataBoxEdgeMoveRequest(msrest.serialization.Model): + """Resource Move details. + + All required parameters must be populated in order to send to Azure. + + :param target_resource_group: Required. Target resource group ARMId. + :type target_resource_group: str + :param resources: Required. List of resources to be moved. + :type resources: list[str] + """ + + _validation = { + 'target_resource_group': {'required': True}, + 'resources': {'required': True}, + } + + _attribute_map = { + 'target_resource_group': {'key': 'targetResourceGroup', 'type': 'str'}, + 'resources': {'key': 'resources', 'type': '[str]'}, + } + + def __init__( + self, + *, + target_resource_group: str, + resources: List[str], + **kwargs + ): + super(DataBoxEdgeMoveRequest, self).__init__(**kwargs) + self.target_resource_group = target_resource_group + self.resources = resources + + +class DataBoxEdgeSku(msrest.serialization.Model): + """The Sku information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar resource_type: The type of the resource. + :vartype resource_type: str + :ivar name: The Sku name. Possible values include: "Gateway", "Edge", "TEA_1Node", + "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", + "TEA_4Node_UPS_Heater", "TMA", "TDC", "TCA_Small", "GPU", "TCA_Large", "EdgeP_Base", + "EdgeP_High", "EdgePR_Base", "EdgePR_Base_UPS", "EdgeMR_Mini", "RCA_Small", "RCA_Large", "RDC". + :vartype name: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SkuName + :ivar kind: The Sku kind. + :vartype kind: str + :ivar tier: The Sku tier. Possible values include: "Standard". + :vartype tier: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SkuTier + :ivar size: The Sku kind. + :vartype size: str + :ivar family: The Sku family. + :vartype family: str + :ivar locations: Availability of the Sku for the region. + :vartype locations: list[str] + :ivar api_versions: The API versions in which Sku is available. + :vartype api_versions: list[str] + :ivar location_info: Availability of the Sku for the location/zone/site. + :vartype location_info: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.SkuLocationInfo] + :ivar costs: The pricing info of the Sku. + :vartype costs: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.SkuCost] + :ivar signup_option: Sku can be signed up by customer or not. Possible values include: "None", + "Available". + :vartype signup_option: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SkuSignupOption + :ivar version: Availability of the Sku as preview/stable. Possible values include: "Stable", + "Preview". + :vartype version: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SkuVersion + :ivar availability: Links to the next set of results. Possible values include: "Available", + "Unavailable". + :vartype availability: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SkuAvailability + :ivar shipment_types: List of Shipment Types supported by this SKU. + :vartype shipment_types: list[str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ShipmentType] + """ + + _validation = { + 'resource_type': {'readonly': True}, + 'name': {'readonly': True}, + 'kind': {'readonly': True}, + 'tier': {'readonly': True}, + 'size': {'readonly': True}, + 'family': {'readonly': True}, + 'locations': {'readonly': True}, + 'api_versions': {'readonly': True}, + 'location_info': {'readonly': True}, + 'costs': {'readonly': True}, + 'signup_option': {'readonly': True}, + 'version': {'readonly': True}, + 'availability': {'readonly': True}, + 'shipment_types': {'readonly': True}, + } + + _attribute_map = { + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'size': {'key': 'size', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'locations': {'key': 'locations', 'type': '[str]'}, + 'api_versions': {'key': 'apiVersions', 'type': '[str]'}, + 'location_info': {'key': 'locationInfo', 'type': '[SkuLocationInfo]'}, + 'costs': {'key': 'costs', 'type': '[SkuCost]'}, + 'signup_option': {'key': 'signupOption', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + 'availability': {'key': 'availability', 'type': 'str'}, + 'shipment_types': {'key': 'shipmentTypes', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeSku, self).__init__(**kwargs) + self.resource_type = None + self.name = None + self.kind = None + self.tier = None + self.size = None + self.family = None + self.locations = None + self.api_versions = None + self.location_info = None + self.costs = None + self.signup_option = None + self.version = None + self.availability = None + self.shipment_types = None + + +class DataBoxEdgeSkuList(msrest.serialization.Model): + """List of SKU Information objects. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of ResourceType Sku. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeSku] + :ivar next_link: Links to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DataBoxEdgeSku]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeSkuList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class DCAccessCode(msrest.serialization.Model): + """DC Access code in the case of Self Managed Shipping. + + :param auth_code: DCAccess Code for the Self Managed shipment. + :type auth_code: str + """ + + _attribute_map = { + 'auth_code': {'key': 'properties.authCode', 'type': 'str'}, + } + + def __init__( + self, + *, + auth_code: Optional[str] = None, + **kwargs + ): + super(DCAccessCode, self).__init__(**kwargs) + self.auth_code = auth_code + + +class EdgeProfile(msrest.serialization.Model): + """Details about Edge Profile for the resource. + + :param subscription: Edge Profile Subscription. + :type subscription: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.EdgeProfileSubscription + """ + + _attribute_map = { + 'subscription': {'key': 'subscription', 'type': 'EdgeProfileSubscription'}, + } + + def __init__( + self, + *, + subscription: Optional["EdgeProfileSubscription"] = None, + **kwargs + ): + super(EdgeProfile, self).__init__(**kwargs) + self.subscription = subscription + + +class EdgeProfilePatch(msrest.serialization.Model): + """The Data Box Edge/Gateway Edge Profile patch. + + :param subscription: The Data Box Edge/Gateway Edge Profile Subscription patch. + :type subscription: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.EdgeProfileSubscriptionPatch + """ + + _attribute_map = { + 'subscription': {'key': 'subscription', 'type': 'EdgeProfileSubscriptionPatch'}, + } + + def __init__( + self, + *, + subscription: Optional["EdgeProfileSubscriptionPatch"] = None, + **kwargs + ): + super(EdgeProfilePatch, self).__init__(**kwargs) + self.subscription = subscription + + +class EdgeProfileSubscription(msrest.serialization.Model): + """Subscription details for the Edge Profile. + + :param registration_id: Edge Subscription Registration ID. + :type registration_id: str + :param id: ARM ID of the subscription. + :type id: str + :param state: Possible values include: "Registered", "Warned", "Suspended", "Deleted", + "Unregistered". + :type state: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SubscriptionState + :param registration_date: + :type registration_date: str + :param subscription_id: + :type subscription_id: str + :param tenant_id: + :type tenant_id: str + :param location_placement_id: + :type location_placement_id: str + :param quota_id: + :type quota_id: str + :param serialized_details: + :type serialized_details: str + :param registered_features: + :type registered_features: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.SubscriptionRegisteredFeatures] + """ + + _attribute_map = { + 'registration_id': {'key': 'registrationId', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + 'registration_date': {'key': 'registrationDate', 'type': 'str'}, + 'subscription_id': {'key': 'subscriptionId', 'type': 'str'}, + 'tenant_id': {'key': 'properties.tenantId', 'type': 'str'}, + 'location_placement_id': {'key': 'properties.locationPlacementId', 'type': 'str'}, + 'quota_id': {'key': 'properties.quotaId', 'type': 'str'}, + 'serialized_details': {'key': 'properties.serializedDetails', 'type': 'str'}, + 'registered_features': {'key': 'properties.registeredFeatures', 'type': '[SubscriptionRegisteredFeatures]'}, + } + + def __init__( + self, + *, + registration_id: Optional[str] = None, + id: Optional[str] = None, + state: Optional[Union[str, "SubscriptionState"]] = None, + registration_date: Optional[str] = None, + subscription_id: Optional[str] = None, + tenant_id: Optional[str] = None, + location_placement_id: Optional[str] = None, + quota_id: Optional[str] = None, + serialized_details: Optional[str] = None, + registered_features: Optional[List["SubscriptionRegisteredFeatures"]] = None, + **kwargs + ): + super(EdgeProfileSubscription, self).__init__(**kwargs) + self.registration_id = registration_id + self.id = id + self.state = state + self.registration_date = registration_date + self.subscription_id = subscription_id + self.tenant_id = tenant_id + self.location_placement_id = location_placement_id + self.quota_id = quota_id + self.serialized_details = serialized_details + self.registered_features = registered_features + + +class EdgeProfileSubscriptionPatch(msrest.serialization.Model): + """The Data Box Edge/Gateway Edge Profile Subscription patch. + + :param id: The path ID that uniquely identifies the subscription of the edge profile. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + **kwargs + ): + super(EdgeProfileSubscriptionPatch, self).__init__(**kwargs) + self.id = id + + +class EtcdInfo(msrest.serialization.Model): + """Etcd configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: Etcd type. + :vartype type: str + :ivar version: Etcd version. + :vartype version: str + """ + + _validation = { + 'type': {'readonly': True}, + 'version': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EtcdInfo, self).__init__(**kwargs) + self.type = None + self.version = None + + +class Trigger(ARMBaseModel): + """Trigger details. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: FileEventTrigger, PeriodicTimerEventTrigger. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Trigger in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: + "FileEvent", "PeriodicTimerEvent". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.TriggerEventType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'kind': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'kind': {'key': 'kind', 'type': 'str'}, + } + + _subtype_map = { + 'kind': {'FileEvent': 'FileEventTrigger', 'PeriodicTimerEvent': 'PeriodicTimerEventTrigger'} + } + + def __init__( + self, + **kwargs + ): + super(Trigger, self).__init__(**kwargs) + self.system_data = None + self.kind = 'Trigger' # type: str + + +class FileEventTrigger(Trigger): + """Trigger details. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Trigger in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: + "FileEvent", "PeriodicTimerEvent". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.TriggerEventType + :param source_info: Required. File event source details. + :type source_info: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.FileSourceInfo + :param sink_info: Required. Role sink info. + :type sink_info: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleSinkInfo + :param custom_context_tag: A custom context tag typically used to correlate the trigger against + its usage. For example, if a periodic timer trigger is intended for certain specific IoT + modules in the device, the tag can be the name or the image URL of the module. + :type custom_context_tag: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'kind': {'required': True}, + 'source_info': {'required': True}, + 'sink_info': {'required': True}, + 'custom_context_tag': {'max_length': 192, 'min_length': 0}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'source_info': {'key': 'properties.sourceInfo', 'type': 'FileSourceInfo'}, + 'sink_info': {'key': 'properties.sinkInfo', 'type': 'RoleSinkInfo'}, + 'custom_context_tag': {'key': 'properties.customContextTag', 'type': 'str'}, + } + + def __init__( + self, + *, + source_info: "FileSourceInfo", + sink_info: "RoleSinkInfo", + custom_context_tag: Optional[str] = None, + **kwargs + ): + super(FileEventTrigger, self).__init__(**kwargs) + self.kind = 'FileEvent' # type: str + self.source_info = source_info + self.sink_info = sink_info + self.custom_context_tag = custom_context_tag + + +class FileSourceInfo(msrest.serialization.Model): + """File source details. + + All required parameters must be populated in order to send to Azure. + + :param share_id: Required. File share ID. + :type share_id: str + """ + + _validation = { + 'share_id': {'required': True}, + } + + _attribute_map = { + 'share_id': {'key': 'shareId', 'type': 'str'}, + } + + def __init__( + self, + *, + share_id: str, + **kwargs + ): + super(FileSourceInfo, self).__init__(**kwargs) + self.share_id = share_id + + +class GenerateCertResponse(msrest.serialization.Model): + """Used in activation key generation flow. + + :param public_key: Gets or sets base64 encoded certificate raw data, + this is the public part needed to be uploaded to cert vault. + :type public_key: str + :param private_key: Gets or sets base64 encoded private part of the certificate, + needed to form the activation key. + :type private_key: str + :param expiry_time_in_utc: Gets or sets expiry time in UTC. + :type expiry_time_in_utc: str + """ + + _attribute_map = { + 'public_key': {'key': 'publicKey', 'type': 'str'}, + 'private_key': {'key': 'privateKey', 'type': 'str'}, + 'expiry_time_in_utc': {'key': 'expiryTimeInUTC', 'type': 'str'}, + } + + def __init__( + self, + *, + public_key: Optional[str] = None, + private_key: Optional[str] = None, + expiry_time_in_utc: Optional[str] = None, + **kwargs + ): + super(GenerateCertResponse, self).__init__(**kwargs) + self.public_key = public_key + self.private_key = private_key + self.expiry_time_in_utc = expiry_time_in_utc + + +class ImageRepositoryCredential(msrest.serialization.Model): + """Image repository credential. + + All required parameters must be populated in order to send to Azure. + + :param image_repository_url: Required. Image repository url (e.g.: mcr.microsoft.com). + :type image_repository_url: str + :param user_name: Required. Repository user name. + :type user_name: str + :param password: Repository user password. + :type password: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AsymmetricEncryptedSecret + """ + + _validation = { + 'image_repository_url': {'required': True}, + 'user_name': {'required': True}, + } + + _attribute_map = { + 'image_repository_url': {'key': 'imageRepositoryUrl', 'type': 'str'}, + 'user_name': {'key': 'userName', 'type': 'str'}, + 'password': {'key': 'password', 'type': 'AsymmetricEncryptedSecret'}, + } + + def __init__( + self, + *, + image_repository_url: str, + user_name: str, + password: Optional["AsymmetricEncryptedSecret"] = None, + **kwargs + ): + super(ImageRepositoryCredential, self).__init__(**kwargs) + self.image_repository_url = image_repository_url + self.user_name = user_name + self.password = password + + +class IoTAddon(Addon): + """IoT Addon. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Addon type.Constant filled by server. Possible values include: + "IotEdge", "ArcForKubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AddonType + :ivar system_data: Addon type. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param io_t_device_details: Required. IoT device metadata to which appliance needs to be + connected. + :type io_t_device_details: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.IoTDeviceInfo + :param io_t_edge_device_details: Required. IoT edge device to which the IoT Addon needs to be + configured. + :type io_t_edge_device_details: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.IoTDeviceInfo + :ivar version: Version of IoT running on the appliance. + :vartype version: str + :ivar host_platform: Host OS supported by the IoT addon. Possible values include: "Windows", + "Linux". + :vartype host_platform: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.PlatformType + :ivar host_platform_type: Platform where the runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.HostPlatformType + :ivar provisioning_state: Addon Provisioning State. Possible values include: "Invalid", + "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting". + :vartype provisioning_state: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AddonState + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'io_t_device_details': {'required': True}, + 'io_t_edge_device_details': {'required': True}, + 'version': {'readonly': True}, + 'host_platform': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'io_t_device_details': {'key': 'properties.ioTDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'io_t_edge_device_details': {'key': 'properties.ioTEdgeDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'version': {'key': 'properties.version', 'type': 'str'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + io_t_device_details: "IoTDeviceInfo", + io_t_edge_device_details: "IoTDeviceInfo", + **kwargs + ): + super(IoTAddon, self).__init__(**kwargs) + self.kind = 'IotEdge' # type: str + self.io_t_device_details = io_t_device_details + self.io_t_edge_device_details = io_t_edge_device_details + self.version = None + self.host_platform = None + self.host_platform_type = None + self.provisioning_state = None + + +class IoTDeviceInfo(msrest.serialization.Model): + """Metadata of IoT device/IoT Edge device to be configured. + + All required parameters must be populated in order to send to Azure. + + :param device_id: Required. ID of the IoT device/edge device. + :type device_id: str + :param io_t_host_hub: Required. Host name for the IoT hub associated to the device. + :type io_t_host_hub: str + :param io_t_host_hub_id: Id for the IoT hub associated to the device. + :type io_t_host_hub_id: str + :param authentication: Encrypted IoT device/IoT edge device connection string. + :type authentication: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Authentication + """ + + _validation = { + 'device_id': {'required': True}, + 'io_t_host_hub': {'required': True}, + } + + _attribute_map = { + 'device_id': {'key': 'deviceId', 'type': 'str'}, + 'io_t_host_hub': {'key': 'ioTHostHub', 'type': 'str'}, + 'io_t_host_hub_id': {'key': 'ioTHostHubId', 'type': 'str'}, + 'authentication': {'key': 'authentication', 'type': 'Authentication'}, + } + + def __init__( + self, + *, + device_id: str, + io_t_host_hub: str, + io_t_host_hub_id: Optional[str] = None, + authentication: Optional["Authentication"] = None, + **kwargs + ): + super(IoTDeviceInfo, self).__init__(**kwargs) + self.device_id = device_id + self.io_t_host_hub = io_t_host_hub + self.io_t_host_hub_id = io_t_host_hub_id + self.authentication = authentication + + +class IoTEdgeAgentInfo(msrest.serialization.Model): + """IoT edge agent details is optional, this will be used for download system Agent module while bootstrapping IoT Role if specified. + + All required parameters must be populated in order to send to Azure. + + :param image_name: Required. Name of the IoT edge agent image. + :type image_name: str + :param tag: Required. Image Tag. + :type tag: str + :param image_repository: Image repository details. + :type image_repository: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ImageRepositoryCredential + """ + + _validation = { + 'image_name': {'required': True}, + 'tag': {'required': True}, + } + + _attribute_map = { + 'image_name': {'key': 'imageName', 'type': 'str'}, + 'tag': {'key': 'tag', 'type': 'str'}, + 'image_repository': {'key': 'imageRepository', 'type': 'ImageRepositoryCredential'}, + } + + def __init__( + self, + *, + image_name: str, + tag: str, + image_repository: Optional["ImageRepositoryCredential"] = None, + **kwargs + ): + super(IoTEdgeAgentInfo, self).__init__(**kwargs) + self.image_name = image_name + self.tag = tag + self.image_repository = image_repository + + +class IoTRole(Role): + """Compute role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param host_platform: Host OS supported by the IoT role. Possible values include: "Windows", + "Linux". + :type host_platform: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.PlatformType + :param io_t_device_details: IoT device metadata to which data box edge device needs to be + connected. + :type io_t_device_details: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.IoTDeviceInfo + :param io_t_edge_device_details: IoT edge device to which the IoT role needs to be configured. + :type io_t_edge_device_details: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.IoTDeviceInfo + :param share_mappings: Mount points of shares in role(s). + :type share_mappings: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MountPointMap] + :param io_t_edge_agent_info: Iot edge agent details to download the agent and bootstrap iot + runtime. + :type io_t_edge_agent_info: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.IoTEdgeAgentInfo + :ivar host_platform_type: Platform where the Iot runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.HostPlatformType + :param compute_resource: Resource allocation. + :type compute_resource: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ComputeResource + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'io_t_device_details': {'key': 'properties.ioTDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'io_t_edge_device_details': {'key': 'properties.ioTEdgeDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'share_mappings': {'key': 'properties.shareMappings', 'type': '[MountPointMap]'}, + 'io_t_edge_agent_info': {'key': 'properties.ioTEdgeAgentInfo', 'type': 'IoTEdgeAgentInfo'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'compute_resource': {'key': 'properties.computeResource', 'type': 'ComputeResource'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + *, + host_platform: Optional[Union[str, "PlatformType"]] = None, + io_t_device_details: Optional["IoTDeviceInfo"] = None, + io_t_edge_device_details: Optional["IoTDeviceInfo"] = None, + share_mappings: Optional[List["MountPointMap"]] = None, + io_t_edge_agent_info: Optional["IoTEdgeAgentInfo"] = None, + compute_resource: Optional["ComputeResource"] = None, + role_status: Optional[Union[str, "RoleStatus"]] = None, + **kwargs + ): + super(IoTRole, self).__init__(**kwargs) + self.kind = 'IOT' # type: str + self.host_platform = host_platform + self.io_t_device_details = io_t_device_details + self.io_t_edge_device_details = io_t_edge_device_details + self.share_mappings = share_mappings + self.io_t_edge_agent_info = io_t_edge_agent_info + self.host_platform_type = None + self.compute_resource = compute_resource + self.role_status = role_status + + +class Ipv4Config(msrest.serialization.Model): + """Details related to the IPv4 address configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar ip_address: The IPv4 address of the network adapter. + :vartype ip_address: str + :ivar subnet: The IPv4 subnet of the network adapter. + :vartype subnet: str + :ivar gateway: The IPv4 gateway of the network adapter. + :vartype gateway: str + """ + + _validation = { + 'ip_address': {'readonly': True}, + 'subnet': {'readonly': True}, + 'gateway': {'readonly': True}, + } + + _attribute_map = { + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + 'subnet': {'key': 'subnet', 'type': 'str'}, + 'gateway': {'key': 'gateway', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Ipv4Config, self).__init__(**kwargs) + self.ip_address = None + self.subnet = None + self.gateway = None + + +class Ipv6Config(msrest.serialization.Model): + """Details related to the IPv6 address configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar ip_address: The IPv6 address of the network adapter. + :vartype ip_address: str + :ivar prefix_length: The IPv6 prefix of the network adapter. + :vartype prefix_length: int + :ivar gateway: The IPv6 gateway of the network adapter. + :vartype gateway: str + """ + + _validation = { + 'ip_address': {'readonly': True}, + 'prefix_length': {'readonly': True}, + 'gateway': {'readonly': True}, + } + + _attribute_map = { + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + 'prefix_length': {'key': 'prefixLength', 'type': 'int'}, + 'gateway': {'key': 'gateway', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Ipv6Config, self).__init__(**kwargs) + self.ip_address = None + self.prefix_length = None + self.gateway = None + + +class Job(msrest.serialization.Model): + """A device job. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The name of the object. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar status: The current status of the job. Possible values include: "Invalid", "Running", + "Succeeded", "Failed", "Canceled", "Paused", "Scheduled". + :vartype status: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.JobStatus + :ivar start_time: The UTC date and time at which the job started. + :vartype start_time: ~datetime.datetime + :ivar end_time: The UTC date and time at which the job completed. + :vartype end_time: ~datetime.datetime + :ivar percent_complete: The percentage of the job that is complete. + :vartype percent_complete: int + :ivar error: The error details. + :vartype error: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.JobErrorDetails + :ivar job_type: The type of the job. Possible values include: "Invalid", "ScanForUpdates", + "DownloadUpdates", "InstallUpdates", "RefreshShare", "RefreshContainer", "Backup", "Restore", + "TriggerSupportPackage". + :vartype job_type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.JobType + :ivar current_stage: Current stage of the update operation. Possible values include: "Unknown", + "Initial", "ScanStarted", "ScanComplete", "ScanFailed", "DownloadStarted", "DownloadComplete", + "DownloadFailed", "InstallStarted", "InstallComplete", "InstallFailed", "RebootInitiated", + "Success", "Failure", "RescanStarted", "RescanComplete", "RescanFailed". + :vartype current_stage: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.UpdateOperationStage + :ivar download_progress: The download progress. + :vartype download_progress: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.UpdateDownloadProgress + :ivar install_progress: The install progress. + :vartype install_progress: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.UpdateInstallProgress + :ivar total_refresh_errors: Total number of errors encountered during the refresh process. + :vartype total_refresh_errors: int + :ivar error_manifest_file: Local share/remote container relative path to the error manifest + file of the refresh. + :vartype error_manifest_file: str + :ivar refreshed_entity_id: ARM ID of the entity that was refreshed. + :vartype refreshed_entity_id: str + :param folder: If only subfolders need to be refreshed, then the subfolder path inside the + share or container. (The path is empty if there are no subfolders.). + :type folder: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'status': {'readonly': True}, + 'start_time': {'readonly': True}, + 'end_time': {'readonly': True}, + 'percent_complete': {'readonly': True}, + 'error': {'readonly': True}, + 'job_type': {'readonly': True}, + 'current_stage': {'readonly': True}, + 'download_progress': {'readonly': True}, + 'install_progress': {'readonly': True}, + 'total_refresh_errors': {'readonly': True}, + 'error_manifest_file': {'readonly': True}, + 'refreshed_entity_id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'percent_complete': {'key': 'percentComplete', 'type': 'int'}, + 'error': {'key': 'error', 'type': 'JobErrorDetails'}, + 'job_type': {'key': 'properties.jobType', 'type': 'str'}, + 'current_stage': {'key': 'properties.currentStage', 'type': 'str'}, + 'download_progress': {'key': 'properties.downloadProgress', 'type': 'UpdateDownloadProgress'}, + 'install_progress': {'key': 'properties.installProgress', 'type': 'UpdateInstallProgress'}, + 'total_refresh_errors': {'key': 'properties.totalRefreshErrors', 'type': 'int'}, + 'error_manifest_file': {'key': 'properties.errorManifestFile', 'type': 'str'}, + 'refreshed_entity_id': {'key': 'properties.refreshedEntityId', 'type': 'str'}, + 'folder': {'key': 'properties.folder', 'type': 'str'}, + } + + def __init__( + self, + *, + folder: Optional[str] = None, + **kwargs + ): + super(Job, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.status = None + self.start_time = None + self.end_time = None + self.percent_complete = None + self.error = None + self.job_type = None + self.current_stage = None + self.download_progress = None + self.install_progress = None + self.total_refresh_errors = None + self.error_manifest_file = None + self.refreshed_entity_id = None + self.folder = folder + + +class JobErrorDetails(msrest.serialization.Model): + """The job error information containing the list of job errors. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar error_details: The error details. + :vartype error_details: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.JobErrorItem] + :ivar code: The code intended for programmatic access. + :vartype code: str + :ivar message: The message that describes the error in detail. + :vartype message: str + """ + + _validation = { + 'error_details': {'readonly': True}, + 'code': {'readonly': True}, + 'message': {'readonly': True}, + } + + _attribute_map = { + 'error_details': {'key': 'errorDetails', 'type': '[JobErrorItem]'}, + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(JobErrorDetails, self).__init__(**kwargs) + self.error_details = None + self.code = None + self.message = None + + +class JobErrorItem(msrest.serialization.Model): + """The job error items. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar recommendations: The recommended actions. + :vartype recommendations: list[str] + :ivar code: The code intended for programmatic access. + :vartype code: str + :ivar message: The message that describes the error in detail. + :vartype message: str + """ + + _validation = { + 'recommendations': {'readonly': True}, + 'code': {'readonly': True}, + 'message': {'readonly': True}, + } + + _attribute_map = { + 'recommendations': {'key': 'recommendations', 'type': '[str]'}, + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(JobErrorItem, self).__init__(**kwargs) + self.recommendations = None + self.code = None + self.message = None + + +class KubernetesClusterInfo(msrest.serialization.Model): + """Kubernetes cluster configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar etcd_info: Etcd configuration. + :vartype etcd_info: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.EtcdInfo + :ivar nodes: Kubernetes cluster nodes. + :vartype nodes: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.NodeInfo] + :param version: Required. Kubernetes cluster version. + :type version: str + """ + + _validation = { + 'etcd_info': {'readonly': True}, + 'nodes': {'readonly': True}, + 'version': {'required': True}, + } + + _attribute_map = { + 'etcd_info': {'key': 'etcdInfo', 'type': 'EtcdInfo'}, + 'nodes': {'key': 'nodes', 'type': '[NodeInfo]'}, + 'version': {'key': 'version', 'type': 'str'}, + } + + def __init__( + self, + *, + version: str, + **kwargs + ): + super(KubernetesClusterInfo, self).__init__(**kwargs) + self.etcd_info = None + self.nodes = None + self.version = version + + +class KubernetesIPConfiguration(msrest.serialization.Model): + """Kubernetes node IP configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar port: Port of the Kubernetes node. + :vartype port: str + :param ip_address: IP address of the Kubernetes node. + :type ip_address: str + """ + + _validation = { + 'port': {'readonly': True}, + } + + _attribute_map = { + 'port': {'key': 'port', 'type': 'str'}, + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + } + + def __init__( + self, + *, + ip_address: Optional[str] = None, + **kwargs + ): + super(KubernetesIPConfiguration, self).__init__(**kwargs) + self.port = None + self.ip_address = ip_address + + +class KubernetesRole(Role): + """Kubernetes role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param host_platform: Host OS supported by the Kubernetes role. Possible values include: + "Windows", "Linux". + :type host_platform: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.PlatformType + :ivar provisioning_state: State of Kubernetes deployment. Possible values include: "Invalid", + "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting". + :vartype provisioning_state: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.KubernetesState + :ivar host_platform_type: Platform where the runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.HostPlatformType + :param kubernetes_cluster_info: Kubernetes cluster configuration. + :type kubernetes_cluster_info: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.KubernetesClusterInfo + :param kubernetes_role_resources: Kubernetes role resources. + :type kubernetes_role_resources: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.KubernetesRoleResources + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'kubernetes_cluster_info': {'key': 'properties.kubernetesClusterInfo', 'type': 'KubernetesClusterInfo'}, + 'kubernetes_role_resources': {'key': 'properties.kubernetesRoleResources', 'type': 'KubernetesRoleResources'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + *, + host_platform: Optional[Union[str, "PlatformType"]] = None, + kubernetes_cluster_info: Optional["KubernetesClusterInfo"] = None, + kubernetes_role_resources: Optional["KubernetesRoleResources"] = None, + role_status: Optional[Union[str, "RoleStatus"]] = None, + **kwargs + ): + super(KubernetesRole, self).__init__(**kwargs) + self.kind = 'Kubernetes' # type: str + self.host_platform = host_platform + self.provisioning_state = None + self.host_platform_type = None + self.kubernetes_cluster_info = kubernetes_cluster_info + self.kubernetes_role_resources = kubernetes_role_resources + self.role_status = role_status + + +class KubernetesRoleCompute(msrest.serialization.Model): + """Kubernetes role compute resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param vm_profile: Required. VM profile. + :type vm_profile: str + :ivar memory_in_bytes: Memory in bytes. + :vartype memory_in_bytes: long + :ivar processor_count: Processor count. + :vartype processor_count: int + """ + + _validation = { + 'vm_profile': {'required': True}, + 'memory_in_bytes': {'readonly': True}, + 'processor_count': {'readonly': True}, + } + + _attribute_map = { + 'vm_profile': {'key': 'vmProfile', 'type': 'str'}, + 'memory_in_bytes': {'key': 'memoryInBytes', 'type': 'long'}, + 'processor_count': {'key': 'processorCount', 'type': 'int'}, + } + + def __init__( + self, + *, + vm_profile: str, + **kwargs + ): + super(KubernetesRoleCompute, self).__init__(**kwargs) + self.vm_profile = vm_profile + self.memory_in_bytes = None + self.processor_count = None + + +class KubernetesRoleNetwork(msrest.serialization.Model): + """Kubernetes role network resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar cni_config: Cni configuration. + :vartype cni_config: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.CniConfig + :ivar load_balancer_config: Load balancer configuration. + :vartype load_balancer_config: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.LoadBalancerConfig + """ + + _validation = { + 'cni_config': {'readonly': True}, + 'load_balancer_config': {'readonly': True}, + } + + _attribute_map = { + 'cni_config': {'key': 'cniConfig', 'type': 'CniConfig'}, + 'load_balancer_config': {'key': 'loadBalancerConfig', 'type': 'LoadBalancerConfig'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleNetwork, self).__init__(**kwargs) + self.cni_config = None + self.load_balancer_config = None + + +class KubernetesRoleResources(msrest.serialization.Model): + """Kubernetes role resources. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param storage: Kubernetes role storage resource. + :type storage: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.KubernetesRoleStorage + :param compute: Required. Kubernetes role compute resource. + :type compute: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.KubernetesRoleCompute + :ivar network: Kubernetes role network resource. + :vartype network: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.KubernetesRoleNetwork + """ + + _validation = { + 'compute': {'required': True}, + 'network': {'readonly': True}, + } + + _attribute_map = { + 'storage': {'key': 'storage', 'type': 'KubernetesRoleStorage'}, + 'compute': {'key': 'compute', 'type': 'KubernetesRoleCompute'}, + 'network': {'key': 'network', 'type': 'KubernetesRoleNetwork'}, + } + + def __init__( + self, + *, + compute: "KubernetesRoleCompute", + storage: Optional["KubernetesRoleStorage"] = None, + **kwargs + ): + super(KubernetesRoleResources, self).__init__(**kwargs) + self.storage = storage + self.compute = compute + self.network = None + + +class KubernetesRoleStorage(msrest.serialization.Model): + """Kubernetes role storage resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar storage_classes: Kubernetes storage class info. + :vartype storage_classes: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.KubernetesRoleStorageClassInfo] + :param endpoints: Mount points of shares in role(s). + :type endpoints: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MountPointMap] + """ + + _validation = { + 'storage_classes': {'readonly': True}, + } + + _attribute_map = { + 'storage_classes': {'key': 'storageClasses', 'type': '[KubernetesRoleStorageClassInfo]'}, + 'endpoints': {'key': 'endpoints', 'type': '[MountPointMap]'}, + } + + def __init__( + self, + *, + endpoints: Optional[List["MountPointMap"]] = None, + **kwargs + ): + super(KubernetesRoleStorage, self).__init__(**kwargs) + self.storage_classes = None + self.endpoints = endpoints + + +class KubernetesRoleStorageClassInfo(msrest.serialization.Model): + """Kubernetes storage class info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Storage class name. + :vartype name: str + :ivar type: Storage class type. + :vartype type: str + :ivar posix_compliant: If provisioned storage is posix compliant. Possible values include: + "Invalid", "Enabled", "Disabled". + :vartype posix_compliant: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.PosixComplianceStatus + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'posix_compliant': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'posix_compliant': {'key': 'posixCompliant', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleStorageClassInfo, self).__init__(**kwargs) + self.name = None + self.type = None + self.posix_compliant = None + + +class LoadBalancerConfig(msrest.serialization.Model): + """Load balancer configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: Load balancer type. + :vartype type: str + :ivar version: Load balancer version. + :vartype version: str + """ + + _validation = { + 'type': {'readonly': True}, + 'version': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LoadBalancerConfig, self).__init__(**kwargs) + self.type = None + self.version = None + + +class MECRole(Role): + """MEC role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param connection_string: Activation key of the MEC. + :type connection_string: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AsymmetricEncryptedSecret + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'connection_string': {'key': 'properties.connectionString', 'type': 'AsymmetricEncryptedSecret'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + *, + connection_string: Optional["AsymmetricEncryptedSecret"] = None, + role_status: Optional[Union[str, "RoleStatus"]] = None, + **kwargs + ): + super(MECRole, self).__init__(**kwargs) + self.kind = 'MEC' # type: str + self.connection_string = connection_string + self.role_status = role_status + + +class MetricConfiguration(msrest.serialization.Model): + """Metric configuration. + + All required parameters must be populated in order to send to Azure. + + :param resource_id: Required. The Resource ID on which the metrics should be pushed. + :type resource_id: str + :param mdm_account: The MDM account to which the counters should be pushed. + :type mdm_account: str + :param metric_name_space: The MDM namespace to which the counters should be pushed. This is + required if MDMAccount is specified. + :type metric_name_space: str + :param counter_sets: Required. Host name for the IoT hub associated to the device. + :type counter_sets: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MetricCounterSet] + """ + + _validation = { + 'resource_id': {'required': True}, + 'counter_sets': {'required': True}, + } + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'mdm_account': {'key': 'mdmAccount', 'type': 'str'}, + 'metric_name_space': {'key': 'metricNameSpace', 'type': 'str'}, + 'counter_sets': {'key': 'counterSets', 'type': '[MetricCounterSet]'}, + } + + def __init__( + self, + *, + resource_id: str, + counter_sets: List["MetricCounterSet"], + mdm_account: Optional[str] = None, + metric_name_space: Optional[str] = None, + **kwargs + ): + super(MetricConfiguration, self).__init__(**kwargs) + self.resource_id = resource_id + self.mdm_account = mdm_account + self.metric_name_space = metric_name_space + self.counter_sets = counter_sets + + +class MetricCounter(msrest.serialization.Model): + """The metric counter. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The counter name. + :type name: str + :param instance: The instance from which counter should be collected. + :type instance: str + :param dimension_filter: The dimension filter. + :type dimension_filter: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MetricDimension] + :param additional_dimensions: The additional dimensions to be added to metric. + :type additional_dimensions: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MetricDimension] + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'instance': {'key': 'instance', 'type': 'str'}, + 'dimension_filter': {'key': 'dimensionFilter', 'type': '[MetricDimension]'}, + 'additional_dimensions': {'key': 'additionalDimensions', 'type': '[MetricDimension]'}, + } + + def __init__( + self, + *, + name: str, + instance: Optional[str] = None, + dimension_filter: Optional[List["MetricDimension"]] = None, + additional_dimensions: Optional[List["MetricDimension"]] = None, + **kwargs + ): + super(MetricCounter, self).__init__(**kwargs) + self.name = name + self.instance = instance + self.dimension_filter = dimension_filter + self.additional_dimensions = additional_dimensions + + +class MetricCounterSet(msrest.serialization.Model): + """The metric counter set. + + All required parameters must be populated in order to send to Azure. + + :param counters: Required. The counters that should be collected in this set. + :type counters: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MetricCounter] + """ + + _validation = { + 'counters': {'required': True}, + } + + _attribute_map = { + 'counters': {'key': 'counters', 'type': '[MetricCounter]'}, + } + + def __init__( + self, + *, + counters: List["MetricCounter"], + **kwargs + ): + super(MetricCounterSet, self).__init__(**kwargs) + self.counters = counters + + +class MetricDimension(msrest.serialization.Model): + """The metric dimension. + + All required parameters must be populated in order to send to Azure. + + :param source_type: Required. The dimension type. + :type source_type: str + :param source_name: Required. The dimension value. + :type source_name: str + """ + + _validation = { + 'source_type': {'required': True}, + 'source_name': {'required': True}, + } + + _attribute_map = { + 'source_type': {'key': 'sourceType', 'type': 'str'}, + 'source_name': {'key': 'sourceName', 'type': 'str'}, + } + + def __init__( + self, + *, + source_type: str, + source_name: str, + **kwargs + ): + super(MetricDimension, self).__init__(**kwargs) + self.source_type = source_type + self.source_name = source_name + + +class MetricDimensionV1(msrest.serialization.Model): + """Metric Dimension v1. + + :param name: Name of the metrics dimension. + :type name: str + :param display_name: Display name of the metrics dimension. + :type display_name: str + :param to_be_exported_for_shoebox: To be exported to shoe box. + :type to_be_exported_for_shoebox: bool + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'to_be_exported_for_shoebox': {'key': 'toBeExportedForShoebox', 'type': 'bool'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + display_name: Optional[str] = None, + to_be_exported_for_shoebox: Optional[bool] = None, + **kwargs + ): + super(MetricDimensionV1, self).__init__(**kwargs) + self.name = name + self.display_name = display_name + self.to_be_exported_for_shoebox = to_be_exported_for_shoebox + + +class MetricSpecificationV1(msrest.serialization.Model): + """Metric specification version 1. + + :param name: Name of the metric. + :type name: str + :param display_name: Display name of the metric. + :type display_name: str + :param display_description: Description of the metric to be displayed. + :type display_description: str + :param unit: Metric units. Possible values include: "NotSpecified", "Percent", "Count", + "Seconds", "Milliseconds", "Bytes", "BytesPerSecond", "CountPerSecond". + :type unit: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.MetricUnit + :param aggregation_type: Metric aggregation type. Possible values include: "NotSpecified", + "None", "Average", "Minimum", "Maximum", "Total", "Count". + :type aggregation_type: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.MetricAggregationType + :param dimensions: Metric dimensions, other than default dimension which is resource. + :type dimensions: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MetricDimensionV1] + :param fill_gap_with_zero: Set true to fill the gaps with zero. + :type fill_gap_with_zero: bool + :param category: Metric category. Possible values include: "Capacity", "Transaction". + :type category: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.MetricCategory + :param resource_id_dimension_name_override: Resource name override. + :type resource_id_dimension_name_override: str + :param supported_time_grain_types: Support granularity of metrics. + :type supported_time_grain_types: list[str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.TimeGrain] + :param supported_aggregation_types: Support metric aggregation type. + :type supported_aggregation_types: list[str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.MetricAggregationType] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'display_description': {'key': 'displayDescription', 'type': 'str'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, + 'dimensions': {'key': 'dimensions', 'type': '[MetricDimensionV1]'}, + 'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'}, + 'category': {'key': 'category', 'type': 'str'}, + 'resource_id_dimension_name_override': {'key': 'resourceIdDimensionNameOverride', 'type': 'str'}, + 'supported_time_grain_types': {'key': 'supportedTimeGrainTypes', 'type': '[str]'}, + 'supported_aggregation_types': {'key': 'supportedAggregationTypes', 'type': '[str]'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + display_name: Optional[str] = None, + display_description: Optional[str] = None, + unit: Optional[Union[str, "MetricUnit"]] = None, + aggregation_type: Optional[Union[str, "MetricAggregationType"]] = None, + dimensions: Optional[List["MetricDimensionV1"]] = None, + fill_gap_with_zero: Optional[bool] = None, + category: Optional[Union[str, "MetricCategory"]] = None, + resource_id_dimension_name_override: Optional[str] = None, + supported_time_grain_types: Optional[List[Union[str, "TimeGrain"]]] = None, + supported_aggregation_types: Optional[List[Union[str, "MetricAggregationType"]]] = None, + **kwargs + ): + super(MetricSpecificationV1, self).__init__(**kwargs) + self.name = name + self.display_name = display_name + self.display_description = display_description + self.unit = unit + self.aggregation_type = aggregation_type + self.dimensions = dimensions + self.fill_gap_with_zero = fill_gap_with_zero + self.category = category + self.resource_id_dimension_name_override = resource_id_dimension_name_override + self.supported_time_grain_types = supported_time_grain_types + self.supported_aggregation_types = supported_aggregation_types + + +class MonitoringMetricConfiguration(ARMBaseModel): + """The metric setting details for the role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param metric_configurations: Required. The metrics configuration details. + :type metric_configurations: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MetricConfiguration] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'metric_configurations': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'metric_configurations': {'key': 'properties.metricConfigurations', 'type': '[MetricConfiguration]'}, + } + + def __init__( + self, + *, + metric_configurations: List["MetricConfiguration"], + **kwargs + ): + super(MonitoringMetricConfiguration, self).__init__(**kwargs) + self.metric_configurations = metric_configurations + + +class MonitoringMetricConfigurationList(msrest.serialization.Model): + """Collection of metric configurations. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of metric configurations. + :vartype value: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MonitoringMetricConfiguration] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[MonitoringMetricConfiguration]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MonitoringMetricConfigurationList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class MountPointMap(msrest.serialization.Model): + """The share mount point. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param share_id: Required. ID of the share mounted to the role VM. + :type share_id: str + :ivar role_id: ID of the role to which share is mounted. + :vartype role_id: str + :ivar mount_point: Mount point for the share. + :vartype mount_point: str + :ivar mount_type: Mounting type. Possible values include: "Volume", "HostPath". + :vartype mount_type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.MountType + :ivar role_type: Role type. Possible values include: "IOT", "ASA", "Functions", "Cognitive", + "MEC", "CloudEdgeManagement", "Kubernetes". + :vartype role_type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleTypes + """ + + _validation = { + 'share_id': {'required': True}, + 'role_id': {'readonly': True}, + 'mount_point': {'readonly': True}, + 'mount_type': {'readonly': True}, + 'role_type': {'readonly': True}, + } + + _attribute_map = { + 'share_id': {'key': 'shareId', 'type': 'str'}, + 'role_id': {'key': 'roleId', 'type': 'str'}, + 'mount_point': {'key': 'mountPoint', 'type': 'str'}, + 'mount_type': {'key': 'mountType', 'type': 'str'}, + 'role_type': {'key': 'roleType', 'type': 'str'}, + } + + def __init__( + self, + *, + share_id: str, + **kwargs + ): + super(MountPointMap, self).__init__(**kwargs) + self.share_id = share_id + self.role_id = None + self.mount_point = None + self.mount_type = None + self.role_type = None + + +class NetworkAdapter(msrest.serialization.Model): + """Represents the networkAdapter on a device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar adapter_id: Instance ID of network adapter. + :vartype adapter_id: str + :ivar adapter_position: Hardware position of network adapter. + :vartype adapter_position: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.NetworkAdapterPosition + :ivar index: Logical index of the adapter. + :vartype index: int + :ivar node_id: Node ID of the network adapter. + :vartype node_id: str + :ivar network_adapter_name: Network adapter name. + :vartype network_adapter_name: str + :ivar label: Hardware label for the adapter. + :vartype label: str + :ivar mac_address: MAC address. + :vartype mac_address: str + :ivar link_speed: Link speed. + :vartype link_speed: long + :ivar status: Value indicating whether this adapter is valid. Possible values include: + "Inactive", "Active". + :vartype status: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.NetworkAdapterStatus + :param rdma_status: Value indicating whether this adapter is RDMA capable. Possible values + include: "Incapable", "Capable". + :type rdma_status: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.NetworkAdapterRDMAStatus + :param dhcp_status: Value indicating whether this adapter has DHCP enabled. Possible values + include: "Disabled", "Enabled". + :type dhcp_status: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.NetworkAdapterDHCPStatus + :ivar ipv4_configuration: The IPv4 configuration of the network adapter. + :vartype ipv4_configuration: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Ipv4Config + :ivar ipv6_configuration: The IPv6 configuration of the network adapter. + :vartype ipv6_configuration: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Ipv6Config + :ivar ipv6_link_local_address: The IPv6 local address. + :vartype ipv6_link_local_address: str + :ivar dns_servers: The list of DNS Servers of the device. + :vartype dns_servers: list[str] + """ + + _validation = { + 'adapter_id': {'readonly': True}, + 'adapter_position': {'readonly': True}, + 'index': {'readonly': True}, + 'node_id': {'readonly': True}, + 'network_adapter_name': {'readonly': True}, + 'label': {'readonly': True}, + 'mac_address': {'readonly': True}, + 'link_speed': {'readonly': True}, + 'status': {'readonly': True}, + 'ipv4_configuration': {'readonly': True}, + 'ipv6_configuration': {'readonly': True}, + 'ipv6_link_local_address': {'readonly': True}, + 'dns_servers': {'readonly': True}, + } + + _attribute_map = { + 'adapter_id': {'key': 'adapterId', 'type': 'str'}, + 'adapter_position': {'key': 'adapterPosition', 'type': 'NetworkAdapterPosition'}, + 'index': {'key': 'index', 'type': 'int'}, + 'node_id': {'key': 'nodeId', 'type': 'str'}, + 'network_adapter_name': {'key': 'networkAdapterName', 'type': 'str'}, + 'label': {'key': 'label', 'type': 'str'}, + 'mac_address': {'key': 'macAddress', 'type': 'str'}, + 'link_speed': {'key': 'linkSpeed', 'type': 'long'}, + 'status': {'key': 'status', 'type': 'str'}, + 'rdma_status': {'key': 'rdmaStatus', 'type': 'str'}, + 'dhcp_status': {'key': 'dhcpStatus', 'type': 'str'}, + 'ipv4_configuration': {'key': 'ipv4Configuration', 'type': 'Ipv4Config'}, + 'ipv6_configuration': {'key': 'ipv6Configuration', 'type': 'Ipv6Config'}, + 'ipv6_link_local_address': {'key': 'ipv6LinkLocalAddress', 'type': 'str'}, + 'dns_servers': {'key': 'dnsServers', 'type': '[str]'}, + } + + def __init__( + self, + *, + rdma_status: Optional[Union[str, "NetworkAdapterRDMAStatus"]] = None, + dhcp_status: Optional[Union[str, "NetworkAdapterDHCPStatus"]] = None, + **kwargs + ): + super(NetworkAdapter, self).__init__(**kwargs) + self.adapter_id = None + self.adapter_position = None + self.index = None + self.node_id = None + self.network_adapter_name = None + self.label = None + self.mac_address = None + self.link_speed = None + self.status = None + self.rdma_status = rdma_status + self.dhcp_status = dhcp_status + self.ipv4_configuration = None + self.ipv6_configuration = None + self.ipv6_link_local_address = None + self.dns_servers = None + + +class NetworkAdapterPosition(msrest.serialization.Model): + """The network adapter position. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar network_group: The network group. Possible values include: "None", "NonRDMA", "RDMA". + :vartype network_group: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.NetworkGroup + :ivar port: The port. + :vartype port: int + """ + + _validation = { + 'network_group': {'readonly': True}, + 'port': {'readonly': True}, + } + + _attribute_map = { + 'network_group': {'key': 'networkGroup', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkAdapterPosition, self).__init__(**kwargs) + self.network_group = None + self.port = None + + +class NetworkSettings(ARMBaseModel): + """The network settings of a device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar network_adapters: The network adapter list on the device. + :vartype network_adapters: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.NetworkAdapter] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'network_adapters': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'network_adapters': {'key': 'properties.networkAdapters', 'type': '[NetworkAdapter]'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkSettings, self).__init__(**kwargs) + self.network_adapters = None + + +class Node(ARMBaseModel): + """Represents a single node in a Data box Edge/Gateway device +Gateway devices, standalone Edge devices and a single node cluster Edge device will all have 1 node +Multi-node Edge devices will have more than 1 nodes. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar node_status: The current status of the individual node. Possible values include: + "Unknown", "Up", "Down", "Rebooting", "ShuttingDown". + :vartype node_status: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.NodeStatus + :ivar node_chassis_serial_number: Serial number of the Chassis. + :vartype node_chassis_serial_number: str + :ivar node_serial_number: Serial number of the individual node. + :vartype node_serial_number: str + :ivar node_display_name: Display Name of the individual node. + :vartype node_display_name: str + :ivar node_friendly_software_version: Friendly software version name that is currently + installed on the node. + :vartype node_friendly_software_version: str + :ivar node_hcs_version: HCS version that is currently installed on the node. + :vartype node_hcs_version: str + :ivar node_instance_id: Guid instance id of the node. + :vartype node_instance_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'node_status': {'readonly': True}, + 'node_chassis_serial_number': {'readonly': True}, + 'node_serial_number': {'readonly': True}, + 'node_display_name': {'readonly': True}, + 'node_friendly_software_version': {'readonly': True}, + 'node_hcs_version': {'readonly': True}, + 'node_instance_id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'node_status': {'key': 'properties.nodeStatus', 'type': 'str'}, + 'node_chassis_serial_number': {'key': 'properties.nodeChassisSerialNumber', 'type': 'str'}, + 'node_serial_number': {'key': 'properties.nodeSerialNumber', 'type': 'str'}, + 'node_display_name': {'key': 'properties.nodeDisplayName', 'type': 'str'}, + 'node_friendly_software_version': {'key': 'properties.nodeFriendlySoftwareVersion', 'type': 'str'}, + 'node_hcs_version': {'key': 'properties.nodeHcsVersion', 'type': 'str'}, + 'node_instance_id': {'key': 'properties.nodeInstanceId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Node, self).__init__(**kwargs) + self.node_status = None + self.node_chassis_serial_number = None + self.node_serial_number = None + self.node_display_name = None + self.node_friendly_software_version = None + self.node_hcs_version = None + self.node_instance_id = None + + +class NodeInfo(msrest.serialization.Model): + """Kubernetes node info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Node name. + :vartype name: str + :ivar type: Node type - Master/Worker. Possible values include: "Invalid", "Master", "Worker". + :vartype type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.KubernetesNodeType + :param ip_configuration: IP Configuration of the Kubernetes node. + :type ip_configuration: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.KubernetesIPConfiguration] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'ip_configuration': {'key': 'ipConfiguration', 'type': '[KubernetesIPConfiguration]'}, + } + + def __init__( + self, + *, + ip_configuration: Optional[List["KubernetesIPConfiguration"]] = None, + **kwargs + ): + super(NodeInfo, self).__init__(**kwargs) + self.name = None + self.type = None + self.ip_configuration = ip_configuration + + +class NodeList(msrest.serialization.Model): + """Collection of Nodes. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of Nodes. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Node] + :param next_link: Link to the next set of results. + :type next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Node]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + next_link: Optional[str] = None, + **kwargs + ): + super(NodeList, self).__init__(**kwargs) + self.value = None + self.next_link = next_link + + +class Operation(msrest.serialization.Model): + """Operations. + + :param name: Name of the operation. + :type name: str + :param display: Properties displayed for the operation. + :type display: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.OperationDisplay + :param origin: Origin of the operation. + :type origin: str + :param is_data_action: Indicates whether the operation is a data action. + :type is_data_action: bool + :param service_specification: Service specification. + :type service_specification: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ServiceSpecification + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'OperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, + 'service_specification': {'key': 'properties.serviceSpecification', 'type': 'ServiceSpecification'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + display: Optional["OperationDisplay"] = None, + origin: Optional[str] = None, + is_data_action: Optional[bool] = None, + service_specification: Optional["ServiceSpecification"] = None, + **kwargs + ): + super(Operation, self).__init__(**kwargs) + self.name = name + self.display = display + self.origin = origin + self.is_data_action = is_data_action + self.service_specification = service_specification + + +class OperationDisplay(msrest.serialization.Model): + """Operation display properties. + + :param provider: Provider name. + :type provider: str + :param resource: The type of resource in which the operation is performed. + :type resource: str + :param operation: Operation to be performed on the resource. + :type operation: str + :param description: Description of the operation to be performed. + :type description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + *, + provider: Optional[str] = None, + resource: Optional[str] = None, + operation: Optional[str] = None, + description: Optional[str] = None, + **kwargs + ): + super(OperationDisplay, self).__init__(**kwargs) + self.provider = provider + self.resource = resource + self.operation = operation + self.description = description + + +class OperationsList(msrest.serialization.Model): + """The list of operations used for the discovery of available provider operations. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. The value. + :type value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Operation] + :param next_link: Link to the next set of results. + :type next_link: str + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Operation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: List["Operation"], + next_link: Optional[str] = None, + **kwargs + ): + super(OperationsList, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class Order(ARMBaseModel): + """The order details. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param contact_information: The contact details. + :type contact_information: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ContactDetails + :param shipping_address: The shipping address. + :type shipping_address: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Address + :ivar current_status: Current status of the order. + :vartype current_status: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.OrderStatus + :ivar order_history: List of status changes in the order. + :vartype order_history: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.OrderStatus] + :ivar serial_number: Serial number of the device. + :vartype serial_number: str + :ivar delivery_tracking_info: Tracking information for the package delivered to the customer + whether it has an original or a replacement device. + :vartype delivery_tracking_info: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.TrackingInfo] + :ivar return_tracking_info: Tracking information for the package returned from the customer + whether it has an original or a replacement device. + :vartype return_tracking_info: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.TrackingInfo] + :param shipment_type: ShipmentType of the order. Possible values include: "NotApplicable", + "ShippedToCustomer", "SelfPickup". + :type shipment_type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ShipmentType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'current_status': {'readonly': True}, + 'order_history': {'readonly': True}, + 'serial_number': {'readonly': True}, + 'delivery_tracking_info': {'readonly': True}, + 'return_tracking_info': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'contact_information': {'key': 'properties.contactInformation', 'type': 'ContactDetails'}, + 'shipping_address': {'key': 'properties.shippingAddress', 'type': 'Address'}, + 'current_status': {'key': 'properties.currentStatus', 'type': 'OrderStatus'}, + 'order_history': {'key': 'properties.orderHistory', 'type': '[OrderStatus]'}, + 'serial_number': {'key': 'properties.serialNumber', 'type': 'str'}, + 'delivery_tracking_info': {'key': 'properties.deliveryTrackingInfo', 'type': '[TrackingInfo]'}, + 'return_tracking_info': {'key': 'properties.returnTrackingInfo', 'type': '[TrackingInfo]'}, + 'shipment_type': {'key': 'properties.shipmentType', 'type': 'str'}, + } + + def __init__( + self, + *, + contact_information: Optional["ContactDetails"] = None, + shipping_address: Optional["Address"] = None, + shipment_type: Optional[Union[str, "ShipmentType"]] = None, + **kwargs + ): + super(Order, self).__init__(**kwargs) + self.contact_information = contact_information + self.shipping_address = shipping_address + self.current_status = None + self.order_history = None + self.serial_number = None + self.delivery_tracking_info = None + self.return_tracking_info = None + self.shipment_type = shipment_type + + +class OrderList(msrest.serialization.Model): + """List of order entities. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of orders. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Order] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Order]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OrderList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class OrderStatus(msrest.serialization.Model): + """Represents a single status change. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param status: Required. Status of the order as per the allowed status types. Possible values + include: "Untracked", "AwaitingFulfilment", "AwaitingPreparation", "AwaitingShipment", + "Shipped", "Arriving", "Delivered", "ReplacementRequested", "LostDevice", "Declined", + "ReturnInitiated", "AwaitingReturnShipment", "ShippedBack", "CollectedAtMicrosoft", + "AwaitingPickup", "PickupCompleted", "AwaitingDrop". + :type status: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.OrderState + :ivar update_date_time: Time of status update. + :vartype update_date_time: ~datetime.datetime + :param comments: Comments related to this status change. + :type comments: str + :ivar tracking_information: Tracking information related to the state in the ordering flow. + :vartype tracking_information: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.TrackingInfo + :ivar additional_order_details: Dictionary to hold generic information which is not stored + by the already existing properties. + :vartype additional_order_details: dict[str, str] + """ + + _validation = { + 'status': {'required': True}, + 'update_date_time': {'readonly': True}, + 'tracking_information': {'readonly': True}, + 'additional_order_details': {'readonly': True}, + } + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + 'update_date_time': {'key': 'updateDateTime', 'type': 'iso-8601'}, + 'comments': {'key': 'comments', 'type': 'str'}, + 'tracking_information': {'key': 'trackingInformation', 'type': 'TrackingInfo'}, + 'additional_order_details': {'key': 'additionalOrderDetails', 'type': '{str}'}, + } + + def __init__( + self, + *, + status: Union[str, "OrderState"], + comments: Optional[str] = None, + **kwargs + ): + super(OrderStatus, self).__init__(**kwargs) + self.status = status + self.update_date_time = None + self.comments = comments + self.tracking_information = None + self.additional_order_details = None + + +class PeriodicTimerEventTrigger(Trigger): + """Trigger details. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Trigger in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: + "FileEvent", "PeriodicTimerEvent". + :type kind: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.TriggerEventType + :param source_info: Required. Periodic timer details. + :type source_info: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.PeriodicTimerSourceInfo + :param sink_info: Required. Role Sink information. + :type sink_info: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleSinkInfo + :param custom_context_tag: A custom context tag typically used to correlate the trigger against + its usage. For example, if a periodic timer trigger is intended for certain specific IoT + modules in the device, the tag can be the name or the image URL of the module. + :type custom_context_tag: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'kind': {'required': True}, + 'source_info': {'required': True}, + 'sink_info': {'required': True}, + 'custom_context_tag': {'max_length': 192, 'min_length': 0}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'source_info': {'key': 'properties.sourceInfo', 'type': 'PeriodicTimerSourceInfo'}, + 'sink_info': {'key': 'properties.sinkInfo', 'type': 'RoleSinkInfo'}, + 'custom_context_tag': {'key': 'properties.customContextTag', 'type': 'str'}, + } + + def __init__( + self, + *, + source_info: "PeriodicTimerSourceInfo", + sink_info: "RoleSinkInfo", + custom_context_tag: Optional[str] = None, + **kwargs + ): + super(PeriodicTimerEventTrigger, self).__init__(**kwargs) + self.kind = 'PeriodicTimerEvent' # type: str + self.source_info = source_info + self.sink_info = sink_info + self.custom_context_tag = custom_context_tag + + +class PeriodicTimerSourceInfo(msrest.serialization.Model): + """Periodic timer event source. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. The time of the day that results in a valid trigger. Schedule is + computed with reference to the time specified upto seconds. If timezone is not specified the + time will considered to be in device timezone. The value will always be returned as UTC time. + :type start_time: ~datetime.datetime + :param schedule: Required. Periodic frequency at which timer event needs to be raised. Supports + daily, hourly, minutes, and seconds. + :type schedule: str + :param topic: Topic where periodic events are published to IoT device. + :type topic: str + """ + + _validation = { + 'start_time': {'required': True}, + 'schedule': {'required': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'schedule': {'key': 'schedule', 'type': 'str'}, + 'topic': {'key': 'topic', 'type': 'str'}, + } + + def __init__( + self, + *, + start_time: datetime.datetime, + schedule: str, + topic: Optional[str] = None, + **kwargs + ): + super(PeriodicTimerSourceInfo, self).__init__(**kwargs) + self.start_time = start_time + self.schedule = schedule + self.topic = topic + + +class RefreshDetails(msrest.serialization.Model): + """Fields for tracking refresh job on the share or container. + + :param in_progress_refresh_job_id: If a refresh job is currently in progress on this share or + container, this field indicates the ARM resource ID of that job. The field is empty if no job + is in progress. + :type in_progress_refresh_job_id: str + :param last_completed_refresh_job_time_in_utc: Indicates the completed time for the last + refresh job on this particular share or container, if any.This could be a failed job or a + successful job. + :type last_completed_refresh_job_time_in_utc: ~datetime.datetime + :param error_manifest_file: Indicates the relative path of the error xml for the last refresh + job on this particular share or container, if any. This could be a failed job or a successful + job. + :type error_manifest_file: str + :param last_job: Indicates the id of the last refresh job on this particular share or + container,if any. This could be a failed job or a successful job. + :type last_job: str + """ + + _attribute_map = { + 'in_progress_refresh_job_id': {'key': 'inProgressRefreshJobId', 'type': 'str'}, + 'last_completed_refresh_job_time_in_utc': {'key': 'lastCompletedRefreshJobTimeInUTC', 'type': 'iso-8601'}, + 'error_manifest_file': {'key': 'errorManifestFile', 'type': 'str'}, + 'last_job': {'key': 'lastJob', 'type': 'str'}, + } + + def __init__( + self, + *, + in_progress_refresh_job_id: Optional[str] = None, + last_completed_refresh_job_time_in_utc: Optional[datetime.datetime] = None, + error_manifest_file: Optional[str] = None, + last_job: Optional[str] = None, + **kwargs + ): + super(RefreshDetails, self).__init__(**kwargs) + self.in_progress_refresh_job_id = in_progress_refresh_job_id + self.last_completed_refresh_job_time_in_utc = last_completed_refresh_job_time_in_utc + self.error_manifest_file = error_manifest_file + self.last_job = last_job + + +class ResourceIdentity(msrest.serialization.Model): + """Msi identity details of the resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param type: Identity type. Possible values include: "None", "SystemAssigned", "UserAssigned". + :type type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.MsiIdentityType + :ivar principal_id: Service Principal Id backing the Msi. + :vartype principal_id: str + :ivar tenant_id: Home Tenant Id. + :vartype tenant_id: str + """ + + _validation = { + 'principal_id': {'readonly': True}, + 'tenant_id': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'principal_id': {'key': 'principalId', 'type': 'str'}, + 'tenant_id': {'key': 'tenantId', 'type': 'str'}, + } + + def __init__( + self, + *, + type: Optional[Union[str, "MsiIdentityType"]] = None, + **kwargs + ): + super(ResourceIdentity, self).__init__(**kwargs) + self.type = type + self.principal_id = None + self.tenant_id = None + + +class ResourceMoveDetails(msrest.serialization.Model): + """Fields for tracking resource move. + + :param operation_in_progress: Denotes whether move operation is in progress. Possible values + include: "None", "ResourceMoveInProgress", "ResourceMoveFailed". + :type operation_in_progress: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ResourceMoveStatus + :param operation_in_progress_lock_timeout_in_utc: Denotes the timeout of the operation to + finish. + :type operation_in_progress_lock_timeout_in_utc: ~datetime.datetime + """ + + _attribute_map = { + 'operation_in_progress': {'key': 'operationInProgress', 'type': 'str'}, + 'operation_in_progress_lock_timeout_in_utc': {'key': 'operationInProgressLockTimeoutInUTC', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + operation_in_progress: Optional[Union[str, "ResourceMoveStatus"]] = None, + operation_in_progress_lock_timeout_in_utc: Optional[datetime.datetime] = None, + **kwargs + ): + super(ResourceMoveDetails, self).__init__(**kwargs) + self.operation_in_progress = operation_in_progress + self.operation_in_progress_lock_timeout_in_utc = operation_in_progress_lock_timeout_in_utc + + +class ResourceTypeSku(msrest.serialization.Model): + """Resource type Sku object. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar resource_type: The resource type. + :vartype resource_type: str + :ivar skus: The skus. + :vartype skus: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.SkuInformation] + """ + + _validation = { + 'resource_type': {'readonly': True}, + 'skus': {'readonly': True}, + } + + _attribute_map = { + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'skus': {'key': 'skus', 'type': '[SkuInformation]'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceTypeSku, self).__init__(**kwargs) + self.resource_type = None + self.skus = None + + +class RoleList(msrest.serialization.Model): + """Collection of all the roles on the Data Box Edge device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The Value. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Role] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Role]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RoleList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class RoleSinkInfo(msrest.serialization.Model): + """Compute role against which events will be raised. + + All required parameters must be populated in order to send to Azure. + + :param role_id: Required. Compute role ID. + :type role_id: str + """ + + _validation = { + 'role_id': {'required': True}, + } + + _attribute_map = { + 'role_id': {'key': 'roleId', 'type': 'str'}, + } + + def __init__( + self, + *, + role_id: str, + **kwargs + ): + super(RoleSinkInfo, self).__init__(**kwargs) + self.role_id = role_id + + +class SecuritySettings(ARMBaseModel): + """The security settings of a device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param device_admin_password: Required. Device administrator password as an encrypted string + (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual + password should have at least 8 characters that are a combination of uppercase, lowercase, + numeric, and special characters. + :type device_admin_password: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AsymmetricEncryptedSecret + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'device_admin_password': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'device_admin_password': {'key': 'properties.deviceAdminPassword', 'type': 'AsymmetricEncryptedSecret'}, + } + + def __init__( + self, + *, + device_admin_password: "AsymmetricEncryptedSecret", + **kwargs + ): + super(SecuritySettings, self).__init__(**kwargs) + self.device_admin_password = device_admin_password + + +class ServiceSpecification(msrest.serialization.Model): + """Service specification. + + :param metric_specifications: Metric specification as defined by shoebox. + :type metric_specifications: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MetricSpecificationV1] + """ + + _attribute_map = { + 'metric_specifications': {'key': 'metricSpecifications', 'type': '[MetricSpecificationV1]'}, + } + + def __init__( + self, + *, + metric_specifications: Optional[List["MetricSpecificationV1"]] = None, + **kwargs + ): + super(ServiceSpecification, self).__init__(**kwargs) + self.metric_specifications = metric_specifications + + +class Share(ARMBaseModel): + """Represents a share on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Share on ASE device. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param description: Description for the share. + :type description: str + :param share_status: Required. Current status of the share. Possible values include: "Offline", + "Unknown", "OK", "Updating", "NeedsAttention". + :type share_status: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ShareStatus + :param monitoring_status: Required. Current monitoring status of the share. Possible values + include: "Enabled", "Disabled". + :type monitoring_status: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.MonitoringStatus + :param azure_container_info: Azure container mapping for the share. + :type azure_container_info: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AzureContainerInfo + :param access_protocol: Required. Access protocol to be used by the share. Possible values + include: "SMB", "NFS". + :type access_protocol: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ShareAccessProtocol + :param user_access_rights: Mapping of users and corresponding access rights on the share + (required for SMB protocol). + :type user_access_rights: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.UserAccessRight] + :param client_access_rights: List of IP addresses and corresponding access rights on the + share(required for NFS protocol). + :type client_access_rights: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.ClientAccessRight] + :param refresh_details: Details of the refresh job on this share. + :type refresh_details: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.RefreshDetails + :ivar share_mappings: Share mount point to the role. + :vartype share_mappings: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MountPointMap] + :param data_policy: Data policy of the share. Possible values include: "Cloud", "Local". + :type data_policy: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataPolicy + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'share_status': {'required': True}, + 'monitoring_status': {'required': True}, + 'access_protocol': {'required': True}, + 'share_mappings': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'share_status': {'key': 'properties.shareStatus', 'type': 'str'}, + 'monitoring_status': {'key': 'properties.monitoringStatus', 'type': 'str'}, + 'azure_container_info': {'key': 'properties.azureContainerInfo', 'type': 'AzureContainerInfo'}, + 'access_protocol': {'key': 'properties.accessProtocol', 'type': 'str'}, + 'user_access_rights': {'key': 'properties.userAccessRights', 'type': '[UserAccessRight]'}, + 'client_access_rights': {'key': 'properties.clientAccessRights', 'type': '[ClientAccessRight]'}, + 'refresh_details': {'key': 'properties.refreshDetails', 'type': 'RefreshDetails'}, + 'share_mappings': {'key': 'properties.shareMappings', 'type': '[MountPointMap]'}, + 'data_policy': {'key': 'properties.dataPolicy', 'type': 'str'}, + } + + def __init__( + self, + *, + share_status: Union[str, "ShareStatus"], + monitoring_status: Union[str, "MonitoringStatus"], + access_protocol: Union[str, "ShareAccessProtocol"], + description: Optional[str] = None, + azure_container_info: Optional["AzureContainerInfo"] = None, + user_access_rights: Optional[List["UserAccessRight"]] = None, + client_access_rights: Optional[List["ClientAccessRight"]] = None, + refresh_details: Optional["RefreshDetails"] = None, + data_policy: Optional[Union[str, "DataPolicy"]] = None, + **kwargs + ): + super(Share, self).__init__(**kwargs) + self.system_data = None + self.description = description + self.share_status = share_status + self.monitoring_status = monitoring_status + self.azure_container_info = azure_container_info + self.access_protocol = access_protocol + self.user_access_rights = user_access_rights + self.client_access_rights = client_access_rights + self.refresh_details = refresh_details + self.share_mappings = None + self.data_policy = data_policy + + +class ShareAccessRight(msrest.serialization.Model): + """Specifies the mapping between this particular user and the type of access he has on shares on this device. + + All required parameters must be populated in order to send to Azure. + + :param share_id: Required. The share ID. + :type share_id: str + :param access_type: Required. Type of access to be allowed on the share for this user. Possible + values include: "Change", "Read", "Custom". + :type access_type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ShareAccessType + """ + + _validation = { + 'share_id': {'required': True}, + 'access_type': {'required': True}, + } + + _attribute_map = { + 'share_id': {'key': 'shareId', 'type': 'str'}, + 'access_type': {'key': 'accessType', 'type': 'str'}, + } + + def __init__( + self, + *, + share_id: str, + access_type: Union[str, "ShareAccessType"], + **kwargs + ): + super(ShareAccessRight, self).__init__(**kwargs) + self.share_id = share_id + self.access_type = access_type + + +class ShareList(msrest.serialization.Model): + """Collection of all the shares on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of shares. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Share] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Share]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ShareList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class Sku(msrest.serialization.Model): + """The SKU type. + + :param name: SKU name. Possible values include: "Gateway", "Edge", "TEA_1Node", + "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", + "TEA_4Node_UPS_Heater", "TMA", "TDC", "TCA_Small", "GPU", "TCA_Large", "EdgeP_Base", + "EdgeP_High", "EdgePR_Base", "EdgePR_Base_UPS", "EdgeMR_Mini", "RCA_Small", "RCA_Large", "RDC". + :type name: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SkuName + :param tier: The SKU tier. This is based on the SKU name. Possible values include: "Standard". + :type tier: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SkuTier + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[Union[str, "SkuName"]] = None, + tier: Optional[Union[str, "SkuTier"]] = None, + **kwargs + ): + super(Sku, self).__init__(**kwargs) + self.name = name + self.tier = tier + + +class SkuCost(msrest.serialization.Model): + """The metadata for retrieving price info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar meter_id: Used for querying price from commerce. + :vartype meter_id: str + :ivar quantity: The cost quantity. + :vartype quantity: long + :ivar extended_unit: The extended unit. + :vartype extended_unit: str + """ + + _validation = { + 'meter_id': {'readonly': True}, + 'quantity': {'readonly': True}, + 'extended_unit': {'readonly': True}, + } + + _attribute_map = { + 'meter_id': {'key': 'meterId', 'type': 'str'}, + 'quantity': {'key': 'quantity', 'type': 'long'}, + 'extended_unit': {'key': 'extendedUnit', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuCost, self).__init__(**kwargs) + self.meter_id = None + self.quantity = None + self.extended_unit = None + + +class SkuInformation(msrest.serialization.Model): + """Sku information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: The sku name. + :vartype name: str + :ivar tier: The sku tier. + :vartype tier: str + :ivar kind: The sku kind. + :vartype kind: str + :ivar family: The Sku family. + :vartype family: str + :ivar costs: The pricing info of the Sku. + :vartype costs: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.SkuCost] + :ivar locations: The locations where Sku is available. + :vartype locations: list[str] + :ivar location_info: The locations where Sku is available with zones and sites info. + :vartype location_info: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.SkuLocationInfo] + :ivar required_quota_ids: The required quotaIds for the sku to be available. + :vartype required_quota_ids: list[str] + :ivar required_features: The required features for the sku to be available. + :vartype required_features: list[str] + """ + + _validation = { + 'name': {'readonly': True}, + 'tier': {'readonly': True}, + 'kind': {'readonly': True}, + 'family': {'readonly': True}, + 'costs': {'readonly': True}, + 'locations': {'readonly': True}, + 'location_info': {'readonly': True}, + 'required_quota_ids': {'readonly': True}, + 'required_features': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'costs': {'key': 'costs', 'type': '[SkuCost]'}, + 'locations': {'key': 'locations', 'type': '[str]'}, + 'location_info': {'key': 'locationInfo', 'type': '[SkuLocationInfo]'}, + 'required_quota_ids': {'key': 'requiredQuotaIds', 'type': '[str]'}, + 'required_features': {'key': 'requiredFeatures', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuInformation, self).__init__(**kwargs) + self.name = None + self.tier = None + self.kind = None + self.family = None + self.costs = None + self.locations = None + self.location_info = None + self.required_quota_ids = None + self.required_features = None + + +class SkuInformationList(msrest.serialization.Model): + """List of SKU Information objects. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of ResourceTypeSku objects. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.ResourceTypeSku] + :ivar next_link: Links to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ResourceTypeSku]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuInformationList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SkuLocationInfo(msrest.serialization.Model): + """The location info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar location: The location. + :vartype location: str + :ivar zones: The zones. + :vartype zones: list[str] + :ivar sites: The sites. + :vartype sites: list[str] + """ + + _validation = { + 'location': {'readonly': True}, + 'zones': {'readonly': True}, + 'sites': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + 'sites': {'key': 'sites', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuLocationInfo, self).__init__(**kwargs) + self.location = None + self.zones = None + self.sites = None + + +class StorageAccount(ARMBaseModel): + """Represents a Storage Account on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: StorageAccount object on ASE device. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param description: Description for the storage Account. + :type description: str + :param storage_account_status: Current status of the storage account. Possible values include: + "OK", "Offline", "Unknown", "Updating", "NeedsAttention". + :type storage_account_status: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.StorageAccountStatus + :param data_policy: Required. Data policy of the storage Account. Possible values include: + "Cloud", "Local". + :type data_policy: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataPolicy + :param storage_account_credential_id: Storage Account Credential Id. + :type storage_account_credential_id: str + :ivar blob_endpoint: BlobEndpoint of Storage Account. + :vartype blob_endpoint: str + :ivar container_count: The Container Count. Present only for Storage Accounts with DataPolicy + set to Cloud. + :vartype container_count: int + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'data_policy': {'required': True}, + 'blob_endpoint': {'readonly': True}, + 'container_count': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'storage_account_status': {'key': 'properties.storageAccountStatus', 'type': 'str'}, + 'data_policy': {'key': 'properties.dataPolicy', 'type': 'str'}, + 'storage_account_credential_id': {'key': 'properties.storageAccountCredentialId', 'type': 'str'}, + 'blob_endpoint': {'key': 'properties.blobEndpoint', 'type': 'str'}, + 'container_count': {'key': 'properties.containerCount', 'type': 'int'}, + } + + def __init__( + self, + *, + data_policy: Union[str, "DataPolicy"], + description: Optional[str] = None, + storage_account_status: Optional[Union[str, "StorageAccountStatus"]] = None, + storage_account_credential_id: Optional[str] = None, + **kwargs + ): + super(StorageAccount, self).__init__(**kwargs) + self.system_data = None + self.description = description + self.storage_account_status = storage_account_status + self.data_policy = data_policy + self.storage_account_credential_id = storage_account_credential_id + self.blob_endpoint = None + self.container_count = None + + +class StorageAccountCredential(ARMBaseModel): + """The storage account credential. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: StorageAccountCredential object. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param alias: Required. Alias for the storage account. + :type alias: str + :param user_name: Username for the storage account. + :type user_name: str + :param account_key: Encrypted storage key. + :type account_key: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AsymmetricEncryptedSecret + :param connection_string: Connection string for the storage account. Use this string if + username and account key are not specified. + :type connection_string: str + :param ssl_status: Required. Signifies whether SSL needs to be enabled or not. Possible values + include: "Enabled", "Disabled". + :type ssl_status: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SSLStatus + :param blob_domain_name: Blob end point for private clouds. + :type blob_domain_name: str + :param account_type: Required. Type of storage accessed on the storage account. Possible values + include: "GeneralPurposeStorage", "BlobStorage". + :type account_type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AccountType + :param storage_account_id: Id of the storage account. + :type storage_account_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'alias': {'required': True}, + 'ssl_status': {'required': True}, + 'account_type': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'alias': {'key': 'properties.alias', 'type': 'str'}, + 'user_name': {'key': 'properties.userName', 'type': 'str'}, + 'account_key': {'key': 'properties.accountKey', 'type': 'AsymmetricEncryptedSecret'}, + 'connection_string': {'key': 'properties.connectionString', 'type': 'str'}, + 'ssl_status': {'key': 'properties.sslStatus', 'type': 'str'}, + 'blob_domain_name': {'key': 'properties.blobDomainName', 'type': 'str'}, + 'account_type': {'key': 'properties.accountType', 'type': 'str'}, + 'storage_account_id': {'key': 'properties.storageAccountId', 'type': 'str'}, + } + + def __init__( + self, + *, + alias: str, + ssl_status: Union[str, "SSLStatus"], + account_type: Union[str, "AccountType"], + user_name: Optional[str] = None, + account_key: Optional["AsymmetricEncryptedSecret"] = None, + connection_string: Optional[str] = None, + blob_domain_name: Optional[str] = None, + storage_account_id: Optional[str] = None, + **kwargs + ): + super(StorageAccountCredential, self).__init__(**kwargs) + self.system_data = None + self.alias = alias + self.user_name = user_name + self.account_key = account_key + self.connection_string = connection_string + self.ssl_status = ssl_status + self.blob_domain_name = blob_domain_name + self.account_type = account_type + self.storage_account_id = storage_account_id + + +class StorageAccountCredentialList(msrest.serialization.Model): + """The collection of storage account credentials. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The value. + :vartype value: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.StorageAccountCredential] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[StorageAccountCredential]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StorageAccountCredentialList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class StorageAccountList(msrest.serialization.Model): + """Collection of all the Storage Accounts on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of storageAccounts. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.StorageAccount] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[StorageAccount]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StorageAccountList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SubscriptionRegisteredFeatures(msrest.serialization.Model): + """SubscriptionRegisteredFeatures. + + :param name: + :type name: str + :param state: + :type state: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + state: Optional[str] = None, + **kwargs + ): + super(SubscriptionRegisteredFeatures, self).__init__(**kwargs) + self.name = name + self.state = state + + +class SymmetricKey(msrest.serialization.Model): + """Symmetric key for authentication. + + :param connection_string: Connection string based on the symmetric key. + :type connection_string: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AsymmetricEncryptedSecret + """ + + _attribute_map = { + 'connection_string': {'key': 'connectionString', 'type': 'AsymmetricEncryptedSecret'}, + } + + def __init__( + self, + *, + connection_string: Optional["AsymmetricEncryptedSecret"] = None, + **kwargs + ): + super(SymmetricKey, self).__init__(**kwargs) + self.connection_string = connection_string + + +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :param created_by: The identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :type created_by_type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.CreatedByType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: ~datetime.datetime + :param last_modified_by: The identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :type last_modified_by_type: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.CreatedByType + :param last_modified_at: The type of identity that last modified the resource. + :type last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + created_by: Optional[str] = None, + created_by_type: Optional[Union[str, "CreatedByType"]] = None, + created_at: Optional[datetime.datetime] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[Union[str, "CreatedByType"]] = None, + last_modified_at: Optional[datetime.datetime] = None, + **kwargs + ): + super(SystemData, self).__init__(**kwargs) + self.created_by = created_by + self.created_by_type = created_by_type + self.created_at = created_at + self.last_modified_by = last_modified_by + self.last_modified_by_type = last_modified_by_type + self.last_modified_at = last_modified_at + + +class TrackingInfo(msrest.serialization.Model): + """Tracking courier information. + + :param serial_number: Serial number of the device being tracked. + :type serial_number: str + :param carrier_name: Name of the carrier used in the delivery. + :type carrier_name: str + :param tracking_id: Tracking ID of the shipment. + :type tracking_id: str + :param tracking_url: Tracking URL of the shipment. + :type tracking_url: str + """ + + _attribute_map = { + 'serial_number': {'key': 'serialNumber', 'type': 'str'}, + 'carrier_name': {'key': 'carrierName', 'type': 'str'}, + 'tracking_id': {'key': 'trackingId', 'type': 'str'}, + 'tracking_url': {'key': 'trackingUrl', 'type': 'str'}, + } + + def __init__( + self, + *, + serial_number: Optional[str] = None, + carrier_name: Optional[str] = None, + tracking_id: Optional[str] = None, + tracking_url: Optional[str] = None, + **kwargs + ): + super(TrackingInfo, self).__init__(**kwargs) + self.serial_number = serial_number + self.carrier_name = carrier_name + self.tracking_id = tracking_id + self.tracking_url = tracking_url + + +class TriggerList(msrest.serialization.Model): + """Collection of all trigger on the data box edge device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of triggers. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Trigger] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Trigger]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TriggerList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class UpdateDownloadProgress(msrest.serialization.Model): + """Details about the download progress of update. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar download_phase: The download phase. Possible values include: "Unknown", "Initializing", + "Downloading", "Verifying". + :vartype download_phase: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DownloadPhase + :ivar percent_complete: Percentage of completion. + :vartype percent_complete: int + :ivar total_bytes_to_download: Total bytes to download. + :vartype total_bytes_to_download: float + :ivar total_bytes_downloaded: Total bytes downloaded. + :vartype total_bytes_downloaded: float + :ivar number_of_updates_to_download: Number of updates to download. + :vartype number_of_updates_to_download: int + :ivar number_of_updates_downloaded: Number of updates downloaded. + :vartype number_of_updates_downloaded: int + """ + + _validation = { + 'download_phase': {'readonly': True}, + 'percent_complete': {'readonly': True}, + 'total_bytes_to_download': {'readonly': True}, + 'total_bytes_downloaded': {'readonly': True}, + 'number_of_updates_to_download': {'readonly': True}, + 'number_of_updates_downloaded': {'readonly': True}, + } + + _attribute_map = { + 'download_phase': {'key': 'downloadPhase', 'type': 'str'}, + 'percent_complete': {'key': 'percentComplete', 'type': 'int'}, + 'total_bytes_to_download': {'key': 'totalBytesToDownload', 'type': 'float'}, + 'total_bytes_downloaded': {'key': 'totalBytesDownloaded', 'type': 'float'}, + 'number_of_updates_to_download': {'key': 'numberOfUpdatesToDownload', 'type': 'int'}, + 'number_of_updates_downloaded': {'key': 'numberOfUpdatesDownloaded', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(UpdateDownloadProgress, self).__init__(**kwargs) + self.download_phase = None + self.percent_complete = None + self.total_bytes_to_download = None + self.total_bytes_downloaded = None + self.number_of_updates_to_download = None + self.number_of_updates_downloaded = None + + +class UpdateInstallProgress(msrest.serialization.Model): + """Progress details during installation of updates. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar percent_complete: Percentage completed. + :vartype percent_complete: int + :ivar number_of_updates_to_install: Number of updates to install. + :vartype number_of_updates_to_install: int + :ivar number_of_updates_installed: Number of updates installed. + :vartype number_of_updates_installed: int + """ + + _validation = { + 'percent_complete': {'readonly': True}, + 'number_of_updates_to_install': {'readonly': True}, + 'number_of_updates_installed': {'readonly': True}, + } + + _attribute_map = { + 'percent_complete': {'key': 'percentComplete', 'type': 'int'}, + 'number_of_updates_to_install': {'key': 'numberOfUpdatesToInstall', 'type': 'int'}, + 'number_of_updates_installed': {'key': 'numberOfUpdatesInstalled', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(UpdateInstallProgress, self).__init__(**kwargs) + self.percent_complete = None + self.number_of_updates_to_install = None + self.number_of_updates_installed = None + + +class UpdateSummary(ARMBaseModel): + """Details about ongoing updates and availability of updates on the device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param device_version_number: The current version of the device in format: 1.2.17312.13.",. + :type device_version_number: str + :param friendly_device_version_name: The current version of the device in text format. + :type friendly_device_version_name: str + :param device_last_scanned_date_time: The last time when a scan was done on the device. + :type device_last_scanned_date_time: ~datetime.datetime + :param last_completed_scan_job_date_time: The time when the last scan job was completed + (success/cancelled/failed) on the appliance. + :type last_completed_scan_job_date_time: ~datetime.datetime + :ivar last_completed_download_job_date_time: The time when the last Download job was completed + (success/cancelled/failed) on the appliance. + :vartype last_completed_download_job_date_time: ~datetime.datetime + :ivar last_completed_install_job_date_time: The time when the last Install job was completed + (success/cancelled/failed) on the appliance. + :vartype last_completed_install_job_date_time: ~datetime.datetime + :ivar total_number_of_updates_available: The number of updates available for the current device + version as per the last device scan. + :vartype total_number_of_updates_available: int + :ivar total_number_of_updates_pending_download: The total number of items pending download. + :vartype total_number_of_updates_pending_download: int + :ivar total_number_of_updates_pending_install: The total number of items pending install. + :vartype total_number_of_updates_pending_install: int + :ivar reboot_behavior: Indicates if updates are available and at least one of the updates needs + a reboot. Possible values include: "NeverReboots", "RequiresReboot", "RequestReboot". + :vartype reboot_behavior: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.InstallRebootBehavior + :ivar ongoing_update_operation: The current update operation. Possible values include: "None", + "Scan", "Download", "Install". + :vartype ongoing_update_operation: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.UpdateOperation + :ivar in_progress_download_job_id: The job ID of the download job in progress. + :vartype in_progress_download_job_id: str + :ivar in_progress_install_job_id: The job ID of the install job in progress. + :vartype in_progress_install_job_id: str + :ivar in_progress_download_job_started_date_time: The time when the currently running download + (if any) started. + :vartype in_progress_download_job_started_date_time: ~datetime.datetime + :ivar in_progress_install_job_started_date_time: The time when the currently running install + (if any) started. + :vartype in_progress_install_job_started_date_time: ~datetime.datetime + :ivar update_titles: The list of updates available for install. + :vartype update_titles: list[str] + :ivar total_update_size_in_bytes: The total size of updates available for download in bytes. + :vartype total_update_size_in_bytes: float + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'last_completed_download_job_date_time': {'readonly': True}, + 'last_completed_install_job_date_time': {'readonly': True}, + 'total_number_of_updates_available': {'readonly': True}, + 'total_number_of_updates_pending_download': {'readonly': True}, + 'total_number_of_updates_pending_install': {'readonly': True}, + 'reboot_behavior': {'readonly': True}, + 'ongoing_update_operation': {'readonly': True}, + 'in_progress_download_job_id': {'readonly': True}, + 'in_progress_install_job_id': {'readonly': True}, + 'in_progress_download_job_started_date_time': {'readonly': True}, + 'in_progress_install_job_started_date_time': {'readonly': True}, + 'update_titles': {'readonly': True}, + 'total_update_size_in_bytes': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'device_version_number': {'key': 'properties.deviceVersionNumber', 'type': 'str'}, + 'friendly_device_version_name': {'key': 'properties.friendlyDeviceVersionName', 'type': 'str'}, + 'device_last_scanned_date_time': {'key': 'properties.deviceLastScannedDateTime', 'type': 'iso-8601'}, + 'last_completed_scan_job_date_time': {'key': 'properties.lastCompletedScanJobDateTime', 'type': 'iso-8601'}, + 'last_completed_download_job_date_time': {'key': 'properties.lastCompletedDownloadJobDateTime', 'type': 'iso-8601'}, + 'last_completed_install_job_date_time': {'key': 'properties.lastCompletedInstallJobDateTime', 'type': 'iso-8601'}, + 'total_number_of_updates_available': {'key': 'properties.totalNumberOfUpdatesAvailable', 'type': 'int'}, + 'total_number_of_updates_pending_download': {'key': 'properties.totalNumberOfUpdatesPendingDownload', 'type': 'int'}, + 'total_number_of_updates_pending_install': {'key': 'properties.totalNumberOfUpdatesPendingInstall', 'type': 'int'}, + 'reboot_behavior': {'key': 'properties.rebootBehavior', 'type': 'str'}, + 'ongoing_update_operation': {'key': 'properties.ongoingUpdateOperation', 'type': 'str'}, + 'in_progress_download_job_id': {'key': 'properties.inProgressDownloadJobId', 'type': 'str'}, + 'in_progress_install_job_id': {'key': 'properties.inProgressInstallJobId', 'type': 'str'}, + 'in_progress_download_job_started_date_time': {'key': 'properties.inProgressDownloadJobStartedDateTime', 'type': 'iso-8601'}, + 'in_progress_install_job_started_date_time': {'key': 'properties.inProgressInstallJobStartedDateTime', 'type': 'iso-8601'}, + 'update_titles': {'key': 'properties.updateTitles', 'type': '[str]'}, + 'total_update_size_in_bytes': {'key': 'properties.totalUpdateSizeInBytes', 'type': 'float'}, + } + + def __init__( + self, + *, + device_version_number: Optional[str] = None, + friendly_device_version_name: Optional[str] = None, + device_last_scanned_date_time: Optional[datetime.datetime] = None, + last_completed_scan_job_date_time: Optional[datetime.datetime] = None, + **kwargs + ): + super(UpdateSummary, self).__init__(**kwargs) + self.device_version_number = device_version_number + self.friendly_device_version_name = friendly_device_version_name + self.device_last_scanned_date_time = device_last_scanned_date_time + self.last_completed_scan_job_date_time = last_completed_scan_job_date_time + self.last_completed_download_job_date_time = None + self.last_completed_install_job_date_time = None + self.total_number_of_updates_available = None + self.total_number_of_updates_pending_download = None + self.total_number_of_updates_pending_install = None + self.reboot_behavior = None + self.ongoing_update_operation = None + self.in_progress_download_job_id = None + self.in_progress_install_job_id = None + self.in_progress_download_job_started_date_time = None + self.in_progress_install_job_started_date_time = None + self.update_titles = None + self.total_update_size_in_bytes = None + + +class UploadCertificateRequest(msrest.serialization.Model): + """The upload certificate request. + + All required parameters must be populated in order to send to Azure. + + :param authentication_type: The authentication type. Possible values include: "Invalid", + "AzureActiveDirectory". + :type authentication_type: str or + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AuthenticationType + :param certificate: Required. The base64 encoded certificate raw data. + :type certificate: str + """ + + _validation = { + 'certificate': {'required': True}, + } + + _attribute_map = { + 'authentication_type': {'key': 'properties.authenticationType', 'type': 'str'}, + 'certificate': {'key': 'properties.certificate', 'type': 'str'}, + } + + def __init__( + self, + *, + certificate: str, + authentication_type: Optional[Union[str, "AuthenticationType"]] = None, + **kwargs + ): + super(UploadCertificateRequest, self).__init__(**kwargs) + self.authentication_type = authentication_type + self.certificate = certificate + + +class UploadCertificateResponse(msrest.serialization.Model): + """The upload registration certificate response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param auth_type: Specifies authentication type. Possible values include: "Invalid", + "AzureActiveDirectory". + :type auth_type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AuthenticationType + :ivar resource_id: The resource ID of the Data Box Edge/Gateway device. + :vartype resource_id: str + :ivar aad_authority: Azure Active Directory tenant authority. + :vartype aad_authority: str + :ivar aad_tenant_id: Azure Active Directory tenant ID. + :vartype aad_tenant_id: str + :ivar service_principal_client_id: Azure Active Directory service principal client ID. + :vartype service_principal_client_id: str + :ivar service_principal_object_id: Azure Active Directory service principal object ID. + :vartype service_principal_object_id: str + :ivar azure_management_endpoint_audience: The azure management endpoint audience. + :vartype azure_management_endpoint_audience: str + :ivar aad_audience: Identifier of the target resource that is the recipient of the requested + token. + :vartype aad_audience: str + """ + + _validation = { + 'resource_id': {'readonly': True}, + 'aad_authority': {'readonly': True}, + 'aad_tenant_id': {'readonly': True}, + 'service_principal_client_id': {'readonly': True}, + 'service_principal_object_id': {'readonly': True}, + 'azure_management_endpoint_audience': {'readonly': True}, + 'aad_audience': {'readonly': True}, + } + + _attribute_map = { + 'auth_type': {'key': 'authType', 'type': 'str'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'aad_authority': {'key': 'aadAuthority', 'type': 'str'}, + 'aad_tenant_id': {'key': 'aadTenantId', 'type': 'str'}, + 'service_principal_client_id': {'key': 'servicePrincipalClientId', 'type': 'str'}, + 'service_principal_object_id': {'key': 'servicePrincipalObjectId', 'type': 'str'}, + 'azure_management_endpoint_audience': {'key': 'azureManagementEndpointAudience', 'type': 'str'}, + 'aad_audience': {'key': 'aadAudience', 'type': 'str'}, + } + + def __init__( + self, + *, + auth_type: Optional[Union[str, "AuthenticationType"]] = None, + **kwargs + ): + super(UploadCertificateResponse, self).__init__(**kwargs) + self.auth_type = auth_type + self.resource_id = None + self.aad_authority = None + self.aad_tenant_id = None + self.service_principal_client_id = None + self.service_principal_object_id = None + self.azure_management_endpoint_audience = None + self.aad_audience = None + + +class User(ARMBaseModel): + """Represents a user who has access to one or more shares on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: User in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SystemData + :param encrypted_password: The password details. + :type encrypted_password: + ~azure.mgmt.databoxedge.v2020_09_01_preview.models.AsymmetricEncryptedSecret + :ivar share_access_rights: List of shares that the user has rights on. This field should not be + specified during user creation. + :vartype share_access_rights: + list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.ShareAccessRight] + :param user_type: Type of the user. Possible values include: "Share", "LocalManagement", "ARM". + :type user_type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.UserType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'share_access_rights': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'encrypted_password': {'key': 'properties.encryptedPassword', 'type': 'AsymmetricEncryptedSecret'}, + 'share_access_rights': {'key': 'properties.shareAccessRights', 'type': '[ShareAccessRight]'}, + 'user_type': {'key': 'properties.userType', 'type': 'str'}, + } + + def __init__( + self, + *, + encrypted_password: Optional["AsymmetricEncryptedSecret"] = None, + user_type: Optional[Union[str, "UserType"]] = None, + **kwargs + ): + super(User, self).__init__(**kwargs) + self.system_data = None + self.encrypted_password = encrypted_password + self.share_access_rights = None + self.user_type = user_type + + +class UserAccessRight(msrest.serialization.Model): + """The mapping between a particular user and the access type on the SMB share. + + All required parameters must be populated in order to send to Azure. + + :param user_id: Required. User ID (already existing in the device). + :type user_id: str + :param access_type: Required. Type of access to be allowed for the user. Possible values + include: "Change", "Read", "Custom". + :type access_type: str or ~azure.mgmt.databoxedge.v2020_09_01_preview.models.ShareAccessType + """ + + _validation = { + 'user_id': {'required': True}, + 'access_type': {'required': True}, + } + + _attribute_map = { + 'user_id': {'key': 'userId', 'type': 'str'}, + 'access_type': {'key': 'accessType', 'type': 'str'}, + } + + def __init__( + self, + *, + user_id: str, + access_type: Union[str, "ShareAccessType"], + **kwargs + ): + super(UserAccessRight, self).__init__(**kwargs) + self.user_id = user_id + self.access_type = access_type + + +class UserList(msrest.serialization.Model): + """Collection of users. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of users. + :vartype value: list[~azure.mgmt.databoxedge.v2020_09_01_preview.models.User] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[User]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UserList, self).__init__(**kwargs) + self.value = None + self.next_link = None diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/__init__.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/__init__.py new file mode 100644 index 000000000000..d70057be6458 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/__init__.py @@ -0,0 +1,47 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._operations import Operations +from ._available_skus_operations import AvailableSkusOperations +from ._devices_operations import DevicesOperations +from ._alerts_operations import AlertsOperations +from ._bandwidth_schedules_operations import BandwidthSchedulesOperations +from ._jobs_operations import JobsOperations +from ._nodes_operations import NodesOperations +from ._operations_status_operations import OperationsStatusOperations +from ._orders_operations import OrdersOperations +from ._roles_operations import RolesOperations +from ._addons_operations import AddonsOperations +from ._monitoring_config_operations import MonitoringConfigOperations +from ._shares_operations import SharesOperations +from ._storage_account_credentials_operations import StorageAccountCredentialsOperations +from ._storage_accounts_operations import StorageAccountsOperations +from ._containers_operations import ContainersOperations +from ._triggers_operations import TriggersOperations +from ._users_operations import UsersOperations + +__all__ = [ + 'Operations', + 'AvailableSkusOperations', + 'DevicesOperations', + 'AlertsOperations', + 'BandwidthSchedulesOperations', + 'JobsOperations', + 'NodesOperations', + 'OperationsStatusOperations', + 'OrdersOperations', + 'RolesOperations', + 'AddonsOperations', + 'MonitoringConfigOperations', + 'SharesOperations', + 'StorageAccountCredentialsOperations', + 'StorageAccountsOperations', + 'ContainersOperations', + 'TriggersOperations', + 'UsersOperations', +] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_addons_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_addons_operations.py new file mode 100644 index 000000000000..9365bc2d7256 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_addons_operations.py @@ -0,0 +1,460 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class AddonsOperations(object): + """AddonsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_role( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.AddonList"] + """Lists all the addons configured in the role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AddonList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.AddonList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AddonList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_role.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AddonList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_role.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons'} # type: ignore + + def get( + self, + device_name, # type: str + role_name, # type: str + addon_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Addon" + """Gets a specific addon by name. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param addon_name: The addon name. + :type addon_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Addon, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Addon + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Addon"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Addon', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + role_name, # type: str + addon_name, # type: str + resource_group_name, # type: str + addon, # type: "_models.Addon" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.Addon"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Addon"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(addon, 'Addon') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Addon', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + role_name, # type: str + addon_name, # type: str + resource_group_name, # type: str + addon, # type: "_models.Addon" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Addon"] + """Create or update a addon. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param addon_name: The addon name. + :type addon_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param addon: The addon properties. + :type addon: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Addon + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Addon or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Addon] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Addon"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + role_name=role_name, + addon_name=addon_name, + resource_group_name=resource_group_name, + addon=addon, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Addon', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + role_name, # type: str + addon_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + role_name, # type: str + addon_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the addon on the device. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param addon_name: The addon name. + :type addon_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + role_name=role_name, + addon_name=addon_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_alerts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_alerts_operations.py new file mode 100644 index 000000000000..5621d275fc8f --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_alerts_operations.py @@ -0,0 +1,186 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class AlertsOperations(object): + """AlertsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.AlertList"] + """Gets all the alerts for a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AlertList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.AlertList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AlertList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AlertList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Alert" + """Gets an alert by name. + + Gets an alert by name. + + :param device_name: The device name. + :type device_name: str + :param name: The alert name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Alert, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Alert + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Alert"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Alert', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_available_skus_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_available_skus_operations.py new file mode 100644 index 000000000000..07119aad4c34 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_available_skus_operations.py @@ -0,0 +1,115 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class AvailableSkusOperations(object): + """AvailableSkusOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.DataBoxEdgeSkuList"] + """List all the available Skus and information related to them. + + List all the available Skus and information related to them. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataBoxEdgeSkuList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeSkuList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeSkuList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeSkuList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataBoxEdge/availableSkus'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_bandwidth_schedules_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_bandwidth_schedules_operations.py new file mode 100644 index 000000000000..9d8a3cd35b81 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_bandwidth_schedules_operations.py @@ -0,0 +1,438 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class BandwidthSchedulesOperations(object): + """BandwidthSchedulesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.BandwidthSchedulesList"] + """Gets all the bandwidth schedules for a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either BandwidthSchedulesList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.BandwidthSchedulesList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedulesList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('BandwidthSchedulesList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.BandwidthSchedule" + """Gets the properties of the specified bandwidth schedule. + + :param device_name: The device name. + :type device_name: str + :param name: The bandwidth schedule name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: BandwidthSchedule, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.BandwidthSchedule + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('BandwidthSchedule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + parameters, # type: "_models.BandwidthSchedule" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.BandwidthSchedule"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.BandwidthSchedule"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'BandwidthSchedule') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('BandwidthSchedule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + parameters, # type: "_models.BandwidthSchedule" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.BandwidthSchedule"] + """Creates or updates a bandwidth schedule. + + :param device_name: The device name. + :type device_name: str + :param name: The bandwidth schedule name which needs to be added/updated. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The bandwidth schedule to be added or updated. + :type parameters: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.BandwidthSchedule + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either BandwidthSchedule or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_09_01_preview.models.BandwidthSchedule] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedule"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('BandwidthSchedule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified bandwidth schedule. + + :param device_name: The device name. + :type device_name: str + :param name: The bandwidth schedule name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_containers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_containers_operations.py new file mode 100644 index 000000000000..5e8e117e34fe --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_containers_operations.py @@ -0,0 +1,592 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ContainersOperations(object): + """ContainersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_storage_account( + self, + device_name, # type: str + storage_account_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ContainerList"] + """Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device. + + Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The storage Account name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ContainerList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.ContainerList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ContainerList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_storage_account.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ContainerList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_storage_account.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers'} # type: ignore + + def get( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Container" + """Gets a container by name. + + Gets a container by name. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container Name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Container, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Container + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Container"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Container', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + container, # type: "_models.Container" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.Container"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Container"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(container, 'Container') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Container', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + container, # type: "_models.Container" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Container"] + """Creates a new container or updates an existing container on the device. + + Creates a new container or updates an existing container on the device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param container: The container properties. + :type container: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Container + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Container or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Container] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Container"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + storage_account_name=storage_account_name, + container_name=container_name, + resource_group_name=resource_group_name, + container=container, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Container', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the container on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + storage_account_name=storage_account_name, + container_name=container_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + def _refresh_initial( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._refresh_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _refresh_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}/refresh'} # type: ignore + + def begin_refresh( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Refreshes the container metadata with the data from the cloud. + + Refreshes the container metadata with the data from the cloud. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._refresh_initial( + device_name=device_name, + storage_account_name=storage_account_name, + container_name=container_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_refresh.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}/refresh'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_devices_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_devices_operations.py new file mode 100644 index 000000000000..a058fb8f62d2 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_devices_operations.py @@ -0,0 +1,1389 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class DevicesOperations(object): + """DevicesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_subscription( + self, + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.DataBoxEdgeDeviceList"] + """Gets all the Data Box Edge/Data Box Gateway devices in a subscription. + + :param expand: Specify $expand=details to populate additional fields related to the resource or + Specify $skipToken=:code:`` to populate the next page in the list. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDeviceList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeDeviceList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.DataBoxEdgeDeviceList"] + """Gets all the Data Box Edge/Data Box Gateway devices in a resource group. + + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param expand: Specify $expand=details to populate additional fields related to the resource or + Specify $skipToken=:code:`` to populate the next page in the list. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDeviceList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeDeviceList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices'} # type: ignore + + def get( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.DataBoxEdgeDevice" + """Gets the properties of the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDevice, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDevice + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + resource_group_name, # type: str + data_box_edge_device, # type: "_models.DataBoxEdgeDevice" + **kwargs # type: Any + ): + # type: (...) -> "_models.DataBoxEdgeDevice" + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(data_box_edge_device, 'DataBoxEdgeDevice') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + resource_group_name, # type: str + data_box_edge_device, # type: "_models.DataBoxEdgeDevice" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.DataBoxEdgeDevice"] + """Creates or updates a Data Box Edge/Data Box Gateway resource. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param data_box_edge_device: The resource object. + :type data_box_edge_device: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDevice + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either DataBoxEdgeDevice or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDevice] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + resource_group_name=resource_group_name, + data_box_edge_device=data_box_edge_device, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + def update( + self, + device_name, # type: str + resource_group_name, # type: str + parameters, # type: "_models.DataBoxEdgeDevicePatch" + **kwargs # type: Any + ): + # type: (...) -> "_models.DataBoxEdgeDevice" + """Modifies a Data Box Edge/Data Box Gateway resource. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The resource parameters. + :type parameters: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDevicePatch + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDevice, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDevice + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DataBoxEdgeDevicePatch') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + def _download_updates_initial( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._download_updates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _download_updates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/downloadUpdates'} # type: ignore + + def begin_download_updates( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Downloads the updates on a Data Box Edge/Data Box Gateway device. + + Downloads the updates on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._download_updates_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_download_updates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/downloadUpdates'} # type: ignore + + def generate_certificate( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.GenerateCertResponse" + """Generates certificate for activation key. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: GenerateCertResponse, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.GenerateCertResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.GenerateCertResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.generate_certificate.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('GenerateCertResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + generate_certificate.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/generateCertificate'} # type: ignore + + def get_extended_information( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.DataBoxEdgeDeviceExtendedInfo" + """Gets additional information for the specified Azure Stack Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDeviceExtendedInfo, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDeviceExtendedInfo + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceExtendedInfo"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get_extended_information.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDeviceExtendedInfo', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_extended_information.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/getExtendedInformation'} # type: ignore + + def _install_updates_initial( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._install_updates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _install_updates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/installUpdates'} # type: ignore + + def begin_install_updates( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Installs the updates on the Data Box Edge/Data Box Gateway device. + + Installs the updates on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._install_updates_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_install_updates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/installUpdates'} # type: ignore + + def get_network_settings( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkSettings" + """Gets the network settings of the specified Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkSettings, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.NetworkSettings + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSettings"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get_network_settings.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkSettings', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_network_settings.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/networkSettings/default'} # type: ignore + + def _scan_for_updates_initial( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._scan_for_updates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _scan_for_updates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/scanForUpdates'} # type: ignore + + def begin_scan_for_updates( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Scans for updates on a Data Box Edge/Data Box Gateway device. + + Scans for updates on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._scan_for_updates_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_scan_for_updates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/scanForUpdates'} # type: ignore + + def _create_or_update_security_settings_initial( + self, + device_name, # type: str + resource_group_name, # type: str + security_settings, # type: "_models.SecuritySettings" + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_security_settings_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(security_settings, 'SecuritySettings') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _create_or_update_security_settings_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/securitySettings/default/update'} # type: ignore + + def begin_create_or_update_security_settings( + self, + device_name, # type: str + resource_group_name, # type: str + security_settings, # type: "_models.SecuritySettings" + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Updates the security settings on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param security_settings: The security settings. + :type security_settings: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.SecuritySettings + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_security_settings_initial( + device_name=device_name, + resource_group_name=resource_group_name, + security_settings=security_settings, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update_security_settings.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/securitySettings/default/update'} # type: ignore + + def update_extended_information( + self, + device_name, # type: str + resource_group_name, # type: str + parameters, # type: "_models.DataBoxEdgeDeviceExtendedInfoPatch" + **kwargs # type: Any + ): + # type: (...) -> "_models.DataBoxEdgeDeviceExtendedInfo" + """Gets additional information for the specified Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The patch object. + :type parameters: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDeviceExtendedInfoPatch + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDeviceExtendedInfo, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DataBoxEdgeDeviceExtendedInfo + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceExtendedInfo"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_extended_information.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DataBoxEdgeDeviceExtendedInfoPatch') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDeviceExtendedInfo', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_extended_information.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/updateExtendedInformation'} # type: ignore + + def get_update_summary( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.UpdateSummary" + """Gets information about the availability of updates based on the last scan of the device. It also gets information about any ongoing download or install jobs on the device. + + Gets information about the availability of updates based on the last scan of the device. It + also gets information about any ongoing download or install jobs on the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: UpdateSummary, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.UpdateSummary + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UpdateSummary"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get_update_summary.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('UpdateSummary', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_update_summary.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/updateSummary/default'} # type: ignore + + def upload_certificate( + self, + device_name, # type: str + resource_group_name, # type: str + parameters, # type: "_models.UploadCertificateRequest" + **kwargs # type: Any + ): + # type: (...) -> "_models.UploadCertificateResponse" + """Uploads registration certificate for the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The upload certificate request. + :type parameters: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.UploadCertificateRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :return: UploadCertificateResponse, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.UploadCertificateResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UploadCertificateResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.upload_certificate.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'UploadCertificateRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('UploadCertificateResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + upload_certificate.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/uploadCertificate'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_jobs_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_jobs_operations.py new file mode 100644 index 000000000000..3093099186b6 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_jobs_operations.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class JobsOperations(object): + """JobsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Job" + """Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The job name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Job, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Job + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Job', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/jobs/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_monitoring_config_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_monitoring_config_operations.py new file mode 100644 index 000000000000..dfe56fe7e990 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_monitoring_config_operations.py @@ -0,0 +1,450 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class MonitoringConfigOperations(object): + """MonitoringConfigOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.MonitoringMetricConfigurationList"] + """Lists metric configurations in a role. + + Lists metric configurations in a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either MonitoringMetricConfigurationList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MonitoringMetricConfigurationList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.MonitoringMetricConfigurationList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('MonitoringMetricConfigurationList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig'} # type: ignore + + def get( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.MonitoringMetricConfiguration" + """Gets a metric configuration of a role. + + Gets a metric configuration of a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: MonitoringMetricConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.MonitoringMetricConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.MonitoringMetricConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('MonitoringMetricConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + monitoring_metric_configuration, # type: "_models.MonitoringMetricConfiguration" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.MonitoringMetricConfiguration"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.MonitoringMetricConfiguration"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(monitoring_metric_configuration, 'MonitoringMetricConfiguration') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('MonitoringMetricConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + monitoring_metric_configuration, # type: "_models.MonitoringMetricConfiguration" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.MonitoringMetricConfiguration"] + """Creates a new metric configuration or updates an existing one for a role. + + Creates a new metric configuration or updates an existing one for a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param monitoring_metric_configuration: The metric configuration. + :type monitoring_metric_configuration: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.MonitoringMetricConfiguration + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either MonitoringMetricConfiguration or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_09_01_preview.models.MonitoringMetricConfiguration] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.MonitoringMetricConfiguration"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + role_name=role_name, + resource_group_name=resource_group_name, + monitoring_metric_configuration=monitoring_metric_configuration, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('MonitoringMetricConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """deletes a new metric configuration for a role. + + deletes a new metric configuration for a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + role_name=role_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_nodes_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_nodes_operations.py new file mode 100644 index 000000000000..64bd64238045 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_nodes_operations.py @@ -0,0 +1,121 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class NodesOperations(object): + """NodesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NodeList"] + """Gets all the nodes currently configured under this Data Box Edge device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NodeList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.NodeList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NodeList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NodeList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/nodes'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_operations.py new file mode 100644 index 000000000000..9a70248228a1 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_operations.py @@ -0,0 +1,111 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class Operations(object): + """Operations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.OperationsList"] + """List all the supported operations. + + List all the supported operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationsList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.OperationsList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationsList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('OperationsList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/providers/Microsoft.DataBoxEdge/operations'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_operations_status_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_operations_status_operations.py new file mode 100644 index 000000000000..16307b29fbfb --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_operations_status_operations.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class OperationsStatusOperations(object): + """OperationsStatusOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Job" + """Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The job name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Job, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Job + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Job', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/operationsStatus/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_orders_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_orders_operations.py new file mode 100644 index 000000000000..603494a81f39 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_orders_operations.py @@ -0,0 +1,489 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class OrdersOperations(object): + """OrdersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.OrderList"] + """Lists all the orders related to a Data Box Edge/Data Box Gateway device. + + Lists all the orders related to a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OrderList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.OrderList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OrderList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('OrderList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders'} # type: ignore + + def get( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Order" + """Gets a specific order by name. + + Gets a specific order by name. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Order, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Order + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Order"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Order', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + resource_group_name, # type: str + order, # type: "_models.Order" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.Order"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Order"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(order, 'Order') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Order', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + resource_group_name, # type: str + order, # type: "_models.Order" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Order"] + """Creates or updates an order. + + Creates or updates an order. + + :param device_name: The order details of a device. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param order: The order to be created or updated. + :type order: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Order + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Order or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Order] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Order"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + resource_group_name=resource_group_name, + order=order, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Order', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the order related to the device. + + Deletes the order related to the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + def list_dc_access_code( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.DCAccessCode" + """Gets the DCAccess Code. + + Gets the DCAccess Code. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DCAccessCode, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.DCAccessCode + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DCAccessCode"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.list_dc_access_code.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DCAccessCode', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_dc_access_code.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default/listDCAccessCode'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_roles_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_roles_operations.py new file mode 100644 index 000000000000..2a5c33e838ce --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_roles_operations.py @@ -0,0 +1,438 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class RolesOperations(object): + """RolesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.RoleList"] + """Lists all the roles configured in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either RoleList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.RoleList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RoleList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('RoleList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Role" + """Gets a specific role by name. + + :param device_name: The device name. + :type device_name: str + :param name: The role name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Role, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Role + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Role"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Role', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + role, # type: "_models.Role" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.Role"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Role"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(role, 'Role') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Role', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + role, # type: "_models.Role" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Role"] + """Create or update a role. + + :param device_name: The device name. + :type device_name: str + :param name: The role name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param role: The role properties. + :type role: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Role + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Role or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Role] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Role"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + role=role, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Role', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the role on the device. + + :param device_name: The device name. + :type device_name: str + :param name: The role name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_shares_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_shares_operations.py new file mode 100644 index 000000000000..501d30d91ea7 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_shares_operations.py @@ -0,0 +1,563 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class SharesOperations(object): + """SharesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ShareList"] + """Lists all the shares in a Data Box Edge/Data Box Gateway device. + + Lists all the shares in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ShareList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.ShareList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ShareList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ShareList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Share" + """Gets a share by name. + + Gets a share by name. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Share, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Share + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Share"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Share', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + share, # type: "_models.Share" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.Share"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Share"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(share, 'Share') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Share', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + share, # type: "_models.Share" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Share"] + """Creates a new share or updates an existing share on the device. + + Creates a new share or updates an existing share on the device. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param share: The share properties. + :type share: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Share + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Share or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Share] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Share"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + share=share, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Share', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the share on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + def _refresh_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._refresh_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _refresh_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}/refresh'} # type: ignore + + def begin_refresh( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Refreshes the share metadata with the data from the cloud. + + Refreshes the share metadata with the data from the cloud. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._refresh_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_refresh.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}/refresh'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_storage_account_credentials_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_storage_account_credentials_operations.py new file mode 100644 index 000000000000..5f47caaaf368 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_storage_account_credentials_operations.py @@ -0,0 +1,440 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class StorageAccountCredentialsOperations(object): + """StorageAccountCredentialsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.StorageAccountCredentialList"] + """Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device. + + Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StorageAccountCredentialList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.StorageAccountCredentialList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredentialList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('StorageAccountCredentialList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.StorageAccountCredential" + """Gets the properties of the specified storage account credential. + + :param device_name: The device name. + :type device_name: str + :param name: The storage account credential name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: StorageAccountCredential, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.StorageAccountCredential + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredential"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('StorageAccountCredential', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + storage_account_credential, # type: "_models.StorageAccountCredential" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.StorageAccountCredential"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.StorageAccountCredential"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(storage_account_credential, 'StorageAccountCredential') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('StorageAccountCredential', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + storage_account_credential, # type: "_models.StorageAccountCredential" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.StorageAccountCredential"] + """Creates or updates the storage account credential. + + :param device_name: The device name. + :type device_name: str + :param name: The storage account credential name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param storage_account_credential: The storage account credential. + :type storage_account_credential: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.StorageAccountCredential + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either StorageAccountCredential or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_09_01_preview.models.StorageAccountCredential] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredential"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + storage_account_credential=storage_account_credential, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('StorageAccountCredential', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the storage account credential. + + :param device_name: The device name. + :type device_name: str + :param name: The storage account credential name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_storage_accounts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_storage_accounts_operations.py new file mode 100644 index 000000000000..0aac41580fed --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_storage_accounts_operations.py @@ -0,0 +1,444 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class StorageAccountsOperations(object): + """StorageAccountsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.StorageAccountList"] + """Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device. + + Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StorageAccountList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.StorageAccountList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('StorageAccountList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts'} # type: ignore + + def get( + self, + device_name, # type: str + storage_account_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.StorageAccount" + """Gets a StorageAccount by name. + + Gets a StorageAccount by name. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The storage account name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: StorageAccount, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.StorageAccount + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('StorageAccount', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + storage_account_name, # type: str + resource_group_name, # type: str + storage_account, # type: "_models.StorageAccount" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.StorageAccount"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.StorageAccount"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(storage_account, 'StorageAccount') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('StorageAccount', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + storage_account_name, # type: str + resource_group_name, # type: str + storage_account, # type: "_models.StorageAccount" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.StorageAccount"] + """Creates a new StorageAccount or updates an existing StorageAccount on the device. + + Creates a new StorageAccount or updates an existing StorageAccount on the device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The StorageAccount name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param storage_account: The StorageAccount properties. + :type storage_account: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.StorageAccount + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either StorageAccount or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_09_01_preview.models.StorageAccount] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + storage_account_name=storage_account_name, + resource_group_name=resource_group_name, + storage_account=storage_account, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('StorageAccount', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + storage_account_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + storage_account_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the StorageAccount on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The StorageAccount name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + storage_account_name=storage_account_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_triggers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_triggers_operations.py new file mode 100644 index 000000000000..107270847ee8 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_triggers_operations.py @@ -0,0 +1,444 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class TriggersOperations(object): + """TriggersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + filter=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.TriggerList"] + """Lists all the triggers configured in the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param filter: Specify $filter='CustomContextTag eq :code:``' to filter on custom context + tag property. + :type filter: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TriggerList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.TriggerList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TriggerList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if filter is not None: + query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('TriggerList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Trigger" + """Get a specific trigger by name. + + :param device_name: The device name. + :type device_name: str + :param name: The trigger name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Trigger, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Trigger + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Trigger"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Trigger', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + trigger, # type: "_models.Trigger" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.Trigger"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Trigger"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(trigger, 'Trigger') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Trigger', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + trigger, # type: "_models.Trigger" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Trigger"] + """Creates or updates a trigger. + + :param device_name: Creates or updates a trigger. + :type device_name: str + :param name: The trigger name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param trigger: The trigger. + :type trigger: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.Trigger + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Trigger or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_09_01_preview.models.Trigger] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Trigger"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + trigger=trigger, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Trigger', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the trigger on the gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The trigger name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_users_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_users_operations.py new file mode 100644 index 000000000000..569bcc44fd46 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/operations/_users_operations.py @@ -0,0 +1,445 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class UsersOperations(object): + """UsersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2020_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.UserList"] + """Gets all the users registered on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param expand: Specify $expand=details to populate additional fields related to the resource or + Specify $skipToken=:code:`` to populate the next page in the list. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either UserList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2020_09_01_preview.models.UserList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UserList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('UserList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.User" + """Gets the properties of the specified user. + + :param device_name: The device name. + :type device_name: str + :param name: The user name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: User, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.User + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.User"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('User', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + user, # type: "_models.User" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.User"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.User"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(user, 'User') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('User', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + user, # type: "_models.User" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.User"] + """Creates a new user or updates an existing user's information on a Data Box Edge/Data Box + Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The user name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param user: The user details. + :type user: ~azure.mgmt.databoxedge.v2020_09_01_preview.models.User + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either User or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2020_09_01_preview.models.User] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.User"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + user=user, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('User', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-09-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the user on a databox edge/gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The user name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/py.typed b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/py.typed new file mode 100644 index 000000000000..e5aff4f83af8 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_09_01_preview/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561. \ No newline at end of file diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/__init__.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/__init__.py new file mode 100644 index 000000000000..e63196b6b98f --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/__init__.py @@ -0,0 +1,16 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._data_box_edge_management_client import DataBoxEdgeManagementClient +__all__ = ['DataBoxEdgeManagementClient'] + +try: + from ._patch import patch_sdk # type: ignore + patch_sdk() +except ImportError: + pass diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/_configuration.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/_configuration.py new file mode 100644 index 000000000000..0e27cd60be90 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/_configuration.py @@ -0,0 +1,70 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + from azure.core.credentials import TokenCredential + +VERSION = "unknown" + +class DataBoxEdgeManagementClientConfiguration(Configuration): + """Configuration for DataBoxEdgeManagementClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The subscription ID. + :type subscription_id: str + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(DataBoxEdgeManagementClientConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2021-02-01-preview" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'mgmt-databoxedge/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs # type: Any + ): + # type: (...) -> None + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/_data_box_edge_management_client.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/_data_box_edge_management_client.py new file mode 100644 index 000000000000..16f27eeeaf02 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/_data_box_edge_management_client.py @@ -0,0 +1,174 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import TYPE_CHECKING + +from azure.mgmt.core import ARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Optional + + from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse + +from ._configuration import DataBoxEdgeManagementClientConfiguration +from .operations import Operations +from .operations import AvailableSkusOperations +from .operations import DevicesOperations +from .operations import AlertsOperations +from .operations import BandwidthSchedulesOperations +from .operations import JobsOperations +from .operations import NodesOperations +from .operations import OperationsStatusOperations +from .operations import OrdersOperations +from .operations import RolesOperations +from .operations import AddonsOperations +from .operations import MonitoringConfigOperations +from .operations import SharesOperations +from .operations import StorageAccountCredentialsOperations +from .operations import StorageAccountsOperations +from .operations import ContainersOperations +from .operations import TriggersOperations +from .operations import UsersOperations +from . import models + + +class DataBoxEdgeManagementClient(object): + """The DataBoxEdge Client. + + :ivar operations: Operations operations + :vartype operations: azure.mgmt.databoxedge.v2021_02_01_preview.operations.Operations + :ivar available_skus: AvailableSkusOperations operations + :vartype available_skus: azure.mgmt.databoxedge.v2021_02_01_preview.operations.AvailableSkusOperations + :ivar devices: DevicesOperations operations + :vartype devices: azure.mgmt.databoxedge.v2021_02_01_preview.operations.DevicesOperations + :ivar alerts: AlertsOperations operations + :vartype alerts: azure.mgmt.databoxedge.v2021_02_01_preview.operations.AlertsOperations + :ivar bandwidth_schedules: BandwidthSchedulesOperations operations + :vartype bandwidth_schedules: azure.mgmt.databoxedge.v2021_02_01_preview.operations.BandwidthSchedulesOperations + :ivar jobs: JobsOperations operations + :vartype jobs: azure.mgmt.databoxedge.v2021_02_01_preview.operations.JobsOperations + :ivar nodes: NodesOperations operations + :vartype nodes: azure.mgmt.databoxedge.v2021_02_01_preview.operations.NodesOperations + :ivar operations_status: OperationsStatusOperations operations + :vartype operations_status: azure.mgmt.databoxedge.v2021_02_01_preview.operations.OperationsStatusOperations + :ivar orders: OrdersOperations operations + :vartype orders: azure.mgmt.databoxedge.v2021_02_01_preview.operations.OrdersOperations + :ivar roles: RolesOperations operations + :vartype roles: azure.mgmt.databoxedge.v2021_02_01_preview.operations.RolesOperations + :ivar addons: AddonsOperations operations + :vartype addons: azure.mgmt.databoxedge.v2021_02_01_preview.operations.AddonsOperations + :ivar monitoring_config: MonitoringConfigOperations operations + :vartype monitoring_config: azure.mgmt.databoxedge.v2021_02_01_preview.operations.MonitoringConfigOperations + :ivar shares: SharesOperations operations + :vartype shares: azure.mgmt.databoxedge.v2021_02_01_preview.operations.SharesOperations + :ivar storage_account_credentials: StorageAccountCredentialsOperations operations + :vartype storage_account_credentials: azure.mgmt.databoxedge.v2021_02_01_preview.operations.StorageAccountCredentialsOperations + :ivar storage_accounts: StorageAccountsOperations operations + :vartype storage_accounts: azure.mgmt.databoxedge.v2021_02_01_preview.operations.StorageAccountsOperations + :ivar containers: ContainersOperations operations + :vartype containers: azure.mgmt.databoxedge.v2021_02_01_preview.operations.ContainersOperations + :ivar triggers: TriggersOperations operations + :vartype triggers: azure.mgmt.databoxedge.v2021_02_01_preview.operations.TriggersOperations + :ivar users: UsersOperations operations + :vartype users: azure.mgmt.databoxedge.v2021_02_01_preview.operations.UsersOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The subscription ID. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + base_url=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> None + if not base_url: + base_url = 'https://management.azure.com' + self._config = DataBoxEdgeManagementClientConfiguration(credential, subscription_id, **kwargs) + self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize) + self.available_skus = AvailableSkusOperations( + self._client, self._config, self._serialize, self._deserialize) + self.devices = DevicesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.alerts = AlertsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.bandwidth_schedules = BandwidthSchedulesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.jobs = JobsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.nodes = NodesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.operations_status = OperationsStatusOperations( + self._client, self._config, self._serialize, self._deserialize) + self.orders = OrdersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.roles = RolesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.addons = AddonsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.monitoring_config = MonitoringConfigOperations( + self._client, self._config, self._serialize, self._deserialize) + self.shares = SharesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.storage_account_credentials = StorageAccountCredentialsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.storage_accounts = StorageAccountsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.containers = ContainersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.triggers = TriggersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.users = UsersOperations( + self._client, self._config, self._serialize, self._deserialize) + + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + + def close(self): + # type: () -> None + self._client.close() + + def __enter__(self): + # type: () -> DataBoxEdgeManagementClient + self._client.__enter__() + return self + + def __exit__(self, *exc_details): + # type: (Any) -> None + self._client.__exit__(*exc_details) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/_metadata.json b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/_metadata.json new file mode 100644 index 000000000000..c4a292c62cd0 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/_metadata.json @@ -0,0 +1,120 @@ +{ + "chosen_version": "2021-02-01-preview", + "total_api_version_list": ["2021-02-01-preview"], + "client": { + "name": "DataBoxEdgeManagementClient", + "filename": "_data_box_edge_management_client", + "description": "The DataBoxEdge Client.", + "base_url": "\u0027https://management.azure.com\u0027", + "custom_base_url": null, + "azure_arm": true, + "has_lro_operations": true, + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"DataBoxEdgeManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"DataBoxEdgeManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" + }, + "global_parameters": { + "sync": { + "credential": { + "signature": "credential, # type: \"TokenCredential\"", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials.TokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id, # type: str", + "description": "The subscription ID.", + "docstring_type": "str", + "required": true + } + }, + "async": { + "credential": { + "signature": "credential: \"AsyncTokenCredential\",", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id: str,", + "description": "The subscription ID.", + "docstring_type": "str", + "required": true + } + }, + "constant": { + }, + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } + }, + "config": { + "credential": true, + "credential_scopes": ["https://management.azure.com/.default"], + "credential_default_policy_type": "BearerTokenCredentialPolicy", + "credential_default_policy_type_has_async_version": true, + "credential_key_header_name": null, + "sync_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\": [\"TokenCredential\"]}}}", + "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": { + "operations": "Operations", + "available_skus": "AvailableSkusOperations", + "devices": "DevicesOperations", + "alerts": "AlertsOperations", + "bandwidth_schedules": "BandwidthSchedulesOperations", + "jobs": "JobsOperations", + "nodes": "NodesOperations", + "operations_status": "OperationsStatusOperations", + "orders": "OrdersOperations", + "roles": "RolesOperations", + "addons": "AddonsOperations", + "monitoring_config": "MonitoringConfigOperations", + "shares": "SharesOperations", + "storage_account_credentials": "StorageAccountCredentialsOperations", + "storage_accounts": "StorageAccountsOperations", + "containers": "ContainersOperations", + "triggers": "TriggersOperations", + "users": "UsersOperations" + } +} \ No newline at end of file diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/__init__.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/__init__.py new file mode 100644 index 000000000000..c33d46ee91d8 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/__init__.py @@ -0,0 +1,10 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._data_box_edge_management_client import DataBoxEdgeManagementClient +__all__ = ['DataBoxEdgeManagementClient'] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/_configuration.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/_configuration.py new file mode 100644 index 000000000000..f2b772a27070 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/_configuration.py @@ -0,0 +1,66 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +VERSION = "unknown" + +class DataBoxEdgeManagementClientConfiguration(Configuration): + """Configuration for DataBoxEdgeManagementClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The subscription ID. + :type subscription_id: str + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + **kwargs: Any + ) -> None: + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(DataBoxEdgeManagementClientConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2021-02-01-preview" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'mgmt-databoxedge/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs: Any + ) -> None: + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/_data_box_edge_management_client.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/_data_box_edge_management_client.py new file mode 100644 index 000000000000..7967f62c7ed8 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/_data_box_edge_management_client.py @@ -0,0 +1,167 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, Optional, TYPE_CHECKING + +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core import AsyncARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +from ._configuration import DataBoxEdgeManagementClientConfiguration +from .operations import Operations +from .operations import AvailableSkusOperations +from .operations import DevicesOperations +from .operations import AlertsOperations +from .operations import BandwidthSchedulesOperations +from .operations import JobsOperations +from .operations import NodesOperations +from .operations import OperationsStatusOperations +from .operations import OrdersOperations +from .operations import RolesOperations +from .operations import AddonsOperations +from .operations import MonitoringConfigOperations +from .operations import SharesOperations +from .operations import StorageAccountCredentialsOperations +from .operations import StorageAccountsOperations +from .operations import ContainersOperations +from .operations import TriggersOperations +from .operations import UsersOperations +from .. import models + + +class DataBoxEdgeManagementClient(object): + """The DataBoxEdge Client. + + :ivar operations: Operations operations + :vartype operations: azure.mgmt.databoxedge.v2021_02_01_preview.aio.operations.Operations + :ivar available_skus: AvailableSkusOperations operations + :vartype available_skus: azure.mgmt.databoxedge.v2021_02_01_preview.aio.operations.AvailableSkusOperations + :ivar devices: DevicesOperations operations + :vartype devices: azure.mgmt.databoxedge.v2021_02_01_preview.aio.operations.DevicesOperations + :ivar alerts: AlertsOperations operations + :vartype alerts: azure.mgmt.databoxedge.v2021_02_01_preview.aio.operations.AlertsOperations + :ivar bandwidth_schedules: BandwidthSchedulesOperations operations + :vartype bandwidth_schedules: azure.mgmt.databoxedge.v2021_02_01_preview.aio.operations.BandwidthSchedulesOperations + :ivar jobs: JobsOperations operations + :vartype jobs: azure.mgmt.databoxedge.v2021_02_01_preview.aio.operations.JobsOperations + :ivar nodes: NodesOperations operations + :vartype nodes: azure.mgmt.databoxedge.v2021_02_01_preview.aio.operations.NodesOperations + :ivar operations_status: OperationsStatusOperations operations + :vartype operations_status: azure.mgmt.databoxedge.v2021_02_01_preview.aio.operations.OperationsStatusOperations + :ivar orders: OrdersOperations operations + :vartype orders: azure.mgmt.databoxedge.v2021_02_01_preview.aio.operations.OrdersOperations + :ivar roles: RolesOperations operations + :vartype roles: azure.mgmt.databoxedge.v2021_02_01_preview.aio.operations.RolesOperations + :ivar addons: AddonsOperations operations + :vartype addons: azure.mgmt.databoxedge.v2021_02_01_preview.aio.operations.AddonsOperations + :ivar monitoring_config: MonitoringConfigOperations operations + :vartype monitoring_config: azure.mgmt.databoxedge.v2021_02_01_preview.aio.operations.MonitoringConfigOperations + :ivar shares: SharesOperations operations + :vartype shares: azure.mgmt.databoxedge.v2021_02_01_preview.aio.operations.SharesOperations + :ivar storage_account_credentials: StorageAccountCredentialsOperations operations + :vartype storage_account_credentials: azure.mgmt.databoxedge.v2021_02_01_preview.aio.operations.StorageAccountCredentialsOperations + :ivar storage_accounts: StorageAccountsOperations operations + :vartype storage_accounts: azure.mgmt.databoxedge.v2021_02_01_preview.aio.operations.StorageAccountsOperations + :ivar containers: ContainersOperations operations + :vartype containers: azure.mgmt.databoxedge.v2021_02_01_preview.aio.operations.ContainersOperations + :ivar triggers: TriggersOperations operations + :vartype triggers: azure.mgmt.databoxedge.v2021_02_01_preview.aio.operations.TriggersOperations + :ivar users: UsersOperations operations + :vartype users: azure.mgmt.databoxedge.v2021_02_01_preview.aio.operations.UsersOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The subscription ID. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + base_url: Optional[str] = None, + **kwargs: Any + ) -> None: + if not base_url: + base_url = 'https://management.azure.com' + self._config = DataBoxEdgeManagementClientConfiguration(credential, subscription_id, **kwargs) + self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize) + self.available_skus = AvailableSkusOperations( + self._client, self._config, self._serialize, self._deserialize) + self.devices = DevicesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.alerts = AlertsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.bandwidth_schedules = BandwidthSchedulesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.jobs = JobsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.nodes = NodesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.operations_status = OperationsStatusOperations( + self._client, self._config, self._serialize, self._deserialize) + self.orders = OrdersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.roles = RolesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.addons = AddonsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.monitoring_config = MonitoringConfigOperations( + self._client, self._config, self._serialize, self._deserialize) + self.shares = SharesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.storage_account_credentials = StorageAccountCredentialsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.storage_accounts = StorageAccountsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.containers = ContainersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.triggers = TriggersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.users = UsersOperations( + self._client, self._config, self._serialize, self._deserialize) + + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "DataBoxEdgeManagementClient": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/__init__.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/__init__.py new file mode 100644 index 000000000000..d70057be6458 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/__init__.py @@ -0,0 +1,47 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._operations import Operations +from ._available_skus_operations import AvailableSkusOperations +from ._devices_operations import DevicesOperations +from ._alerts_operations import AlertsOperations +from ._bandwidth_schedules_operations import BandwidthSchedulesOperations +from ._jobs_operations import JobsOperations +from ._nodes_operations import NodesOperations +from ._operations_status_operations import OperationsStatusOperations +from ._orders_operations import OrdersOperations +from ._roles_operations import RolesOperations +from ._addons_operations import AddonsOperations +from ._monitoring_config_operations import MonitoringConfigOperations +from ._shares_operations import SharesOperations +from ._storage_account_credentials_operations import StorageAccountCredentialsOperations +from ._storage_accounts_operations import StorageAccountsOperations +from ._containers_operations import ContainersOperations +from ._triggers_operations import TriggersOperations +from ._users_operations import UsersOperations + +__all__ = [ + 'Operations', + 'AvailableSkusOperations', + 'DevicesOperations', + 'AlertsOperations', + 'BandwidthSchedulesOperations', + 'JobsOperations', + 'NodesOperations', + 'OperationsStatusOperations', + 'OrdersOperations', + 'RolesOperations', + 'AddonsOperations', + 'MonitoringConfigOperations', + 'SharesOperations', + 'StorageAccountCredentialsOperations', + 'StorageAccountsOperations', + 'ContainersOperations', + 'TriggersOperations', + 'UsersOperations', +] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_addons_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_addons_operations.py new file mode 100644 index 000000000000..86afe57c3d9a --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_addons_operations.py @@ -0,0 +1,450 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class AddonsOperations: + """AddonsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_role( + self, + device_name: str, + role_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.AddonList"]: + """Lists all the addons configured in the role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AddonList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.AddonList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AddonList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_role.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AddonList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_role.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons'} # type: ignore + + async def get( + self, + device_name: str, + role_name: str, + addon_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Addon": + """Gets a specific addon by name. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param addon_name: The addon name. + :type addon_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Addon, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Addon + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Addon"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Addon', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + role_name: str, + addon_name: str, + resource_group_name: str, + addon: "_models.Addon", + **kwargs + ) -> Optional["_models.Addon"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Addon"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(addon, 'Addon') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Addon', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + role_name: str, + addon_name: str, + resource_group_name: str, + addon: "_models.Addon", + **kwargs + ) -> AsyncLROPoller["_models.Addon"]: + """Create or update a addon. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param addon_name: The addon name. + :type addon_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param addon: The addon properties. + :type addon: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Addon + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Addon or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Addon] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Addon"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + role_name=role_name, + addon_name=addon_name, + resource_group_name=resource_group_name, + addon=addon, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Addon', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + role_name: str, + addon_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + role_name: str, + addon_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the addon on the device. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param addon_name: The addon name. + :type addon_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + role_name=role_name, + addon_name=addon_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_alerts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_alerts_operations.py new file mode 100644 index 000000000000..bf5ecb55d5f5 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_alerts_operations.py @@ -0,0 +1,180 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class AlertsOperations: + """AlertsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.AlertList"]: + """Gets all the alerts for a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AlertList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.AlertList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AlertList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AlertList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Alert": + """Gets an alert by name. + + Gets an alert by name. + + :param device_name: The device name. + :type device_name: str + :param name: The alert name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Alert, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Alert + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Alert"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Alert', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_available_skus_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_available_skus_operations.py new file mode 100644 index 000000000000..020b0d430244 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_available_skus_operations.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class AvailableSkusOperations: + """AvailableSkusOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.DataBoxEdgeSkuList"]: + """List all the available Skus and information related to them. + + List all the available Skus and information related to them. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataBoxEdgeSkuList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeSkuList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeSkuList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeSkuList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataBoxEdge/availableSkus'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_bandwidth_schedules_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_bandwidth_schedules_operations.py new file mode 100644 index 000000000000..d03f2c936a6c --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_bandwidth_schedules_operations.py @@ -0,0 +1,428 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class BandwidthSchedulesOperations: + """BandwidthSchedulesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.BandwidthSchedulesList"]: + """Gets all the bandwidth schedules for a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either BandwidthSchedulesList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.BandwidthSchedulesList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedulesList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('BandwidthSchedulesList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.BandwidthSchedule": + """Gets the properties of the specified bandwidth schedule. + + :param device_name: The device name. + :type device_name: str + :param name: The bandwidth schedule name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: BandwidthSchedule, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.BandwidthSchedule + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('BandwidthSchedule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + parameters: "_models.BandwidthSchedule", + **kwargs + ) -> Optional["_models.BandwidthSchedule"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.BandwidthSchedule"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'BandwidthSchedule') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('BandwidthSchedule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + name: str, + resource_group_name: str, + parameters: "_models.BandwidthSchedule", + **kwargs + ) -> AsyncLROPoller["_models.BandwidthSchedule"]: + """Creates or updates a bandwidth schedule. + + :param device_name: The device name. + :type device_name: str + :param name: The bandwidth schedule name which needs to be added/updated. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The bandwidth schedule to be added or updated. + :type parameters: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.BandwidthSchedule + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either BandwidthSchedule or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2021_02_01_preview.models.BandwidthSchedule] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedule"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('BandwidthSchedule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified bandwidth schedule. + + :param device_name: The device name. + :type device_name: str + :param name: The bandwidth schedule name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_containers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_containers_operations.py new file mode 100644 index 000000000000..db42d8f6017f --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_containers_operations.py @@ -0,0 +1,580 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ContainersOperations: + """ContainersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_storage_account( + self, + device_name: str, + storage_account_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.ContainerList"]: + """Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device. + + Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The storage Account name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ContainerList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.ContainerList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ContainerList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_storage_account.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ContainerList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_storage_account.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers'} # type: ignore + + async def get( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Container": + """Gets a container by name. + + Gets a container by name. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container Name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Container, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Container + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Container"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Container', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + container: "_models.Container", + **kwargs + ) -> Optional["_models.Container"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Container"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(container, 'Container') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Container', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + container: "_models.Container", + **kwargs + ) -> AsyncLROPoller["_models.Container"]: + """Creates a new container or updates an existing container on the device. + + Creates a new container or updates an existing container on the device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param container: The container properties. + :type container: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Container + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Container or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Container] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Container"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + storage_account_name=storage_account_name, + container_name=container_name, + resource_group_name=resource_group_name, + container=container, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Container', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the container on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + storage_account_name=storage_account_name, + container_name=container_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + async def _refresh_initial( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._refresh_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _refresh_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}/refresh'} # type: ignore + + async def begin_refresh( + self, + device_name: str, + storage_account_name: str, + container_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Refreshes the container metadata with the data from the cloud. + + Refreshes the container metadata with the data from the cloud. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._refresh_initial( + device_name=device_name, + storage_account_name=storage_account_name, + container_name=container_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_refresh.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}/refresh'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_devices_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_devices_operations.py new file mode 100644 index 000000000000..f7ed6510a9d8 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_devices_operations.py @@ -0,0 +1,1363 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class DevicesOperations: + """DevicesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_subscription( + self, + expand: Optional[str] = None, + **kwargs + ) -> AsyncIterable["_models.DataBoxEdgeDeviceList"]: + """Gets all the Data Box Edge/Data Box Gateway devices in a subscription. + + :param expand: Specify $expand=details to populate additional fields related to the resource or + Specify $skipToken=:code:`` to populate the next page in the list. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDeviceList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeDeviceList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + expand: Optional[str] = None, + **kwargs + ) -> AsyncIterable["_models.DataBoxEdgeDeviceList"]: + """Gets all the Data Box Edge/Data Box Gateway devices in a resource group. + + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param expand: Specify $expand=details to populate additional fields related to the resource or + Specify $skipToken=:code:`` to populate the next page in the list. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDeviceList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeDeviceList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices'} # type: ignore + + async def get( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.DataBoxEdgeDevice": + """Gets the properties of the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDevice, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDevice + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + resource_group_name: str, + data_box_edge_device: "_models.DataBoxEdgeDevice", + **kwargs + ) -> "_models.DataBoxEdgeDevice": + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(data_box_edge_device, 'DataBoxEdgeDevice') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + resource_group_name: str, + data_box_edge_device: "_models.DataBoxEdgeDevice", + **kwargs + ) -> AsyncLROPoller["_models.DataBoxEdgeDevice"]: + """Creates or updates a Data Box Edge/Data Box Gateway resource. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param data_box_edge_device: The resource object. + :type data_box_edge_device: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDevice + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either DataBoxEdgeDevice or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDevice] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + resource_group_name=resource_group_name, + data_box_edge_device=data_box_edge_device, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + async def update( + self, + device_name: str, + resource_group_name: str, + parameters: "_models.DataBoxEdgeDevicePatch", + **kwargs + ) -> "_models.DataBoxEdgeDevice": + """Modifies a Data Box Edge/Data Box Gateway resource. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The resource parameters. + :type parameters: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDevicePatch + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDevice, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDevice + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DataBoxEdgeDevicePatch') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + async def _download_updates_initial( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._download_updates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _download_updates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/downloadUpdates'} # type: ignore + + async def begin_download_updates( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Downloads the updates on a Data Box Edge/Data Box Gateway device. + + Downloads the updates on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._download_updates_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_download_updates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/downloadUpdates'} # type: ignore + + async def generate_certificate( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.GenerateCertResponse": + """Generates certificate for activation key. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: GenerateCertResponse, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.GenerateCertResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.GenerateCertResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.generate_certificate.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('GenerateCertResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + generate_certificate.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/generateCertificate'} # type: ignore + + async def get_extended_information( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.DataBoxEdgeDeviceExtendedInfo": + """Gets additional information for the specified Azure Stack Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDeviceExtendedInfo, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDeviceExtendedInfo + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceExtendedInfo"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get_extended_information.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDeviceExtendedInfo', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_extended_information.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/getExtendedInformation'} # type: ignore + + async def _install_updates_initial( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._install_updates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _install_updates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/installUpdates'} # type: ignore + + async def begin_install_updates( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Installs the updates on the Data Box Edge/Data Box Gateway device. + + Installs the updates on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._install_updates_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_install_updates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/installUpdates'} # type: ignore + + async def get_network_settings( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.NetworkSettings": + """Gets the network settings of the specified Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkSettings, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.NetworkSettings + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSettings"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get_network_settings.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkSettings', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_network_settings.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/networkSettings/default'} # type: ignore + + async def _scan_for_updates_initial( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._scan_for_updates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _scan_for_updates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/scanForUpdates'} # type: ignore + + async def begin_scan_for_updates( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Scans for updates on a Data Box Edge/Data Box Gateway device. + + Scans for updates on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._scan_for_updates_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_scan_for_updates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/scanForUpdates'} # type: ignore + + async def _create_or_update_security_settings_initial( + self, + device_name: str, + resource_group_name: str, + security_settings: "_models.SecuritySettings", + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_security_settings_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(security_settings, 'SecuritySettings') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _create_or_update_security_settings_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/securitySettings/default/update'} # type: ignore + + async def begin_create_or_update_security_settings( + self, + device_name: str, + resource_group_name: str, + security_settings: "_models.SecuritySettings", + **kwargs + ) -> AsyncLROPoller[None]: + """Updates the security settings on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param security_settings: The security settings. + :type security_settings: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SecuritySettings + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_security_settings_initial( + device_name=device_name, + resource_group_name=resource_group_name, + security_settings=security_settings, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update_security_settings.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/securitySettings/default/update'} # type: ignore + + async def update_extended_information( + self, + device_name: str, + resource_group_name: str, + parameters: "_models.DataBoxEdgeDeviceExtendedInfoPatch", + **kwargs + ) -> "_models.DataBoxEdgeDeviceExtendedInfo": + """Gets additional information for the specified Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The patch object. + :type parameters: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDeviceExtendedInfoPatch + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDeviceExtendedInfo, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDeviceExtendedInfo + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceExtendedInfo"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_extended_information.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DataBoxEdgeDeviceExtendedInfoPatch') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDeviceExtendedInfo', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_extended_information.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/updateExtendedInformation'} # type: ignore + + async def get_update_summary( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.UpdateSummary": + """Gets information about the availability of updates based on the last scan of the device. It also gets information about any ongoing download or install jobs on the device. + + Gets information about the availability of updates based on the last scan of the device. It + also gets information about any ongoing download or install jobs on the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: UpdateSummary, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.UpdateSummary + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UpdateSummary"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get_update_summary.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('UpdateSummary', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_update_summary.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/updateSummary/default'} # type: ignore + + async def upload_certificate( + self, + device_name: str, + resource_group_name: str, + parameters: "_models.UploadCertificateRequest", + **kwargs + ) -> "_models.UploadCertificateResponse": + """Uploads registration certificate for the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The upload certificate request. + :type parameters: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.UploadCertificateRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :return: UploadCertificateResponse, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.UploadCertificateResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UploadCertificateResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.upload_certificate.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'UploadCertificateRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('UploadCertificateResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + upload_certificate.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/uploadCertificate'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_jobs_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_jobs_operations.py new file mode 100644 index 000000000000..5ceed56b4b62 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_jobs_operations.py @@ -0,0 +1,105 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class JobsOperations: + """JobsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Job": + """Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The job name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Job, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Job + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Job', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/jobs/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_monitoring_config_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_monitoring_config_operations.py new file mode 100644 index 000000000000..dfc0baf622f3 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_monitoring_config_operations.py @@ -0,0 +1,440 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class MonitoringConfigOperations: + """MonitoringConfigOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + device_name: str, + role_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.MonitoringMetricConfigurationList"]: + """Lists metric configurations in a role. + + Lists metric configurations in a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either MonitoringMetricConfigurationList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MonitoringMetricConfigurationList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.MonitoringMetricConfigurationList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('MonitoringMetricConfigurationList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig'} # type: ignore + + async def get( + self, + device_name: str, + role_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.MonitoringMetricConfiguration": + """Gets a metric configuration of a role. + + Gets a metric configuration of a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: MonitoringMetricConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.MonitoringMetricConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.MonitoringMetricConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('MonitoringMetricConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + role_name: str, + resource_group_name: str, + monitoring_metric_configuration: "_models.MonitoringMetricConfiguration", + **kwargs + ) -> Optional["_models.MonitoringMetricConfiguration"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.MonitoringMetricConfiguration"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(monitoring_metric_configuration, 'MonitoringMetricConfiguration') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('MonitoringMetricConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + role_name: str, + resource_group_name: str, + monitoring_metric_configuration: "_models.MonitoringMetricConfiguration", + **kwargs + ) -> AsyncLROPoller["_models.MonitoringMetricConfiguration"]: + """Creates a new metric configuration or updates an existing one for a role. + + Creates a new metric configuration or updates an existing one for a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param monitoring_metric_configuration: The metric configuration. + :type monitoring_metric_configuration: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.MonitoringMetricConfiguration + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either MonitoringMetricConfiguration or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MonitoringMetricConfiguration] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.MonitoringMetricConfiguration"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + role_name=role_name, + resource_group_name=resource_group_name, + monitoring_metric_configuration=monitoring_metric_configuration, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('MonitoringMetricConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + role_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + async def begin_delete( + self, + device_name: str, + role_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """deletes a new metric configuration for a role. + + deletes a new metric configuration for a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + role_name=role_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_nodes_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_nodes_operations.py new file mode 100644 index 000000000000..58223a6302d1 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_nodes_operations.py @@ -0,0 +1,116 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class NodesOperations: + """NodesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.NodeList"]: + """Gets all the nodes currently configured under this Data Box Edge device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NodeList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.NodeList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NodeList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NodeList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/nodes'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_operations.py new file mode 100644 index 000000000000..16b0a070e9e5 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_operations.py @@ -0,0 +1,106 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class Operations: + """Operations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.OperationsList"]: + """List all the supported operations. + + List all the supported operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationsList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.OperationsList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationsList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('OperationsList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/providers/Microsoft.DataBoxEdge/operations'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_operations_status_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_operations_status_operations.py new file mode 100644 index 000000000000..56aa4ff163fc --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_operations_status_operations.py @@ -0,0 +1,105 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class OperationsStatusOperations: + """OperationsStatusOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Job": + """Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The job name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Job, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Job + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Job', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/operationsStatus/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_orders_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_orders_operations.py new file mode 100644 index 000000000000..6a0ff451ec52 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_orders_operations.py @@ -0,0 +1,478 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class OrdersOperations: + """OrdersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.OrderList"]: + """Lists all the orders related to a Data Box Edge/Data Box Gateway device. + + Lists all the orders related to a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OrderList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.OrderList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OrderList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('OrderList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders'} # type: ignore + + async def get( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Order": + """Gets a specific order by name. + + Gets a specific order by name. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Order, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Order + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Order"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Order', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + resource_group_name: str, + order: "_models.Order", + **kwargs + ) -> Optional["_models.Order"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Order"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(order, 'Order') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Order', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + resource_group_name: str, + order: "_models.Order", + **kwargs + ) -> AsyncLROPoller["_models.Order"]: + """Creates or updates an order. + + Creates or updates an order. + + :param device_name: The order details of a device. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param order: The order to be created or updated. + :type order: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Order + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Order or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Order] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Order"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + resource_group_name=resource_group_name, + order=order, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Order', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + async def begin_delete( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the order related to the device. + + Deletes the order related to the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + async def list_dc_access_code( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.DCAccessCode": + """Gets the DCAccess Code. + + Gets the DCAccess Code. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DCAccessCode, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DCAccessCode + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DCAccessCode"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.list_dc_access_code.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DCAccessCode', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_dc_access_code.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default/listDCAccessCode'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_roles_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_roles_operations.py new file mode 100644 index 000000000000..48018de5770a --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_roles_operations.py @@ -0,0 +1,428 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class RolesOperations: + """RolesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.RoleList"]: + """Lists all the roles configured in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either RoleList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RoleList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('RoleList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Role": + """Gets a specific role by name. + + :param device_name: The device name. + :type device_name: str + :param name: The role name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Role, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Role + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Role"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Role', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + role: "_models.Role", + **kwargs + ) -> Optional["_models.Role"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Role"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(role, 'Role') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Role', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + name: str, + resource_group_name: str, + role: "_models.Role", + **kwargs + ) -> AsyncLROPoller["_models.Role"]: + """Create or update a role. + + :param device_name: The device name. + :type device_name: str + :param name: The role name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param role: The role properties. + :type role: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Role + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Role or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Role] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Role"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + role=role, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Role', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the role on the device. + + :param device_name: The device name. + :type device_name: str + :param name: The role name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_shares_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_shares_operations.py new file mode 100644 index 000000000000..f8b3bcb3f44a --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_shares_operations.py @@ -0,0 +1,551 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class SharesOperations: + """SharesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.ShareList"]: + """Lists all the shares in a Data Box Edge/Data Box Gateway device. + + Lists all the shares in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ShareList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.ShareList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ShareList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ShareList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Share": + """Gets a share by name. + + Gets a share by name. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Share, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Share + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Share"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Share', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + share: "_models.Share", + **kwargs + ) -> Optional["_models.Share"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Share"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(share, 'Share') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Share', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + name: str, + resource_group_name: str, + share: "_models.Share", + **kwargs + ) -> AsyncLROPoller["_models.Share"]: + """Creates a new share or updates an existing share on the device. + + Creates a new share or updates an existing share on the device. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param share: The share properties. + :type share: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Share + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Share or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Share] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Share"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + share=share, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Share', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the share on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + async def _refresh_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._refresh_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _refresh_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}/refresh'} # type: ignore + + async def begin_refresh( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Refreshes the share metadata with the data from the cloud. + + Refreshes the share metadata with the data from the cloud. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._refresh_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_refresh.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}/refresh'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_storage_account_credentials_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_storage_account_credentials_operations.py new file mode 100644 index 000000000000..23af9ec14777 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_storage_account_credentials_operations.py @@ -0,0 +1,430 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class StorageAccountCredentialsOperations: + """StorageAccountCredentialsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.StorageAccountCredentialList"]: + """Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device. + + Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StorageAccountCredentialList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.StorageAccountCredentialList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredentialList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('StorageAccountCredentialList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.StorageAccountCredential": + """Gets the properties of the specified storage account credential. + + :param device_name: The device name. + :type device_name: str + :param name: The storage account credential name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: StorageAccountCredential, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.StorageAccountCredential + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredential"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('StorageAccountCredential', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + storage_account_credential: "_models.StorageAccountCredential", + **kwargs + ) -> Optional["_models.StorageAccountCredential"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.StorageAccountCredential"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(storage_account_credential, 'StorageAccountCredential') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('StorageAccountCredential', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + name: str, + resource_group_name: str, + storage_account_credential: "_models.StorageAccountCredential", + **kwargs + ) -> AsyncLROPoller["_models.StorageAccountCredential"]: + """Creates or updates the storage account credential. + + :param device_name: The device name. + :type device_name: str + :param name: The storage account credential name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param storage_account_credential: The storage account credential. + :type storage_account_credential: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.StorageAccountCredential + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either StorageAccountCredential or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2021_02_01_preview.models.StorageAccountCredential] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredential"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + storage_account_credential=storage_account_credential, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('StorageAccountCredential', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the storage account credential. + + :param device_name: The device name. + :type device_name: str + :param name: The storage account credential name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_storage_accounts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_storage_accounts_operations.py new file mode 100644 index 000000000000..f3e0964591b0 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_storage_accounts_operations.py @@ -0,0 +1,434 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class StorageAccountsOperations: + """StorageAccountsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.StorageAccountList"]: + """Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device. + + Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StorageAccountList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.StorageAccountList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('StorageAccountList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts'} # type: ignore + + async def get( + self, + device_name: str, + storage_account_name: str, + resource_group_name: str, + **kwargs + ) -> "_models.StorageAccount": + """Gets a StorageAccount by name. + + Gets a StorageAccount by name. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The storage account name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: StorageAccount, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.StorageAccount + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('StorageAccount', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + storage_account_name: str, + resource_group_name: str, + storage_account: "_models.StorageAccount", + **kwargs + ) -> Optional["_models.StorageAccount"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.StorageAccount"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(storage_account, 'StorageAccount') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('StorageAccount', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + storage_account_name: str, + resource_group_name: str, + storage_account: "_models.StorageAccount", + **kwargs + ) -> AsyncLROPoller["_models.StorageAccount"]: + """Creates a new StorageAccount or updates an existing StorageAccount on the device. + + Creates a new StorageAccount or updates an existing StorageAccount on the device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The StorageAccount name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param storage_account: The StorageAccount properties. + :type storage_account: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.StorageAccount + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2021_02_01_preview.models.StorageAccount] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + storage_account_name=storage_account_name, + resource_group_name=resource_group_name, + storage_account=storage_account, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('StorageAccount', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + storage_account_name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + storage_account_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the StorageAccount on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The StorageAccount name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + storage_account_name=storage_account_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_triggers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_triggers_operations.py new file mode 100644 index 000000000000..6f3140528c6f --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_triggers_operations.py @@ -0,0 +1,434 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class TriggersOperations: + """TriggersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + filter: Optional[str] = None, + **kwargs + ) -> AsyncIterable["_models.TriggerList"]: + """Lists all the triggers configured in the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param filter: Specify $filter='CustomContextTag eq :code:``' to filter on custom context + tag property. + :type filter: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TriggerList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.TriggerList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TriggerList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if filter is not None: + query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('TriggerList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.Trigger": + """Get a specific trigger by name. + + :param device_name: The device name. + :type device_name: str + :param name: The trigger name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Trigger, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Trigger + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Trigger"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Trigger', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + trigger: "_models.Trigger", + **kwargs + ) -> Optional["_models.Trigger"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Trigger"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(trigger, 'Trigger') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Trigger', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + name: str, + resource_group_name: str, + trigger: "_models.Trigger", + **kwargs + ) -> AsyncLROPoller["_models.Trigger"]: + """Creates or updates a trigger. + + :param device_name: Creates or updates a trigger. + :type device_name: str + :param name: The trigger name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param trigger: The trigger. + :type trigger: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Trigger + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Trigger or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Trigger] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Trigger"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + trigger=trigger, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Trigger', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the trigger on the gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The trigger name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_users_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_users_operations.py new file mode 100644 index 000000000000..ae5d2249538f --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_users_operations.py @@ -0,0 +1,435 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class UsersOperations: + """UsersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name: str, + resource_group_name: str, + expand: Optional[str] = None, + **kwargs + ) -> AsyncIterable["_models.UserList"]: + """Gets all the users registered on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param expand: Specify $expand=details to populate additional fields related to the resource or + Specify $skipToken=:code:`` to populate the next page in the list. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either UserList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.UserList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UserList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('UserList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users'} # type: ignore + + async def get( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> "_models.User": + """Gets the properties of the specified user. + + :param device_name: The device name. + :type device_name: str + :param name: The user name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: User, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.User + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.User"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('User', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + async def _create_or_update_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + user: "_models.User", + **kwargs + ) -> Optional["_models.User"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.User"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(user, 'User') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('User', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + async def begin_create_or_update( + self, + device_name: str, + name: str, + resource_group_name: str, + user: "_models.User", + **kwargs + ) -> AsyncLROPoller["_models.User"]: + """Creates a new user or updates an existing user's information on a Data Box Edge/Data Box + Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The user name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param user: The user details. + :type user: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.User + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either User or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.databoxedge.v2021_02_01_preview.models.User] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.User"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + user=user, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('User', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + async def _delete_initial( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + async def begin_delete( + self, + device_name: str, + name: str, + resource_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the user on a databox edge/gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The user name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/models/__init__.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/models/__init__.py new file mode 100644 index 000000000000..427bbdbc0d20 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/models/__init__.py @@ -0,0 +1,488 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +try: + from ._models_py3 import ARMBaseModel + from ._models_py3 import Addon + from ._models_py3 import AddonList + from ._models_py3 import Address + from ._models_py3 import Alert + from ._models_py3 import AlertErrorDetails + from ._models_py3 import AlertList + from ._models_py3 import ArcAddon + from ._models_py3 import AsymmetricEncryptedSecret + from ._models_py3 import Authentication + from ._models_py3 import AzureContainerInfo + from ._models_py3 import BandwidthSchedule + from ._models_py3 import BandwidthSchedulesList + from ._models_py3 import ClientAccessRight + from ._models_py3 import CloudEdgeManagementRole + from ._models_py3 import CloudErrorBody + from ._models_py3 import CniConfig + from ._models_py3 import ComputeResource + from ._models_py3 import ContactDetails + from ._models_py3 import Container + from ._models_py3 import ContainerList + from ._models_py3 import DCAccessCode + from ._models_py3 import DataBoxEdgeDevice + from ._models_py3 import DataBoxEdgeDeviceExtendedInfo + from ._models_py3 import DataBoxEdgeDeviceExtendedInfoPatch + from ._models_py3 import DataBoxEdgeDeviceList + from ._models_py3 import DataBoxEdgeDevicePatch + from ._models_py3 import DataBoxEdgeMoveRequest + from ._models_py3 import DataBoxEdgeSku + from ._models_py3 import DataBoxEdgeSkuList + from ._models_py3 import EdgeProfile + from ._models_py3 import EdgeProfilePatch + from ._models_py3 import EdgeProfileSubscription + from ._models_py3 import EdgeProfileSubscriptionPatch + from ._models_py3 import EtcdInfo + from ._models_py3 import FileEventTrigger + from ._models_py3 import FileSourceInfo + from ._models_py3 import GenerateCertResponse + from ._models_py3 import ImageRepositoryCredential + from ._models_py3 import IoTAddon + from ._models_py3 import IoTDeviceInfo + from ._models_py3 import IoTEdgeAgentInfo + from ._models_py3 import IoTRole + from ._models_py3 import Ipv4Config + from ._models_py3 import Ipv6Config + from ._models_py3 import Job + from ._models_py3 import JobErrorDetails + from ._models_py3 import JobErrorItem + from ._models_py3 import KubernetesClusterInfo + from ._models_py3 import KubernetesIPConfiguration + from ._models_py3 import KubernetesRole + from ._models_py3 import KubernetesRoleCompute + from ._models_py3 import KubernetesRoleNetwork + from ._models_py3 import KubernetesRoleResources + from ._models_py3 import KubernetesRoleStorage + from ._models_py3 import KubernetesRoleStorageClassInfo + from ._models_py3 import LoadBalancerConfig + from ._models_py3 import MECRole + from ._models_py3 import MetricConfiguration + from ._models_py3 import MetricCounter + from ._models_py3 import MetricCounterSet + from ._models_py3 import MetricDimension + from ._models_py3 import MetricDimensionV1 + from ._models_py3 import MetricSpecificationV1 + from ._models_py3 import MonitoringMetricConfiguration + from ._models_py3 import MonitoringMetricConfigurationList + from ._models_py3 import MountPointMap + from ._models_py3 import NetworkAdapter + from ._models_py3 import NetworkAdapterPosition + from ._models_py3 import NetworkSettings + from ._models_py3 import Node + from ._models_py3 import NodeInfo + from ._models_py3 import NodeList + from ._models_py3 import Operation + from ._models_py3 import OperationDisplay + from ._models_py3 import OperationsList + from ._models_py3 import Order + from ._models_py3 import OrderList + from ._models_py3 import OrderStatus + from ._models_py3 import PeriodicTimerEventTrigger + from ._models_py3 import PeriodicTimerSourceInfo + from ._models_py3 import RefreshDetails + from ._models_py3 import ResourceIdentity + from ._models_py3 import ResourceMoveDetails + from ._models_py3 import ResourceTypeSku + from ._models_py3 import Role + from ._models_py3 import RoleList + from ._models_py3 import RoleSinkInfo + from ._models_py3 import Secret + from ._models_py3 import SecuritySettings + from ._models_py3 import ServiceSpecification + from ._models_py3 import Share + from ._models_py3 import ShareAccessRight + from ._models_py3 import ShareList + from ._models_py3 import Sku + from ._models_py3 import SkuCost + from ._models_py3 import SkuInformation + from ._models_py3 import SkuInformationList + from ._models_py3 import SkuLocationInfo + from ._models_py3 import StorageAccount + from ._models_py3 import StorageAccountCredential + from ._models_py3 import StorageAccountCredentialList + from ._models_py3 import StorageAccountList + from ._models_py3 import SubscriptionRegisteredFeatures + from ._models_py3 import SymmetricKey + from ._models_py3 import SystemData + from ._models_py3 import TrackingInfo + from ._models_py3 import Trigger + from ._models_py3 import TriggerList + from ._models_py3 import UpdateDetails + from ._models_py3 import UpdateDownloadProgress + from ._models_py3 import UpdateInstallProgress + from ._models_py3 import UpdateSummary + from ._models_py3 import UploadCertificateRequest + from ._models_py3 import UploadCertificateResponse + from ._models_py3 import User + from ._models_py3 import UserAccessRight + from ._models_py3 import UserList +except (SyntaxError, ImportError): + from ._models import ARMBaseModel # type: ignore + from ._models import Addon # type: ignore + from ._models import AddonList # type: ignore + from ._models import Address # type: ignore + from ._models import Alert # type: ignore + from ._models import AlertErrorDetails # type: ignore + from ._models import AlertList # type: ignore + from ._models import ArcAddon # type: ignore + from ._models import AsymmetricEncryptedSecret # type: ignore + from ._models import Authentication # type: ignore + from ._models import AzureContainerInfo # type: ignore + from ._models import BandwidthSchedule # type: ignore + from ._models import BandwidthSchedulesList # type: ignore + from ._models import ClientAccessRight # type: ignore + from ._models import CloudEdgeManagementRole # type: ignore + from ._models import CloudErrorBody # type: ignore + from ._models import CniConfig # type: ignore + from ._models import ComputeResource # type: ignore + from ._models import ContactDetails # type: ignore + from ._models import Container # type: ignore + from ._models import ContainerList # type: ignore + from ._models import DCAccessCode # type: ignore + from ._models import DataBoxEdgeDevice # type: ignore + from ._models import DataBoxEdgeDeviceExtendedInfo # type: ignore + from ._models import DataBoxEdgeDeviceExtendedInfoPatch # type: ignore + from ._models import DataBoxEdgeDeviceList # type: ignore + from ._models import DataBoxEdgeDevicePatch # type: ignore + from ._models import DataBoxEdgeMoveRequest # type: ignore + from ._models import DataBoxEdgeSku # type: ignore + from ._models import DataBoxEdgeSkuList # type: ignore + from ._models import EdgeProfile # type: ignore + from ._models import EdgeProfilePatch # type: ignore + from ._models import EdgeProfileSubscription # type: ignore + from ._models import EdgeProfileSubscriptionPatch # type: ignore + from ._models import EtcdInfo # type: ignore + from ._models import FileEventTrigger # type: ignore + from ._models import FileSourceInfo # type: ignore + from ._models import GenerateCertResponse # type: ignore + from ._models import ImageRepositoryCredential # type: ignore + from ._models import IoTAddon # type: ignore + from ._models import IoTDeviceInfo # type: ignore + from ._models import IoTEdgeAgentInfo # type: ignore + from ._models import IoTRole # type: ignore + from ._models import Ipv4Config # type: ignore + from ._models import Ipv6Config # type: ignore + from ._models import Job # type: ignore + from ._models import JobErrorDetails # type: ignore + from ._models import JobErrorItem # type: ignore + from ._models import KubernetesClusterInfo # type: ignore + from ._models import KubernetesIPConfiguration # type: ignore + from ._models import KubernetesRole # type: ignore + from ._models import KubernetesRoleCompute # type: ignore + from ._models import KubernetesRoleNetwork # type: ignore + from ._models import KubernetesRoleResources # type: ignore + from ._models import KubernetesRoleStorage # type: ignore + from ._models import KubernetesRoleStorageClassInfo # type: ignore + from ._models import LoadBalancerConfig # type: ignore + from ._models import MECRole # type: ignore + from ._models import MetricConfiguration # type: ignore + from ._models import MetricCounter # type: ignore + from ._models import MetricCounterSet # type: ignore + from ._models import MetricDimension # type: ignore + from ._models import MetricDimensionV1 # type: ignore + from ._models import MetricSpecificationV1 # type: ignore + from ._models import MonitoringMetricConfiguration # type: ignore + from ._models import MonitoringMetricConfigurationList # type: ignore + from ._models import MountPointMap # type: ignore + from ._models import NetworkAdapter # type: ignore + from ._models import NetworkAdapterPosition # type: ignore + from ._models import NetworkSettings # type: ignore + from ._models import Node # type: ignore + from ._models import NodeInfo # type: ignore + from ._models import NodeList # type: ignore + from ._models import Operation # type: ignore + from ._models import OperationDisplay # type: ignore + from ._models import OperationsList # type: ignore + from ._models import Order # type: ignore + from ._models import OrderList # type: ignore + from ._models import OrderStatus # type: ignore + from ._models import PeriodicTimerEventTrigger # type: ignore + from ._models import PeriodicTimerSourceInfo # type: ignore + from ._models import RefreshDetails # type: ignore + from ._models import ResourceIdentity # type: ignore + from ._models import ResourceMoveDetails # type: ignore + from ._models import ResourceTypeSku # type: ignore + from ._models import Role # type: ignore + from ._models import RoleList # type: ignore + from ._models import RoleSinkInfo # type: ignore + from ._models import Secret # type: ignore + from ._models import SecuritySettings # type: ignore + from ._models import ServiceSpecification # type: ignore + from ._models import Share # type: ignore + from ._models import ShareAccessRight # type: ignore + from ._models import ShareList # type: ignore + from ._models import Sku # type: ignore + from ._models import SkuCost # type: ignore + from ._models import SkuInformation # type: ignore + from ._models import SkuInformationList # type: ignore + from ._models import SkuLocationInfo # type: ignore + from ._models import StorageAccount # type: ignore + from ._models import StorageAccountCredential # type: ignore + from ._models import StorageAccountCredentialList # type: ignore + from ._models import StorageAccountList # type: ignore + from ._models import SubscriptionRegisteredFeatures # type: ignore + from ._models import SymmetricKey # type: ignore + from ._models import SystemData # type: ignore + from ._models import TrackingInfo # type: ignore + from ._models import Trigger # type: ignore + from ._models import TriggerList # type: ignore + from ._models import UpdateDetails # type: ignore + from ._models import UpdateDownloadProgress # type: ignore + from ._models import UpdateInstallProgress # type: ignore + from ._models import UpdateSummary # type: ignore + from ._models import UploadCertificateRequest # type: ignore + from ._models import UploadCertificateResponse # type: ignore + from ._models import User # type: ignore + from ._models import UserAccessRight # type: ignore + from ._models import UserList # type: ignore + +from ._data_box_edge_management_client_enums import ( + AccountType, + AddonState, + AddonType, + AlertSeverity, + AuthenticationType, + AzureContainerDataFormat, + ClientPermissionType, + ContainerStatus, + CreatedByType, + DataBoxEdgeDeviceKind, + DataBoxEdgeDeviceStatus, + DataPolicy, + DayOfWeek, + DeviceType, + DownloadPhase, + EncryptionAlgorithm, + HostPlatformType, + InstallRebootBehavior, + JobStatus, + JobType, + KeyVaultSyncStatus, + KubernetesNodeType, + KubernetesState, + MetricAggregationType, + MetricCategory, + MetricUnit, + MonitoringStatus, + MountType, + MsiIdentityType, + NetworkAdapterDHCPStatus, + NetworkAdapterRDMAStatus, + NetworkAdapterStatus, + NetworkGroup, + NodeStatus, + OrderState, + PlatformType, + PosixComplianceStatus, + ResourceMoveStatus, + RoleStatus, + RoleTypes, + SSLStatus, + ShareAccessProtocol, + ShareAccessType, + ShareStatus, + ShipmentType, + SkuAvailability, + SkuName, + SkuSignupOption, + SkuTier, + SkuVersion, + StorageAccountStatus, + SubscriptionState, + TimeGrain, + TriggerEventType, + UpdateOperation, + UpdateOperationStage, + UpdateStatus, + UpdateType, + UserType, +) + +__all__ = [ + 'ARMBaseModel', + 'Addon', + 'AddonList', + 'Address', + 'Alert', + 'AlertErrorDetails', + 'AlertList', + 'ArcAddon', + 'AsymmetricEncryptedSecret', + 'Authentication', + 'AzureContainerInfo', + 'BandwidthSchedule', + 'BandwidthSchedulesList', + 'ClientAccessRight', + 'CloudEdgeManagementRole', + 'CloudErrorBody', + 'CniConfig', + 'ComputeResource', + 'ContactDetails', + 'Container', + 'ContainerList', + 'DCAccessCode', + 'DataBoxEdgeDevice', + 'DataBoxEdgeDeviceExtendedInfo', + 'DataBoxEdgeDeviceExtendedInfoPatch', + 'DataBoxEdgeDeviceList', + 'DataBoxEdgeDevicePatch', + 'DataBoxEdgeMoveRequest', + 'DataBoxEdgeSku', + 'DataBoxEdgeSkuList', + 'EdgeProfile', + 'EdgeProfilePatch', + 'EdgeProfileSubscription', + 'EdgeProfileSubscriptionPatch', + 'EtcdInfo', + 'FileEventTrigger', + 'FileSourceInfo', + 'GenerateCertResponse', + 'ImageRepositoryCredential', + 'IoTAddon', + 'IoTDeviceInfo', + 'IoTEdgeAgentInfo', + 'IoTRole', + 'Ipv4Config', + 'Ipv6Config', + 'Job', + 'JobErrorDetails', + 'JobErrorItem', + 'KubernetesClusterInfo', + 'KubernetesIPConfiguration', + 'KubernetesRole', + 'KubernetesRoleCompute', + 'KubernetesRoleNetwork', + 'KubernetesRoleResources', + 'KubernetesRoleStorage', + 'KubernetesRoleStorageClassInfo', + 'LoadBalancerConfig', + 'MECRole', + 'MetricConfiguration', + 'MetricCounter', + 'MetricCounterSet', + 'MetricDimension', + 'MetricDimensionV1', + 'MetricSpecificationV1', + 'MonitoringMetricConfiguration', + 'MonitoringMetricConfigurationList', + 'MountPointMap', + 'NetworkAdapter', + 'NetworkAdapterPosition', + 'NetworkSettings', + 'Node', + 'NodeInfo', + 'NodeList', + 'Operation', + 'OperationDisplay', + 'OperationsList', + 'Order', + 'OrderList', + 'OrderStatus', + 'PeriodicTimerEventTrigger', + 'PeriodicTimerSourceInfo', + 'RefreshDetails', + 'ResourceIdentity', + 'ResourceMoveDetails', + 'ResourceTypeSku', + 'Role', + 'RoleList', + 'RoleSinkInfo', + 'Secret', + 'SecuritySettings', + 'ServiceSpecification', + 'Share', + 'ShareAccessRight', + 'ShareList', + 'Sku', + 'SkuCost', + 'SkuInformation', + 'SkuInformationList', + 'SkuLocationInfo', + 'StorageAccount', + 'StorageAccountCredential', + 'StorageAccountCredentialList', + 'StorageAccountList', + 'SubscriptionRegisteredFeatures', + 'SymmetricKey', + 'SystemData', + 'TrackingInfo', + 'Trigger', + 'TriggerList', + 'UpdateDetails', + 'UpdateDownloadProgress', + 'UpdateInstallProgress', + 'UpdateSummary', + 'UploadCertificateRequest', + 'UploadCertificateResponse', + 'User', + 'UserAccessRight', + 'UserList', + 'AccountType', + 'AddonState', + 'AddonType', + 'AlertSeverity', + 'AuthenticationType', + 'AzureContainerDataFormat', + 'ClientPermissionType', + 'ContainerStatus', + 'CreatedByType', + 'DataBoxEdgeDeviceKind', + 'DataBoxEdgeDeviceStatus', + 'DataPolicy', + 'DayOfWeek', + 'DeviceType', + 'DownloadPhase', + 'EncryptionAlgorithm', + 'HostPlatformType', + 'InstallRebootBehavior', + 'JobStatus', + 'JobType', + 'KeyVaultSyncStatus', + 'KubernetesNodeType', + 'KubernetesState', + 'MetricAggregationType', + 'MetricCategory', + 'MetricUnit', + 'MonitoringStatus', + 'MountType', + 'MsiIdentityType', + 'NetworkAdapterDHCPStatus', + 'NetworkAdapterRDMAStatus', + 'NetworkAdapterStatus', + 'NetworkGroup', + 'NodeStatus', + 'OrderState', + 'PlatformType', + 'PosixComplianceStatus', + 'ResourceMoveStatus', + 'RoleStatus', + 'RoleTypes', + 'SSLStatus', + 'ShareAccessProtocol', + 'ShareAccessType', + 'ShareStatus', + 'ShipmentType', + 'SkuAvailability', + 'SkuName', + 'SkuSignupOption', + 'SkuTier', + 'SkuVersion', + 'StorageAccountStatus', + 'SubscriptionState', + 'TimeGrain', + 'TriggerEventType', + 'UpdateOperation', + 'UpdateOperationStage', + 'UpdateStatus', + 'UpdateType', + 'UserType', +] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/models/_data_box_edge_management_client_enums.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/models/_data_box_edge_management_client_enums.py new file mode 100644 index 000000000000..3f2a52eaabf0 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/models/_data_box_edge_management_client_enums.py @@ -0,0 +1,580 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class AccountType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of storage accessed on the storage account. + """ + + GENERAL_PURPOSE_STORAGE = "GeneralPurposeStorage" + BLOB_STORAGE = "BlobStorage" + +class AddonState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Addon Provisioning State + """ + + INVALID = "Invalid" + CREATING = "Creating" + CREATED = "Created" + UPDATING = "Updating" + RECONFIGURING = "Reconfiguring" + FAILED = "Failed" + DELETING = "Deleting" + +class AddonType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Addon type. + """ + + IOT_EDGE = "IotEdge" + ARC_FOR_KUBERNETES = "ArcForKubernetes" + +class AlertSeverity(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Severity of the alert. + """ + + INFORMATIONAL = "Informational" + WARNING = "Warning" + CRITICAL = "Critical" + +class AuthenticationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The authentication type. + """ + + INVALID = "Invalid" + AZURE_ACTIVE_DIRECTORY = "AzureActiveDirectory" + +class AzureContainerDataFormat(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Storage format used for the file represented by the share. + """ + + BLOCK_BLOB = "BlockBlob" + PAGE_BLOB = "PageBlob" + AZURE_FILE = "AzureFile" + +class ClientPermissionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of access to be allowed for the client. + """ + + NO_ACCESS = "NoAccess" + READ_ONLY = "ReadOnly" + READ_WRITE = "ReadWrite" + +class ContainerStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current status of the container. + """ + + OK = "OK" + OFFLINE = "Offline" + UNKNOWN = "Unknown" + UPDATING = "Updating" + NEEDS_ATTENTION = "NeedsAttention" + +class CreatedByType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of identity that created the resource. + """ + + USER = "User" + APPLICATION = "Application" + MANAGED_IDENTITY = "ManagedIdentity" + KEY = "Key" + +class DataBoxEdgeDeviceKind(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The etag for the devices. + """ + + AZURE_DATA_BOX_GATEWAY = "AzureDataBoxGateway" + AZURE_STACK_EDGE = "AzureStackEdge" + AZURE_STACK_HUB = "AzureStackHub" + AZURE_MODULAR_DATA_CENTRE = "AzureModularDataCentre" + +class DataBoxEdgeDeviceStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The status of the Data Box Edge/Gateway device. + """ + + READY_TO_SETUP = "ReadyToSetup" + ONLINE = "Online" + OFFLINE = "Offline" + NEEDS_ATTENTION = "NeedsAttention" + DISCONNECTED = "Disconnected" + PARTIALLY_DISCONNECTED = "PartiallyDisconnected" + MAINTENANCE = "Maintenance" + +class DataPolicy(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Data policy of the share. + """ + + CLOUD = "Cloud" + LOCAL = "Local" + +class DayOfWeek(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + SUNDAY = "Sunday" + MONDAY = "Monday" + TUESDAY = "Tuesday" + WEDNESDAY = "Wednesday" + THURSDAY = "Thursday" + FRIDAY = "Friday" + SATURDAY = "Saturday" + +class DeviceType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of the Data Box Edge/Gateway device. + """ + + DATA_BOX_EDGE_DEVICE = "DataBoxEdgeDevice" + +class DownloadPhase(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The download phase. + """ + + UNKNOWN = "Unknown" + INITIALIZING = "Initializing" + DOWNLOADING = "Downloading" + VERIFYING = "Verifying" + +class EncryptionAlgorithm(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The algorithm used to encrypt "Value". + """ + + NONE = "None" + AES256 = "AES256" + RSAES_PKCS1_V1_5 = "RSAES_PKCS1_v_1_5" + +class HostPlatformType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Platform where the runtime is hosted. + """ + + KUBERNETES_CLUSTER = "KubernetesCluster" + LINUX_VM = "LinuxVM" + +class InstallRebootBehavior(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Indicates if updates are available and at least one of the updates needs a reboot. + """ + + NEVER_REBOOTS = "NeverReboots" + REQUIRES_REBOOT = "RequiresReboot" + REQUEST_REBOOT = "RequestReboot" + +class JobStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The current status of the job. + """ + + INVALID = "Invalid" + RUNNING = "Running" + SUCCEEDED = "Succeeded" + FAILED = "Failed" + CANCELED = "Canceled" + PAUSED = "Paused" + SCHEDULED = "Scheduled" + +class JobType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of the job. + """ + + INVALID = "Invalid" + SCAN_FOR_UPDATES = "ScanForUpdates" + DOWNLOAD_UPDATES = "DownloadUpdates" + INSTALL_UPDATES = "InstallUpdates" + REFRESH_SHARE = "RefreshShare" + REFRESH_CONTAINER = "RefreshContainer" + BACKUP = "Backup" + RESTORE = "Restore" + TRIGGER_SUPPORT_PACKAGE = "TriggerSupportPackage" + +class KeyVaultSyncStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """For changing or to initiate the resync to key-vault set the status to KeyVaultSyncPending, rest + of the status will not be applicable. + """ + + KEY_VAULT_SYNCED = "KeyVaultSynced" + KEY_VAULT_SYNC_FAILED = "KeyVaultSyncFailed" + KEY_VAULT_NOT_CONFIGURED = "KeyVaultNotConfigured" + KEY_VAULT_SYNC_PENDING = "KeyVaultSyncPending" + KEY_VAULT_SYNCING = "KeyVaultSyncing" + KEY_VAULT_NOT_SYNCED = "KeyVaultNotSynced" + +class KubernetesNodeType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Node type - Master/Worker + """ + + INVALID = "Invalid" + MASTER = "Master" + WORKER = "Worker" + +class KubernetesState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """State of Kubernetes deployment + """ + + INVALID = "Invalid" + CREATING = "Creating" + CREATED = "Created" + UPDATING = "Updating" + RECONFIGURING = "Reconfiguring" + FAILED = "Failed" + DELETING = "Deleting" + +class MetricAggregationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Metric aggregation type. + """ + + NOT_SPECIFIED = "NotSpecified" + NONE = "None" + AVERAGE = "Average" + MINIMUM = "Minimum" + MAXIMUM = "Maximum" + TOTAL = "Total" + COUNT = "Count" + +class MetricCategory(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Metric category. + """ + + CAPACITY = "Capacity" + TRANSACTION = "Transaction" + +class MetricUnit(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Metric units. + """ + + NOT_SPECIFIED = "NotSpecified" + PERCENT = "Percent" + COUNT = "Count" + SECONDS = "Seconds" + MILLISECONDS = "Milliseconds" + BYTES = "Bytes" + BYTES_PER_SECOND = "BytesPerSecond" + COUNT_PER_SECOND = "CountPerSecond" + +class MonitoringStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current monitoring status of the share. + """ + + ENABLED = "Enabled" + DISABLED = "Disabled" + +class MountType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Mounting type. + """ + + VOLUME = "Volume" + HOST_PATH = "HostPath" + +class MsiIdentityType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Identity type + """ + + NONE = "None" + SYSTEM_ASSIGNED = "SystemAssigned" + USER_ASSIGNED = "UserAssigned" + +class NetworkAdapterDHCPStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Value indicating whether this adapter has DHCP enabled. + """ + + DISABLED = "Disabled" + ENABLED = "Enabled" + +class NetworkAdapterRDMAStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Value indicating whether this adapter is RDMA capable. + """ + + INCAPABLE = "Incapable" + CAPABLE = "Capable" + +class NetworkAdapterStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Value indicating whether this adapter is valid. + """ + + INACTIVE = "Inactive" + ACTIVE = "Active" + +class NetworkGroup(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The network group. + """ + + NONE = "None" + NON_RDMA = "NonRDMA" + RDMA = "RDMA" + +class NodeStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The current status of the individual node + """ + + UNKNOWN = "Unknown" + UP = "Up" + DOWN = "Down" + REBOOTING = "Rebooting" + SHUTTING_DOWN = "ShuttingDown" + +class OrderState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Status of the order as per the allowed status types. + """ + + UNTRACKED = "Untracked" + AWAITING_FULFILLMENT = "AwaitingFulfillment" + AWAITING_PREPARATION = "AwaitingPreparation" + AWAITING_SHIPMENT = "AwaitingShipment" + SHIPPED = "Shipped" + ARRIVING = "Arriving" + DELIVERED = "Delivered" + REPLACEMENT_REQUESTED = "ReplacementRequested" + LOST_DEVICE = "LostDevice" + DECLINED = "Declined" + RETURN_INITIATED = "ReturnInitiated" + AWAITING_RETURN_SHIPMENT = "AwaitingReturnShipment" + SHIPPED_BACK = "ShippedBack" + COLLECTED_AT_MICROSOFT = "CollectedAtMicrosoft" + AWAITING_PICKUP = "AwaitingPickup" + PICKUP_COMPLETED = "PickupCompleted" + AWAITING_DROP = "AwaitingDrop" + +class PlatformType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Host OS supported by the Arc addon. + """ + + WINDOWS = "Windows" + LINUX = "Linux" + +class PosixComplianceStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """If provisioned storage is posix compliant. + """ + + INVALID = "Invalid" + ENABLED = "Enabled" + DISABLED = "Disabled" + +class ResourceMoveStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Denotes whether move operation is in progress + """ + + NONE = "None" + RESOURCE_MOVE_IN_PROGRESS = "ResourceMoveInProgress" + RESOURCE_MOVE_FAILED = "ResourceMoveFailed" + +class RoleStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Local Edge Management Status + """ + + ENABLED = "Enabled" + DISABLED = "Disabled" + +class RoleTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + IOT = "IOT" + ASA = "ASA" + FUNCTIONS = "Functions" + COGNITIVE = "Cognitive" + MEC = "MEC" + CLOUD_EDGE_MANAGEMENT = "CloudEdgeManagement" + KUBERNETES = "Kubernetes" + +class ShareAccessProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Access protocol to be used by the share. + """ + + SMB = "SMB" + NFS = "NFS" + +class ShareAccessType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of access to be allowed on the share for this user. + """ + + CHANGE = "Change" + READ = "Read" + CUSTOM = "Custom" + +class ShareStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current status of the share. + """ + + OFFLINE = "Offline" + UNKNOWN = "Unknown" + OK = "OK" + UPDATING = "Updating" + NEEDS_ATTENTION = "NeedsAttention" + +class ShipmentType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + NOT_APPLICABLE = "NotApplicable" + SHIPPED_TO_CUSTOMER = "ShippedToCustomer" + SELF_PICKUP = "SelfPickup" + +class SkuAvailability(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Links to the next set of results + """ + + AVAILABLE = "Available" + UNAVAILABLE = "Unavailable" + +class SkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The Sku name. + """ + + GATEWAY = "Gateway" + EDGE = "Edge" + TEA1_NODE = "TEA_1Node" + TEA1_NODE_UPS = "TEA_1Node_UPS" + TEA1_NODE_HEATER = "TEA_1Node_Heater" + TEA1_NODE_UPS_HEATER = "TEA_1Node_UPS_Heater" + TEA4_NODE_HEATER = "TEA_4Node_Heater" + TEA4_NODE_UPS_HEATER = "TEA_4Node_UPS_Heater" + TMA = "TMA" + TDC = "TDC" + TCA_SMALL = "TCA_Small" + GPU = "GPU" + TCA_LARGE = "TCA_Large" + EDGE_P_BASE = "EdgeP_Base" + EDGE_P_HIGH = "EdgeP_High" + EDGE_PR_BASE = "EdgePR_Base" + EDGE_PR_BASE_UPS = "EdgePR_Base_UPS" + EP2_64_1_VPU_W = "EP2_64_1VPU_W" + EP2_128_1_T4_MX1_W = "EP2_128_1T4_Mx1_W" + EP2_256_2_T4_W = "EP2_256_2T4_W" + EDGE_MR_MINI = "EdgeMR_Mini" + RCA_SMALL = "RCA_Small" + RCA_LARGE = "RCA_Large" + RDC = "RDC" + MANAGEMENT = "Management" + +class SkuSignupOption(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Sku can be signed up by customer or not. + """ + + NONE = "None" + AVAILABLE = "Available" + +class SkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The Sku tier. + """ + + STANDARD = "Standard" + +class SkuVersion(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Availability of the Sku as preview/stable. + """ + + STABLE = "Stable" + PREVIEW = "Preview" + +class SSLStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Signifies whether SSL needs to be enabled or not. + """ + + ENABLED = "Enabled" + DISABLED = "Disabled" + +class StorageAccountStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current status of the storage account + """ + + OK = "OK" + OFFLINE = "Offline" + UNKNOWN = "Unknown" + UPDATING = "Updating" + NEEDS_ATTENTION = "NeedsAttention" + +class SubscriptionState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + REGISTERED = "Registered" + WARNED = "Warned" + SUSPENDED = "Suspended" + DELETED = "Deleted" + UNREGISTERED = "Unregistered" + +class TimeGrain(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + PT1_M = "PT1M" + PT5_M = "PT5M" + PT15_M = "PT15M" + PT30_M = "PT30M" + PT1_H = "PT1H" + PT6_H = "PT6H" + PT12_H = "PT12H" + PT1_D = "PT1D" + +class TriggerEventType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Trigger Kind. + """ + + FILE_EVENT = "FileEvent" + PERIODIC_TIMER_EVENT = "PeriodicTimerEvent" + +class UpdateOperation(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The current update operation. + """ + + NONE = "None" + SCAN = "Scan" + DOWNLOAD = "Download" + INSTALL = "Install" + +class UpdateOperationStage(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current stage of the update operation. + """ + + UNKNOWN = "Unknown" + INITIAL = "Initial" + SCAN_STARTED = "ScanStarted" + SCAN_COMPLETE = "ScanComplete" + SCAN_FAILED = "ScanFailed" + DOWNLOAD_STARTED = "DownloadStarted" + DOWNLOAD_COMPLETE = "DownloadComplete" + DOWNLOAD_FAILED = "DownloadFailed" + INSTALL_STARTED = "InstallStarted" + INSTALL_COMPLETE = "InstallComplete" + INSTALL_FAILED = "InstallFailed" + REBOOT_INITIATED = "RebootInitiated" + SUCCESS = "Success" + FAILURE = "Failure" + RESCAN_STARTED = "RescanStarted" + RESCAN_COMPLETE = "RescanComplete" + RESCAN_FAILED = "RescanFailed" + +class UpdateStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Status of the update. + """ + + DOWNLOAD_PENDING = "DownloadPending" + DOWNLOAD_STARTED = "DownloadStarted" + DOWNLOAD_COMPLETED = "DownloadCompleted" + INSTALL_STARTED = "InstallStarted" + INSTALL_COMPLETED = "InstallCompleted" + +class UpdateType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of the Update + """ + + SOFTWARE = "Software" + KUBERNETES = "Kubernetes" + FIRMWARE = "Firmware" + +class UserType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of the user. + """ + + SHARE = "Share" + LOCAL_MANAGEMENT = "LocalManagement" + ARM = "ARM" diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/models/_models.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/models/_models.py new file mode 100644 index 000000000000..ed1d3c45a4dc --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/models/_models.py @@ -0,0 +1,5195 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +import msrest.serialization + + +class ARMBaseModel(msrest.serialization.Model): + """Represents the base class for all object models. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ARMBaseModel, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class Addon(ARMBaseModel): + """Role Addon. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: ArcAddon, IoTAddon. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Addon type.Constant filled by server. Possible values include: + "IotEdge", "ArcForKubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AddonType + :ivar system_data: Addon type. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + } + + _subtype_map = { + 'kind': {'ArcForKubernetes': 'ArcAddon', 'IotEdge': 'IoTAddon'} + } + + def __init__( + self, + **kwargs + ): + super(Addon, self).__init__(**kwargs) + self.kind = 'Addon' # type: str + self.system_data = None + + +class AddonList(msrest.serialization.Model): + """Collection of all the Role addon on the Azure Stack Edge device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The Value. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Addon] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Addon]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AddonList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class Address(msrest.serialization.Model): + """The shipping address of the customer. + + All required parameters must be populated in order to send to Azure. + + :param address_line1: The address line1. + :type address_line1: str + :param address_line2: The address line2. + :type address_line2: str + :param address_line3: The address line3. + :type address_line3: str + :param postal_code: The postal code. + :type postal_code: str + :param city: The city name. + :type city: str + :param state: The state name. + :type state: str + :param country: Required. The country name. + :type country: str + """ + + _validation = { + 'country': {'required': True}, + } + + _attribute_map = { + 'address_line1': {'key': 'addressLine1', 'type': 'str'}, + 'address_line2': {'key': 'addressLine2', 'type': 'str'}, + 'address_line3': {'key': 'addressLine3', 'type': 'str'}, + 'postal_code': {'key': 'postalCode', 'type': 'str'}, + 'city': {'key': 'city', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + 'country': {'key': 'country', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Address, self).__init__(**kwargs) + self.address_line1 = kwargs.get('address_line1', None) + self.address_line2 = kwargs.get('address_line2', None) + self.address_line3 = kwargs.get('address_line3', None) + self.postal_code = kwargs.get('postal_code', None) + self.city = kwargs.get('city', None) + self.state = kwargs.get('state', None) + self.country = kwargs['country'] + + +class Alert(ARMBaseModel): + """Alert on the data box edge/gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Alert generated in the resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :ivar title: Alert title. + :vartype title: str + :ivar alert_type: Alert type. + :vartype alert_type: str + :ivar appeared_at_date_time: UTC time when the alert appeared. + :vartype appeared_at_date_time: ~datetime.datetime + :ivar recommendation: Alert recommendation. + :vartype recommendation: str + :ivar severity: Severity of the alert. Possible values include: "Informational", "Warning", + "Critical". + :vartype severity: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AlertSeverity + :ivar error_details: Error details of the alert. + :vartype error_details: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AlertErrorDetails + :ivar detailed_information: Alert details. + :vartype detailed_information: dict[str, str] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'title': {'readonly': True}, + 'alert_type': {'readonly': True}, + 'appeared_at_date_time': {'readonly': True}, + 'recommendation': {'readonly': True}, + 'severity': {'readonly': True}, + 'error_details': {'readonly': True}, + 'detailed_information': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'title': {'key': 'properties.title', 'type': 'str'}, + 'alert_type': {'key': 'properties.alertType', 'type': 'str'}, + 'appeared_at_date_time': {'key': 'properties.appearedAtDateTime', 'type': 'iso-8601'}, + 'recommendation': {'key': 'properties.recommendation', 'type': 'str'}, + 'severity': {'key': 'properties.severity', 'type': 'str'}, + 'error_details': {'key': 'properties.errorDetails', 'type': 'AlertErrorDetails'}, + 'detailed_information': {'key': 'properties.detailedInformation', 'type': '{str}'}, + } + + def __init__( + self, + **kwargs + ): + super(Alert, self).__init__(**kwargs) + self.system_data = None + self.title = None + self.alert_type = None + self.appeared_at_date_time = None + self.recommendation = None + self.severity = None + self.error_details = None + self.detailed_information = None + + +class AlertErrorDetails(msrest.serialization.Model): + """Error details for the alert. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar error_code: Error code. + :vartype error_code: str + :ivar error_message: Error Message. + :vartype error_message: str + :ivar occurrences: Number of occurrences. + :vartype occurrences: int + """ + + _validation = { + 'error_code': {'readonly': True}, + 'error_message': {'readonly': True}, + 'occurrences': {'readonly': True}, + } + + _attribute_map = { + 'error_code': {'key': 'errorCode', 'type': 'str'}, + 'error_message': {'key': 'errorMessage', 'type': 'str'}, + 'occurrences': {'key': 'occurrences', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(AlertErrorDetails, self).__init__(**kwargs) + self.error_code = None + self.error_message = None + self.occurrences = None + + +class AlertList(msrest.serialization.Model): + """Collection of alerts. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The value. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Alert] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Alert]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AlertList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ArcAddon(Addon): + """Arc Addon. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Addon type.Constant filled by server. Possible values include: + "IotEdge", "ArcForKubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AddonType + :ivar system_data: Addon type. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param subscription_id: Required. Arc resource subscription Id. + :type subscription_id: str + :param resource_group_name: Required. Arc resource group name. + :type resource_group_name: str + :param resource_name: Required. Arc resource Name. + :type resource_name: str + :param resource_location: Required. Arc resource location. + :type resource_location: str + :ivar version: Arc resource version. + :vartype version: str + :ivar host_platform: Host OS supported by the Arc addon. Possible values include: "Windows", + "Linux". + :vartype host_platform: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.PlatformType + :ivar host_platform_type: Platform where the runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.HostPlatformType + :ivar provisioning_state: Addon Provisioning State. Possible values include: "Invalid", + "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting". + :vartype provisioning_state: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AddonState + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'subscription_id': {'required': True}, + 'resource_group_name': {'required': True}, + 'resource_name': {'required': True}, + 'resource_location': {'required': True}, + 'version': {'readonly': True}, + 'host_platform': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'subscription_id': {'key': 'properties.subscriptionId', 'type': 'str'}, + 'resource_group_name': {'key': 'properties.resourceGroupName', 'type': 'str'}, + 'resource_name': {'key': 'properties.resourceName', 'type': 'str'}, + 'resource_location': {'key': 'properties.resourceLocation', 'type': 'str'}, + 'version': {'key': 'properties.version', 'type': 'str'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ArcAddon, self).__init__(**kwargs) + self.kind = 'ArcForKubernetes' # type: str + self.subscription_id = kwargs['subscription_id'] + self.resource_group_name = kwargs['resource_group_name'] + self.resource_name = kwargs['resource_name'] + self.resource_location = kwargs['resource_location'] + self.version = None + self.host_platform = None + self.host_platform_type = None + self.provisioning_state = None + + +class AsymmetricEncryptedSecret(msrest.serialization.Model): + """Represent the secrets intended for encryption with asymmetric key pair. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. The value of the secret. + :type value: str + :param encryption_cert_thumbprint: Thumbprint certificate used to encrypt \"Value\". If the + value is unencrypted, it will be null. + :type encryption_cert_thumbprint: str + :param encryption_algorithm: Required. The algorithm used to encrypt "Value". Possible values + include: "None", "AES256", "RSAES_PKCS1_v_1_5". + :type encryption_algorithm: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.EncryptionAlgorithm + """ + + _validation = { + 'value': {'required': True}, + 'encryption_algorithm': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': 'str'}, + 'encryption_cert_thumbprint': {'key': 'encryptionCertThumbprint', 'type': 'str'}, + 'encryption_algorithm': {'key': 'encryptionAlgorithm', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AsymmetricEncryptedSecret, self).__init__(**kwargs) + self.value = kwargs['value'] + self.encryption_cert_thumbprint = kwargs.get('encryption_cert_thumbprint', None) + self.encryption_algorithm = kwargs['encryption_algorithm'] + + +class Authentication(msrest.serialization.Model): + """Authentication mechanism for IoT devices. + + :param symmetric_key: Symmetric key for authentication. + :type symmetric_key: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SymmetricKey + """ + + _attribute_map = { + 'symmetric_key': {'key': 'symmetricKey', 'type': 'SymmetricKey'}, + } + + def __init__( + self, + **kwargs + ): + super(Authentication, self).__init__(**kwargs) + self.symmetric_key = kwargs.get('symmetric_key', None) + + +class AzureContainerInfo(msrest.serialization.Model): + """Azure container mapping of the endpoint. + + All required parameters must be populated in order to send to Azure. + + :param storage_account_credential_id: Required. ID of the storage account credential used to + access storage. + :type storage_account_credential_id: str + :param container_name: Required. Container name (Based on the data format specified, this + represents the name of Azure Files/Page blob/Block blob). + :type container_name: str + :param data_format: Required. Storage format used for the file represented by the share. + Possible values include: "BlockBlob", "PageBlob", "AzureFile". + :type data_format: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AzureContainerDataFormat + """ + + _validation = { + 'storage_account_credential_id': {'required': True}, + 'container_name': {'required': True}, + 'data_format': {'required': True}, + } + + _attribute_map = { + 'storage_account_credential_id': {'key': 'storageAccountCredentialId', 'type': 'str'}, + 'container_name': {'key': 'containerName', 'type': 'str'}, + 'data_format': {'key': 'dataFormat', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureContainerInfo, self).__init__(**kwargs) + self.storage_account_credential_id = kwargs['storage_account_credential_id'] + self.container_name = kwargs['container_name'] + self.data_format = kwargs['data_format'] + + +class BandwidthSchedule(ARMBaseModel): + """The bandwidth schedule details. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Bandwidth object related to ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param start: Required. The start time of the schedule in UTC. + :type start: str + :param stop: Required. The stop time of the schedule in UTC. + :type stop: str + :param rate_in_mbps: Required. The bandwidth rate in Mbps. + :type rate_in_mbps: int + :param days: Required. The days of the week when this schedule is applicable. + :type days: list[str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DayOfWeek] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'start': {'required': True}, + 'stop': {'required': True}, + 'rate_in_mbps': {'required': True}, + 'days': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'start': {'key': 'properties.start', 'type': 'str'}, + 'stop': {'key': 'properties.stop', 'type': 'str'}, + 'rate_in_mbps': {'key': 'properties.rateInMbps', 'type': 'int'}, + 'days': {'key': 'properties.days', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(BandwidthSchedule, self).__init__(**kwargs) + self.system_data = None + self.start = kwargs['start'] + self.stop = kwargs['stop'] + self.rate_in_mbps = kwargs['rate_in_mbps'] + self.days = kwargs['days'] + + +class BandwidthSchedulesList(msrest.serialization.Model): + """The collection of bandwidth schedules. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of bandwidth schedules. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.BandwidthSchedule] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[BandwidthSchedule]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(BandwidthSchedulesList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ClientAccessRight(msrest.serialization.Model): + """The mapping between a particular client IP and the type of access client has on the NFS share. + + All required parameters must be populated in order to send to Azure. + + :param client: Required. IP of the client. + :type client: str + :param access_permission: Required. Type of access to be allowed for the client. Possible + values include: "NoAccess", "ReadOnly", "ReadWrite". + :type access_permission: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ClientPermissionType + """ + + _validation = { + 'client': {'required': True}, + 'access_permission': {'required': True}, + } + + _attribute_map = { + 'client': {'key': 'client', 'type': 'str'}, + 'access_permission': {'key': 'accessPermission', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ClientAccessRight, self).__init__(**kwargs) + self.client = kwargs['client'] + self.access_permission = kwargs['access_permission'] + + +class Role(ARMBaseModel): + """Compute role. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: CloudEdgeManagementRole, IoTRole, KubernetesRole, MECRole. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + } + + _subtype_map = { + 'kind': {'CloudEdgeManagement': 'CloudEdgeManagementRole', 'IOT': 'IoTRole', 'Kubernetes': 'KubernetesRole', 'MEC': 'MECRole'} + } + + def __init__( + self, + **kwargs + ): + super(Role, self).__init__(**kwargs) + self.kind = 'Role' # type: str + self.system_data = None + + +class CloudEdgeManagementRole(Role): + """CloudEdgeManagementRole role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :ivar local_management_status: Local Edge Management Status. Possible values include: + "Enabled", "Disabled". + :vartype local_management_status: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleStatus + :ivar edge_profile: Edge Profile of the resource. + :vartype edge_profile: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.EdgeProfile + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'local_management_status': {'readonly': True}, + 'edge_profile': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'local_management_status': {'key': 'properties.localManagementStatus', 'type': 'str'}, + 'edge_profile': {'key': 'properties.edgeProfile', 'type': 'EdgeProfile'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(CloudEdgeManagementRole, self).__init__(**kwargs) + self.kind = 'CloudEdgeManagement' # type: str + self.local_management_status = None + self.edge_profile = None + self.role_status = kwargs.get('role_status', None) + + +class CloudErrorBody(msrest.serialization.Model): + """An error response from the service. + + :param code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :type code: str + :param message: A message describing the error, intended to be suitable for display in a user + interface. + :type message: str + :param details: A list of additional details about the error. + :type details: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.CloudErrorBody] + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[CloudErrorBody]'}, + } + + def __init__( + self, + **kwargs + ): + super(CloudErrorBody, self).__init__(**kwargs) + self.code = kwargs.get('code', None) + self.message = kwargs.get('message', None) + self.details = kwargs.get('details', None) + + +class CniConfig(msrest.serialization.Model): + """Cni configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: Cni type. + :vartype type: str + :ivar version: Cni version. + :vartype version: str + :ivar pod_subnet: Pod Subnet. + :vartype pod_subnet: str + :ivar service_subnet: Service subnet. + :vartype service_subnet: str + """ + + _validation = { + 'type': {'readonly': True}, + 'version': {'readonly': True}, + 'pod_subnet': {'readonly': True}, + 'service_subnet': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + 'pod_subnet': {'key': 'podSubnet', 'type': 'str'}, + 'service_subnet': {'key': 'serviceSubnet', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(CniConfig, self).__init__(**kwargs) + self.type = None + self.version = None + self.pod_subnet = None + self.service_subnet = None + + +class ComputeResource(msrest.serialization.Model): + """Compute infrastructure Resource. + + All required parameters must be populated in order to send to Azure. + + :param processor_count: Required. Processor count. + :type processor_count: int + :param memory_in_gb: Required. Memory in GB. + :type memory_in_gb: long + """ + + _validation = { + 'processor_count': {'required': True}, + 'memory_in_gb': {'required': True}, + } + + _attribute_map = { + 'processor_count': {'key': 'processorCount', 'type': 'int'}, + 'memory_in_gb': {'key': 'memoryInGB', 'type': 'long'}, + } + + def __init__( + self, + **kwargs + ): + super(ComputeResource, self).__init__(**kwargs) + self.processor_count = kwargs['processor_count'] + self.memory_in_gb = kwargs['memory_in_gb'] + + +class ContactDetails(msrest.serialization.Model): + """Contains all the contact details of the customer. + + All required parameters must be populated in order to send to Azure. + + :param contact_person: Required. The contact person name. + :type contact_person: str + :param company_name: Required. The name of the company. + :type company_name: str + :param phone: Required. The phone number. + :type phone: str + :param email_list: Required. The email list. + :type email_list: list[str] + """ + + _validation = { + 'contact_person': {'required': True}, + 'company_name': {'required': True}, + 'phone': {'required': True}, + 'email_list': {'required': True}, + } + + _attribute_map = { + 'contact_person': {'key': 'contactPerson', 'type': 'str'}, + 'company_name': {'key': 'companyName', 'type': 'str'}, + 'phone': {'key': 'phone', 'type': 'str'}, + 'email_list': {'key': 'emailList', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(ContactDetails, self).__init__(**kwargs) + self.contact_person = kwargs['contact_person'] + self.company_name = kwargs['company_name'] + self.phone = kwargs['phone'] + self.email_list = kwargs['email_list'] + + +class Container(ARMBaseModel): + """Represents a container on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Container in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :ivar container_status: Current status of the container. Possible values include: "OK", + "Offline", "Unknown", "Updating", "NeedsAttention". + :vartype container_status: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ContainerStatus + :param data_format: Required. DataFormat for Container. Possible values include: "BlockBlob", + "PageBlob", "AzureFile". + :type data_format: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AzureContainerDataFormat + :ivar refresh_details: Details of the refresh job on this container. + :vartype refresh_details: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RefreshDetails + :ivar created_date_time: The UTC time when container got created. + :vartype created_date_time: ~datetime.datetime + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'container_status': {'readonly': True}, + 'data_format': {'required': True}, + 'refresh_details': {'readonly': True}, + 'created_date_time': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'container_status': {'key': 'properties.containerStatus', 'type': 'str'}, + 'data_format': {'key': 'properties.dataFormat', 'type': 'str'}, + 'refresh_details': {'key': 'properties.refreshDetails', 'type': 'RefreshDetails'}, + 'created_date_time': {'key': 'properties.createdDateTime', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(Container, self).__init__(**kwargs) + self.system_data = None + self.container_status = None + self.data_format = kwargs['data_format'] + self.refresh_details = None + self.created_date_time = None + + +class ContainerList(msrest.serialization.Model): + """Collection of all the containers on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of containers. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Container] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Container]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ContainerList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class DataBoxEdgeDevice(ARMBaseModel): + """The Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param location: Required. The location of the device. This is a supported and registered Azure + geographical region (for example, West US, East US, or Southeast Asia). The geographical region + of a device cannot be changed once it is created, but if an identical geographical region is + specified on update, the request will succeed. + :type location: str + :param tags: A set of tags. The list of tags that describe the device. These tags can be used + to view and group this device (across resource groups). + :type tags: dict[str, str] + :param sku: The SKU type. + :type sku: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Sku + :param etag: The etag for the devices. + :type etag: str + :param identity: Msi identity of the resource. + :type identity: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ResourceIdentity + :ivar kind: The etag for the devices. Possible values include: "AzureDataBoxGateway", + "AzureStackEdge", "AzureStackHub", "AzureModularDataCentre". + :vartype kind: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDeviceKind + :ivar system_data: DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param data_box_edge_device_status: The status of the Data Box Edge/Gateway device. Possible + values include: "ReadyToSetup", "Online", "Offline", "NeedsAttention", "Disconnected", + "PartiallyDisconnected", "Maintenance". + :type data_box_edge_device_status: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDeviceStatus + :ivar serial_number: The Serial Number of Data Box Edge/Gateway device. + :vartype serial_number: str + :ivar description: The Description of the Data Box Edge/Gateway device. + :vartype description: str + :ivar model_description: The description of the Data Box Edge/Gateway device model. + :vartype model_description: str + :ivar device_type: The type of the Data Box Edge/Gateway device. Possible values include: + "DataBoxEdgeDevice". + :vartype device_type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DeviceType + :ivar friendly_name: The Data Box Edge/Gateway device name. + :vartype friendly_name: str + :ivar culture: The Data Box Edge/Gateway device culture. + :vartype culture: str + :ivar device_model: The Data Box Edge/Gateway device model. + :vartype device_model: str + :ivar device_software_version: The Data Box Edge/Gateway device software version. + :vartype device_software_version: str + :ivar device_local_capacity: The Data Box Edge/Gateway device local capacity in MB. + :vartype device_local_capacity: long + :ivar time_zone: The Data Box Edge/Gateway device timezone. + :vartype time_zone: str + :ivar device_hcs_version: The device software version number of the device (eg: 1.2.18105.6). + :vartype device_hcs_version: str + :ivar configured_role_types: Type of compute roles configured. + :vartype configured_role_types: list[str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleTypes] + :ivar node_count: The number of nodes in the cluster. + :vartype node_count: int + :ivar resource_move_details: The details of the move operation on this resource. + :vartype resource_move_details: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ResourceMoveDetails + :ivar edge_profile: The details of Edge Profile for this resource. + :vartype edge_profile: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.EdgeProfile + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'kind': {'readonly': True}, + 'system_data': {'readonly': True}, + 'serial_number': {'readonly': True}, + 'description': {'readonly': True}, + 'model_description': {'readonly': True}, + 'device_type': {'readonly': True}, + 'friendly_name': {'readonly': True}, + 'culture': {'readonly': True}, + 'device_model': {'readonly': True}, + 'device_software_version': {'readonly': True}, + 'device_local_capacity': {'readonly': True}, + 'time_zone': {'readonly': True}, + 'device_hcs_version': {'readonly': True}, + 'configured_role_types': {'readonly': True}, + 'node_count': {'readonly': True}, + 'resource_move_details': {'readonly': True}, + 'edge_profile': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'sku': {'key': 'sku', 'type': 'Sku'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'identity': {'key': 'identity', 'type': 'ResourceIdentity'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'data_box_edge_device_status': {'key': 'properties.dataBoxEdgeDeviceStatus', 'type': 'str'}, + 'serial_number': {'key': 'properties.serialNumber', 'type': 'str'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'model_description': {'key': 'properties.modelDescription', 'type': 'str'}, + 'device_type': {'key': 'properties.deviceType', 'type': 'str'}, + 'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'}, + 'culture': {'key': 'properties.culture', 'type': 'str'}, + 'device_model': {'key': 'properties.deviceModel', 'type': 'str'}, + 'device_software_version': {'key': 'properties.deviceSoftwareVersion', 'type': 'str'}, + 'device_local_capacity': {'key': 'properties.deviceLocalCapacity', 'type': 'long'}, + 'time_zone': {'key': 'properties.timeZone', 'type': 'str'}, + 'device_hcs_version': {'key': 'properties.deviceHcsVersion', 'type': 'str'}, + 'configured_role_types': {'key': 'properties.configuredRoleTypes', 'type': '[str]'}, + 'node_count': {'key': 'properties.nodeCount', 'type': 'int'}, + 'resource_move_details': {'key': 'properties.resourceMoveDetails', 'type': 'ResourceMoveDetails'}, + 'edge_profile': {'key': 'properties.edgeProfile', 'type': 'EdgeProfile'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeDevice, self).__init__(**kwargs) + self.location = kwargs['location'] + self.tags = kwargs.get('tags', None) + self.sku = kwargs.get('sku', None) + self.etag = kwargs.get('etag', None) + self.identity = kwargs.get('identity', None) + self.kind = None + self.system_data = None + self.data_box_edge_device_status = kwargs.get('data_box_edge_device_status', None) + self.serial_number = None + self.description = None + self.model_description = None + self.device_type = None + self.friendly_name = None + self.culture = None + self.device_model = None + self.device_software_version = None + self.device_local_capacity = None + self.time_zone = None + self.device_hcs_version = None + self.configured_role_types = None + self.node_count = None + self.resource_move_details = None + self.edge_profile = None + + +class DataBoxEdgeDeviceExtendedInfo(ARMBaseModel): + """The extended Info of the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param encryption_key_thumbprint: The digital signature of encrypted certificate. + :type encryption_key_thumbprint: str + :param encryption_key: The public part of the encryption certificate. Client uses this to + encrypt any secret. + :type encryption_key: str + :ivar resource_key: The Resource ID of the Resource. + :vartype resource_key: str + :param client_secret_store_id: The Key Vault ARM Id for client secrets. + :type client_secret_store_id: str + :param client_secret_store_url: The url to access the Client Key Vault. + :type client_secret_store_url: str + :param channel_integrity_key_name: The name of Channel Integrity Key stored in the Client Key + Vault. + :type channel_integrity_key_name: str + :param channel_integrity_key_version: The version of Channel Integrity Key stored in the Client + Key Vault. + :type channel_integrity_key_version: str + :param key_vault_sync_status: Key vault sync status. Possible values include: "KeyVaultSynced", + "KeyVaultSyncFailed", "KeyVaultNotConfigured", "KeyVaultSyncPending", "KeyVaultSyncing", + "KeyVaultNotSynced". + :type key_vault_sync_status: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.KeyVaultSyncStatus + :ivar device_secrets: Device secrets, will be returned only with ODataFilter + $expand=deviceSecrets. + :vartype device_secrets: dict[str, ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Secret] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'resource_key': {'readonly': True}, + 'device_secrets': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'encryption_key_thumbprint': {'key': 'properties.encryptionKeyThumbprint', 'type': 'str'}, + 'encryption_key': {'key': 'properties.encryptionKey', 'type': 'str'}, + 'resource_key': {'key': 'properties.resourceKey', 'type': 'str'}, + 'client_secret_store_id': {'key': 'properties.clientSecretStoreId', 'type': 'str'}, + 'client_secret_store_url': {'key': 'properties.clientSecretStoreUrl', 'type': 'str'}, + 'channel_integrity_key_name': {'key': 'properties.channelIntegrityKeyName', 'type': 'str'}, + 'channel_integrity_key_version': {'key': 'properties.channelIntegrityKeyVersion', 'type': 'str'}, + 'key_vault_sync_status': {'key': 'properties.keyVaultSyncStatus', 'type': 'str'}, + 'device_secrets': {'key': 'properties.deviceSecrets', 'type': '{Secret}'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeDeviceExtendedInfo, self).__init__(**kwargs) + self.encryption_key_thumbprint = kwargs.get('encryption_key_thumbprint', None) + self.encryption_key = kwargs.get('encryption_key', None) + self.resource_key = None + self.client_secret_store_id = kwargs.get('client_secret_store_id', None) + self.client_secret_store_url = kwargs.get('client_secret_store_url', None) + self.channel_integrity_key_name = kwargs.get('channel_integrity_key_name', None) + self.channel_integrity_key_version = kwargs.get('channel_integrity_key_version', None) + self.key_vault_sync_status = kwargs.get('key_vault_sync_status', None) + self.device_secrets = None + + +class DataBoxEdgeDeviceExtendedInfoPatch(msrest.serialization.Model): + """The Data Box Edge/Gateway device extended info patch. + + :param client_secret_store_id: The Key Vault ARM Id for client secrets. + :type client_secret_store_id: str + :param client_secret_store_url: The url to access the Client Key Vault. + :type client_secret_store_url: str + :param channel_integrity_key_name: The name for Channel Integrity Key stored in the Client Key + Vault. + :type channel_integrity_key_name: str + :param channel_integrity_key_version: The version of Channel Integrity Key stored in the Client + Key Vault. + :type channel_integrity_key_version: str + :param sync_status: For changing or to initiate the resync to key-vault set the status to + KeyVaultSyncPending, rest of the status will not be applicable. Possible values include: + "KeyVaultSynced", "KeyVaultSyncFailed", "KeyVaultNotConfigured", "KeyVaultSyncPending", + "KeyVaultSyncing", "KeyVaultNotSynced". + :type sync_status: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.KeyVaultSyncStatus + """ + + _attribute_map = { + 'client_secret_store_id': {'key': 'clientSecretStoreId', 'type': 'str'}, + 'client_secret_store_url': {'key': 'clientSecretStoreUrl', 'type': 'str'}, + 'channel_integrity_key_name': {'key': 'channelIntegrityKeyName', 'type': 'str'}, + 'channel_integrity_key_version': {'key': 'channelIntegrityKeyVersion', 'type': 'str'}, + 'sync_status': {'key': 'syncStatus', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeDeviceExtendedInfoPatch, self).__init__(**kwargs) + self.client_secret_store_id = kwargs.get('client_secret_store_id', None) + self.client_secret_store_url = kwargs.get('client_secret_store_url', None) + self.channel_integrity_key_name = kwargs.get('channel_integrity_key_name', None) + self.channel_integrity_key_version = kwargs.get('channel_integrity_key_version', None) + self.sync_status = kwargs.get('sync_status', None) + + +class DataBoxEdgeDeviceList(msrest.serialization.Model): + """The collection of Data Box Edge/Gateway devices. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of Data Box Edge/Gateway devices. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDevice] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DataBoxEdgeDevice]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeDeviceList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class DataBoxEdgeDevicePatch(msrest.serialization.Model): + """The Data Box Edge/Gateway device patch. + + :param tags: A set of tags. The tags attached to the Data Box Edge/Gateway resource. + :type tags: dict[str, str] + :param identity: Msi identity of the resource. + :type identity: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ResourceIdentity + :param edge_profile: Edge Profile property of the Data Box Edge/Gateway device. + :type edge_profile: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.EdgeProfilePatch + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + 'identity': {'key': 'identity', 'type': 'ResourceIdentity'}, + 'edge_profile': {'key': 'properties.edgeProfile', 'type': 'EdgeProfilePatch'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeDevicePatch, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) + self.identity = kwargs.get('identity', None) + self.edge_profile = kwargs.get('edge_profile', None) + + +class DataBoxEdgeMoveRequest(msrest.serialization.Model): + """Resource Move details. + + All required parameters must be populated in order to send to Azure. + + :param target_resource_group: Required. Target resource group ARMId. + :type target_resource_group: str + :param resources: Required. List of resources to be moved. + :type resources: list[str] + """ + + _validation = { + 'target_resource_group': {'required': True}, + 'resources': {'required': True}, + } + + _attribute_map = { + 'target_resource_group': {'key': 'targetResourceGroup', 'type': 'str'}, + 'resources': {'key': 'resources', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeMoveRequest, self).__init__(**kwargs) + self.target_resource_group = kwargs['target_resource_group'] + self.resources = kwargs['resources'] + + +class DataBoxEdgeSku(msrest.serialization.Model): + """The Sku information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar resource_type: The type of the resource. + :vartype resource_type: str + :ivar name: The Sku name. Possible values include: "Gateway", "Edge", "TEA_1Node", + "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", + "TEA_4Node_UPS_Heater", "TMA", "TDC", "TCA_Small", "GPU", "TCA_Large", "EdgeP_Base", + "EdgeP_High", "EdgePR_Base", "EdgePR_Base_UPS", "EP2_64_1VPU_W", "EP2_128_1T4_Mx1_W", + "EP2_256_2T4_W", "EdgeMR_Mini", "RCA_Small", "RCA_Large", "RDC", "Management". + :vartype name: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SkuName + :ivar kind: The Sku kind. + :vartype kind: str + :ivar tier: The Sku tier. Possible values include: "Standard". + :vartype tier: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SkuTier + :ivar size: The Sku kind. + :vartype size: str + :ivar family: The Sku family. + :vartype family: str + :ivar locations: Availability of the Sku for the region. + :vartype locations: list[str] + :ivar api_versions: The API versions in which Sku is available. + :vartype api_versions: list[str] + :ivar location_info: Availability of the Sku for the location/zone/site. + :vartype location_info: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.SkuLocationInfo] + :ivar costs: The pricing info of the Sku. + :vartype costs: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.SkuCost] + :ivar signup_option: Sku can be signed up by customer or not. Possible values include: "None", + "Available". + :vartype signup_option: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SkuSignupOption + :ivar version: Availability of the Sku as preview/stable. Possible values include: "Stable", + "Preview". + :vartype version: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SkuVersion + :ivar availability: Links to the next set of results. Possible values include: "Available", + "Unavailable". + :vartype availability: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SkuAvailability + :ivar shipment_types: List of Shipment Types supported by this SKU. + :vartype shipment_types: list[str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ShipmentType] + """ + + _validation = { + 'resource_type': {'readonly': True}, + 'name': {'readonly': True}, + 'kind': {'readonly': True}, + 'tier': {'readonly': True}, + 'size': {'readonly': True}, + 'family': {'readonly': True}, + 'locations': {'readonly': True}, + 'api_versions': {'readonly': True}, + 'location_info': {'readonly': True}, + 'costs': {'readonly': True}, + 'signup_option': {'readonly': True}, + 'version': {'readonly': True}, + 'availability': {'readonly': True}, + 'shipment_types': {'readonly': True}, + } + + _attribute_map = { + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'size': {'key': 'size', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'locations': {'key': 'locations', 'type': '[str]'}, + 'api_versions': {'key': 'apiVersions', 'type': '[str]'}, + 'location_info': {'key': 'locationInfo', 'type': '[SkuLocationInfo]'}, + 'costs': {'key': 'costs', 'type': '[SkuCost]'}, + 'signup_option': {'key': 'signupOption', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + 'availability': {'key': 'availability', 'type': 'str'}, + 'shipment_types': {'key': 'shipmentTypes', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeSku, self).__init__(**kwargs) + self.resource_type = None + self.name = None + self.kind = None + self.tier = None + self.size = None + self.family = None + self.locations = None + self.api_versions = None + self.location_info = None + self.costs = None + self.signup_option = None + self.version = None + self.availability = None + self.shipment_types = None + + +class DataBoxEdgeSkuList(msrest.serialization.Model): + """List of SKU Information objects. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of ResourceType Sku. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeSku] + :ivar next_link: Links to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DataBoxEdgeSku]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeSkuList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class DCAccessCode(msrest.serialization.Model): + """DC Access code in the case of Self Managed Shipping. + + :param auth_code: DCAccess Code for the Self Managed shipment. + :type auth_code: str + """ + + _attribute_map = { + 'auth_code': {'key': 'properties.authCode', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DCAccessCode, self).__init__(**kwargs) + self.auth_code = kwargs.get('auth_code', None) + + +class EdgeProfile(msrest.serialization.Model): + """Details about Edge Profile for the resource. + + :param subscription: Edge Profile Subscription. + :type subscription: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.EdgeProfileSubscription + """ + + _attribute_map = { + 'subscription': {'key': 'subscription', 'type': 'EdgeProfileSubscription'}, + } + + def __init__( + self, + **kwargs + ): + super(EdgeProfile, self).__init__(**kwargs) + self.subscription = kwargs.get('subscription', None) + + +class EdgeProfilePatch(msrest.serialization.Model): + """The Data Box Edge/Gateway Edge Profile patch. + + :param subscription: The Data Box Edge/Gateway Edge Profile Subscription patch. + :type subscription: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.EdgeProfileSubscriptionPatch + """ + + _attribute_map = { + 'subscription': {'key': 'subscription', 'type': 'EdgeProfileSubscriptionPatch'}, + } + + def __init__( + self, + **kwargs + ): + super(EdgeProfilePatch, self).__init__(**kwargs) + self.subscription = kwargs.get('subscription', None) + + +class EdgeProfileSubscription(msrest.serialization.Model): + """Subscription details for the Edge Profile. + + :param registration_id: Edge Subscription Registration ID. + :type registration_id: str + :param id: ARM ID of the subscription. + :type id: str + :param state: Possible values include: "Registered", "Warned", "Suspended", "Deleted", + "Unregistered". + :type state: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SubscriptionState + :param registration_date: + :type registration_date: str + :param subscription_id: + :type subscription_id: str + :param tenant_id: + :type tenant_id: str + :param location_placement_id: + :type location_placement_id: str + :param quota_id: + :type quota_id: str + :param serialized_details: + :type serialized_details: str + :param registered_features: + :type registered_features: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.SubscriptionRegisteredFeatures] + """ + + _attribute_map = { + 'registration_id': {'key': 'registrationId', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + 'registration_date': {'key': 'registrationDate', 'type': 'str'}, + 'subscription_id': {'key': 'subscriptionId', 'type': 'str'}, + 'tenant_id': {'key': 'properties.tenantId', 'type': 'str'}, + 'location_placement_id': {'key': 'properties.locationPlacementId', 'type': 'str'}, + 'quota_id': {'key': 'properties.quotaId', 'type': 'str'}, + 'serialized_details': {'key': 'properties.serializedDetails', 'type': 'str'}, + 'registered_features': {'key': 'properties.registeredFeatures', 'type': '[SubscriptionRegisteredFeatures]'}, + } + + def __init__( + self, + **kwargs + ): + super(EdgeProfileSubscription, self).__init__(**kwargs) + self.registration_id = kwargs.get('registration_id', None) + self.id = kwargs.get('id', None) + self.state = kwargs.get('state', None) + self.registration_date = kwargs.get('registration_date', None) + self.subscription_id = kwargs.get('subscription_id', None) + self.tenant_id = kwargs.get('tenant_id', None) + self.location_placement_id = kwargs.get('location_placement_id', None) + self.quota_id = kwargs.get('quota_id', None) + self.serialized_details = kwargs.get('serialized_details', None) + self.registered_features = kwargs.get('registered_features', None) + + +class EdgeProfileSubscriptionPatch(msrest.serialization.Model): + """The Data Box Edge/Gateway Edge Profile Subscription patch. + + :param id: The path ID that uniquely identifies the subscription of the edge profile. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EdgeProfileSubscriptionPatch, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + + +class EtcdInfo(msrest.serialization.Model): + """Etcd configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: Etcd type. + :vartype type: str + :ivar version: Etcd version. + :vartype version: str + """ + + _validation = { + 'type': {'readonly': True}, + 'version': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EtcdInfo, self).__init__(**kwargs) + self.type = None + self.version = None + + +class Trigger(ARMBaseModel): + """Trigger details. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: FileEventTrigger, PeriodicTimerEventTrigger. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Trigger in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: + "FileEvent", "PeriodicTimerEvent". + :type kind: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.TriggerEventType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'kind': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'kind': {'key': 'kind', 'type': 'str'}, + } + + _subtype_map = { + 'kind': {'FileEvent': 'FileEventTrigger', 'PeriodicTimerEvent': 'PeriodicTimerEventTrigger'} + } + + def __init__( + self, + **kwargs + ): + super(Trigger, self).__init__(**kwargs) + self.system_data = None + self.kind = 'Trigger' # type: str + + +class FileEventTrigger(Trigger): + """Trigger details. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Trigger in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: + "FileEvent", "PeriodicTimerEvent". + :type kind: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.TriggerEventType + :param source_info: Required. File event source details. + :type source_info: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.FileSourceInfo + :param sink_info: Required. Role sink info. + :type sink_info: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleSinkInfo + :param custom_context_tag: A custom context tag typically used to correlate the trigger against + its usage. For example, if a periodic timer trigger is intended for certain specific IoT + modules in the device, the tag can be the name or the image URL of the module. + :type custom_context_tag: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'kind': {'required': True}, + 'source_info': {'required': True}, + 'sink_info': {'required': True}, + 'custom_context_tag': {'max_length': 192, 'min_length': 0}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'source_info': {'key': 'properties.sourceInfo', 'type': 'FileSourceInfo'}, + 'sink_info': {'key': 'properties.sinkInfo', 'type': 'RoleSinkInfo'}, + 'custom_context_tag': {'key': 'properties.customContextTag', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FileEventTrigger, self).__init__(**kwargs) + self.kind = 'FileEvent' # type: str + self.source_info = kwargs['source_info'] + self.sink_info = kwargs['sink_info'] + self.custom_context_tag = kwargs.get('custom_context_tag', None) + + +class FileSourceInfo(msrest.serialization.Model): + """File source details. + + All required parameters must be populated in order to send to Azure. + + :param share_id: Required. File share ID. + :type share_id: str + """ + + _validation = { + 'share_id': {'required': True}, + } + + _attribute_map = { + 'share_id': {'key': 'shareId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FileSourceInfo, self).__init__(**kwargs) + self.share_id = kwargs['share_id'] + + +class GenerateCertResponse(msrest.serialization.Model): + """Used in activation key generation flow. + + :param public_key: Gets or sets base64 encoded certificate raw data, + this is the public part needed to be uploaded to cert vault. + :type public_key: str + :param private_key: Gets or sets base64 encoded private part of the certificate, + needed to form the activation key. + :type private_key: str + :param expiry_time_in_utc: Gets or sets expiry time in UTC. + :type expiry_time_in_utc: str + """ + + _attribute_map = { + 'public_key': {'key': 'publicKey', 'type': 'str'}, + 'private_key': {'key': 'privateKey', 'type': 'str'}, + 'expiry_time_in_utc': {'key': 'expiryTimeInUTC', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(GenerateCertResponse, self).__init__(**kwargs) + self.public_key = kwargs.get('public_key', None) + self.private_key = kwargs.get('private_key', None) + self.expiry_time_in_utc = kwargs.get('expiry_time_in_utc', None) + + +class ImageRepositoryCredential(msrest.serialization.Model): + """Image repository credential. + + All required parameters must be populated in order to send to Azure. + + :param image_repository_url: Required. Image repository url (e.g.: mcr.microsoft.com). + :type image_repository_url: str + :param user_name: Required. Repository user name. + :type user_name: str + :param password: Repository user password. + :type password: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AsymmetricEncryptedSecret + """ + + _validation = { + 'image_repository_url': {'required': True}, + 'user_name': {'required': True}, + } + + _attribute_map = { + 'image_repository_url': {'key': 'imageRepositoryUrl', 'type': 'str'}, + 'user_name': {'key': 'userName', 'type': 'str'}, + 'password': {'key': 'password', 'type': 'AsymmetricEncryptedSecret'}, + } + + def __init__( + self, + **kwargs + ): + super(ImageRepositoryCredential, self).__init__(**kwargs) + self.image_repository_url = kwargs['image_repository_url'] + self.user_name = kwargs['user_name'] + self.password = kwargs.get('password', None) + + +class IoTAddon(Addon): + """IoT Addon. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Addon type.Constant filled by server. Possible values include: + "IotEdge", "ArcForKubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AddonType + :ivar system_data: Addon type. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param io_t_device_details: Required. IoT device metadata to which appliance needs to be + connected. + :type io_t_device_details: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.IoTDeviceInfo + :param io_t_edge_device_details: Required. IoT edge device to which the IoT Addon needs to be + configured. + :type io_t_edge_device_details: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.IoTDeviceInfo + :ivar version: Version of IoT running on the appliance. + :vartype version: str + :ivar host_platform: Host OS supported by the IoT addon. Possible values include: "Windows", + "Linux". + :vartype host_platform: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.PlatformType + :ivar host_platform_type: Platform where the runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.HostPlatformType + :ivar provisioning_state: Addon Provisioning State. Possible values include: "Invalid", + "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting". + :vartype provisioning_state: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AddonState + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'io_t_device_details': {'required': True}, + 'io_t_edge_device_details': {'required': True}, + 'version': {'readonly': True}, + 'host_platform': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'io_t_device_details': {'key': 'properties.ioTDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'io_t_edge_device_details': {'key': 'properties.ioTEdgeDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'version': {'key': 'properties.version', 'type': 'str'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IoTAddon, self).__init__(**kwargs) + self.kind = 'IotEdge' # type: str + self.io_t_device_details = kwargs['io_t_device_details'] + self.io_t_edge_device_details = kwargs['io_t_edge_device_details'] + self.version = None + self.host_platform = None + self.host_platform_type = None + self.provisioning_state = None + + +class IoTDeviceInfo(msrest.serialization.Model): + """Metadata of IoT device/IoT Edge device to be configured. + + All required parameters must be populated in order to send to Azure. + + :param device_id: Required. ID of the IoT device/edge device. + :type device_id: str + :param io_t_host_hub: Required. Host name for the IoT hub associated to the device. + :type io_t_host_hub: str + :param io_t_host_hub_id: Id for the IoT hub associated to the device. + :type io_t_host_hub_id: str + :param authentication: Encrypted IoT device/IoT edge device connection string. + :type authentication: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Authentication + """ + + _validation = { + 'device_id': {'required': True}, + 'io_t_host_hub': {'required': True}, + } + + _attribute_map = { + 'device_id': {'key': 'deviceId', 'type': 'str'}, + 'io_t_host_hub': {'key': 'ioTHostHub', 'type': 'str'}, + 'io_t_host_hub_id': {'key': 'ioTHostHubId', 'type': 'str'}, + 'authentication': {'key': 'authentication', 'type': 'Authentication'}, + } + + def __init__( + self, + **kwargs + ): + super(IoTDeviceInfo, self).__init__(**kwargs) + self.device_id = kwargs['device_id'] + self.io_t_host_hub = kwargs['io_t_host_hub'] + self.io_t_host_hub_id = kwargs.get('io_t_host_hub_id', None) + self.authentication = kwargs.get('authentication', None) + + +class IoTEdgeAgentInfo(msrest.serialization.Model): + """IoT edge agent details is optional, this will be used for download system Agent module while bootstrapping IoT Role if specified. + + All required parameters must be populated in order to send to Azure. + + :param image_name: Required. Name of the IoT edge agent image. + :type image_name: str + :param tag: Required. Image Tag. + :type tag: str + :param image_repository: Image repository details. + :type image_repository: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ImageRepositoryCredential + """ + + _validation = { + 'image_name': {'required': True}, + 'tag': {'required': True}, + } + + _attribute_map = { + 'image_name': {'key': 'imageName', 'type': 'str'}, + 'tag': {'key': 'tag', 'type': 'str'}, + 'image_repository': {'key': 'imageRepository', 'type': 'ImageRepositoryCredential'}, + } + + def __init__( + self, + **kwargs + ): + super(IoTEdgeAgentInfo, self).__init__(**kwargs) + self.image_name = kwargs['image_name'] + self.tag = kwargs['tag'] + self.image_repository = kwargs.get('image_repository', None) + + +class IoTRole(Role): + """Compute role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param host_platform: Host OS supported by the IoT role. Possible values include: "Windows", + "Linux". + :type host_platform: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.PlatformType + :param io_t_device_details: IoT device metadata to which data box edge device needs to be + connected. + :type io_t_device_details: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.IoTDeviceInfo + :param io_t_edge_device_details: IoT edge device to which the IoT role needs to be configured. + :type io_t_edge_device_details: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.IoTDeviceInfo + :param share_mappings: Mount points of shares in role(s). + :type share_mappings: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MountPointMap] + :param io_t_edge_agent_info: Iot edge agent details to download the agent and bootstrap iot + runtime. + :type io_t_edge_agent_info: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.IoTEdgeAgentInfo + :ivar host_platform_type: Platform where the Iot runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.HostPlatformType + :param compute_resource: Resource allocation. + :type compute_resource: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ComputeResource + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'io_t_device_details': {'key': 'properties.ioTDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'io_t_edge_device_details': {'key': 'properties.ioTEdgeDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'share_mappings': {'key': 'properties.shareMappings', 'type': '[MountPointMap]'}, + 'io_t_edge_agent_info': {'key': 'properties.ioTEdgeAgentInfo', 'type': 'IoTEdgeAgentInfo'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'compute_resource': {'key': 'properties.computeResource', 'type': 'ComputeResource'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IoTRole, self).__init__(**kwargs) + self.kind = 'IOT' # type: str + self.host_platform = kwargs.get('host_platform', None) + self.io_t_device_details = kwargs.get('io_t_device_details', None) + self.io_t_edge_device_details = kwargs.get('io_t_edge_device_details', None) + self.share_mappings = kwargs.get('share_mappings', None) + self.io_t_edge_agent_info = kwargs.get('io_t_edge_agent_info', None) + self.host_platform_type = None + self.compute_resource = kwargs.get('compute_resource', None) + self.role_status = kwargs.get('role_status', None) + + +class Ipv4Config(msrest.serialization.Model): + """Details related to the IPv4 address configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar ip_address: The IPv4 address of the network adapter. + :vartype ip_address: str + :ivar subnet: The IPv4 subnet of the network adapter. + :vartype subnet: str + :ivar gateway: The IPv4 gateway of the network adapter. + :vartype gateway: str + """ + + _validation = { + 'ip_address': {'readonly': True}, + 'subnet': {'readonly': True}, + 'gateway': {'readonly': True}, + } + + _attribute_map = { + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + 'subnet': {'key': 'subnet', 'type': 'str'}, + 'gateway': {'key': 'gateway', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Ipv4Config, self).__init__(**kwargs) + self.ip_address = None + self.subnet = None + self.gateway = None + + +class Ipv6Config(msrest.serialization.Model): + """Details related to the IPv6 address configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar ip_address: The IPv6 address of the network adapter. + :vartype ip_address: str + :ivar prefix_length: The IPv6 prefix of the network adapter. + :vartype prefix_length: int + :ivar gateway: The IPv6 gateway of the network adapter. + :vartype gateway: str + """ + + _validation = { + 'ip_address': {'readonly': True}, + 'prefix_length': {'readonly': True}, + 'gateway': {'readonly': True}, + } + + _attribute_map = { + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + 'prefix_length': {'key': 'prefixLength', 'type': 'int'}, + 'gateway': {'key': 'gateway', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Ipv6Config, self).__init__(**kwargs) + self.ip_address = None + self.prefix_length = None + self.gateway = None + + +class Job(msrest.serialization.Model): + """A device job. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The name of the object. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar status: The current status of the job. Possible values include: "Invalid", "Running", + "Succeeded", "Failed", "Canceled", "Paused", "Scheduled". + :vartype status: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.JobStatus + :ivar start_time: The UTC date and time at which the job started. + :vartype start_time: ~datetime.datetime + :ivar end_time: The UTC date and time at which the job completed. + :vartype end_time: ~datetime.datetime + :ivar percent_complete: The percentage of the job that is complete. + :vartype percent_complete: int + :ivar error: The error details. + :vartype error: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.JobErrorDetails + :ivar job_type: The type of the job. Possible values include: "Invalid", "ScanForUpdates", + "DownloadUpdates", "InstallUpdates", "RefreshShare", "RefreshContainer", "Backup", "Restore", + "TriggerSupportPackage". + :vartype job_type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.JobType + :ivar current_stage: Current stage of the update operation. Possible values include: "Unknown", + "Initial", "ScanStarted", "ScanComplete", "ScanFailed", "DownloadStarted", "DownloadComplete", + "DownloadFailed", "InstallStarted", "InstallComplete", "InstallFailed", "RebootInitiated", + "Success", "Failure", "RescanStarted", "RescanComplete", "RescanFailed". + :vartype current_stage: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.UpdateOperationStage + :ivar download_progress: The download progress. + :vartype download_progress: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.UpdateDownloadProgress + :ivar install_progress: The install progress. + :vartype install_progress: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.UpdateInstallProgress + :ivar total_refresh_errors: Total number of errors encountered during the refresh process. + :vartype total_refresh_errors: int + :ivar error_manifest_file: Local share/remote container relative path to the error manifest + file of the refresh. + :vartype error_manifest_file: str + :ivar refreshed_entity_id: ARM ID of the entity that was refreshed. + :vartype refreshed_entity_id: str + :param folder: If only subfolders need to be refreshed, then the subfolder path inside the + share or container. (The path is empty if there are no subfolders.). + :type folder: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'status': {'readonly': True}, + 'start_time': {'readonly': True}, + 'end_time': {'readonly': True}, + 'percent_complete': {'readonly': True}, + 'error': {'readonly': True}, + 'job_type': {'readonly': True}, + 'current_stage': {'readonly': True}, + 'download_progress': {'readonly': True}, + 'install_progress': {'readonly': True}, + 'total_refresh_errors': {'readonly': True}, + 'error_manifest_file': {'readonly': True}, + 'refreshed_entity_id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'percent_complete': {'key': 'percentComplete', 'type': 'int'}, + 'error': {'key': 'error', 'type': 'JobErrorDetails'}, + 'job_type': {'key': 'properties.jobType', 'type': 'str'}, + 'current_stage': {'key': 'properties.currentStage', 'type': 'str'}, + 'download_progress': {'key': 'properties.downloadProgress', 'type': 'UpdateDownloadProgress'}, + 'install_progress': {'key': 'properties.installProgress', 'type': 'UpdateInstallProgress'}, + 'total_refresh_errors': {'key': 'properties.totalRefreshErrors', 'type': 'int'}, + 'error_manifest_file': {'key': 'properties.errorManifestFile', 'type': 'str'}, + 'refreshed_entity_id': {'key': 'properties.refreshedEntityId', 'type': 'str'}, + 'folder': {'key': 'properties.folder', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Job, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.status = None + self.start_time = None + self.end_time = None + self.percent_complete = None + self.error = None + self.job_type = None + self.current_stage = None + self.download_progress = None + self.install_progress = None + self.total_refresh_errors = None + self.error_manifest_file = None + self.refreshed_entity_id = None + self.folder = kwargs.get('folder', None) + + +class JobErrorDetails(msrest.serialization.Model): + """The job error information containing the list of job errors. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar error_details: The error details. + :vartype error_details: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.JobErrorItem] + :ivar code: The code intended for programmatic access. + :vartype code: str + :ivar message: The message that describes the error in detail. + :vartype message: str + """ + + _validation = { + 'error_details': {'readonly': True}, + 'code': {'readonly': True}, + 'message': {'readonly': True}, + } + + _attribute_map = { + 'error_details': {'key': 'errorDetails', 'type': '[JobErrorItem]'}, + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(JobErrorDetails, self).__init__(**kwargs) + self.error_details = None + self.code = None + self.message = None + + +class JobErrorItem(msrest.serialization.Model): + """The job error items. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar recommendations: The recommended actions. + :vartype recommendations: list[str] + :ivar code: The code intended for programmatic access. + :vartype code: str + :ivar message: The message that describes the error in detail. + :vartype message: str + """ + + _validation = { + 'recommendations': {'readonly': True}, + 'code': {'readonly': True}, + 'message': {'readonly': True}, + } + + _attribute_map = { + 'recommendations': {'key': 'recommendations', 'type': '[str]'}, + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(JobErrorItem, self).__init__(**kwargs) + self.recommendations = None + self.code = None + self.message = None + + +class KubernetesClusterInfo(msrest.serialization.Model): + """Kubernetes cluster configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar etcd_info: Etcd configuration. + :vartype etcd_info: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.EtcdInfo + :ivar nodes: Kubernetes cluster nodes. + :vartype nodes: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.NodeInfo] + :param version: Required. Kubernetes cluster version. + :type version: str + """ + + _validation = { + 'etcd_info': {'readonly': True}, + 'nodes': {'readonly': True}, + 'version': {'required': True}, + } + + _attribute_map = { + 'etcd_info': {'key': 'etcdInfo', 'type': 'EtcdInfo'}, + 'nodes': {'key': 'nodes', 'type': '[NodeInfo]'}, + 'version': {'key': 'version', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesClusterInfo, self).__init__(**kwargs) + self.etcd_info = None + self.nodes = None + self.version = kwargs['version'] + + +class KubernetesIPConfiguration(msrest.serialization.Model): + """Kubernetes node IP configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar port: Port of the Kubernetes node. + :vartype port: str + :param ip_address: IP address of the Kubernetes node. + :type ip_address: str + """ + + _validation = { + 'port': {'readonly': True}, + } + + _attribute_map = { + 'port': {'key': 'port', 'type': 'str'}, + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesIPConfiguration, self).__init__(**kwargs) + self.port = None + self.ip_address = kwargs.get('ip_address', None) + + +class KubernetesRole(Role): + """Kubernetes role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param host_platform: Host OS supported by the Kubernetes role. Possible values include: + "Windows", "Linux". + :type host_platform: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.PlatformType + :ivar provisioning_state: State of Kubernetes deployment. Possible values include: "Invalid", + "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting". + :vartype provisioning_state: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.KubernetesState + :ivar host_platform_type: Platform where the runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.HostPlatformType + :param kubernetes_cluster_info: Kubernetes cluster configuration. + :type kubernetes_cluster_info: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.KubernetesClusterInfo + :param kubernetes_role_resources: Kubernetes role resources. + :type kubernetes_role_resources: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.KubernetesRoleResources + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'kubernetes_cluster_info': {'key': 'properties.kubernetesClusterInfo', 'type': 'KubernetesClusterInfo'}, + 'kubernetes_role_resources': {'key': 'properties.kubernetesRoleResources', 'type': 'KubernetesRoleResources'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRole, self).__init__(**kwargs) + self.kind = 'Kubernetes' # type: str + self.host_platform = kwargs.get('host_platform', None) + self.provisioning_state = None + self.host_platform_type = None + self.kubernetes_cluster_info = kwargs.get('kubernetes_cluster_info', None) + self.kubernetes_role_resources = kwargs.get('kubernetes_role_resources', None) + self.role_status = kwargs.get('role_status', None) + + +class KubernetesRoleCompute(msrest.serialization.Model): + """Kubernetes role compute resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param vm_profile: Required. VM profile. + :type vm_profile: str + :ivar memory_in_bytes: Memory in bytes. + :vartype memory_in_bytes: long + :ivar processor_count: Processor count. + :vartype processor_count: int + """ + + _validation = { + 'vm_profile': {'required': True}, + 'memory_in_bytes': {'readonly': True}, + 'processor_count': {'readonly': True}, + } + + _attribute_map = { + 'vm_profile': {'key': 'vmProfile', 'type': 'str'}, + 'memory_in_bytes': {'key': 'memoryInBytes', 'type': 'long'}, + 'processor_count': {'key': 'processorCount', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleCompute, self).__init__(**kwargs) + self.vm_profile = kwargs['vm_profile'] + self.memory_in_bytes = None + self.processor_count = None + + +class KubernetesRoleNetwork(msrest.serialization.Model): + """Kubernetes role network resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar cni_config: Cni configuration. + :vartype cni_config: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.CniConfig + :ivar load_balancer_config: Load balancer configuration. + :vartype load_balancer_config: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.LoadBalancerConfig + """ + + _validation = { + 'cni_config': {'readonly': True}, + 'load_balancer_config': {'readonly': True}, + } + + _attribute_map = { + 'cni_config': {'key': 'cniConfig', 'type': 'CniConfig'}, + 'load_balancer_config': {'key': 'loadBalancerConfig', 'type': 'LoadBalancerConfig'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleNetwork, self).__init__(**kwargs) + self.cni_config = None + self.load_balancer_config = None + + +class KubernetesRoleResources(msrest.serialization.Model): + """Kubernetes role resources. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param storage: Kubernetes role storage resource. + :type storage: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.KubernetesRoleStorage + :param compute: Required. Kubernetes role compute resource. + :type compute: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.KubernetesRoleCompute + :ivar network: Kubernetes role network resource. + :vartype network: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.KubernetesRoleNetwork + """ + + _validation = { + 'compute': {'required': True}, + 'network': {'readonly': True}, + } + + _attribute_map = { + 'storage': {'key': 'storage', 'type': 'KubernetesRoleStorage'}, + 'compute': {'key': 'compute', 'type': 'KubernetesRoleCompute'}, + 'network': {'key': 'network', 'type': 'KubernetesRoleNetwork'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleResources, self).__init__(**kwargs) + self.storage = kwargs.get('storage', None) + self.compute = kwargs['compute'] + self.network = None + + +class KubernetesRoleStorage(msrest.serialization.Model): + """Kubernetes role storage resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar storage_classes: Kubernetes storage class info. + :vartype storage_classes: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.KubernetesRoleStorageClassInfo] + :param endpoints: Mount points of shares in role(s). + :type endpoints: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MountPointMap] + """ + + _validation = { + 'storage_classes': {'readonly': True}, + } + + _attribute_map = { + 'storage_classes': {'key': 'storageClasses', 'type': '[KubernetesRoleStorageClassInfo]'}, + 'endpoints': {'key': 'endpoints', 'type': '[MountPointMap]'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleStorage, self).__init__(**kwargs) + self.storage_classes = None + self.endpoints = kwargs.get('endpoints', None) + + +class KubernetesRoleStorageClassInfo(msrest.serialization.Model): + """Kubernetes storage class info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Storage class name. + :vartype name: str + :ivar type: Storage class type. + :vartype type: str + :ivar posix_compliant: If provisioned storage is posix compliant. Possible values include: + "Invalid", "Enabled", "Disabled". + :vartype posix_compliant: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.PosixComplianceStatus + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'posix_compliant': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'posix_compliant': {'key': 'posixCompliant', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleStorageClassInfo, self).__init__(**kwargs) + self.name = None + self.type = None + self.posix_compliant = None + + +class LoadBalancerConfig(msrest.serialization.Model): + """Load balancer configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: Load balancer type. + :vartype type: str + :ivar version: Load balancer version. + :vartype version: str + """ + + _validation = { + 'type': {'readonly': True}, + 'version': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LoadBalancerConfig, self).__init__(**kwargs) + self.type = None + self.version = None + + +class MECRole(Role): + """MEC role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param connection_string: Activation key of the MEC. + :type connection_string: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AsymmetricEncryptedSecret + :param controller_endpoint: Controller Endpoint. + :type controller_endpoint: str + :param resource_unique_id: Unique Id of the Resource. + :type resource_unique_id: str + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'connection_string': {'key': 'properties.connectionString', 'type': 'AsymmetricEncryptedSecret'}, + 'controller_endpoint': {'key': 'properties.controllerEndpoint', 'type': 'str'}, + 'resource_unique_id': {'key': 'properties.resourceUniqueId', 'type': 'str'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MECRole, self).__init__(**kwargs) + self.kind = 'MEC' # type: str + self.connection_string = kwargs.get('connection_string', None) + self.controller_endpoint = kwargs.get('controller_endpoint', None) + self.resource_unique_id = kwargs.get('resource_unique_id', None) + self.role_status = kwargs.get('role_status', None) + + +class MetricConfiguration(msrest.serialization.Model): + """Metric configuration. + + All required parameters must be populated in order to send to Azure. + + :param resource_id: Required. The Resource ID on which the metrics should be pushed. + :type resource_id: str + :param mdm_account: The MDM account to which the counters should be pushed. + :type mdm_account: str + :param metric_name_space: The MDM namespace to which the counters should be pushed. This is + required if MDMAccount is specified. + :type metric_name_space: str + :param counter_sets: Required. Host name for the IoT hub associated to the device. + :type counter_sets: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MetricCounterSet] + """ + + _validation = { + 'resource_id': {'required': True}, + 'counter_sets': {'required': True}, + } + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'mdm_account': {'key': 'mdmAccount', 'type': 'str'}, + 'metric_name_space': {'key': 'metricNameSpace', 'type': 'str'}, + 'counter_sets': {'key': 'counterSets', 'type': '[MetricCounterSet]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricConfiguration, self).__init__(**kwargs) + self.resource_id = kwargs['resource_id'] + self.mdm_account = kwargs.get('mdm_account', None) + self.metric_name_space = kwargs.get('metric_name_space', None) + self.counter_sets = kwargs['counter_sets'] + + +class MetricCounter(msrest.serialization.Model): + """The metric counter. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The counter name. + :type name: str + :param instance: The instance from which counter should be collected. + :type instance: str + :param dimension_filter: The dimension filter. + :type dimension_filter: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MetricDimension] + :param additional_dimensions: The additional dimensions to be added to metric. + :type additional_dimensions: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MetricDimension] + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'instance': {'key': 'instance', 'type': 'str'}, + 'dimension_filter': {'key': 'dimensionFilter', 'type': '[MetricDimension]'}, + 'additional_dimensions': {'key': 'additionalDimensions', 'type': '[MetricDimension]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricCounter, self).__init__(**kwargs) + self.name = kwargs['name'] + self.instance = kwargs.get('instance', None) + self.dimension_filter = kwargs.get('dimension_filter', None) + self.additional_dimensions = kwargs.get('additional_dimensions', None) + + +class MetricCounterSet(msrest.serialization.Model): + """The metric counter set. + + All required parameters must be populated in order to send to Azure. + + :param counters: Required. The counters that should be collected in this set. + :type counters: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MetricCounter] + """ + + _validation = { + 'counters': {'required': True}, + } + + _attribute_map = { + 'counters': {'key': 'counters', 'type': '[MetricCounter]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricCounterSet, self).__init__(**kwargs) + self.counters = kwargs['counters'] + + +class MetricDimension(msrest.serialization.Model): + """The metric dimension. + + All required parameters must be populated in order to send to Azure. + + :param source_type: Required. The dimension type. + :type source_type: str + :param source_name: Required. The dimension value. + :type source_name: str + """ + + _validation = { + 'source_type': {'required': True}, + 'source_name': {'required': True}, + } + + _attribute_map = { + 'source_type': {'key': 'sourceType', 'type': 'str'}, + 'source_name': {'key': 'sourceName', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricDimension, self).__init__(**kwargs) + self.source_type = kwargs['source_type'] + self.source_name = kwargs['source_name'] + + +class MetricDimensionV1(msrest.serialization.Model): + """Metric Dimension v1. + + :param name: Name of the metrics dimension. + :type name: str + :param display_name: Display name of the metrics dimension. + :type display_name: str + :param to_be_exported_for_shoebox: To be exported to shoe box. + :type to_be_exported_for_shoebox: bool + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'to_be_exported_for_shoebox': {'key': 'toBeExportedForShoebox', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricDimensionV1, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display_name = kwargs.get('display_name', None) + self.to_be_exported_for_shoebox = kwargs.get('to_be_exported_for_shoebox', None) + + +class MetricSpecificationV1(msrest.serialization.Model): + """Metric specification version 1. + + :param name: Name of the metric. + :type name: str + :param display_name: Display name of the metric. + :type display_name: str + :param display_description: Description of the metric to be displayed. + :type display_description: str + :param unit: Metric units. Possible values include: "NotSpecified", "Percent", "Count", + "Seconds", "Milliseconds", "Bytes", "BytesPerSecond", "CountPerSecond". + :type unit: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.MetricUnit + :param aggregation_type: Metric aggregation type. Possible values include: "NotSpecified", + "None", "Average", "Minimum", "Maximum", "Total", "Count". + :type aggregation_type: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.MetricAggregationType + :param dimensions: Metric dimensions, other than default dimension which is resource. + :type dimensions: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MetricDimensionV1] + :param fill_gap_with_zero: Set true to fill the gaps with zero. + :type fill_gap_with_zero: bool + :param category: Metric category. Possible values include: "Capacity", "Transaction". + :type category: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.MetricCategory + :param resource_id_dimension_name_override: Resource name override. + :type resource_id_dimension_name_override: str + :param supported_time_grain_types: Support granularity of metrics. + :type supported_time_grain_types: list[str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.TimeGrain] + :param supported_aggregation_types: Support metric aggregation type. + :type supported_aggregation_types: list[str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.MetricAggregationType] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'display_description': {'key': 'displayDescription', 'type': 'str'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, + 'dimensions': {'key': 'dimensions', 'type': '[MetricDimensionV1]'}, + 'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'}, + 'category': {'key': 'category', 'type': 'str'}, + 'resource_id_dimension_name_override': {'key': 'resourceIdDimensionNameOverride', 'type': 'str'}, + 'supported_time_grain_types': {'key': 'supportedTimeGrainTypes', 'type': '[str]'}, + 'supported_aggregation_types': {'key': 'supportedAggregationTypes', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricSpecificationV1, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display_name = kwargs.get('display_name', None) + self.display_description = kwargs.get('display_description', None) + self.unit = kwargs.get('unit', None) + self.aggregation_type = kwargs.get('aggregation_type', None) + self.dimensions = kwargs.get('dimensions', None) + self.fill_gap_with_zero = kwargs.get('fill_gap_with_zero', None) + self.category = kwargs.get('category', None) + self.resource_id_dimension_name_override = kwargs.get('resource_id_dimension_name_override', None) + self.supported_time_grain_types = kwargs.get('supported_time_grain_types', None) + self.supported_aggregation_types = kwargs.get('supported_aggregation_types', None) + + +class MonitoringMetricConfiguration(ARMBaseModel): + """The metric setting details for the role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: MonitoringConfiguration on ASE device. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param metric_configurations: Required. The metrics configuration details. + :type metric_configurations: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MetricConfiguration] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'metric_configurations': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'metric_configurations': {'key': 'properties.metricConfigurations', 'type': '[MetricConfiguration]'}, + } + + def __init__( + self, + **kwargs + ): + super(MonitoringMetricConfiguration, self).__init__(**kwargs) + self.system_data = None + self.metric_configurations = kwargs['metric_configurations'] + + +class MonitoringMetricConfigurationList(msrest.serialization.Model): + """Collection of metric configurations. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of metric configurations. + :vartype value: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MonitoringMetricConfiguration] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[MonitoringMetricConfiguration]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MonitoringMetricConfigurationList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class MountPointMap(msrest.serialization.Model): + """The share mount point. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param share_id: Required. ID of the share mounted to the role VM. + :type share_id: str + :ivar role_id: ID of the role to which share is mounted. + :vartype role_id: str + :ivar mount_point: Mount point for the share. + :vartype mount_point: str + :ivar mount_type: Mounting type. Possible values include: "Volume", "HostPath". + :vartype mount_type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.MountType + :ivar role_type: Role type. Possible values include: "IOT", "ASA", "Functions", "Cognitive", + "MEC", "CloudEdgeManagement", "Kubernetes". + :vartype role_type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleTypes + """ + + _validation = { + 'share_id': {'required': True}, + 'role_id': {'readonly': True}, + 'mount_point': {'readonly': True}, + 'mount_type': {'readonly': True}, + 'role_type': {'readonly': True}, + } + + _attribute_map = { + 'share_id': {'key': 'shareId', 'type': 'str'}, + 'role_id': {'key': 'roleId', 'type': 'str'}, + 'mount_point': {'key': 'mountPoint', 'type': 'str'}, + 'mount_type': {'key': 'mountType', 'type': 'str'}, + 'role_type': {'key': 'roleType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MountPointMap, self).__init__(**kwargs) + self.share_id = kwargs['share_id'] + self.role_id = None + self.mount_point = None + self.mount_type = None + self.role_type = None + + +class NetworkAdapter(msrest.serialization.Model): + """Represents the networkAdapter on a device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar adapter_id: Instance ID of network adapter. + :vartype adapter_id: str + :ivar adapter_position: Hardware position of network adapter. + :vartype adapter_position: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.NetworkAdapterPosition + :ivar index: Logical index of the adapter. + :vartype index: int + :ivar node_id: Node ID of the network adapter. + :vartype node_id: str + :ivar network_adapter_name: Network adapter name. + :vartype network_adapter_name: str + :ivar label: Hardware label for the adapter. + :vartype label: str + :ivar mac_address: MAC address. + :vartype mac_address: str + :ivar link_speed: Link speed. + :vartype link_speed: long + :ivar status: Value indicating whether this adapter is valid. Possible values include: + "Inactive", "Active". + :vartype status: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.NetworkAdapterStatus + :param rdma_status: Value indicating whether this adapter is RDMA capable. Possible values + include: "Incapable", "Capable". + :type rdma_status: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.NetworkAdapterRDMAStatus + :param dhcp_status: Value indicating whether this adapter has DHCP enabled. Possible values + include: "Disabled", "Enabled". + :type dhcp_status: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.NetworkAdapterDHCPStatus + :ivar ipv4_configuration: The IPv4 configuration of the network adapter. + :vartype ipv4_configuration: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Ipv4Config + :ivar ipv6_configuration: The IPv6 configuration of the network adapter. + :vartype ipv6_configuration: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Ipv6Config + :ivar ipv6_link_local_address: The IPv6 local address. + :vartype ipv6_link_local_address: str + :ivar dns_servers: The list of DNS Servers of the device. + :vartype dns_servers: list[str] + """ + + _validation = { + 'adapter_id': {'readonly': True}, + 'adapter_position': {'readonly': True}, + 'index': {'readonly': True}, + 'node_id': {'readonly': True}, + 'network_adapter_name': {'readonly': True}, + 'label': {'readonly': True}, + 'mac_address': {'readonly': True}, + 'link_speed': {'readonly': True}, + 'status': {'readonly': True}, + 'ipv4_configuration': {'readonly': True}, + 'ipv6_configuration': {'readonly': True}, + 'ipv6_link_local_address': {'readonly': True}, + 'dns_servers': {'readonly': True}, + } + + _attribute_map = { + 'adapter_id': {'key': 'adapterId', 'type': 'str'}, + 'adapter_position': {'key': 'adapterPosition', 'type': 'NetworkAdapterPosition'}, + 'index': {'key': 'index', 'type': 'int'}, + 'node_id': {'key': 'nodeId', 'type': 'str'}, + 'network_adapter_name': {'key': 'networkAdapterName', 'type': 'str'}, + 'label': {'key': 'label', 'type': 'str'}, + 'mac_address': {'key': 'macAddress', 'type': 'str'}, + 'link_speed': {'key': 'linkSpeed', 'type': 'long'}, + 'status': {'key': 'status', 'type': 'str'}, + 'rdma_status': {'key': 'rdmaStatus', 'type': 'str'}, + 'dhcp_status': {'key': 'dhcpStatus', 'type': 'str'}, + 'ipv4_configuration': {'key': 'ipv4Configuration', 'type': 'Ipv4Config'}, + 'ipv6_configuration': {'key': 'ipv6Configuration', 'type': 'Ipv6Config'}, + 'ipv6_link_local_address': {'key': 'ipv6LinkLocalAddress', 'type': 'str'}, + 'dns_servers': {'key': 'dnsServers', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkAdapter, self).__init__(**kwargs) + self.adapter_id = None + self.adapter_position = None + self.index = None + self.node_id = None + self.network_adapter_name = None + self.label = None + self.mac_address = None + self.link_speed = None + self.status = None + self.rdma_status = kwargs.get('rdma_status', None) + self.dhcp_status = kwargs.get('dhcp_status', None) + self.ipv4_configuration = None + self.ipv6_configuration = None + self.ipv6_link_local_address = None + self.dns_servers = None + + +class NetworkAdapterPosition(msrest.serialization.Model): + """The network adapter position. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar network_group: The network group. Possible values include: "None", "NonRDMA", "RDMA". + :vartype network_group: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.NetworkGroup + :ivar port: The port. + :vartype port: int + """ + + _validation = { + 'network_group': {'readonly': True}, + 'port': {'readonly': True}, + } + + _attribute_map = { + 'network_group': {'key': 'networkGroup', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkAdapterPosition, self).__init__(**kwargs) + self.network_group = None + self.port = None + + +class NetworkSettings(ARMBaseModel): + """The network settings of a device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: NetworkSettings on ASE device. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :ivar network_adapters: The network adapter list on the device. + :vartype network_adapters: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.NetworkAdapter] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'network_adapters': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'network_adapters': {'key': 'properties.networkAdapters', 'type': '[NetworkAdapter]'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkSettings, self).__init__(**kwargs) + self.system_data = None + self.network_adapters = None + + +class Node(ARMBaseModel): + """Represents a single node in a Data box Edge/Gateway device +Gateway devices, standalone Edge devices and a single node cluster Edge device will all have 1 node +Multi-node Edge devices will have more than 1 nodes. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar node_status: The current status of the individual node. Possible values include: + "Unknown", "Up", "Down", "Rebooting", "ShuttingDown". + :vartype node_status: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.NodeStatus + :ivar node_chassis_serial_number: Serial number of the Chassis. + :vartype node_chassis_serial_number: str + :ivar node_serial_number: Serial number of the individual node. + :vartype node_serial_number: str + :ivar node_display_name: Display Name of the individual node. + :vartype node_display_name: str + :ivar node_friendly_software_version: Friendly software version name that is currently + installed on the node. + :vartype node_friendly_software_version: str + :ivar node_hcs_version: HCS version that is currently installed on the node. + :vartype node_hcs_version: str + :ivar node_instance_id: Guid instance id of the node. + :vartype node_instance_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'node_status': {'readonly': True}, + 'node_chassis_serial_number': {'readonly': True}, + 'node_serial_number': {'readonly': True}, + 'node_display_name': {'readonly': True}, + 'node_friendly_software_version': {'readonly': True}, + 'node_hcs_version': {'readonly': True}, + 'node_instance_id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'node_status': {'key': 'properties.nodeStatus', 'type': 'str'}, + 'node_chassis_serial_number': {'key': 'properties.nodeChassisSerialNumber', 'type': 'str'}, + 'node_serial_number': {'key': 'properties.nodeSerialNumber', 'type': 'str'}, + 'node_display_name': {'key': 'properties.nodeDisplayName', 'type': 'str'}, + 'node_friendly_software_version': {'key': 'properties.nodeFriendlySoftwareVersion', 'type': 'str'}, + 'node_hcs_version': {'key': 'properties.nodeHcsVersion', 'type': 'str'}, + 'node_instance_id': {'key': 'properties.nodeInstanceId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Node, self).__init__(**kwargs) + self.node_status = None + self.node_chassis_serial_number = None + self.node_serial_number = None + self.node_display_name = None + self.node_friendly_software_version = None + self.node_hcs_version = None + self.node_instance_id = None + + +class NodeInfo(msrest.serialization.Model): + """Kubernetes node info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Node name. + :vartype name: str + :ivar type: Node type - Master/Worker. Possible values include: "Invalid", "Master", "Worker". + :vartype type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.KubernetesNodeType + :param ip_configuration: IP Configuration of the Kubernetes node. + :type ip_configuration: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.KubernetesIPConfiguration] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'ip_configuration': {'key': 'ipConfiguration', 'type': '[KubernetesIPConfiguration]'}, + } + + def __init__( + self, + **kwargs + ): + super(NodeInfo, self).__init__(**kwargs) + self.name = None + self.type = None + self.ip_configuration = kwargs.get('ip_configuration', None) + + +class NodeList(msrest.serialization.Model): + """Collection of Nodes. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of Nodes. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Node] + :param next_link: Link to the next set of results. + :type next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Node]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NodeList, self).__init__(**kwargs) + self.value = None + self.next_link = kwargs.get('next_link', None) + + +class Operation(msrest.serialization.Model): + """Operations. + + :param name: Name of the operation. + :type name: str + :param display: Properties displayed for the operation. + :type display: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.OperationDisplay + :param origin: Origin of the operation. + :type origin: str + :param is_data_action: Indicates whether the operation is a data action. + :type is_data_action: bool + :param service_specification: Service specification. + :type service_specification: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ServiceSpecification + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'OperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, + 'service_specification': {'key': 'properties.serviceSpecification', 'type': 'ServiceSpecification'}, + } + + def __init__( + self, + **kwargs + ): + super(Operation, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display = kwargs.get('display', None) + self.origin = kwargs.get('origin', None) + self.is_data_action = kwargs.get('is_data_action', None) + self.service_specification = kwargs.get('service_specification', None) + + +class OperationDisplay(msrest.serialization.Model): + """Operation display properties. + + :param provider: Provider name. + :type provider: str + :param resource: The type of resource in which the operation is performed. + :type resource: str + :param operation: Operation to be performed on the resource. + :type operation: str + :param description: Description of the operation to be performed. + :type description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OperationDisplay, self).__init__(**kwargs) + self.provider = kwargs.get('provider', None) + self.resource = kwargs.get('resource', None) + self.operation = kwargs.get('operation', None) + self.description = kwargs.get('description', None) + + +class OperationsList(msrest.serialization.Model): + """The list of operations used for the discovery of available provider operations. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. The value. + :type value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Operation] + :param next_link: Link to the next set of results. + :type next_link: str + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Operation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OperationsList, self).__init__(**kwargs) + self.value = kwargs['value'] + self.next_link = kwargs.get('next_link', None) + + +class Order(ARMBaseModel): + """The order details. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Order configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param contact_information: The contact details. + :type contact_information: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ContactDetails + :param shipping_address: The shipping address. + :type shipping_address: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Address + :ivar current_status: Current status of the order. + :vartype current_status: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.OrderStatus + :ivar order_history: List of status changes in the order. + :vartype order_history: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.OrderStatus] + :ivar serial_number: Serial number of the device. + :vartype serial_number: str + :ivar delivery_tracking_info: Tracking information for the package delivered to the customer + whether it has an original or a replacement device. + :vartype delivery_tracking_info: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.TrackingInfo] + :ivar return_tracking_info: Tracking information for the package returned from the customer + whether it has an original or a replacement device. + :vartype return_tracking_info: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.TrackingInfo] + :param shipment_type: ShipmentType of the order. Possible values include: "NotApplicable", + "ShippedToCustomer", "SelfPickup". + :type shipment_type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ShipmentType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'current_status': {'readonly': True}, + 'order_history': {'readonly': True}, + 'serial_number': {'readonly': True}, + 'delivery_tracking_info': {'readonly': True}, + 'return_tracking_info': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'contact_information': {'key': 'properties.contactInformation', 'type': 'ContactDetails'}, + 'shipping_address': {'key': 'properties.shippingAddress', 'type': 'Address'}, + 'current_status': {'key': 'properties.currentStatus', 'type': 'OrderStatus'}, + 'order_history': {'key': 'properties.orderHistory', 'type': '[OrderStatus]'}, + 'serial_number': {'key': 'properties.serialNumber', 'type': 'str'}, + 'delivery_tracking_info': {'key': 'properties.deliveryTrackingInfo', 'type': '[TrackingInfo]'}, + 'return_tracking_info': {'key': 'properties.returnTrackingInfo', 'type': '[TrackingInfo]'}, + 'shipment_type': {'key': 'properties.shipmentType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Order, self).__init__(**kwargs) + self.system_data = None + self.contact_information = kwargs.get('contact_information', None) + self.shipping_address = kwargs.get('shipping_address', None) + self.current_status = None + self.order_history = None + self.serial_number = None + self.delivery_tracking_info = None + self.return_tracking_info = None + self.shipment_type = kwargs.get('shipment_type', None) + + +class OrderList(msrest.serialization.Model): + """List of order entities. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of orders. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Order] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Order]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OrderList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class OrderStatus(msrest.serialization.Model): + """Represents a single status change. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param status: Required. Status of the order as per the allowed status types. Possible values + include: "Untracked", "AwaitingFulfillment", "AwaitingPreparation", "AwaitingShipment", + "Shipped", "Arriving", "Delivered", "ReplacementRequested", "LostDevice", "Declined", + "ReturnInitiated", "AwaitingReturnShipment", "ShippedBack", "CollectedAtMicrosoft", + "AwaitingPickup", "PickupCompleted", "AwaitingDrop". + :type status: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.OrderState + :ivar update_date_time: Time of status update. + :vartype update_date_time: ~datetime.datetime + :param comments: Comments related to this status change. + :type comments: str + :ivar tracking_information: Tracking information related to the state in the ordering flow. + :vartype tracking_information: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.TrackingInfo + :ivar additional_order_details: Dictionary to hold generic information which is not stored + by the already existing properties. + :vartype additional_order_details: dict[str, str] + """ + + _validation = { + 'status': {'required': True}, + 'update_date_time': {'readonly': True}, + 'tracking_information': {'readonly': True}, + 'additional_order_details': {'readonly': True}, + } + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + 'update_date_time': {'key': 'updateDateTime', 'type': 'iso-8601'}, + 'comments': {'key': 'comments', 'type': 'str'}, + 'tracking_information': {'key': 'trackingInformation', 'type': 'TrackingInfo'}, + 'additional_order_details': {'key': 'additionalOrderDetails', 'type': '{str}'}, + } + + def __init__( + self, + **kwargs + ): + super(OrderStatus, self).__init__(**kwargs) + self.status = kwargs['status'] + self.update_date_time = None + self.comments = kwargs.get('comments', None) + self.tracking_information = None + self.additional_order_details = None + + +class PeriodicTimerEventTrigger(Trigger): + """Trigger details. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Trigger in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: + "FileEvent", "PeriodicTimerEvent". + :type kind: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.TriggerEventType + :param source_info: Required. Periodic timer details. + :type source_info: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.PeriodicTimerSourceInfo + :param sink_info: Required. Role Sink information. + :type sink_info: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleSinkInfo + :param custom_context_tag: A custom context tag typically used to correlate the trigger against + its usage. For example, if a periodic timer trigger is intended for certain specific IoT + modules in the device, the tag can be the name or the image URL of the module. + :type custom_context_tag: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'kind': {'required': True}, + 'source_info': {'required': True}, + 'sink_info': {'required': True}, + 'custom_context_tag': {'max_length': 192, 'min_length': 0}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'source_info': {'key': 'properties.sourceInfo', 'type': 'PeriodicTimerSourceInfo'}, + 'sink_info': {'key': 'properties.sinkInfo', 'type': 'RoleSinkInfo'}, + 'custom_context_tag': {'key': 'properties.customContextTag', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PeriodicTimerEventTrigger, self).__init__(**kwargs) + self.kind = 'PeriodicTimerEvent' # type: str + self.source_info = kwargs['source_info'] + self.sink_info = kwargs['sink_info'] + self.custom_context_tag = kwargs.get('custom_context_tag', None) + + +class PeriodicTimerSourceInfo(msrest.serialization.Model): + """Periodic timer event source. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. The time of the day that results in a valid trigger. Schedule is + computed with reference to the time specified upto seconds. If timezone is not specified the + time will considered to be in device timezone. The value will always be returned as UTC time. + :type start_time: ~datetime.datetime + :param schedule: Required. Periodic frequency at which timer event needs to be raised. Supports + daily, hourly, minutes, and seconds. + :type schedule: str + :param topic: Topic where periodic events are published to IoT device. + :type topic: str + """ + + _validation = { + 'start_time': {'required': True}, + 'schedule': {'required': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'schedule': {'key': 'schedule', 'type': 'str'}, + 'topic': {'key': 'topic', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PeriodicTimerSourceInfo, self).__init__(**kwargs) + self.start_time = kwargs['start_time'] + self.schedule = kwargs['schedule'] + self.topic = kwargs.get('topic', None) + + +class RefreshDetails(msrest.serialization.Model): + """Fields for tracking refresh job on the share or container. + + :param in_progress_refresh_job_id: If a refresh job is currently in progress on this share or + container, this field indicates the ARM resource ID of that job. The field is empty if no job + is in progress. + :type in_progress_refresh_job_id: str + :param last_completed_refresh_job_time_in_utc: Indicates the completed time for the last + refresh job on this particular share or container, if any.This could be a failed job or a + successful job. + :type last_completed_refresh_job_time_in_utc: ~datetime.datetime + :param error_manifest_file: Indicates the relative path of the error xml for the last refresh + job on this particular share or container, if any. This could be a failed job or a successful + job. + :type error_manifest_file: str + :param last_job: Indicates the id of the last refresh job on this particular share or + container,if any. This could be a failed job or a successful job. + :type last_job: str + """ + + _attribute_map = { + 'in_progress_refresh_job_id': {'key': 'inProgressRefreshJobId', 'type': 'str'}, + 'last_completed_refresh_job_time_in_utc': {'key': 'lastCompletedRefreshJobTimeInUTC', 'type': 'iso-8601'}, + 'error_manifest_file': {'key': 'errorManifestFile', 'type': 'str'}, + 'last_job': {'key': 'lastJob', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RefreshDetails, self).__init__(**kwargs) + self.in_progress_refresh_job_id = kwargs.get('in_progress_refresh_job_id', None) + self.last_completed_refresh_job_time_in_utc = kwargs.get('last_completed_refresh_job_time_in_utc', None) + self.error_manifest_file = kwargs.get('error_manifest_file', None) + self.last_job = kwargs.get('last_job', None) + + +class ResourceIdentity(msrest.serialization.Model): + """Msi identity details of the resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param type: Identity type. Possible values include: "None", "SystemAssigned", "UserAssigned". + :type type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.MsiIdentityType + :ivar principal_id: Service Principal Id backing the Msi. + :vartype principal_id: str + :ivar tenant_id: Home Tenant Id. + :vartype tenant_id: str + """ + + _validation = { + 'principal_id': {'readonly': True}, + 'tenant_id': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'principal_id': {'key': 'principalId', 'type': 'str'}, + 'tenant_id': {'key': 'tenantId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceIdentity, self).__init__(**kwargs) + self.type = kwargs.get('type', None) + self.principal_id = None + self.tenant_id = None + + +class ResourceMoveDetails(msrest.serialization.Model): + """Fields for tracking resource move. + + :param operation_in_progress: Denotes whether move operation is in progress. Possible values + include: "None", "ResourceMoveInProgress", "ResourceMoveFailed". + :type operation_in_progress: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ResourceMoveStatus + :param operation_in_progress_lock_timeout_in_utc: Denotes the timeout of the operation to + finish. + :type operation_in_progress_lock_timeout_in_utc: ~datetime.datetime + """ + + _attribute_map = { + 'operation_in_progress': {'key': 'operationInProgress', 'type': 'str'}, + 'operation_in_progress_lock_timeout_in_utc': {'key': 'operationInProgressLockTimeoutInUTC', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceMoveDetails, self).__init__(**kwargs) + self.operation_in_progress = kwargs.get('operation_in_progress', None) + self.operation_in_progress_lock_timeout_in_utc = kwargs.get('operation_in_progress_lock_timeout_in_utc', None) + + +class ResourceTypeSku(msrest.serialization.Model): + """Resource type Sku object. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar resource_type: The resource type. + :vartype resource_type: str + :ivar skus: The skus. + :vartype skus: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.SkuInformation] + """ + + _validation = { + 'resource_type': {'readonly': True}, + 'skus': {'readonly': True}, + } + + _attribute_map = { + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'skus': {'key': 'skus', 'type': '[SkuInformation]'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceTypeSku, self).__init__(**kwargs) + self.resource_type = None + self.skus = None + + +class RoleList(msrest.serialization.Model): + """Collection of all the roles on the Data Box Edge device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The Value. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Role] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Role]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RoleList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class RoleSinkInfo(msrest.serialization.Model): + """Compute role against which events will be raised. + + All required parameters must be populated in order to send to Azure. + + :param role_id: Required. Compute role ID. + :type role_id: str + """ + + _validation = { + 'role_id': {'required': True}, + } + + _attribute_map = { + 'role_id': {'key': 'roleId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RoleSinkInfo, self).__init__(**kwargs) + self.role_id = kwargs['role_id'] + + +class Secret(msrest.serialization.Model): + """Holds device secret either as a KeyVault reference or as an encrypted value. + + :param encrypted_secret: Encrypted (using device public key) secret value. + :type encrypted_secret: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AsymmetricEncryptedSecret + :param key_vault_id: Id of the Key-Vault where secret is stored (ex: + secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740). + :type key_vault_id: str + """ + + _attribute_map = { + 'encrypted_secret': {'key': 'encryptedSecret', 'type': 'AsymmetricEncryptedSecret'}, + 'key_vault_id': {'key': 'keyVaultId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Secret, self).__init__(**kwargs) + self.encrypted_secret = kwargs.get('encrypted_secret', None) + self.key_vault_id = kwargs.get('key_vault_id', None) + + +class SecuritySettings(ARMBaseModel): + """The security settings of a device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param device_admin_password: Required. Device administrator password as an encrypted string + (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual + password should have at least 8 characters that are a combination of uppercase, lowercase, + numeric, and special characters. + :type device_admin_password: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AsymmetricEncryptedSecret + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'device_admin_password': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'device_admin_password': {'key': 'properties.deviceAdminPassword', 'type': 'AsymmetricEncryptedSecret'}, + } + + def __init__( + self, + **kwargs + ): + super(SecuritySettings, self).__init__(**kwargs) + self.device_admin_password = kwargs['device_admin_password'] + + +class ServiceSpecification(msrest.serialization.Model): + """Service specification. + + :param metric_specifications: Metric specification as defined by shoebox. + :type metric_specifications: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MetricSpecificationV1] + """ + + _attribute_map = { + 'metric_specifications': {'key': 'metricSpecifications', 'type': '[MetricSpecificationV1]'}, + } + + def __init__( + self, + **kwargs + ): + super(ServiceSpecification, self).__init__(**kwargs) + self.metric_specifications = kwargs.get('metric_specifications', None) + + +class Share(ARMBaseModel): + """Represents a share on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Share on ASE device. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param description: Description for the share. + :type description: str + :param share_status: Required. Current status of the share. Possible values include: "Offline", + "Unknown", "OK", "Updating", "NeedsAttention". + :type share_status: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ShareStatus + :param monitoring_status: Required. Current monitoring status of the share. Possible values + include: "Enabled", "Disabled". + :type monitoring_status: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.MonitoringStatus + :param azure_container_info: Azure container mapping for the share. + :type azure_container_info: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AzureContainerInfo + :param access_protocol: Required. Access protocol to be used by the share. Possible values + include: "SMB", "NFS". + :type access_protocol: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ShareAccessProtocol + :param user_access_rights: Mapping of users and corresponding access rights on the share + (required for SMB protocol). + :type user_access_rights: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.UserAccessRight] + :param client_access_rights: List of IP addresses and corresponding access rights on the + share(required for NFS protocol). + :type client_access_rights: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.ClientAccessRight] + :param refresh_details: Details of the refresh job on this share. + :type refresh_details: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RefreshDetails + :ivar share_mappings: Share mount point to the role. + :vartype share_mappings: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MountPointMap] + :param data_policy: Data policy of the share. Possible values include: "Cloud", "Local". + :type data_policy: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataPolicy + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'share_status': {'required': True}, + 'monitoring_status': {'required': True}, + 'access_protocol': {'required': True}, + 'share_mappings': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'share_status': {'key': 'properties.shareStatus', 'type': 'str'}, + 'monitoring_status': {'key': 'properties.monitoringStatus', 'type': 'str'}, + 'azure_container_info': {'key': 'properties.azureContainerInfo', 'type': 'AzureContainerInfo'}, + 'access_protocol': {'key': 'properties.accessProtocol', 'type': 'str'}, + 'user_access_rights': {'key': 'properties.userAccessRights', 'type': '[UserAccessRight]'}, + 'client_access_rights': {'key': 'properties.clientAccessRights', 'type': '[ClientAccessRight]'}, + 'refresh_details': {'key': 'properties.refreshDetails', 'type': 'RefreshDetails'}, + 'share_mappings': {'key': 'properties.shareMappings', 'type': '[MountPointMap]'}, + 'data_policy': {'key': 'properties.dataPolicy', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Share, self).__init__(**kwargs) + self.system_data = None + self.description = kwargs.get('description', None) + self.share_status = kwargs['share_status'] + self.monitoring_status = kwargs['monitoring_status'] + self.azure_container_info = kwargs.get('azure_container_info', None) + self.access_protocol = kwargs['access_protocol'] + self.user_access_rights = kwargs.get('user_access_rights', None) + self.client_access_rights = kwargs.get('client_access_rights', None) + self.refresh_details = kwargs.get('refresh_details', None) + self.share_mappings = None + self.data_policy = kwargs.get('data_policy', None) + + +class ShareAccessRight(msrest.serialization.Model): + """Specifies the mapping between this particular user and the type of access he has on shares on this device. + + All required parameters must be populated in order to send to Azure. + + :param share_id: Required. The share ID. + :type share_id: str + :param access_type: Required. Type of access to be allowed on the share for this user. Possible + values include: "Change", "Read", "Custom". + :type access_type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ShareAccessType + """ + + _validation = { + 'share_id': {'required': True}, + 'access_type': {'required': True}, + } + + _attribute_map = { + 'share_id': {'key': 'shareId', 'type': 'str'}, + 'access_type': {'key': 'accessType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ShareAccessRight, self).__init__(**kwargs) + self.share_id = kwargs['share_id'] + self.access_type = kwargs['access_type'] + + +class ShareList(msrest.serialization.Model): + """Collection of all the shares on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of shares. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Share] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Share]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ShareList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class Sku(msrest.serialization.Model): + """The SKU type. + + :param name: SKU name. Possible values include: "Gateway", "Edge", "TEA_1Node", + "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", + "TEA_4Node_UPS_Heater", "TMA", "TDC", "TCA_Small", "GPU", "TCA_Large", "EdgeP_Base", + "EdgeP_High", "EdgePR_Base", "EdgePR_Base_UPS", "EP2_64_1VPU_W", "EP2_128_1T4_Mx1_W", + "EP2_256_2T4_W", "EdgeMR_Mini", "RCA_Small", "RCA_Large", "RDC", "Management". + :type name: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SkuName + :param tier: The SKU tier. This is based on the SKU name. Possible values include: "Standard". + :type tier: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SkuTier + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Sku, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.tier = kwargs.get('tier', None) + + +class SkuCost(msrest.serialization.Model): + """The metadata for retrieving price info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar meter_id: Used for querying price from commerce. + :vartype meter_id: str + :ivar quantity: The cost quantity. + :vartype quantity: long + :ivar extended_unit: The extended unit. + :vartype extended_unit: str + """ + + _validation = { + 'meter_id': {'readonly': True}, + 'quantity': {'readonly': True}, + 'extended_unit': {'readonly': True}, + } + + _attribute_map = { + 'meter_id': {'key': 'meterId', 'type': 'str'}, + 'quantity': {'key': 'quantity', 'type': 'long'}, + 'extended_unit': {'key': 'extendedUnit', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuCost, self).__init__(**kwargs) + self.meter_id = None + self.quantity = None + self.extended_unit = None + + +class SkuInformation(msrest.serialization.Model): + """Sku information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: The sku name. + :vartype name: str + :ivar tier: The sku tier. + :vartype tier: str + :ivar kind: The sku kind. + :vartype kind: str + :ivar family: The Sku family. + :vartype family: str + :ivar costs: The pricing info of the Sku. + :vartype costs: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.SkuCost] + :ivar locations: The locations where Sku is available. + :vartype locations: list[str] + :ivar location_info: The locations where Sku is available with zones and sites info. + :vartype location_info: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.SkuLocationInfo] + :ivar required_quota_ids: The required quotaIds for the sku to be available. + :vartype required_quota_ids: list[str] + :ivar required_features: The required features for the sku to be available. + :vartype required_features: list[str] + """ + + _validation = { + 'name': {'readonly': True}, + 'tier': {'readonly': True}, + 'kind': {'readonly': True}, + 'family': {'readonly': True}, + 'costs': {'readonly': True}, + 'locations': {'readonly': True}, + 'location_info': {'readonly': True}, + 'required_quota_ids': {'readonly': True}, + 'required_features': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'costs': {'key': 'costs', 'type': '[SkuCost]'}, + 'locations': {'key': 'locations', 'type': '[str]'}, + 'location_info': {'key': 'locationInfo', 'type': '[SkuLocationInfo]'}, + 'required_quota_ids': {'key': 'requiredQuotaIds', 'type': '[str]'}, + 'required_features': {'key': 'requiredFeatures', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuInformation, self).__init__(**kwargs) + self.name = None + self.tier = None + self.kind = None + self.family = None + self.costs = None + self.locations = None + self.location_info = None + self.required_quota_ids = None + self.required_features = None + + +class SkuInformationList(msrest.serialization.Model): + """List of SKU Information objects. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of ResourceTypeSku objects. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.ResourceTypeSku] + :ivar next_link: Links to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ResourceTypeSku]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuInformationList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SkuLocationInfo(msrest.serialization.Model): + """The location info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar location: The location. + :vartype location: str + :ivar zones: The zones. + :vartype zones: list[str] + :ivar sites: The sites. + :vartype sites: list[str] + """ + + _validation = { + 'location': {'readonly': True}, + 'zones': {'readonly': True}, + 'sites': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + 'sites': {'key': 'sites', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuLocationInfo, self).__init__(**kwargs) + self.location = None + self.zones = None + self.sites = None + + +class StorageAccount(ARMBaseModel): + """Represents a Storage Account on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: StorageAccount object on ASE device. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param description: Description for the storage Account. + :type description: str + :param storage_account_status: Current status of the storage account. Possible values include: + "OK", "Offline", "Unknown", "Updating", "NeedsAttention". + :type storage_account_status: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.StorageAccountStatus + :param data_policy: Required. Data policy of the storage Account. Possible values include: + "Cloud", "Local". + :type data_policy: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataPolicy + :param storage_account_credential_id: Storage Account Credential Id. + :type storage_account_credential_id: str + :ivar blob_endpoint: BlobEndpoint of Storage Account. + :vartype blob_endpoint: str + :ivar container_count: The Container Count. Present only for Storage Accounts with DataPolicy + set to Cloud. + :vartype container_count: int + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'data_policy': {'required': True}, + 'blob_endpoint': {'readonly': True}, + 'container_count': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'storage_account_status': {'key': 'properties.storageAccountStatus', 'type': 'str'}, + 'data_policy': {'key': 'properties.dataPolicy', 'type': 'str'}, + 'storage_account_credential_id': {'key': 'properties.storageAccountCredentialId', 'type': 'str'}, + 'blob_endpoint': {'key': 'properties.blobEndpoint', 'type': 'str'}, + 'container_count': {'key': 'properties.containerCount', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(StorageAccount, self).__init__(**kwargs) + self.system_data = None + self.description = kwargs.get('description', None) + self.storage_account_status = kwargs.get('storage_account_status', None) + self.data_policy = kwargs['data_policy'] + self.storage_account_credential_id = kwargs.get('storage_account_credential_id', None) + self.blob_endpoint = None + self.container_count = None + + +class StorageAccountCredential(ARMBaseModel): + """The storage account credential. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: StorageAccountCredential object. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param alias: Required. Alias for the storage account. + :type alias: str + :param user_name: Username for the storage account. + :type user_name: str + :param account_key: Encrypted storage key. + :type account_key: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AsymmetricEncryptedSecret + :param connection_string: Connection string for the storage account. Use this string if + username and account key are not specified. + :type connection_string: str + :param ssl_status: Required. Signifies whether SSL needs to be enabled or not. Possible values + include: "Enabled", "Disabled". + :type ssl_status: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SSLStatus + :param blob_domain_name: Blob end point for private clouds. + :type blob_domain_name: str + :param account_type: Required. Type of storage accessed on the storage account. Possible values + include: "GeneralPurposeStorage", "BlobStorage". + :type account_type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AccountType + :param storage_account_id: Id of the storage account. + :type storage_account_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'alias': {'required': True}, + 'ssl_status': {'required': True}, + 'account_type': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'alias': {'key': 'properties.alias', 'type': 'str'}, + 'user_name': {'key': 'properties.userName', 'type': 'str'}, + 'account_key': {'key': 'properties.accountKey', 'type': 'AsymmetricEncryptedSecret'}, + 'connection_string': {'key': 'properties.connectionString', 'type': 'str'}, + 'ssl_status': {'key': 'properties.sslStatus', 'type': 'str'}, + 'blob_domain_name': {'key': 'properties.blobDomainName', 'type': 'str'}, + 'account_type': {'key': 'properties.accountType', 'type': 'str'}, + 'storage_account_id': {'key': 'properties.storageAccountId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StorageAccountCredential, self).__init__(**kwargs) + self.system_data = None + self.alias = kwargs['alias'] + self.user_name = kwargs.get('user_name', None) + self.account_key = kwargs.get('account_key', None) + self.connection_string = kwargs.get('connection_string', None) + self.ssl_status = kwargs['ssl_status'] + self.blob_domain_name = kwargs.get('blob_domain_name', None) + self.account_type = kwargs['account_type'] + self.storage_account_id = kwargs.get('storage_account_id', None) + + +class StorageAccountCredentialList(msrest.serialization.Model): + """The collection of storage account credentials. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The value. + :vartype value: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.StorageAccountCredential] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[StorageAccountCredential]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StorageAccountCredentialList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class StorageAccountList(msrest.serialization.Model): + """Collection of all the Storage Accounts on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of storageAccounts. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.StorageAccount] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[StorageAccount]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StorageAccountList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SubscriptionRegisteredFeatures(msrest.serialization.Model): + """SubscriptionRegisteredFeatures. + + :param name: + :type name: str + :param state: + :type state: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SubscriptionRegisteredFeatures, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.state = kwargs.get('state', None) + + +class SymmetricKey(msrest.serialization.Model): + """Symmetric key for authentication. + + :param connection_string: Connection string based on the symmetric key. + :type connection_string: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AsymmetricEncryptedSecret + """ + + _attribute_map = { + 'connection_string': {'key': 'connectionString', 'type': 'AsymmetricEncryptedSecret'}, + } + + def __init__( + self, + **kwargs + ): + super(SymmetricKey, self).__init__(**kwargs) + self.connection_string = kwargs.get('connection_string', None) + + +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :param created_by: The identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :type created_by_type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.CreatedByType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: ~datetime.datetime + :param last_modified_by: The identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :type last_modified_by_type: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.CreatedByType + :param last_modified_at: The type of identity that last modified the resource. + :type last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(SystemData, self).__init__(**kwargs) + self.created_by = kwargs.get('created_by', None) + self.created_by_type = kwargs.get('created_by_type', None) + self.created_at = kwargs.get('created_at', None) + self.last_modified_by = kwargs.get('last_modified_by', None) + self.last_modified_by_type = kwargs.get('last_modified_by_type', None) + self.last_modified_at = kwargs.get('last_modified_at', None) + + +class TrackingInfo(msrest.serialization.Model): + """Tracking courier information. + + :param serial_number: Serial number of the device being tracked. + :type serial_number: str + :param carrier_name: Name of the carrier used in the delivery. + :type carrier_name: str + :param tracking_id: Tracking ID of the shipment. + :type tracking_id: str + :param tracking_url: Tracking URL of the shipment. + :type tracking_url: str + """ + + _attribute_map = { + 'serial_number': {'key': 'serialNumber', 'type': 'str'}, + 'carrier_name': {'key': 'carrierName', 'type': 'str'}, + 'tracking_id': {'key': 'trackingId', 'type': 'str'}, + 'tracking_url': {'key': 'trackingUrl', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TrackingInfo, self).__init__(**kwargs) + self.serial_number = kwargs.get('serial_number', None) + self.carrier_name = kwargs.get('carrier_name', None) + self.tracking_id = kwargs.get('tracking_id', None) + self.tracking_url = kwargs.get('tracking_url', None) + + +class TriggerList(msrest.serialization.Model): + """Collection of all trigger on the data box edge device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of triggers. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Trigger] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Trigger]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TriggerList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class UpdateDetails(msrest.serialization.Model): + """Update Specific attributes. + + :param update_title: Title of the Update. + :type update_title: str + :param update_size: Size of the update(In Bytes). + :type update_size: float + :param update_type: Type of the Update. Possible values include: "Software", "Kubernetes", + "Firmware". + :type update_type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.UpdateType + :param target_version: Target Version number. + :type target_version: str + :param estimated_install_time_in_mins: Estimated Install Time for the update. + :type estimated_install_time_in_mins: int + :param reboot_behavior: Indicates if updates are available and at least one of the updates + needs a reboot. Possible values include: "NeverReboots", "RequiresReboot", "RequestReboot". + :type reboot_behavior: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.InstallRebootBehavior + :param status: Status of the update. Possible values include: "DownloadPending", + "DownloadStarted", "DownloadCompleted", "InstallStarted", "InstallCompleted". + :type status: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.UpdateStatus + """ + + _attribute_map = { + 'update_title': {'key': 'updateTitle', 'type': 'str'}, + 'update_size': {'key': 'updateSize', 'type': 'float'}, + 'update_type': {'key': 'updateType', 'type': 'str'}, + 'target_version': {'key': 'targetVersion', 'type': 'str'}, + 'estimated_install_time_in_mins': {'key': 'estimatedInstallTimeInMins', 'type': 'int'}, + 'reboot_behavior': {'key': 'rebootBehavior', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UpdateDetails, self).__init__(**kwargs) + self.update_title = kwargs.get('update_title', None) + self.update_size = kwargs.get('update_size', None) + self.update_type = kwargs.get('update_type', None) + self.target_version = kwargs.get('target_version', None) + self.estimated_install_time_in_mins = kwargs.get('estimated_install_time_in_mins', None) + self.reboot_behavior = kwargs.get('reboot_behavior', None) + self.status = kwargs.get('status', None) + + +class UpdateDownloadProgress(msrest.serialization.Model): + """Details about the download progress of update. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar download_phase: The download phase. Possible values include: "Unknown", "Initializing", + "Downloading", "Verifying". + :vartype download_phase: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DownloadPhase + :ivar percent_complete: Percentage of completion. + :vartype percent_complete: int + :ivar total_bytes_to_download: Total bytes to download. + :vartype total_bytes_to_download: float + :ivar total_bytes_downloaded: Total bytes downloaded. + :vartype total_bytes_downloaded: float + :ivar number_of_updates_to_download: Number of updates to download. + :vartype number_of_updates_to_download: int + :ivar number_of_updates_downloaded: Number of updates downloaded. + :vartype number_of_updates_downloaded: int + """ + + _validation = { + 'download_phase': {'readonly': True}, + 'percent_complete': {'readonly': True}, + 'total_bytes_to_download': {'readonly': True}, + 'total_bytes_downloaded': {'readonly': True}, + 'number_of_updates_to_download': {'readonly': True}, + 'number_of_updates_downloaded': {'readonly': True}, + } + + _attribute_map = { + 'download_phase': {'key': 'downloadPhase', 'type': 'str'}, + 'percent_complete': {'key': 'percentComplete', 'type': 'int'}, + 'total_bytes_to_download': {'key': 'totalBytesToDownload', 'type': 'float'}, + 'total_bytes_downloaded': {'key': 'totalBytesDownloaded', 'type': 'float'}, + 'number_of_updates_to_download': {'key': 'numberOfUpdatesToDownload', 'type': 'int'}, + 'number_of_updates_downloaded': {'key': 'numberOfUpdatesDownloaded', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(UpdateDownloadProgress, self).__init__(**kwargs) + self.download_phase = None + self.percent_complete = None + self.total_bytes_to_download = None + self.total_bytes_downloaded = None + self.number_of_updates_to_download = None + self.number_of_updates_downloaded = None + + +class UpdateInstallProgress(msrest.serialization.Model): + """Progress details during installation of updates. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar percent_complete: Percentage completed. + :vartype percent_complete: int + :ivar number_of_updates_to_install: Number of updates to install. + :vartype number_of_updates_to_install: int + :ivar number_of_updates_installed: Number of updates installed. + :vartype number_of_updates_installed: int + """ + + _validation = { + 'percent_complete': {'readonly': True}, + 'number_of_updates_to_install': {'readonly': True}, + 'number_of_updates_installed': {'readonly': True}, + } + + _attribute_map = { + 'percent_complete': {'key': 'percentComplete', 'type': 'int'}, + 'number_of_updates_to_install': {'key': 'numberOfUpdatesToInstall', 'type': 'int'}, + 'number_of_updates_installed': {'key': 'numberOfUpdatesInstalled', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(UpdateInstallProgress, self).__init__(**kwargs) + self.percent_complete = None + self.number_of_updates_to_install = None + self.number_of_updates_installed = None + + +class UpdateSummary(ARMBaseModel): + """Details about ongoing updates and availability of updates on the device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: UpdateSummary Result. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param device_version_number: The current version of the device in format: 1.2.17312.13.",. + :type device_version_number: str + :param friendly_device_version_name: The current version of the device in text format. + :type friendly_device_version_name: str + :param device_last_scanned_date_time: The last time when a scan was done on the device. + :type device_last_scanned_date_time: ~datetime.datetime + :param last_completed_scan_job_date_time: The time when the last scan job was completed + (success/cancelled/failed) on the appliance. + :type last_completed_scan_job_date_time: ~datetime.datetime + :ivar last_completed_download_job_date_time: The time when the last Download job was completed + (success/cancelled/failed) on the appliance. + :vartype last_completed_download_job_date_time: ~datetime.datetime + :ivar last_completed_download_job_id: JobId of the last ran download job.(Can be + success/cancelled/failed). + :vartype last_completed_download_job_id: str + :ivar last_download_job_status: JobStatus of the last ran download job. Possible values + include: "Invalid", "Running", "Succeeded", "Failed", "Canceled", "Paused", "Scheduled". + :vartype last_download_job_status: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.JobStatus + :ivar last_completed_install_job_date_time: The time when the last Install job was completed + (success/cancelled/failed) on the appliance. + :vartype last_completed_install_job_date_time: ~datetime.datetime + :ivar last_completed_install_job_id: JobId of the last ran install job.(Can be + success/cancelled/failed). + :vartype last_completed_install_job_id: str + :ivar last_install_job_status: JobStatus of the last ran install job. Possible values include: + "Invalid", "Running", "Succeeded", "Failed", "Canceled", "Paused", "Scheduled". + :vartype last_install_job_status: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.JobStatus + :ivar total_number_of_updates_available: The number of updates available for the current device + version as per the last device scan. + :vartype total_number_of_updates_available: int + :ivar total_number_of_updates_pending_download: The total number of items pending download. + :vartype total_number_of_updates_pending_download: int + :ivar total_number_of_updates_pending_install: The total number of items pending install. + :vartype total_number_of_updates_pending_install: int + :ivar reboot_behavior: Indicates if updates are available and at least one of the updates needs + a reboot. Possible values include: "NeverReboots", "RequiresReboot", "RequestReboot". + :vartype reboot_behavior: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.InstallRebootBehavior + :ivar ongoing_update_operation: The current update operation. Possible values include: "None", + "Scan", "Download", "Install". + :vartype ongoing_update_operation: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.UpdateOperation + :ivar in_progress_download_job_id: The job ID of the download job in progress. + :vartype in_progress_download_job_id: str + :ivar in_progress_install_job_id: The job ID of the install job in progress. + :vartype in_progress_install_job_id: str + :ivar in_progress_download_job_started_date_time: The time when the currently running download + (if any) started. + :vartype in_progress_download_job_started_date_time: ~datetime.datetime + :ivar in_progress_install_job_started_date_time: The time when the currently running install + (if any) started. + :vartype in_progress_install_job_started_date_time: ~datetime.datetime + :ivar update_titles: The list of updates available for install. + :vartype update_titles: list[str] + :ivar updates: The list of updates available for install. + :vartype updates: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.UpdateDetails] + :ivar total_update_size_in_bytes: The total size of updates available for download in bytes. + :vartype total_update_size_in_bytes: float + :ivar total_time_in_minutes: The total time in Minutes. + :vartype total_time_in_minutes: int + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'last_completed_download_job_date_time': {'readonly': True}, + 'last_completed_download_job_id': {'readonly': True}, + 'last_download_job_status': {'readonly': True}, + 'last_completed_install_job_date_time': {'readonly': True}, + 'last_completed_install_job_id': {'readonly': True}, + 'last_install_job_status': {'readonly': True}, + 'total_number_of_updates_available': {'readonly': True}, + 'total_number_of_updates_pending_download': {'readonly': True}, + 'total_number_of_updates_pending_install': {'readonly': True}, + 'reboot_behavior': {'readonly': True}, + 'ongoing_update_operation': {'readonly': True}, + 'in_progress_download_job_id': {'readonly': True}, + 'in_progress_install_job_id': {'readonly': True}, + 'in_progress_download_job_started_date_time': {'readonly': True}, + 'in_progress_install_job_started_date_time': {'readonly': True}, + 'update_titles': {'readonly': True}, + 'updates': {'readonly': True}, + 'total_update_size_in_bytes': {'readonly': True}, + 'total_time_in_minutes': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'device_version_number': {'key': 'properties.deviceVersionNumber', 'type': 'str'}, + 'friendly_device_version_name': {'key': 'properties.friendlyDeviceVersionName', 'type': 'str'}, + 'device_last_scanned_date_time': {'key': 'properties.deviceLastScannedDateTime', 'type': 'iso-8601'}, + 'last_completed_scan_job_date_time': {'key': 'properties.lastCompletedScanJobDateTime', 'type': 'iso-8601'}, + 'last_completed_download_job_date_time': {'key': 'properties.lastCompletedDownloadJobDateTime', 'type': 'iso-8601'}, + 'last_completed_download_job_id': {'key': 'properties.lastCompletedDownloadJobId', 'type': 'str'}, + 'last_download_job_status': {'key': 'properties.lastDownloadJobStatus', 'type': 'str'}, + 'last_completed_install_job_date_time': {'key': 'properties.lastCompletedInstallJobDateTime', 'type': 'iso-8601'}, + 'last_completed_install_job_id': {'key': 'properties.lastCompletedInstallJobId', 'type': 'str'}, + 'last_install_job_status': {'key': 'properties.lastInstallJobStatus', 'type': 'str'}, + 'total_number_of_updates_available': {'key': 'properties.totalNumberOfUpdatesAvailable', 'type': 'int'}, + 'total_number_of_updates_pending_download': {'key': 'properties.totalNumberOfUpdatesPendingDownload', 'type': 'int'}, + 'total_number_of_updates_pending_install': {'key': 'properties.totalNumberOfUpdatesPendingInstall', 'type': 'int'}, + 'reboot_behavior': {'key': 'properties.rebootBehavior', 'type': 'str'}, + 'ongoing_update_operation': {'key': 'properties.ongoingUpdateOperation', 'type': 'str'}, + 'in_progress_download_job_id': {'key': 'properties.inProgressDownloadJobId', 'type': 'str'}, + 'in_progress_install_job_id': {'key': 'properties.inProgressInstallJobId', 'type': 'str'}, + 'in_progress_download_job_started_date_time': {'key': 'properties.inProgressDownloadJobStartedDateTime', 'type': 'iso-8601'}, + 'in_progress_install_job_started_date_time': {'key': 'properties.inProgressInstallJobStartedDateTime', 'type': 'iso-8601'}, + 'update_titles': {'key': 'properties.updateTitles', 'type': '[str]'}, + 'updates': {'key': 'properties.updates', 'type': '[UpdateDetails]'}, + 'total_update_size_in_bytes': {'key': 'properties.totalUpdateSizeInBytes', 'type': 'float'}, + 'total_time_in_minutes': {'key': 'properties.totalTimeInMinutes', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(UpdateSummary, self).__init__(**kwargs) + self.system_data = None + self.device_version_number = kwargs.get('device_version_number', None) + self.friendly_device_version_name = kwargs.get('friendly_device_version_name', None) + self.device_last_scanned_date_time = kwargs.get('device_last_scanned_date_time', None) + self.last_completed_scan_job_date_time = kwargs.get('last_completed_scan_job_date_time', None) + self.last_completed_download_job_date_time = None + self.last_completed_download_job_id = None + self.last_download_job_status = None + self.last_completed_install_job_date_time = None + self.last_completed_install_job_id = None + self.last_install_job_status = None + self.total_number_of_updates_available = None + self.total_number_of_updates_pending_download = None + self.total_number_of_updates_pending_install = None + self.reboot_behavior = None + self.ongoing_update_operation = None + self.in_progress_download_job_id = None + self.in_progress_install_job_id = None + self.in_progress_download_job_started_date_time = None + self.in_progress_install_job_started_date_time = None + self.update_titles = None + self.updates = None + self.total_update_size_in_bytes = None + self.total_time_in_minutes = None + + +class UploadCertificateRequest(msrest.serialization.Model): + """The upload certificate request. + + All required parameters must be populated in order to send to Azure. + + :param authentication_type: The authentication type. Possible values include: "Invalid", + "AzureActiveDirectory". + :type authentication_type: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AuthenticationType + :param certificate: Required. The base64 encoded certificate raw data. + :type certificate: str + """ + + _validation = { + 'certificate': {'required': True}, + } + + _attribute_map = { + 'authentication_type': {'key': 'properties.authenticationType', 'type': 'str'}, + 'certificate': {'key': 'properties.certificate', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UploadCertificateRequest, self).__init__(**kwargs) + self.authentication_type = kwargs.get('authentication_type', None) + self.certificate = kwargs['certificate'] + + +class UploadCertificateResponse(msrest.serialization.Model): + """The upload registration certificate response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param auth_type: Specifies authentication type. Possible values include: "Invalid", + "AzureActiveDirectory". + :type auth_type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AuthenticationType + :ivar resource_id: The resource ID of the Data Box Edge/Gateway device. + :vartype resource_id: str + :ivar aad_authority: Azure Active Directory tenant authority. + :vartype aad_authority: str + :ivar aad_tenant_id: Azure Active Directory tenant ID. + :vartype aad_tenant_id: str + :ivar service_principal_client_id: Azure Active Directory service principal client ID. + :vartype service_principal_client_id: str + :ivar service_principal_object_id: Azure Active Directory service principal object ID. + :vartype service_principal_object_id: str + :ivar azure_management_endpoint_audience: The azure management endpoint audience. + :vartype azure_management_endpoint_audience: str + :ivar aad_audience: Identifier of the target resource that is the recipient of the requested + token. + :vartype aad_audience: str + """ + + _validation = { + 'resource_id': {'readonly': True}, + 'aad_authority': {'readonly': True}, + 'aad_tenant_id': {'readonly': True}, + 'service_principal_client_id': {'readonly': True}, + 'service_principal_object_id': {'readonly': True}, + 'azure_management_endpoint_audience': {'readonly': True}, + 'aad_audience': {'readonly': True}, + } + + _attribute_map = { + 'auth_type': {'key': 'authType', 'type': 'str'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'aad_authority': {'key': 'aadAuthority', 'type': 'str'}, + 'aad_tenant_id': {'key': 'aadTenantId', 'type': 'str'}, + 'service_principal_client_id': {'key': 'servicePrincipalClientId', 'type': 'str'}, + 'service_principal_object_id': {'key': 'servicePrincipalObjectId', 'type': 'str'}, + 'azure_management_endpoint_audience': {'key': 'azureManagementEndpointAudience', 'type': 'str'}, + 'aad_audience': {'key': 'aadAudience', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UploadCertificateResponse, self).__init__(**kwargs) + self.auth_type = kwargs.get('auth_type', None) + self.resource_id = None + self.aad_authority = None + self.aad_tenant_id = None + self.service_principal_client_id = None + self.service_principal_object_id = None + self.azure_management_endpoint_audience = None + self.aad_audience = None + + +class User(ARMBaseModel): + """Represents a user who has access to one or more shares on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: User in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param encrypted_password: The password details. + :type encrypted_password: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AsymmetricEncryptedSecret + :ivar share_access_rights: List of shares that the user has rights on. This field should not be + specified during user creation. + :vartype share_access_rights: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.ShareAccessRight] + :param user_type: Type of the user. Possible values include: "Share", "LocalManagement", "ARM". + :type user_type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.UserType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'share_access_rights': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'encrypted_password': {'key': 'properties.encryptedPassword', 'type': 'AsymmetricEncryptedSecret'}, + 'share_access_rights': {'key': 'properties.shareAccessRights', 'type': '[ShareAccessRight]'}, + 'user_type': {'key': 'properties.userType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(User, self).__init__(**kwargs) + self.system_data = None + self.encrypted_password = kwargs.get('encrypted_password', None) + self.share_access_rights = None + self.user_type = kwargs.get('user_type', None) + + +class UserAccessRight(msrest.serialization.Model): + """The mapping between a particular user and the access type on the SMB share. + + All required parameters must be populated in order to send to Azure. + + :param user_id: Required. User ID (already existing in the device). + :type user_id: str + :param access_type: Required. Type of access to be allowed for the user. Possible values + include: "Change", "Read", "Custom". + :type access_type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ShareAccessType + """ + + _validation = { + 'user_id': {'required': True}, + 'access_type': {'required': True}, + } + + _attribute_map = { + 'user_id': {'key': 'userId', 'type': 'str'}, + 'access_type': {'key': 'accessType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UserAccessRight, self).__init__(**kwargs) + self.user_id = kwargs['user_id'] + self.access_type = kwargs['access_type'] + + +class UserList(msrest.serialization.Model): + """Collection of users. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of users. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.User] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[User]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UserList, self).__init__(**kwargs) + self.value = None + self.next_link = None diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/models/_models_py3.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/models/_models_py3.py new file mode 100644 index 000000000000..646fd8f45498 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/models/_models_py3.py @@ -0,0 +1,5512 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +import datetime +from typing import Dict, List, Optional, Union + +import msrest.serialization + +from ._data_box_edge_management_client_enums import * + + +class ARMBaseModel(msrest.serialization.Model): + """Represents the base class for all object models. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ARMBaseModel, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class Addon(ARMBaseModel): + """Role Addon. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: ArcAddon, IoTAddon. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Addon type.Constant filled by server. Possible values include: + "IotEdge", "ArcForKubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AddonType + :ivar system_data: Addon type. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + } + + _subtype_map = { + 'kind': {'ArcForKubernetes': 'ArcAddon', 'IotEdge': 'IoTAddon'} + } + + def __init__( + self, + **kwargs + ): + super(Addon, self).__init__(**kwargs) + self.kind = 'Addon' # type: str + self.system_data = None + + +class AddonList(msrest.serialization.Model): + """Collection of all the Role addon on the Azure Stack Edge device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The Value. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Addon] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Addon]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AddonList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class Address(msrest.serialization.Model): + """The shipping address of the customer. + + All required parameters must be populated in order to send to Azure. + + :param address_line1: The address line1. + :type address_line1: str + :param address_line2: The address line2. + :type address_line2: str + :param address_line3: The address line3. + :type address_line3: str + :param postal_code: The postal code. + :type postal_code: str + :param city: The city name. + :type city: str + :param state: The state name. + :type state: str + :param country: Required. The country name. + :type country: str + """ + + _validation = { + 'country': {'required': True}, + } + + _attribute_map = { + 'address_line1': {'key': 'addressLine1', 'type': 'str'}, + 'address_line2': {'key': 'addressLine2', 'type': 'str'}, + 'address_line3': {'key': 'addressLine3', 'type': 'str'}, + 'postal_code': {'key': 'postalCode', 'type': 'str'}, + 'city': {'key': 'city', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + 'country': {'key': 'country', 'type': 'str'}, + } + + def __init__( + self, + *, + country: str, + address_line1: Optional[str] = None, + address_line2: Optional[str] = None, + address_line3: Optional[str] = None, + postal_code: Optional[str] = None, + city: Optional[str] = None, + state: Optional[str] = None, + **kwargs + ): + super(Address, self).__init__(**kwargs) + self.address_line1 = address_line1 + self.address_line2 = address_line2 + self.address_line3 = address_line3 + self.postal_code = postal_code + self.city = city + self.state = state + self.country = country + + +class Alert(ARMBaseModel): + """Alert on the data box edge/gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Alert generated in the resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :ivar title: Alert title. + :vartype title: str + :ivar alert_type: Alert type. + :vartype alert_type: str + :ivar appeared_at_date_time: UTC time when the alert appeared. + :vartype appeared_at_date_time: ~datetime.datetime + :ivar recommendation: Alert recommendation. + :vartype recommendation: str + :ivar severity: Severity of the alert. Possible values include: "Informational", "Warning", + "Critical". + :vartype severity: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AlertSeverity + :ivar error_details: Error details of the alert. + :vartype error_details: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AlertErrorDetails + :ivar detailed_information: Alert details. + :vartype detailed_information: dict[str, str] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'title': {'readonly': True}, + 'alert_type': {'readonly': True}, + 'appeared_at_date_time': {'readonly': True}, + 'recommendation': {'readonly': True}, + 'severity': {'readonly': True}, + 'error_details': {'readonly': True}, + 'detailed_information': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'title': {'key': 'properties.title', 'type': 'str'}, + 'alert_type': {'key': 'properties.alertType', 'type': 'str'}, + 'appeared_at_date_time': {'key': 'properties.appearedAtDateTime', 'type': 'iso-8601'}, + 'recommendation': {'key': 'properties.recommendation', 'type': 'str'}, + 'severity': {'key': 'properties.severity', 'type': 'str'}, + 'error_details': {'key': 'properties.errorDetails', 'type': 'AlertErrorDetails'}, + 'detailed_information': {'key': 'properties.detailedInformation', 'type': '{str}'}, + } + + def __init__( + self, + **kwargs + ): + super(Alert, self).__init__(**kwargs) + self.system_data = None + self.title = None + self.alert_type = None + self.appeared_at_date_time = None + self.recommendation = None + self.severity = None + self.error_details = None + self.detailed_information = None + + +class AlertErrorDetails(msrest.serialization.Model): + """Error details for the alert. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar error_code: Error code. + :vartype error_code: str + :ivar error_message: Error Message. + :vartype error_message: str + :ivar occurrences: Number of occurrences. + :vartype occurrences: int + """ + + _validation = { + 'error_code': {'readonly': True}, + 'error_message': {'readonly': True}, + 'occurrences': {'readonly': True}, + } + + _attribute_map = { + 'error_code': {'key': 'errorCode', 'type': 'str'}, + 'error_message': {'key': 'errorMessage', 'type': 'str'}, + 'occurrences': {'key': 'occurrences', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(AlertErrorDetails, self).__init__(**kwargs) + self.error_code = None + self.error_message = None + self.occurrences = None + + +class AlertList(msrest.serialization.Model): + """Collection of alerts. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The value. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Alert] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Alert]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AlertList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ArcAddon(Addon): + """Arc Addon. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Addon type.Constant filled by server. Possible values include: + "IotEdge", "ArcForKubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AddonType + :ivar system_data: Addon type. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param subscription_id: Required. Arc resource subscription Id. + :type subscription_id: str + :param resource_group_name: Required. Arc resource group name. + :type resource_group_name: str + :param resource_name: Required. Arc resource Name. + :type resource_name: str + :param resource_location: Required. Arc resource location. + :type resource_location: str + :ivar version: Arc resource version. + :vartype version: str + :ivar host_platform: Host OS supported by the Arc addon. Possible values include: "Windows", + "Linux". + :vartype host_platform: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.PlatformType + :ivar host_platform_type: Platform where the runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.HostPlatformType + :ivar provisioning_state: Addon Provisioning State. Possible values include: "Invalid", + "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting". + :vartype provisioning_state: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AddonState + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'subscription_id': {'required': True}, + 'resource_group_name': {'required': True}, + 'resource_name': {'required': True}, + 'resource_location': {'required': True}, + 'version': {'readonly': True}, + 'host_platform': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'subscription_id': {'key': 'properties.subscriptionId', 'type': 'str'}, + 'resource_group_name': {'key': 'properties.resourceGroupName', 'type': 'str'}, + 'resource_name': {'key': 'properties.resourceName', 'type': 'str'}, + 'resource_location': {'key': 'properties.resourceLocation', 'type': 'str'}, + 'version': {'key': 'properties.version', 'type': 'str'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + subscription_id: str, + resource_group_name: str, + resource_name: str, + resource_location: str, + **kwargs + ): + super(ArcAddon, self).__init__(**kwargs) + self.kind = 'ArcForKubernetes' # type: str + self.subscription_id = subscription_id + self.resource_group_name = resource_group_name + self.resource_name = resource_name + self.resource_location = resource_location + self.version = None + self.host_platform = None + self.host_platform_type = None + self.provisioning_state = None + + +class AsymmetricEncryptedSecret(msrest.serialization.Model): + """Represent the secrets intended for encryption with asymmetric key pair. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. The value of the secret. + :type value: str + :param encryption_cert_thumbprint: Thumbprint certificate used to encrypt \"Value\". If the + value is unencrypted, it will be null. + :type encryption_cert_thumbprint: str + :param encryption_algorithm: Required. The algorithm used to encrypt "Value". Possible values + include: "None", "AES256", "RSAES_PKCS1_v_1_5". + :type encryption_algorithm: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.EncryptionAlgorithm + """ + + _validation = { + 'value': {'required': True}, + 'encryption_algorithm': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': 'str'}, + 'encryption_cert_thumbprint': {'key': 'encryptionCertThumbprint', 'type': 'str'}, + 'encryption_algorithm': {'key': 'encryptionAlgorithm', 'type': 'str'}, + } + + def __init__( + self, + *, + value: str, + encryption_algorithm: Union[str, "EncryptionAlgorithm"], + encryption_cert_thumbprint: Optional[str] = None, + **kwargs + ): + super(AsymmetricEncryptedSecret, self).__init__(**kwargs) + self.value = value + self.encryption_cert_thumbprint = encryption_cert_thumbprint + self.encryption_algorithm = encryption_algorithm + + +class Authentication(msrest.serialization.Model): + """Authentication mechanism for IoT devices. + + :param symmetric_key: Symmetric key for authentication. + :type symmetric_key: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SymmetricKey + """ + + _attribute_map = { + 'symmetric_key': {'key': 'symmetricKey', 'type': 'SymmetricKey'}, + } + + def __init__( + self, + *, + symmetric_key: Optional["SymmetricKey"] = None, + **kwargs + ): + super(Authentication, self).__init__(**kwargs) + self.symmetric_key = symmetric_key + + +class AzureContainerInfo(msrest.serialization.Model): + """Azure container mapping of the endpoint. + + All required parameters must be populated in order to send to Azure. + + :param storage_account_credential_id: Required. ID of the storage account credential used to + access storage. + :type storage_account_credential_id: str + :param container_name: Required. Container name (Based on the data format specified, this + represents the name of Azure Files/Page blob/Block blob). + :type container_name: str + :param data_format: Required. Storage format used for the file represented by the share. + Possible values include: "BlockBlob", "PageBlob", "AzureFile". + :type data_format: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AzureContainerDataFormat + """ + + _validation = { + 'storage_account_credential_id': {'required': True}, + 'container_name': {'required': True}, + 'data_format': {'required': True}, + } + + _attribute_map = { + 'storage_account_credential_id': {'key': 'storageAccountCredentialId', 'type': 'str'}, + 'container_name': {'key': 'containerName', 'type': 'str'}, + 'data_format': {'key': 'dataFormat', 'type': 'str'}, + } + + def __init__( + self, + *, + storage_account_credential_id: str, + container_name: str, + data_format: Union[str, "AzureContainerDataFormat"], + **kwargs + ): + super(AzureContainerInfo, self).__init__(**kwargs) + self.storage_account_credential_id = storage_account_credential_id + self.container_name = container_name + self.data_format = data_format + + +class BandwidthSchedule(ARMBaseModel): + """The bandwidth schedule details. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Bandwidth object related to ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param start: Required. The start time of the schedule in UTC. + :type start: str + :param stop: Required. The stop time of the schedule in UTC. + :type stop: str + :param rate_in_mbps: Required. The bandwidth rate in Mbps. + :type rate_in_mbps: int + :param days: Required. The days of the week when this schedule is applicable. + :type days: list[str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DayOfWeek] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'start': {'required': True}, + 'stop': {'required': True}, + 'rate_in_mbps': {'required': True}, + 'days': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'start': {'key': 'properties.start', 'type': 'str'}, + 'stop': {'key': 'properties.stop', 'type': 'str'}, + 'rate_in_mbps': {'key': 'properties.rateInMbps', 'type': 'int'}, + 'days': {'key': 'properties.days', 'type': '[str]'}, + } + + def __init__( + self, + *, + start: str, + stop: str, + rate_in_mbps: int, + days: List[Union[str, "DayOfWeek"]], + **kwargs + ): + super(BandwidthSchedule, self).__init__(**kwargs) + self.system_data = None + self.start = start + self.stop = stop + self.rate_in_mbps = rate_in_mbps + self.days = days + + +class BandwidthSchedulesList(msrest.serialization.Model): + """The collection of bandwidth schedules. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of bandwidth schedules. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.BandwidthSchedule] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[BandwidthSchedule]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(BandwidthSchedulesList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ClientAccessRight(msrest.serialization.Model): + """The mapping between a particular client IP and the type of access client has on the NFS share. + + All required parameters must be populated in order to send to Azure. + + :param client: Required. IP of the client. + :type client: str + :param access_permission: Required. Type of access to be allowed for the client. Possible + values include: "NoAccess", "ReadOnly", "ReadWrite". + :type access_permission: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ClientPermissionType + """ + + _validation = { + 'client': {'required': True}, + 'access_permission': {'required': True}, + } + + _attribute_map = { + 'client': {'key': 'client', 'type': 'str'}, + 'access_permission': {'key': 'accessPermission', 'type': 'str'}, + } + + def __init__( + self, + *, + client: str, + access_permission: Union[str, "ClientPermissionType"], + **kwargs + ): + super(ClientAccessRight, self).__init__(**kwargs) + self.client = client + self.access_permission = access_permission + + +class Role(ARMBaseModel): + """Compute role. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: CloudEdgeManagementRole, IoTRole, KubernetesRole, MECRole. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + } + + _subtype_map = { + 'kind': {'CloudEdgeManagement': 'CloudEdgeManagementRole', 'IOT': 'IoTRole', 'Kubernetes': 'KubernetesRole', 'MEC': 'MECRole'} + } + + def __init__( + self, + **kwargs + ): + super(Role, self).__init__(**kwargs) + self.kind = 'Role' # type: str + self.system_data = None + + +class CloudEdgeManagementRole(Role): + """CloudEdgeManagementRole role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :ivar local_management_status: Local Edge Management Status. Possible values include: + "Enabled", "Disabled". + :vartype local_management_status: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleStatus + :ivar edge_profile: Edge Profile of the resource. + :vartype edge_profile: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.EdgeProfile + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'local_management_status': {'readonly': True}, + 'edge_profile': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'local_management_status': {'key': 'properties.localManagementStatus', 'type': 'str'}, + 'edge_profile': {'key': 'properties.edgeProfile', 'type': 'EdgeProfile'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + *, + role_status: Optional[Union[str, "RoleStatus"]] = None, + **kwargs + ): + super(CloudEdgeManagementRole, self).__init__(**kwargs) + self.kind = 'CloudEdgeManagement' # type: str + self.local_management_status = None + self.edge_profile = None + self.role_status = role_status + + +class CloudErrorBody(msrest.serialization.Model): + """An error response from the service. + + :param code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :type code: str + :param message: A message describing the error, intended to be suitable for display in a user + interface. + :type message: str + :param details: A list of additional details about the error. + :type details: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.CloudErrorBody] + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[CloudErrorBody]'}, + } + + def __init__( + self, + *, + code: Optional[str] = None, + message: Optional[str] = None, + details: Optional[List["CloudErrorBody"]] = None, + **kwargs + ): + super(CloudErrorBody, self).__init__(**kwargs) + self.code = code + self.message = message + self.details = details + + +class CniConfig(msrest.serialization.Model): + """Cni configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: Cni type. + :vartype type: str + :ivar version: Cni version. + :vartype version: str + :ivar pod_subnet: Pod Subnet. + :vartype pod_subnet: str + :ivar service_subnet: Service subnet. + :vartype service_subnet: str + """ + + _validation = { + 'type': {'readonly': True}, + 'version': {'readonly': True}, + 'pod_subnet': {'readonly': True}, + 'service_subnet': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + 'pod_subnet': {'key': 'podSubnet', 'type': 'str'}, + 'service_subnet': {'key': 'serviceSubnet', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(CniConfig, self).__init__(**kwargs) + self.type = None + self.version = None + self.pod_subnet = None + self.service_subnet = None + + +class ComputeResource(msrest.serialization.Model): + """Compute infrastructure Resource. + + All required parameters must be populated in order to send to Azure. + + :param processor_count: Required. Processor count. + :type processor_count: int + :param memory_in_gb: Required. Memory in GB. + :type memory_in_gb: long + """ + + _validation = { + 'processor_count': {'required': True}, + 'memory_in_gb': {'required': True}, + } + + _attribute_map = { + 'processor_count': {'key': 'processorCount', 'type': 'int'}, + 'memory_in_gb': {'key': 'memoryInGB', 'type': 'long'}, + } + + def __init__( + self, + *, + processor_count: int, + memory_in_gb: int, + **kwargs + ): + super(ComputeResource, self).__init__(**kwargs) + self.processor_count = processor_count + self.memory_in_gb = memory_in_gb + + +class ContactDetails(msrest.serialization.Model): + """Contains all the contact details of the customer. + + All required parameters must be populated in order to send to Azure. + + :param contact_person: Required. The contact person name. + :type contact_person: str + :param company_name: Required. The name of the company. + :type company_name: str + :param phone: Required. The phone number. + :type phone: str + :param email_list: Required. The email list. + :type email_list: list[str] + """ + + _validation = { + 'contact_person': {'required': True}, + 'company_name': {'required': True}, + 'phone': {'required': True}, + 'email_list': {'required': True}, + } + + _attribute_map = { + 'contact_person': {'key': 'contactPerson', 'type': 'str'}, + 'company_name': {'key': 'companyName', 'type': 'str'}, + 'phone': {'key': 'phone', 'type': 'str'}, + 'email_list': {'key': 'emailList', 'type': '[str]'}, + } + + def __init__( + self, + *, + contact_person: str, + company_name: str, + phone: str, + email_list: List[str], + **kwargs + ): + super(ContactDetails, self).__init__(**kwargs) + self.contact_person = contact_person + self.company_name = company_name + self.phone = phone + self.email_list = email_list + + +class Container(ARMBaseModel): + """Represents a container on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Container in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :ivar container_status: Current status of the container. Possible values include: "OK", + "Offline", "Unknown", "Updating", "NeedsAttention". + :vartype container_status: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ContainerStatus + :param data_format: Required. DataFormat for Container. Possible values include: "BlockBlob", + "PageBlob", "AzureFile". + :type data_format: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AzureContainerDataFormat + :ivar refresh_details: Details of the refresh job on this container. + :vartype refresh_details: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RefreshDetails + :ivar created_date_time: The UTC time when container got created. + :vartype created_date_time: ~datetime.datetime + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'container_status': {'readonly': True}, + 'data_format': {'required': True}, + 'refresh_details': {'readonly': True}, + 'created_date_time': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'container_status': {'key': 'properties.containerStatus', 'type': 'str'}, + 'data_format': {'key': 'properties.dataFormat', 'type': 'str'}, + 'refresh_details': {'key': 'properties.refreshDetails', 'type': 'RefreshDetails'}, + 'created_date_time': {'key': 'properties.createdDateTime', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + data_format: Union[str, "AzureContainerDataFormat"], + **kwargs + ): + super(Container, self).__init__(**kwargs) + self.system_data = None + self.container_status = None + self.data_format = data_format + self.refresh_details = None + self.created_date_time = None + + +class ContainerList(msrest.serialization.Model): + """Collection of all the containers on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of containers. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Container] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Container]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ContainerList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class DataBoxEdgeDevice(ARMBaseModel): + """The Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param location: Required. The location of the device. This is a supported and registered Azure + geographical region (for example, West US, East US, or Southeast Asia). The geographical region + of a device cannot be changed once it is created, but if an identical geographical region is + specified on update, the request will succeed. + :type location: str + :param tags: A set of tags. The list of tags that describe the device. These tags can be used + to view and group this device (across resource groups). + :type tags: dict[str, str] + :param sku: The SKU type. + :type sku: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Sku + :param etag: The etag for the devices. + :type etag: str + :param identity: Msi identity of the resource. + :type identity: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ResourceIdentity + :ivar kind: The etag for the devices. Possible values include: "AzureDataBoxGateway", + "AzureStackEdge", "AzureStackHub", "AzureModularDataCentre". + :vartype kind: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDeviceKind + :ivar system_data: DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param data_box_edge_device_status: The status of the Data Box Edge/Gateway device. Possible + values include: "ReadyToSetup", "Online", "Offline", "NeedsAttention", "Disconnected", + "PartiallyDisconnected", "Maintenance". + :type data_box_edge_device_status: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDeviceStatus + :ivar serial_number: The Serial Number of Data Box Edge/Gateway device. + :vartype serial_number: str + :ivar description: The Description of the Data Box Edge/Gateway device. + :vartype description: str + :ivar model_description: The description of the Data Box Edge/Gateway device model. + :vartype model_description: str + :ivar device_type: The type of the Data Box Edge/Gateway device. Possible values include: + "DataBoxEdgeDevice". + :vartype device_type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DeviceType + :ivar friendly_name: The Data Box Edge/Gateway device name. + :vartype friendly_name: str + :ivar culture: The Data Box Edge/Gateway device culture. + :vartype culture: str + :ivar device_model: The Data Box Edge/Gateway device model. + :vartype device_model: str + :ivar device_software_version: The Data Box Edge/Gateway device software version. + :vartype device_software_version: str + :ivar device_local_capacity: The Data Box Edge/Gateway device local capacity in MB. + :vartype device_local_capacity: long + :ivar time_zone: The Data Box Edge/Gateway device timezone. + :vartype time_zone: str + :ivar device_hcs_version: The device software version number of the device (eg: 1.2.18105.6). + :vartype device_hcs_version: str + :ivar configured_role_types: Type of compute roles configured. + :vartype configured_role_types: list[str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleTypes] + :ivar node_count: The number of nodes in the cluster. + :vartype node_count: int + :ivar resource_move_details: The details of the move operation on this resource. + :vartype resource_move_details: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ResourceMoveDetails + :ivar edge_profile: The details of Edge Profile for this resource. + :vartype edge_profile: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.EdgeProfile + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'kind': {'readonly': True}, + 'system_data': {'readonly': True}, + 'serial_number': {'readonly': True}, + 'description': {'readonly': True}, + 'model_description': {'readonly': True}, + 'device_type': {'readonly': True}, + 'friendly_name': {'readonly': True}, + 'culture': {'readonly': True}, + 'device_model': {'readonly': True}, + 'device_software_version': {'readonly': True}, + 'device_local_capacity': {'readonly': True}, + 'time_zone': {'readonly': True}, + 'device_hcs_version': {'readonly': True}, + 'configured_role_types': {'readonly': True}, + 'node_count': {'readonly': True}, + 'resource_move_details': {'readonly': True}, + 'edge_profile': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'sku': {'key': 'sku', 'type': 'Sku'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'identity': {'key': 'identity', 'type': 'ResourceIdentity'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'data_box_edge_device_status': {'key': 'properties.dataBoxEdgeDeviceStatus', 'type': 'str'}, + 'serial_number': {'key': 'properties.serialNumber', 'type': 'str'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'model_description': {'key': 'properties.modelDescription', 'type': 'str'}, + 'device_type': {'key': 'properties.deviceType', 'type': 'str'}, + 'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'}, + 'culture': {'key': 'properties.culture', 'type': 'str'}, + 'device_model': {'key': 'properties.deviceModel', 'type': 'str'}, + 'device_software_version': {'key': 'properties.deviceSoftwareVersion', 'type': 'str'}, + 'device_local_capacity': {'key': 'properties.deviceLocalCapacity', 'type': 'long'}, + 'time_zone': {'key': 'properties.timeZone', 'type': 'str'}, + 'device_hcs_version': {'key': 'properties.deviceHcsVersion', 'type': 'str'}, + 'configured_role_types': {'key': 'properties.configuredRoleTypes', 'type': '[str]'}, + 'node_count': {'key': 'properties.nodeCount', 'type': 'int'}, + 'resource_move_details': {'key': 'properties.resourceMoveDetails', 'type': 'ResourceMoveDetails'}, + 'edge_profile': {'key': 'properties.edgeProfile', 'type': 'EdgeProfile'}, + } + + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + sku: Optional["Sku"] = None, + etag: Optional[str] = None, + identity: Optional["ResourceIdentity"] = None, + data_box_edge_device_status: Optional[Union[str, "DataBoxEdgeDeviceStatus"]] = None, + **kwargs + ): + super(DataBoxEdgeDevice, self).__init__(**kwargs) + self.location = location + self.tags = tags + self.sku = sku + self.etag = etag + self.identity = identity + self.kind = None + self.system_data = None + self.data_box_edge_device_status = data_box_edge_device_status + self.serial_number = None + self.description = None + self.model_description = None + self.device_type = None + self.friendly_name = None + self.culture = None + self.device_model = None + self.device_software_version = None + self.device_local_capacity = None + self.time_zone = None + self.device_hcs_version = None + self.configured_role_types = None + self.node_count = None + self.resource_move_details = None + self.edge_profile = None + + +class DataBoxEdgeDeviceExtendedInfo(ARMBaseModel): + """The extended Info of the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param encryption_key_thumbprint: The digital signature of encrypted certificate. + :type encryption_key_thumbprint: str + :param encryption_key: The public part of the encryption certificate. Client uses this to + encrypt any secret. + :type encryption_key: str + :ivar resource_key: The Resource ID of the Resource. + :vartype resource_key: str + :param client_secret_store_id: The Key Vault ARM Id for client secrets. + :type client_secret_store_id: str + :param client_secret_store_url: The url to access the Client Key Vault. + :type client_secret_store_url: str + :param channel_integrity_key_name: The name of Channel Integrity Key stored in the Client Key + Vault. + :type channel_integrity_key_name: str + :param channel_integrity_key_version: The version of Channel Integrity Key stored in the Client + Key Vault. + :type channel_integrity_key_version: str + :param key_vault_sync_status: Key vault sync status. Possible values include: "KeyVaultSynced", + "KeyVaultSyncFailed", "KeyVaultNotConfigured", "KeyVaultSyncPending", "KeyVaultSyncing", + "KeyVaultNotSynced". + :type key_vault_sync_status: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.KeyVaultSyncStatus + :ivar device_secrets: Device secrets, will be returned only with ODataFilter + $expand=deviceSecrets. + :vartype device_secrets: dict[str, ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Secret] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'resource_key': {'readonly': True}, + 'device_secrets': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'encryption_key_thumbprint': {'key': 'properties.encryptionKeyThumbprint', 'type': 'str'}, + 'encryption_key': {'key': 'properties.encryptionKey', 'type': 'str'}, + 'resource_key': {'key': 'properties.resourceKey', 'type': 'str'}, + 'client_secret_store_id': {'key': 'properties.clientSecretStoreId', 'type': 'str'}, + 'client_secret_store_url': {'key': 'properties.clientSecretStoreUrl', 'type': 'str'}, + 'channel_integrity_key_name': {'key': 'properties.channelIntegrityKeyName', 'type': 'str'}, + 'channel_integrity_key_version': {'key': 'properties.channelIntegrityKeyVersion', 'type': 'str'}, + 'key_vault_sync_status': {'key': 'properties.keyVaultSyncStatus', 'type': 'str'}, + 'device_secrets': {'key': 'properties.deviceSecrets', 'type': '{Secret}'}, + } + + def __init__( + self, + *, + encryption_key_thumbprint: Optional[str] = None, + encryption_key: Optional[str] = None, + client_secret_store_id: Optional[str] = None, + client_secret_store_url: Optional[str] = None, + channel_integrity_key_name: Optional[str] = None, + channel_integrity_key_version: Optional[str] = None, + key_vault_sync_status: Optional[Union[str, "KeyVaultSyncStatus"]] = None, + **kwargs + ): + super(DataBoxEdgeDeviceExtendedInfo, self).__init__(**kwargs) + self.encryption_key_thumbprint = encryption_key_thumbprint + self.encryption_key = encryption_key + self.resource_key = None + self.client_secret_store_id = client_secret_store_id + self.client_secret_store_url = client_secret_store_url + self.channel_integrity_key_name = channel_integrity_key_name + self.channel_integrity_key_version = channel_integrity_key_version + self.key_vault_sync_status = key_vault_sync_status + self.device_secrets = None + + +class DataBoxEdgeDeviceExtendedInfoPatch(msrest.serialization.Model): + """The Data Box Edge/Gateway device extended info patch. + + :param client_secret_store_id: The Key Vault ARM Id for client secrets. + :type client_secret_store_id: str + :param client_secret_store_url: The url to access the Client Key Vault. + :type client_secret_store_url: str + :param channel_integrity_key_name: The name for Channel Integrity Key stored in the Client Key + Vault. + :type channel_integrity_key_name: str + :param channel_integrity_key_version: The version of Channel Integrity Key stored in the Client + Key Vault. + :type channel_integrity_key_version: str + :param sync_status: For changing or to initiate the resync to key-vault set the status to + KeyVaultSyncPending, rest of the status will not be applicable. Possible values include: + "KeyVaultSynced", "KeyVaultSyncFailed", "KeyVaultNotConfigured", "KeyVaultSyncPending", + "KeyVaultSyncing", "KeyVaultNotSynced". + :type sync_status: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.KeyVaultSyncStatus + """ + + _attribute_map = { + 'client_secret_store_id': {'key': 'clientSecretStoreId', 'type': 'str'}, + 'client_secret_store_url': {'key': 'clientSecretStoreUrl', 'type': 'str'}, + 'channel_integrity_key_name': {'key': 'channelIntegrityKeyName', 'type': 'str'}, + 'channel_integrity_key_version': {'key': 'channelIntegrityKeyVersion', 'type': 'str'}, + 'sync_status': {'key': 'syncStatus', 'type': 'str'}, + } + + def __init__( + self, + *, + client_secret_store_id: Optional[str] = None, + client_secret_store_url: Optional[str] = None, + channel_integrity_key_name: Optional[str] = None, + channel_integrity_key_version: Optional[str] = None, + sync_status: Optional[Union[str, "KeyVaultSyncStatus"]] = None, + **kwargs + ): + super(DataBoxEdgeDeviceExtendedInfoPatch, self).__init__(**kwargs) + self.client_secret_store_id = client_secret_store_id + self.client_secret_store_url = client_secret_store_url + self.channel_integrity_key_name = channel_integrity_key_name + self.channel_integrity_key_version = channel_integrity_key_version + self.sync_status = sync_status + + +class DataBoxEdgeDeviceList(msrest.serialization.Model): + """The collection of Data Box Edge/Gateway devices. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of Data Box Edge/Gateway devices. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDevice] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DataBoxEdgeDevice]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeDeviceList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class DataBoxEdgeDevicePatch(msrest.serialization.Model): + """The Data Box Edge/Gateway device patch. + + :param tags: A set of tags. The tags attached to the Data Box Edge/Gateway resource. + :type tags: dict[str, str] + :param identity: Msi identity of the resource. + :type identity: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ResourceIdentity + :param edge_profile: Edge Profile property of the Data Box Edge/Gateway device. + :type edge_profile: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.EdgeProfilePatch + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + 'identity': {'key': 'identity', 'type': 'ResourceIdentity'}, + 'edge_profile': {'key': 'properties.edgeProfile', 'type': 'EdgeProfilePatch'}, + } + + def __init__( + self, + *, + tags: Optional[Dict[str, str]] = None, + identity: Optional["ResourceIdentity"] = None, + edge_profile: Optional["EdgeProfilePatch"] = None, + **kwargs + ): + super(DataBoxEdgeDevicePatch, self).__init__(**kwargs) + self.tags = tags + self.identity = identity + self.edge_profile = edge_profile + + +class DataBoxEdgeMoveRequest(msrest.serialization.Model): + """Resource Move details. + + All required parameters must be populated in order to send to Azure. + + :param target_resource_group: Required. Target resource group ARMId. + :type target_resource_group: str + :param resources: Required. List of resources to be moved. + :type resources: list[str] + """ + + _validation = { + 'target_resource_group': {'required': True}, + 'resources': {'required': True}, + } + + _attribute_map = { + 'target_resource_group': {'key': 'targetResourceGroup', 'type': 'str'}, + 'resources': {'key': 'resources', 'type': '[str]'}, + } + + def __init__( + self, + *, + target_resource_group: str, + resources: List[str], + **kwargs + ): + super(DataBoxEdgeMoveRequest, self).__init__(**kwargs) + self.target_resource_group = target_resource_group + self.resources = resources + + +class DataBoxEdgeSku(msrest.serialization.Model): + """The Sku information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar resource_type: The type of the resource. + :vartype resource_type: str + :ivar name: The Sku name. Possible values include: "Gateway", "Edge", "TEA_1Node", + "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", + "TEA_4Node_UPS_Heater", "TMA", "TDC", "TCA_Small", "GPU", "TCA_Large", "EdgeP_Base", + "EdgeP_High", "EdgePR_Base", "EdgePR_Base_UPS", "EP2_64_1VPU_W", "EP2_128_1T4_Mx1_W", + "EP2_256_2T4_W", "EdgeMR_Mini", "RCA_Small", "RCA_Large", "RDC", "Management". + :vartype name: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SkuName + :ivar kind: The Sku kind. + :vartype kind: str + :ivar tier: The Sku tier. Possible values include: "Standard". + :vartype tier: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SkuTier + :ivar size: The Sku kind. + :vartype size: str + :ivar family: The Sku family. + :vartype family: str + :ivar locations: Availability of the Sku for the region. + :vartype locations: list[str] + :ivar api_versions: The API versions in which Sku is available. + :vartype api_versions: list[str] + :ivar location_info: Availability of the Sku for the location/zone/site. + :vartype location_info: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.SkuLocationInfo] + :ivar costs: The pricing info of the Sku. + :vartype costs: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.SkuCost] + :ivar signup_option: Sku can be signed up by customer or not. Possible values include: "None", + "Available". + :vartype signup_option: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SkuSignupOption + :ivar version: Availability of the Sku as preview/stable. Possible values include: "Stable", + "Preview". + :vartype version: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SkuVersion + :ivar availability: Links to the next set of results. Possible values include: "Available", + "Unavailable". + :vartype availability: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SkuAvailability + :ivar shipment_types: List of Shipment Types supported by this SKU. + :vartype shipment_types: list[str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ShipmentType] + """ + + _validation = { + 'resource_type': {'readonly': True}, + 'name': {'readonly': True}, + 'kind': {'readonly': True}, + 'tier': {'readonly': True}, + 'size': {'readonly': True}, + 'family': {'readonly': True}, + 'locations': {'readonly': True}, + 'api_versions': {'readonly': True}, + 'location_info': {'readonly': True}, + 'costs': {'readonly': True}, + 'signup_option': {'readonly': True}, + 'version': {'readonly': True}, + 'availability': {'readonly': True}, + 'shipment_types': {'readonly': True}, + } + + _attribute_map = { + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'size': {'key': 'size', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'locations': {'key': 'locations', 'type': '[str]'}, + 'api_versions': {'key': 'apiVersions', 'type': '[str]'}, + 'location_info': {'key': 'locationInfo', 'type': '[SkuLocationInfo]'}, + 'costs': {'key': 'costs', 'type': '[SkuCost]'}, + 'signup_option': {'key': 'signupOption', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + 'availability': {'key': 'availability', 'type': 'str'}, + 'shipment_types': {'key': 'shipmentTypes', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeSku, self).__init__(**kwargs) + self.resource_type = None + self.name = None + self.kind = None + self.tier = None + self.size = None + self.family = None + self.locations = None + self.api_versions = None + self.location_info = None + self.costs = None + self.signup_option = None + self.version = None + self.availability = None + self.shipment_types = None + + +class DataBoxEdgeSkuList(msrest.serialization.Model): + """List of SKU Information objects. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of ResourceType Sku. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeSku] + :ivar next_link: Links to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DataBoxEdgeSku]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataBoxEdgeSkuList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class DCAccessCode(msrest.serialization.Model): + """DC Access code in the case of Self Managed Shipping. + + :param auth_code: DCAccess Code for the Self Managed shipment. + :type auth_code: str + """ + + _attribute_map = { + 'auth_code': {'key': 'properties.authCode', 'type': 'str'}, + } + + def __init__( + self, + *, + auth_code: Optional[str] = None, + **kwargs + ): + super(DCAccessCode, self).__init__(**kwargs) + self.auth_code = auth_code + + +class EdgeProfile(msrest.serialization.Model): + """Details about Edge Profile for the resource. + + :param subscription: Edge Profile Subscription. + :type subscription: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.EdgeProfileSubscription + """ + + _attribute_map = { + 'subscription': {'key': 'subscription', 'type': 'EdgeProfileSubscription'}, + } + + def __init__( + self, + *, + subscription: Optional["EdgeProfileSubscription"] = None, + **kwargs + ): + super(EdgeProfile, self).__init__(**kwargs) + self.subscription = subscription + + +class EdgeProfilePatch(msrest.serialization.Model): + """The Data Box Edge/Gateway Edge Profile patch. + + :param subscription: The Data Box Edge/Gateway Edge Profile Subscription patch. + :type subscription: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.EdgeProfileSubscriptionPatch + """ + + _attribute_map = { + 'subscription': {'key': 'subscription', 'type': 'EdgeProfileSubscriptionPatch'}, + } + + def __init__( + self, + *, + subscription: Optional["EdgeProfileSubscriptionPatch"] = None, + **kwargs + ): + super(EdgeProfilePatch, self).__init__(**kwargs) + self.subscription = subscription + + +class EdgeProfileSubscription(msrest.serialization.Model): + """Subscription details for the Edge Profile. + + :param registration_id: Edge Subscription Registration ID. + :type registration_id: str + :param id: ARM ID of the subscription. + :type id: str + :param state: Possible values include: "Registered", "Warned", "Suspended", "Deleted", + "Unregistered". + :type state: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SubscriptionState + :param registration_date: + :type registration_date: str + :param subscription_id: + :type subscription_id: str + :param tenant_id: + :type tenant_id: str + :param location_placement_id: + :type location_placement_id: str + :param quota_id: + :type quota_id: str + :param serialized_details: + :type serialized_details: str + :param registered_features: + :type registered_features: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.SubscriptionRegisteredFeatures] + """ + + _attribute_map = { + 'registration_id': {'key': 'registrationId', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + 'registration_date': {'key': 'registrationDate', 'type': 'str'}, + 'subscription_id': {'key': 'subscriptionId', 'type': 'str'}, + 'tenant_id': {'key': 'properties.tenantId', 'type': 'str'}, + 'location_placement_id': {'key': 'properties.locationPlacementId', 'type': 'str'}, + 'quota_id': {'key': 'properties.quotaId', 'type': 'str'}, + 'serialized_details': {'key': 'properties.serializedDetails', 'type': 'str'}, + 'registered_features': {'key': 'properties.registeredFeatures', 'type': '[SubscriptionRegisteredFeatures]'}, + } + + def __init__( + self, + *, + registration_id: Optional[str] = None, + id: Optional[str] = None, + state: Optional[Union[str, "SubscriptionState"]] = None, + registration_date: Optional[str] = None, + subscription_id: Optional[str] = None, + tenant_id: Optional[str] = None, + location_placement_id: Optional[str] = None, + quota_id: Optional[str] = None, + serialized_details: Optional[str] = None, + registered_features: Optional[List["SubscriptionRegisteredFeatures"]] = None, + **kwargs + ): + super(EdgeProfileSubscription, self).__init__(**kwargs) + self.registration_id = registration_id + self.id = id + self.state = state + self.registration_date = registration_date + self.subscription_id = subscription_id + self.tenant_id = tenant_id + self.location_placement_id = location_placement_id + self.quota_id = quota_id + self.serialized_details = serialized_details + self.registered_features = registered_features + + +class EdgeProfileSubscriptionPatch(msrest.serialization.Model): + """The Data Box Edge/Gateway Edge Profile Subscription patch. + + :param id: The path ID that uniquely identifies the subscription of the edge profile. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + **kwargs + ): + super(EdgeProfileSubscriptionPatch, self).__init__(**kwargs) + self.id = id + + +class EtcdInfo(msrest.serialization.Model): + """Etcd configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: Etcd type. + :vartype type: str + :ivar version: Etcd version. + :vartype version: str + """ + + _validation = { + 'type': {'readonly': True}, + 'version': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EtcdInfo, self).__init__(**kwargs) + self.type = None + self.version = None + + +class Trigger(ARMBaseModel): + """Trigger details. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: FileEventTrigger, PeriodicTimerEventTrigger. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Trigger in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: + "FileEvent", "PeriodicTimerEvent". + :type kind: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.TriggerEventType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'kind': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'kind': {'key': 'kind', 'type': 'str'}, + } + + _subtype_map = { + 'kind': {'FileEvent': 'FileEventTrigger', 'PeriodicTimerEvent': 'PeriodicTimerEventTrigger'} + } + + def __init__( + self, + **kwargs + ): + super(Trigger, self).__init__(**kwargs) + self.system_data = None + self.kind = 'Trigger' # type: str + + +class FileEventTrigger(Trigger): + """Trigger details. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Trigger in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: + "FileEvent", "PeriodicTimerEvent". + :type kind: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.TriggerEventType + :param source_info: Required. File event source details. + :type source_info: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.FileSourceInfo + :param sink_info: Required. Role sink info. + :type sink_info: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleSinkInfo + :param custom_context_tag: A custom context tag typically used to correlate the trigger against + its usage. For example, if a periodic timer trigger is intended for certain specific IoT + modules in the device, the tag can be the name or the image URL of the module. + :type custom_context_tag: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'kind': {'required': True}, + 'source_info': {'required': True}, + 'sink_info': {'required': True}, + 'custom_context_tag': {'max_length': 192, 'min_length': 0}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'source_info': {'key': 'properties.sourceInfo', 'type': 'FileSourceInfo'}, + 'sink_info': {'key': 'properties.sinkInfo', 'type': 'RoleSinkInfo'}, + 'custom_context_tag': {'key': 'properties.customContextTag', 'type': 'str'}, + } + + def __init__( + self, + *, + source_info: "FileSourceInfo", + sink_info: "RoleSinkInfo", + custom_context_tag: Optional[str] = None, + **kwargs + ): + super(FileEventTrigger, self).__init__(**kwargs) + self.kind = 'FileEvent' # type: str + self.source_info = source_info + self.sink_info = sink_info + self.custom_context_tag = custom_context_tag + + +class FileSourceInfo(msrest.serialization.Model): + """File source details. + + All required parameters must be populated in order to send to Azure. + + :param share_id: Required. File share ID. + :type share_id: str + """ + + _validation = { + 'share_id': {'required': True}, + } + + _attribute_map = { + 'share_id': {'key': 'shareId', 'type': 'str'}, + } + + def __init__( + self, + *, + share_id: str, + **kwargs + ): + super(FileSourceInfo, self).__init__(**kwargs) + self.share_id = share_id + + +class GenerateCertResponse(msrest.serialization.Model): + """Used in activation key generation flow. + + :param public_key: Gets or sets base64 encoded certificate raw data, + this is the public part needed to be uploaded to cert vault. + :type public_key: str + :param private_key: Gets or sets base64 encoded private part of the certificate, + needed to form the activation key. + :type private_key: str + :param expiry_time_in_utc: Gets or sets expiry time in UTC. + :type expiry_time_in_utc: str + """ + + _attribute_map = { + 'public_key': {'key': 'publicKey', 'type': 'str'}, + 'private_key': {'key': 'privateKey', 'type': 'str'}, + 'expiry_time_in_utc': {'key': 'expiryTimeInUTC', 'type': 'str'}, + } + + def __init__( + self, + *, + public_key: Optional[str] = None, + private_key: Optional[str] = None, + expiry_time_in_utc: Optional[str] = None, + **kwargs + ): + super(GenerateCertResponse, self).__init__(**kwargs) + self.public_key = public_key + self.private_key = private_key + self.expiry_time_in_utc = expiry_time_in_utc + + +class ImageRepositoryCredential(msrest.serialization.Model): + """Image repository credential. + + All required parameters must be populated in order to send to Azure. + + :param image_repository_url: Required. Image repository url (e.g.: mcr.microsoft.com). + :type image_repository_url: str + :param user_name: Required. Repository user name. + :type user_name: str + :param password: Repository user password. + :type password: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AsymmetricEncryptedSecret + """ + + _validation = { + 'image_repository_url': {'required': True}, + 'user_name': {'required': True}, + } + + _attribute_map = { + 'image_repository_url': {'key': 'imageRepositoryUrl', 'type': 'str'}, + 'user_name': {'key': 'userName', 'type': 'str'}, + 'password': {'key': 'password', 'type': 'AsymmetricEncryptedSecret'}, + } + + def __init__( + self, + *, + image_repository_url: str, + user_name: str, + password: Optional["AsymmetricEncryptedSecret"] = None, + **kwargs + ): + super(ImageRepositoryCredential, self).__init__(**kwargs) + self.image_repository_url = image_repository_url + self.user_name = user_name + self.password = password + + +class IoTAddon(Addon): + """IoT Addon. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Addon type.Constant filled by server. Possible values include: + "IotEdge", "ArcForKubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AddonType + :ivar system_data: Addon type. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param io_t_device_details: Required. IoT device metadata to which appliance needs to be + connected. + :type io_t_device_details: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.IoTDeviceInfo + :param io_t_edge_device_details: Required. IoT edge device to which the IoT Addon needs to be + configured. + :type io_t_edge_device_details: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.IoTDeviceInfo + :ivar version: Version of IoT running on the appliance. + :vartype version: str + :ivar host_platform: Host OS supported by the IoT addon. Possible values include: "Windows", + "Linux". + :vartype host_platform: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.PlatformType + :ivar host_platform_type: Platform where the runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.HostPlatformType + :ivar provisioning_state: Addon Provisioning State. Possible values include: "Invalid", + "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting". + :vartype provisioning_state: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AddonState + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'io_t_device_details': {'required': True}, + 'io_t_edge_device_details': {'required': True}, + 'version': {'readonly': True}, + 'host_platform': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'io_t_device_details': {'key': 'properties.ioTDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'io_t_edge_device_details': {'key': 'properties.ioTEdgeDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'version': {'key': 'properties.version', 'type': 'str'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + io_t_device_details: "IoTDeviceInfo", + io_t_edge_device_details: "IoTDeviceInfo", + **kwargs + ): + super(IoTAddon, self).__init__(**kwargs) + self.kind = 'IotEdge' # type: str + self.io_t_device_details = io_t_device_details + self.io_t_edge_device_details = io_t_edge_device_details + self.version = None + self.host_platform = None + self.host_platform_type = None + self.provisioning_state = None + + +class IoTDeviceInfo(msrest.serialization.Model): + """Metadata of IoT device/IoT Edge device to be configured. + + All required parameters must be populated in order to send to Azure. + + :param device_id: Required. ID of the IoT device/edge device. + :type device_id: str + :param io_t_host_hub: Required. Host name for the IoT hub associated to the device. + :type io_t_host_hub: str + :param io_t_host_hub_id: Id for the IoT hub associated to the device. + :type io_t_host_hub_id: str + :param authentication: Encrypted IoT device/IoT edge device connection string. + :type authentication: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Authentication + """ + + _validation = { + 'device_id': {'required': True}, + 'io_t_host_hub': {'required': True}, + } + + _attribute_map = { + 'device_id': {'key': 'deviceId', 'type': 'str'}, + 'io_t_host_hub': {'key': 'ioTHostHub', 'type': 'str'}, + 'io_t_host_hub_id': {'key': 'ioTHostHubId', 'type': 'str'}, + 'authentication': {'key': 'authentication', 'type': 'Authentication'}, + } + + def __init__( + self, + *, + device_id: str, + io_t_host_hub: str, + io_t_host_hub_id: Optional[str] = None, + authentication: Optional["Authentication"] = None, + **kwargs + ): + super(IoTDeviceInfo, self).__init__(**kwargs) + self.device_id = device_id + self.io_t_host_hub = io_t_host_hub + self.io_t_host_hub_id = io_t_host_hub_id + self.authentication = authentication + + +class IoTEdgeAgentInfo(msrest.serialization.Model): + """IoT edge agent details is optional, this will be used for download system Agent module while bootstrapping IoT Role if specified. + + All required parameters must be populated in order to send to Azure. + + :param image_name: Required. Name of the IoT edge agent image. + :type image_name: str + :param tag: Required. Image Tag. + :type tag: str + :param image_repository: Image repository details. + :type image_repository: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ImageRepositoryCredential + """ + + _validation = { + 'image_name': {'required': True}, + 'tag': {'required': True}, + } + + _attribute_map = { + 'image_name': {'key': 'imageName', 'type': 'str'}, + 'tag': {'key': 'tag', 'type': 'str'}, + 'image_repository': {'key': 'imageRepository', 'type': 'ImageRepositoryCredential'}, + } + + def __init__( + self, + *, + image_name: str, + tag: str, + image_repository: Optional["ImageRepositoryCredential"] = None, + **kwargs + ): + super(IoTEdgeAgentInfo, self).__init__(**kwargs) + self.image_name = image_name + self.tag = tag + self.image_repository = image_repository + + +class IoTRole(Role): + """Compute role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param host_platform: Host OS supported by the IoT role. Possible values include: "Windows", + "Linux". + :type host_platform: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.PlatformType + :param io_t_device_details: IoT device metadata to which data box edge device needs to be + connected. + :type io_t_device_details: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.IoTDeviceInfo + :param io_t_edge_device_details: IoT edge device to which the IoT role needs to be configured. + :type io_t_edge_device_details: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.IoTDeviceInfo + :param share_mappings: Mount points of shares in role(s). + :type share_mappings: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MountPointMap] + :param io_t_edge_agent_info: Iot edge agent details to download the agent and bootstrap iot + runtime. + :type io_t_edge_agent_info: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.IoTEdgeAgentInfo + :ivar host_platform_type: Platform where the Iot runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.HostPlatformType + :param compute_resource: Resource allocation. + :type compute_resource: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ComputeResource + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'io_t_device_details': {'key': 'properties.ioTDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'io_t_edge_device_details': {'key': 'properties.ioTEdgeDeviceDetails', 'type': 'IoTDeviceInfo'}, + 'share_mappings': {'key': 'properties.shareMappings', 'type': '[MountPointMap]'}, + 'io_t_edge_agent_info': {'key': 'properties.ioTEdgeAgentInfo', 'type': 'IoTEdgeAgentInfo'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'compute_resource': {'key': 'properties.computeResource', 'type': 'ComputeResource'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + *, + host_platform: Optional[Union[str, "PlatformType"]] = None, + io_t_device_details: Optional["IoTDeviceInfo"] = None, + io_t_edge_device_details: Optional["IoTDeviceInfo"] = None, + share_mappings: Optional[List["MountPointMap"]] = None, + io_t_edge_agent_info: Optional["IoTEdgeAgentInfo"] = None, + compute_resource: Optional["ComputeResource"] = None, + role_status: Optional[Union[str, "RoleStatus"]] = None, + **kwargs + ): + super(IoTRole, self).__init__(**kwargs) + self.kind = 'IOT' # type: str + self.host_platform = host_platform + self.io_t_device_details = io_t_device_details + self.io_t_edge_device_details = io_t_edge_device_details + self.share_mappings = share_mappings + self.io_t_edge_agent_info = io_t_edge_agent_info + self.host_platform_type = None + self.compute_resource = compute_resource + self.role_status = role_status + + +class Ipv4Config(msrest.serialization.Model): + """Details related to the IPv4 address configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar ip_address: The IPv4 address of the network adapter. + :vartype ip_address: str + :ivar subnet: The IPv4 subnet of the network adapter. + :vartype subnet: str + :ivar gateway: The IPv4 gateway of the network adapter. + :vartype gateway: str + """ + + _validation = { + 'ip_address': {'readonly': True}, + 'subnet': {'readonly': True}, + 'gateway': {'readonly': True}, + } + + _attribute_map = { + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + 'subnet': {'key': 'subnet', 'type': 'str'}, + 'gateway': {'key': 'gateway', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Ipv4Config, self).__init__(**kwargs) + self.ip_address = None + self.subnet = None + self.gateway = None + + +class Ipv6Config(msrest.serialization.Model): + """Details related to the IPv6 address configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar ip_address: The IPv6 address of the network adapter. + :vartype ip_address: str + :ivar prefix_length: The IPv6 prefix of the network adapter. + :vartype prefix_length: int + :ivar gateway: The IPv6 gateway of the network adapter. + :vartype gateway: str + """ + + _validation = { + 'ip_address': {'readonly': True}, + 'prefix_length': {'readonly': True}, + 'gateway': {'readonly': True}, + } + + _attribute_map = { + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + 'prefix_length': {'key': 'prefixLength', 'type': 'int'}, + 'gateway': {'key': 'gateway', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Ipv6Config, self).__init__(**kwargs) + self.ip_address = None + self.prefix_length = None + self.gateway = None + + +class Job(msrest.serialization.Model): + """A device job. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The name of the object. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar status: The current status of the job. Possible values include: "Invalid", "Running", + "Succeeded", "Failed", "Canceled", "Paused", "Scheduled". + :vartype status: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.JobStatus + :ivar start_time: The UTC date and time at which the job started. + :vartype start_time: ~datetime.datetime + :ivar end_time: The UTC date and time at which the job completed. + :vartype end_time: ~datetime.datetime + :ivar percent_complete: The percentage of the job that is complete. + :vartype percent_complete: int + :ivar error: The error details. + :vartype error: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.JobErrorDetails + :ivar job_type: The type of the job. Possible values include: "Invalid", "ScanForUpdates", + "DownloadUpdates", "InstallUpdates", "RefreshShare", "RefreshContainer", "Backup", "Restore", + "TriggerSupportPackage". + :vartype job_type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.JobType + :ivar current_stage: Current stage of the update operation. Possible values include: "Unknown", + "Initial", "ScanStarted", "ScanComplete", "ScanFailed", "DownloadStarted", "DownloadComplete", + "DownloadFailed", "InstallStarted", "InstallComplete", "InstallFailed", "RebootInitiated", + "Success", "Failure", "RescanStarted", "RescanComplete", "RescanFailed". + :vartype current_stage: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.UpdateOperationStage + :ivar download_progress: The download progress. + :vartype download_progress: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.UpdateDownloadProgress + :ivar install_progress: The install progress. + :vartype install_progress: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.UpdateInstallProgress + :ivar total_refresh_errors: Total number of errors encountered during the refresh process. + :vartype total_refresh_errors: int + :ivar error_manifest_file: Local share/remote container relative path to the error manifest + file of the refresh. + :vartype error_manifest_file: str + :ivar refreshed_entity_id: ARM ID of the entity that was refreshed. + :vartype refreshed_entity_id: str + :param folder: If only subfolders need to be refreshed, then the subfolder path inside the + share or container. (The path is empty if there are no subfolders.). + :type folder: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'status': {'readonly': True}, + 'start_time': {'readonly': True}, + 'end_time': {'readonly': True}, + 'percent_complete': {'readonly': True}, + 'error': {'readonly': True}, + 'job_type': {'readonly': True}, + 'current_stage': {'readonly': True}, + 'download_progress': {'readonly': True}, + 'install_progress': {'readonly': True}, + 'total_refresh_errors': {'readonly': True}, + 'error_manifest_file': {'readonly': True}, + 'refreshed_entity_id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'percent_complete': {'key': 'percentComplete', 'type': 'int'}, + 'error': {'key': 'error', 'type': 'JobErrorDetails'}, + 'job_type': {'key': 'properties.jobType', 'type': 'str'}, + 'current_stage': {'key': 'properties.currentStage', 'type': 'str'}, + 'download_progress': {'key': 'properties.downloadProgress', 'type': 'UpdateDownloadProgress'}, + 'install_progress': {'key': 'properties.installProgress', 'type': 'UpdateInstallProgress'}, + 'total_refresh_errors': {'key': 'properties.totalRefreshErrors', 'type': 'int'}, + 'error_manifest_file': {'key': 'properties.errorManifestFile', 'type': 'str'}, + 'refreshed_entity_id': {'key': 'properties.refreshedEntityId', 'type': 'str'}, + 'folder': {'key': 'properties.folder', 'type': 'str'}, + } + + def __init__( + self, + *, + folder: Optional[str] = None, + **kwargs + ): + super(Job, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.status = None + self.start_time = None + self.end_time = None + self.percent_complete = None + self.error = None + self.job_type = None + self.current_stage = None + self.download_progress = None + self.install_progress = None + self.total_refresh_errors = None + self.error_manifest_file = None + self.refreshed_entity_id = None + self.folder = folder + + +class JobErrorDetails(msrest.serialization.Model): + """The job error information containing the list of job errors. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar error_details: The error details. + :vartype error_details: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.JobErrorItem] + :ivar code: The code intended for programmatic access. + :vartype code: str + :ivar message: The message that describes the error in detail. + :vartype message: str + """ + + _validation = { + 'error_details': {'readonly': True}, + 'code': {'readonly': True}, + 'message': {'readonly': True}, + } + + _attribute_map = { + 'error_details': {'key': 'errorDetails', 'type': '[JobErrorItem]'}, + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(JobErrorDetails, self).__init__(**kwargs) + self.error_details = None + self.code = None + self.message = None + + +class JobErrorItem(msrest.serialization.Model): + """The job error items. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar recommendations: The recommended actions. + :vartype recommendations: list[str] + :ivar code: The code intended for programmatic access. + :vartype code: str + :ivar message: The message that describes the error in detail. + :vartype message: str + """ + + _validation = { + 'recommendations': {'readonly': True}, + 'code': {'readonly': True}, + 'message': {'readonly': True}, + } + + _attribute_map = { + 'recommendations': {'key': 'recommendations', 'type': '[str]'}, + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(JobErrorItem, self).__init__(**kwargs) + self.recommendations = None + self.code = None + self.message = None + + +class KubernetesClusterInfo(msrest.serialization.Model): + """Kubernetes cluster configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar etcd_info: Etcd configuration. + :vartype etcd_info: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.EtcdInfo + :ivar nodes: Kubernetes cluster nodes. + :vartype nodes: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.NodeInfo] + :param version: Required. Kubernetes cluster version. + :type version: str + """ + + _validation = { + 'etcd_info': {'readonly': True}, + 'nodes': {'readonly': True}, + 'version': {'required': True}, + } + + _attribute_map = { + 'etcd_info': {'key': 'etcdInfo', 'type': 'EtcdInfo'}, + 'nodes': {'key': 'nodes', 'type': '[NodeInfo]'}, + 'version': {'key': 'version', 'type': 'str'}, + } + + def __init__( + self, + *, + version: str, + **kwargs + ): + super(KubernetesClusterInfo, self).__init__(**kwargs) + self.etcd_info = None + self.nodes = None + self.version = version + + +class KubernetesIPConfiguration(msrest.serialization.Model): + """Kubernetes node IP configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar port: Port of the Kubernetes node. + :vartype port: str + :param ip_address: IP address of the Kubernetes node. + :type ip_address: str + """ + + _validation = { + 'port': {'readonly': True}, + } + + _attribute_map = { + 'port': {'key': 'port', 'type': 'str'}, + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + } + + def __init__( + self, + *, + ip_address: Optional[str] = None, + **kwargs + ): + super(KubernetesIPConfiguration, self).__init__(**kwargs) + self.port = None + self.ip_address = ip_address + + +class KubernetesRole(Role): + """Kubernetes role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param host_platform: Host OS supported by the Kubernetes role. Possible values include: + "Windows", "Linux". + :type host_platform: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.PlatformType + :ivar provisioning_state: State of Kubernetes deployment. Possible values include: "Invalid", + "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting". + :vartype provisioning_state: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.KubernetesState + :ivar host_platform_type: Platform where the runtime is hosted. Possible values include: + "KubernetesCluster", "LinuxVM". + :vartype host_platform_type: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.HostPlatformType + :param kubernetes_cluster_info: Kubernetes cluster configuration. + :type kubernetes_cluster_info: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.KubernetesClusterInfo + :param kubernetes_role_resources: Kubernetes role resources. + :type kubernetes_role_resources: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.KubernetesRoleResources + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'host_platform_type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'host_platform': {'key': 'properties.hostPlatform', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'host_platform_type': {'key': 'properties.hostPlatformType', 'type': 'str'}, + 'kubernetes_cluster_info': {'key': 'properties.kubernetesClusterInfo', 'type': 'KubernetesClusterInfo'}, + 'kubernetes_role_resources': {'key': 'properties.kubernetesRoleResources', 'type': 'KubernetesRoleResources'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + *, + host_platform: Optional[Union[str, "PlatformType"]] = None, + kubernetes_cluster_info: Optional["KubernetesClusterInfo"] = None, + kubernetes_role_resources: Optional["KubernetesRoleResources"] = None, + role_status: Optional[Union[str, "RoleStatus"]] = None, + **kwargs + ): + super(KubernetesRole, self).__init__(**kwargs) + self.kind = 'Kubernetes' # type: str + self.host_platform = host_platform + self.provisioning_state = None + self.host_platform_type = None + self.kubernetes_cluster_info = kubernetes_cluster_info + self.kubernetes_role_resources = kubernetes_role_resources + self.role_status = role_status + + +class KubernetesRoleCompute(msrest.serialization.Model): + """Kubernetes role compute resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param vm_profile: Required. VM profile. + :type vm_profile: str + :ivar memory_in_bytes: Memory in bytes. + :vartype memory_in_bytes: long + :ivar processor_count: Processor count. + :vartype processor_count: int + """ + + _validation = { + 'vm_profile': {'required': True}, + 'memory_in_bytes': {'readonly': True}, + 'processor_count': {'readonly': True}, + } + + _attribute_map = { + 'vm_profile': {'key': 'vmProfile', 'type': 'str'}, + 'memory_in_bytes': {'key': 'memoryInBytes', 'type': 'long'}, + 'processor_count': {'key': 'processorCount', 'type': 'int'}, + } + + def __init__( + self, + *, + vm_profile: str, + **kwargs + ): + super(KubernetesRoleCompute, self).__init__(**kwargs) + self.vm_profile = vm_profile + self.memory_in_bytes = None + self.processor_count = None + + +class KubernetesRoleNetwork(msrest.serialization.Model): + """Kubernetes role network resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar cni_config: Cni configuration. + :vartype cni_config: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.CniConfig + :ivar load_balancer_config: Load balancer configuration. + :vartype load_balancer_config: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.LoadBalancerConfig + """ + + _validation = { + 'cni_config': {'readonly': True}, + 'load_balancer_config': {'readonly': True}, + } + + _attribute_map = { + 'cni_config': {'key': 'cniConfig', 'type': 'CniConfig'}, + 'load_balancer_config': {'key': 'loadBalancerConfig', 'type': 'LoadBalancerConfig'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleNetwork, self).__init__(**kwargs) + self.cni_config = None + self.load_balancer_config = None + + +class KubernetesRoleResources(msrest.serialization.Model): + """Kubernetes role resources. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param storage: Kubernetes role storage resource. + :type storage: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.KubernetesRoleStorage + :param compute: Required. Kubernetes role compute resource. + :type compute: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.KubernetesRoleCompute + :ivar network: Kubernetes role network resource. + :vartype network: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.KubernetesRoleNetwork + """ + + _validation = { + 'compute': {'required': True}, + 'network': {'readonly': True}, + } + + _attribute_map = { + 'storage': {'key': 'storage', 'type': 'KubernetesRoleStorage'}, + 'compute': {'key': 'compute', 'type': 'KubernetesRoleCompute'}, + 'network': {'key': 'network', 'type': 'KubernetesRoleNetwork'}, + } + + def __init__( + self, + *, + compute: "KubernetesRoleCompute", + storage: Optional["KubernetesRoleStorage"] = None, + **kwargs + ): + super(KubernetesRoleResources, self).__init__(**kwargs) + self.storage = storage + self.compute = compute + self.network = None + + +class KubernetesRoleStorage(msrest.serialization.Model): + """Kubernetes role storage resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar storage_classes: Kubernetes storage class info. + :vartype storage_classes: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.KubernetesRoleStorageClassInfo] + :param endpoints: Mount points of shares in role(s). + :type endpoints: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MountPointMap] + """ + + _validation = { + 'storage_classes': {'readonly': True}, + } + + _attribute_map = { + 'storage_classes': {'key': 'storageClasses', 'type': '[KubernetesRoleStorageClassInfo]'}, + 'endpoints': {'key': 'endpoints', 'type': '[MountPointMap]'}, + } + + def __init__( + self, + *, + endpoints: Optional[List["MountPointMap"]] = None, + **kwargs + ): + super(KubernetesRoleStorage, self).__init__(**kwargs) + self.storage_classes = None + self.endpoints = endpoints + + +class KubernetesRoleStorageClassInfo(msrest.serialization.Model): + """Kubernetes storage class info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Storage class name. + :vartype name: str + :ivar type: Storage class type. + :vartype type: str + :ivar posix_compliant: If provisioned storage is posix compliant. Possible values include: + "Invalid", "Enabled", "Disabled". + :vartype posix_compliant: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.PosixComplianceStatus + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'posix_compliant': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'posix_compliant': {'key': 'posixCompliant', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(KubernetesRoleStorageClassInfo, self).__init__(**kwargs) + self.name = None + self.type = None + self.posix_compliant = None + + +class LoadBalancerConfig(msrest.serialization.Model): + """Load balancer configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: Load balancer type. + :vartype type: str + :ivar version: Load balancer version. + :vartype version: str + """ + + _validation = { + 'type': {'readonly': True}, + 'version': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LoadBalancerConfig, self).__init__(**kwargs) + self.type = None + self.version = None + + +class MECRole(Role): + """MEC role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param kind: Required. Role type.Constant filled by server. Possible values include: "IOT", + "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes". + :type kind: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleTypes + :ivar system_data: Role configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param connection_string: Activation key of the MEC. + :type connection_string: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AsymmetricEncryptedSecret + :param controller_endpoint: Controller Endpoint. + :type controller_endpoint: str + :param resource_unique_id: Unique Id of the Resource. + :type resource_unique_id: str + :param role_status: Role status. Possible values include: "Enabled", "Disabled". + :type role_status: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleStatus + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kind': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'connection_string': {'key': 'properties.connectionString', 'type': 'AsymmetricEncryptedSecret'}, + 'controller_endpoint': {'key': 'properties.controllerEndpoint', 'type': 'str'}, + 'resource_unique_id': {'key': 'properties.resourceUniqueId', 'type': 'str'}, + 'role_status': {'key': 'properties.roleStatus', 'type': 'str'}, + } + + def __init__( + self, + *, + connection_string: Optional["AsymmetricEncryptedSecret"] = None, + controller_endpoint: Optional[str] = None, + resource_unique_id: Optional[str] = None, + role_status: Optional[Union[str, "RoleStatus"]] = None, + **kwargs + ): + super(MECRole, self).__init__(**kwargs) + self.kind = 'MEC' # type: str + self.connection_string = connection_string + self.controller_endpoint = controller_endpoint + self.resource_unique_id = resource_unique_id + self.role_status = role_status + + +class MetricConfiguration(msrest.serialization.Model): + """Metric configuration. + + All required parameters must be populated in order to send to Azure. + + :param resource_id: Required. The Resource ID on which the metrics should be pushed. + :type resource_id: str + :param mdm_account: The MDM account to which the counters should be pushed. + :type mdm_account: str + :param metric_name_space: The MDM namespace to which the counters should be pushed. This is + required if MDMAccount is specified. + :type metric_name_space: str + :param counter_sets: Required. Host name for the IoT hub associated to the device. + :type counter_sets: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MetricCounterSet] + """ + + _validation = { + 'resource_id': {'required': True}, + 'counter_sets': {'required': True}, + } + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'mdm_account': {'key': 'mdmAccount', 'type': 'str'}, + 'metric_name_space': {'key': 'metricNameSpace', 'type': 'str'}, + 'counter_sets': {'key': 'counterSets', 'type': '[MetricCounterSet]'}, + } + + def __init__( + self, + *, + resource_id: str, + counter_sets: List["MetricCounterSet"], + mdm_account: Optional[str] = None, + metric_name_space: Optional[str] = None, + **kwargs + ): + super(MetricConfiguration, self).__init__(**kwargs) + self.resource_id = resource_id + self.mdm_account = mdm_account + self.metric_name_space = metric_name_space + self.counter_sets = counter_sets + + +class MetricCounter(msrest.serialization.Model): + """The metric counter. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The counter name. + :type name: str + :param instance: The instance from which counter should be collected. + :type instance: str + :param dimension_filter: The dimension filter. + :type dimension_filter: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MetricDimension] + :param additional_dimensions: The additional dimensions to be added to metric. + :type additional_dimensions: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MetricDimension] + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'instance': {'key': 'instance', 'type': 'str'}, + 'dimension_filter': {'key': 'dimensionFilter', 'type': '[MetricDimension]'}, + 'additional_dimensions': {'key': 'additionalDimensions', 'type': '[MetricDimension]'}, + } + + def __init__( + self, + *, + name: str, + instance: Optional[str] = None, + dimension_filter: Optional[List["MetricDimension"]] = None, + additional_dimensions: Optional[List["MetricDimension"]] = None, + **kwargs + ): + super(MetricCounter, self).__init__(**kwargs) + self.name = name + self.instance = instance + self.dimension_filter = dimension_filter + self.additional_dimensions = additional_dimensions + + +class MetricCounterSet(msrest.serialization.Model): + """The metric counter set. + + All required parameters must be populated in order to send to Azure. + + :param counters: Required. The counters that should be collected in this set. + :type counters: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MetricCounter] + """ + + _validation = { + 'counters': {'required': True}, + } + + _attribute_map = { + 'counters': {'key': 'counters', 'type': '[MetricCounter]'}, + } + + def __init__( + self, + *, + counters: List["MetricCounter"], + **kwargs + ): + super(MetricCounterSet, self).__init__(**kwargs) + self.counters = counters + + +class MetricDimension(msrest.serialization.Model): + """The metric dimension. + + All required parameters must be populated in order to send to Azure. + + :param source_type: Required. The dimension type. + :type source_type: str + :param source_name: Required. The dimension value. + :type source_name: str + """ + + _validation = { + 'source_type': {'required': True}, + 'source_name': {'required': True}, + } + + _attribute_map = { + 'source_type': {'key': 'sourceType', 'type': 'str'}, + 'source_name': {'key': 'sourceName', 'type': 'str'}, + } + + def __init__( + self, + *, + source_type: str, + source_name: str, + **kwargs + ): + super(MetricDimension, self).__init__(**kwargs) + self.source_type = source_type + self.source_name = source_name + + +class MetricDimensionV1(msrest.serialization.Model): + """Metric Dimension v1. + + :param name: Name of the metrics dimension. + :type name: str + :param display_name: Display name of the metrics dimension. + :type display_name: str + :param to_be_exported_for_shoebox: To be exported to shoe box. + :type to_be_exported_for_shoebox: bool + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'to_be_exported_for_shoebox': {'key': 'toBeExportedForShoebox', 'type': 'bool'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + display_name: Optional[str] = None, + to_be_exported_for_shoebox: Optional[bool] = None, + **kwargs + ): + super(MetricDimensionV1, self).__init__(**kwargs) + self.name = name + self.display_name = display_name + self.to_be_exported_for_shoebox = to_be_exported_for_shoebox + + +class MetricSpecificationV1(msrest.serialization.Model): + """Metric specification version 1. + + :param name: Name of the metric. + :type name: str + :param display_name: Display name of the metric. + :type display_name: str + :param display_description: Description of the metric to be displayed. + :type display_description: str + :param unit: Metric units. Possible values include: "NotSpecified", "Percent", "Count", + "Seconds", "Milliseconds", "Bytes", "BytesPerSecond", "CountPerSecond". + :type unit: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.MetricUnit + :param aggregation_type: Metric aggregation type. Possible values include: "NotSpecified", + "None", "Average", "Minimum", "Maximum", "Total", "Count". + :type aggregation_type: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.MetricAggregationType + :param dimensions: Metric dimensions, other than default dimension which is resource. + :type dimensions: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MetricDimensionV1] + :param fill_gap_with_zero: Set true to fill the gaps with zero. + :type fill_gap_with_zero: bool + :param category: Metric category. Possible values include: "Capacity", "Transaction". + :type category: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.MetricCategory + :param resource_id_dimension_name_override: Resource name override. + :type resource_id_dimension_name_override: str + :param supported_time_grain_types: Support granularity of metrics. + :type supported_time_grain_types: list[str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.TimeGrain] + :param supported_aggregation_types: Support metric aggregation type. + :type supported_aggregation_types: list[str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.MetricAggregationType] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'display_description': {'key': 'displayDescription', 'type': 'str'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, + 'dimensions': {'key': 'dimensions', 'type': '[MetricDimensionV1]'}, + 'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'}, + 'category': {'key': 'category', 'type': 'str'}, + 'resource_id_dimension_name_override': {'key': 'resourceIdDimensionNameOverride', 'type': 'str'}, + 'supported_time_grain_types': {'key': 'supportedTimeGrainTypes', 'type': '[str]'}, + 'supported_aggregation_types': {'key': 'supportedAggregationTypes', 'type': '[str]'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + display_name: Optional[str] = None, + display_description: Optional[str] = None, + unit: Optional[Union[str, "MetricUnit"]] = None, + aggregation_type: Optional[Union[str, "MetricAggregationType"]] = None, + dimensions: Optional[List["MetricDimensionV1"]] = None, + fill_gap_with_zero: Optional[bool] = None, + category: Optional[Union[str, "MetricCategory"]] = None, + resource_id_dimension_name_override: Optional[str] = None, + supported_time_grain_types: Optional[List[Union[str, "TimeGrain"]]] = None, + supported_aggregation_types: Optional[List[Union[str, "MetricAggregationType"]]] = None, + **kwargs + ): + super(MetricSpecificationV1, self).__init__(**kwargs) + self.name = name + self.display_name = display_name + self.display_description = display_description + self.unit = unit + self.aggregation_type = aggregation_type + self.dimensions = dimensions + self.fill_gap_with_zero = fill_gap_with_zero + self.category = category + self.resource_id_dimension_name_override = resource_id_dimension_name_override + self.supported_time_grain_types = supported_time_grain_types + self.supported_aggregation_types = supported_aggregation_types + + +class MonitoringMetricConfiguration(ARMBaseModel): + """The metric setting details for the role. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: MonitoringConfiguration on ASE device. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param metric_configurations: Required. The metrics configuration details. + :type metric_configurations: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MetricConfiguration] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'metric_configurations': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'metric_configurations': {'key': 'properties.metricConfigurations', 'type': '[MetricConfiguration]'}, + } + + def __init__( + self, + *, + metric_configurations: List["MetricConfiguration"], + **kwargs + ): + super(MonitoringMetricConfiguration, self).__init__(**kwargs) + self.system_data = None + self.metric_configurations = metric_configurations + + +class MonitoringMetricConfigurationList(msrest.serialization.Model): + """Collection of metric configurations. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of metric configurations. + :vartype value: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MonitoringMetricConfiguration] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[MonitoringMetricConfiguration]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MonitoringMetricConfigurationList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class MountPointMap(msrest.serialization.Model): + """The share mount point. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param share_id: Required. ID of the share mounted to the role VM. + :type share_id: str + :ivar role_id: ID of the role to which share is mounted. + :vartype role_id: str + :ivar mount_point: Mount point for the share. + :vartype mount_point: str + :ivar mount_type: Mounting type. Possible values include: "Volume", "HostPath". + :vartype mount_type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.MountType + :ivar role_type: Role type. Possible values include: "IOT", "ASA", "Functions", "Cognitive", + "MEC", "CloudEdgeManagement", "Kubernetes". + :vartype role_type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleTypes + """ + + _validation = { + 'share_id': {'required': True}, + 'role_id': {'readonly': True}, + 'mount_point': {'readonly': True}, + 'mount_type': {'readonly': True}, + 'role_type': {'readonly': True}, + } + + _attribute_map = { + 'share_id': {'key': 'shareId', 'type': 'str'}, + 'role_id': {'key': 'roleId', 'type': 'str'}, + 'mount_point': {'key': 'mountPoint', 'type': 'str'}, + 'mount_type': {'key': 'mountType', 'type': 'str'}, + 'role_type': {'key': 'roleType', 'type': 'str'}, + } + + def __init__( + self, + *, + share_id: str, + **kwargs + ): + super(MountPointMap, self).__init__(**kwargs) + self.share_id = share_id + self.role_id = None + self.mount_point = None + self.mount_type = None + self.role_type = None + + +class NetworkAdapter(msrest.serialization.Model): + """Represents the networkAdapter on a device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar adapter_id: Instance ID of network adapter. + :vartype adapter_id: str + :ivar adapter_position: Hardware position of network adapter. + :vartype adapter_position: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.NetworkAdapterPosition + :ivar index: Logical index of the adapter. + :vartype index: int + :ivar node_id: Node ID of the network adapter. + :vartype node_id: str + :ivar network_adapter_name: Network adapter name. + :vartype network_adapter_name: str + :ivar label: Hardware label for the adapter. + :vartype label: str + :ivar mac_address: MAC address. + :vartype mac_address: str + :ivar link_speed: Link speed. + :vartype link_speed: long + :ivar status: Value indicating whether this adapter is valid. Possible values include: + "Inactive", "Active". + :vartype status: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.NetworkAdapterStatus + :param rdma_status: Value indicating whether this adapter is RDMA capable. Possible values + include: "Incapable", "Capable". + :type rdma_status: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.NetworkAdapterRDMAStatus + :param dhcp_status: Value indicating whether this adapter has DHCP enabled. Possible values + include: "Disabled", "Enabled". + :type dhcp_status: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.NetworkAdapterDHCPStatus + :ivar ipv4_configuration: The IPv4 configuration of the network adapter. + :vartype ipv4_configuration: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Ipv4Config + :ivar ipv6_configuration: The IPv6 configuration of the network adapter. + :vartype ipv6_configuration: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Ipv6Config + :ivar ipv6_link_local_address: The IPv6 local address. + :vartype ipv6_link_local_address: str + :ivar dns_servers: The list of DNS Servers of the device. + :vartype dns_servers: list[str] + """ + + _validation = { + 'adapter_id': {'readonly': True}, + 'adapter_position': {'readonly': True}, + 'index': {'readonly': True}, + 'node_id': {'readonly': True}, + 'network_adapter_name': {'readonly': True}, + 'label': {'readonly': True}, + 'mac_address': {'readonly': True}, + 'link_speed': {'readonly': True}, + 'status': {'readonly': True}, + 'ipv4_configuration': {'readonly': True}, + 'ipv6_configuration': {'readonly': True}, + 'ipv6_link_local_address': {'readonly': True}, + 'dns_servers': {'readonly': True}, + } + + _attribute_map = { + 'adapter_id': {'key': 'adapterId', 'type': 'str'}, + 'adapter_position': {'key': 'adapterPosition', 'type': 'NetworkAdapterPosition'}, + 'index': {'key': 'index', 'type': 'int'}, + 'node_id': {'key': 'nodeId', 'type': 'str'}, + 'network_adapter_name': {'key': 'networkAdapterName', 'type': 'str'}, + 'label': {'key': 'label', 'type': 'str'}, + 'mac_address': {'key': 'macAddress', 'type': 'str'}, + 'link_speed': {'key': 'linkSpeed', 'type': 'long'}, + 'status': {'key': 'status', 'type': 'str'}, + 'rdma_status': {'key': 'rdmaStatus', 'type': 'str'}, + 'dhcp_status': {'key': 'dhcpStatus', 'type': 'str'}, + 'ipv4_configuration': {'key': 'ipv4Configuration', 'type': 'Ipv4Config'}, + 'ipv6_configuration': {'key': 'ipv6Configuration', 'type': 'Ipv6Config'}, + 'ipv6_link_local_address': {'key': 'ipv6LinkLocalAddress', 'type': 'str'}, + 'dns_servers': {'key': 'dnsServers', 'type': '[str]'}, + } + + def __init__( + self, + *, + rdma_status: Optional[Union[str, "NetworkAdapterRDMAStatus"]] = None, + dhcp_status: Optional[Union[str, "NetworkAdapterDHCPStatus"]] = None, + **kwargs + ): + super(NetworkAdapter, self).__init__(**kwargs) + self.adapter_id = None + self.adapter_position = None + self.index = None + self.node_id = None + self.network_adapter_name = None + self.label = None + self.mac_address = None + self.link_speed = None + self.status = None + self.rdma_status = rdma_status + self.dhcp_status = dhcp_status + self.ipv4_configuration = None + self.ipv6_configuration = None + self.ipv6_link_local_address = None + self.dns_servers = None + + +class NetworkAdapterPosition(msrest.serialization.Model): + """The network adapter position. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar network_group: The network group. Possible values include: "None", "NonRDMA", "RDMA". + :vartype network_group: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.NetworkGroup + :ivar port: The port. + :vartype port: int + """ + + _validation = { + 'network_group': {'readonly': True}, + 'port': {'readonly': True}, + } + + _attribute_map = { + 'network_group': {'key': 'networkGroup', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkAdapterPosition, self).__init__(**kwargs) + self.network_group = None + self.port = None + + +class NetworkSettings(ARMBaseModel): + """The network settings of a device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: NetworkSettings on ASE device. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :ivar network_adapters: The network adapter list on the device. + :vartype network_adapters: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.NetworkAdapter] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'network_adapters': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'network_adapters': {'key': 'properties.networkAdapters', 'type': '[NetworkAdapter]'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkSettings, self).__init__(**kwargs) + self.system_data = None + self.network_adapters = None + + +class Node(ARMBaseModel): + """Represents a single node in a Data box Edge/Gateway device +Gateway devices, standalone Edge devices and a single node cluster Edge device will all have 1 node +Multi-node Edge devices will have more than 1 nodes. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar node_status: The current status of the individual node. Possible values include: + "Unknown", "Up", "Down", "Rebooting", "ShuttingDown". + :vartype node_status: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.NodeStatus + :ivar node_chassis_serial_number: Serial number of the Chassis. + :vartype node_chassis_serial_number: str + :ivar node_serial_number: Serial number of the individual node. + :vartype node_serial_number: str + :ivar node_display_name: Display Name of the individual node. + :vartype node_display_name: str + :ivar node_friendly_software_version: Friendly software version name that is currently + installed on the node. + :vartype node_friendly_software_version: str + :ivar node_hcs_version: HCS version that is currently installed on the node. + :vartype node_hcs_version: str + :ivar node_instance_id: Guid instance id of the node. + :vartype node_instance_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'node_status': {'readonly': True}, + 'node_chassis_serial_number': {'readonly': True}, + 'node_serial_number': {'readonly': True}, + 'node_display_name': {'readonly': True}, + 'node_friendly_software_version': {'readonly': True}, + 'node_hcs_version': {'readonly': True}, + 'node_instance_id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'node_status': {'key': 'properties.nodeStatus', 'type': 'str'}, + 'node_chassis_serial_number': {'key': 'properties.nodeChassisSerialNumber', 'type': 'str'}, + 'node_serial_number': {'key': 'properties.nodeSerialNumber', 'type': 'str'}, + 'node_display_name': {'key': 'properties.nodeDisplayName', 'type': 'str'}, + 'node_friendly_software_version': {'key': 'properties.nodeFriendlySoftwareVersion', 'type': 'str'}, + 'node_hcs_version': {'key': 'properties.nodeHcsVersion', 'type': 'str'}, + 'node_instance_id': {'key': 'properties.nodeInstanceId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Node, self).__init__(**kwargs) + self.node_status = None + self.node_chassis_serial_number = None + self.node_serial_number = None + self.node_display_name = None + self.node_friendly_software_version = None + self.node_hcs_version = None + self.node_instance_id = None + + +class NodeInfo(msrest.serialization.Model): + """Kubernetes node info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Node name. + :vartype name: str + :ivar type: Node type - Master/Worker. Possible values include: "Invalid", "Master", "Worker". + :vartype type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.KubernetesNodeType + :param ip_configuration: IP Configuration of the Kubernetes node. + :type ip_configuration: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.KubernetesIPConfiguration] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'ip_configuration': {'key': 'ipConfiguration', 'type': '[KubernetesIPConfiguration]'}, + } + + def __init__( + self, + *, + ip_configuration: Optional[List["KubernetesIPConfiguration"]] = None, + **kwargs + ): + super(NodeInfo, self).__init__(**kwargs) + self.name = None + self.type = None + self.ip_configuration = ip_configuration + + +class NodeList(msrest.serialization.Model): + """Collection of Nodes. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of Nodes. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Node] + :param next_link: Link to the next set of results. + :type next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Node]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + next_link: Optional[str] = None, + **kwargs + ): + super(NodeList, self).__init__(**kwargs) + self.value = None + self.next_link = next_link + + +class Operation(msrest.serialization.Model): + """Operations. + + :param name: Name of the operation. + :type name: str + :param display: Properties displayed for the operation. + :type display: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.OperationDisplay + :param origin: Origin of the operation. + :type origin: str + :param is_data_action: Indicates whether the operation is a data action. + :type is_data_action: bool + :param service_specification: Service specification. + :type service_specification: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ServiceSpecification + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'OperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, + 'service_specification': {'key': 'properties.serviceSpecification', 'type': 'ServiceSpecification'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + display: Optional["OperationDisplay"] = None, + origin: Optional[str] = None, + is_data_action: Optional[bool] = None, + service_specification: Optional["ServiceSpecification"] = None, + **kwargs + ): + super(Operation, self).__init__(**kwargs) + self.name = name + self.display = display + self.origin = origin + self.is_data_action = is_data_action + self.service_specification = service_specification + + +class OperationDisplay(msrest.serialization.Model): + """Operation display properties. + + :param provider: Provider name. + :type provider: str + :param resource: The type of resource in which the operation is performed. + :type resource: str + :param operation: Operation to be performed on the resource. + :type operation: str + :param description: Description of the operation to be performed. + :type description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + *, + provider: Optional[str] = None, + resource: Optional[str] = None, + operation: Optional[str] = None, + description: Optional[str] = None, + **kwargs + ): + super(OperationDisplay, self).__init__(**kwargs) + self.provider = provider + self.resource = resource + self.operation = operation + self.description = description + + +class OperationsList(msrest.serialization.Model): + """The list of operations used for the discovery of available provider operations. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. The value. + :type value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Operation] + :param next_link: Link to the next set of results. + :type next_link: str + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Operation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: List["Operation"], + next_link: Optional[str] = None, + **kwargs + ): + super(OperationsList, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class Order(ARMBaseModel): + """The order details. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Order configured on ASE resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param contact_information: The contact details. + :type contact_information: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ContactDetails + :param shipping_address: The shipping address. + :type shipping_address: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Address + :ivar current_status: Current status of the order. + :vartype current_status: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.OrderStatus + :ivar order_history: List of status changes in the order. + :vartype order_history: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.OrderStatus] + :ivar serial_number: Serial number of the device. + :vartype serial_number: str + :ivar delivery_tracking_info: Tracking information for the package delivered to the customer + whether it has an original or a replacement device. + :vartype delivery_tracking_info: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.TrackingInfo] + :ivar return_tracking_info: Tracking information for the package returned from the customer + whether it has an original or a replacement device. + :vartype return_tracking_info: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.TrackingInfo] + :param shipment_type: ShipmentType of the order. Possible values include: "NotApplicable", + "ShippedToCustomer", "SelfPickup". + :type shipment_type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ShipmentType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'current_status': {'readonly': True}, + 'order_history': {'readonly': True}, + 'serial_number': {'readonly': True}, + 'delivery_tracking_info': {'readonly': True}, + 'return_tracking_info': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'contact_information': {'key': 'properties.contactInformation', 'type': 'ContactDetails'}, + 'shipping_address': {'key': 'properties.shippingAddress', 'type': 'Address'}, + 'current_status': {'key': 'properties.currentStatus', 'type': 'OrderStatus'}, + 'order_history': {'key': 'properties.orderHistory', 'type': '[OrderStatus]'}, + 'serial_number': {'key': 'properties.serialNumber', 'type': 'str'}, + 'delivery_tracking_info': {'key': 'properties.deliveryTrackingInfo', 'type': '[TrackingInfo]'}, + 'return_tracking_info': {'key': 'properties.returnTrackingInfo', 'type': '[TrackingInfo]'}, + 'shipment_type': {'key': 'properties.shipmentType', 'type': 'str'}, + } + + def __init__( + self, + *, + contact_information: Optional["ContactDetails"] = None, + shipping_address: Optional["Address"] = None, + shipment_type: Optional[Union[str, "ShipmentType"]] = None, + **kwargs + ): + super(Order, self).__init__(**kwargs) + self.system_data = None + self.contact_information = contact_information + self.shipping_address = shipping_address + self.current_status = None + self.order_history = None + self.serial_number = None + self.delivery_tracking_info = None + self.return_tracking_info = None + self.shipment_type = shipment_type + + +class OrderList(msrest.serialization.Model): + """List of order entities. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of orders. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Order] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Order]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OrderList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class OrderStatus(msrest.serialization.Model): + """Represents a single status change. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param status: Required. Status of the order as per the allowed status types. Possible values + include: "Untracked", "AwaitingFulfillment", "AwaitingPreparation", "AwaitingShipment", + "Shipped", "Arriving", "Delivered", "ReplacementRequested", "LostDevice", "Declined", + "ReturnInitiated", "AwaitingReturnShipment", "ShippedBack", "CollectedAtMicrosoft", + "AwaitingPickup", "PickupCompleted", "AwaitingDrop". + :type status: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.OrderState + :ivar update_date_time: Time of status update. + :vartype update_date_time: ~datetime.datetime + :param comments: Comments related to this status change. + :type comments: str + :ivar tracking_information: Tracking information related to the state in the ordering flow. + :vartype tracking_information: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.TrackingInfo + :ivar additional_order_details: Dictionary to hold generic information which is not stored + by the already existing properties. + :vartype additional_order_details: dict[str, str] + """ + + _validation = { + 'status': {'required': True}, + 'update_date_time': {'readonly': True}, + 'tracking_information': {'readonly': True}, + 'additional_order_details': {'readonly': True}, + } + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + 'update_date_time': {'key': 'updateDateTime', 'type': 'iso-8601'}, + 'comments': {'key': 'comments', 'type': 'str'}, + 'tracking_information': {'key': 'trackingInformation', 'type': 'TrackingInfo'}, + 'additional_order_details': {'key': 'additionalOrderDetails', 'type': '{str}'}, + } + + def __init__( + self, + *, + status: Union[str, "OrderState"], + comments: Optional[str] = None, + **kwargs + ): + super(OrderStatus, self).__init__(**kwargs) + self.status = status + self.update_date_time = None + self.comments = comments + self.tracking_information = None + self.additional_order_details = None + + +class PeriodicTimerEventTrigger(Trigger): + """Trigger details. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Trigger in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param kind: Required. Trigger Kind.Constant filled by server. Possible values include: + "FileEvent", "PeriodicTimerEvent". + :type kind: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.TriggerEventType + :param source_info: Required. Periodic timer details. + :type source_info: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.PeriodicTimerSourceInfo + :param sink_info: Required. Role Sink information. + :type sink_info: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleSinkInfo + :param custom_context_tag: A custom context tag typically used to correlate the trigger against + its usage. For example, if a periodic timer trigger is intended for certain specific IoT + modules in the device, the tag can be the name or the image URL of the module. + :type custom_context_tag: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'kind': {'required': True}, + 'source_info': {'required': True}, + 'sink_info': {'required': True}, + 'custom_context_tag': {'max_length': 192, 'min_length': 0}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'source_info': {'key': 'properties.sourceInfo', 'type': 'PeriodicTimerSourceInfo'}, + 'sink_info': {'key': 'properties.sinkInfo', 'type': 'RoleSinkInfo'}, + 'custom_context_tag': {'key': 'properties.customContextTag', 'type': 'str'}, + } + + def __init__( + self, + *, + source_info: "PeriodicTimerSourceInfo", + sink_info: "RoleSinkInfo", + custom_context_tag: Optional[str] = None, + **kwargs + ): + super(PeriodicTimerEventTrigger, self).__init__(**kwargs) + self.kind = 'PeriodicTimerEvent' # type: str + self.source_info = source_info + self.sink_info = sink_info + self.custom_context_tag = custom_context_tag + + +class PeriodicTimerSourceInfo(msrest.serialization.Model): + """Periodic timer event source. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. The time of the day that results in a valid trigger. Schedule is + computed with reference to the time specified upto seconds. If timezone is not specified the + time will considered to be in device timezone. The value will always be returned as UTC time. + :type start_time: ~datetime.datetime + :param schedule: Required. Periodic frequency at which timer event needs to be raised. Supports + daily, hourly, minutes, and seconds. + :type schedule: str + :param topic: Topic where periodic events are published to IoT device. + :type topic: str + """ + + _validation = { + 'start_time': {'required': True}, + 'schedule': {'required': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'schedule': {'key': 'schedule', 'type': 'str'}, + 'topic': {'key': 'topic', 'type': 'str'}, + } + + def __init__( + self, + *, + start_time: datetime.datetime, + schedule: str, + topic: Optional[str] = None, + **kwargs + ): + super(PeriodicTimerSourceInfo, self).__init__(**kwargs) + self.start_time = start_time + self.schedule = schedule + self.topic = topic + + +class RefreshDetails(msrest.serialization.Model): + """Fields for tracking refresh job on the share or container. + + :param in_progress_refresh_job_id: If a refresh job is currently in progress on this share or + container, this field indicates the ARM resource ID of that job. The field is empty if no job + is in progress. + :type in_progress_refresh_job_id: str + :param last_completed_refresh_job_time_in_utc: Indicates the completed time for the last + refresh job on this particular share or container, if any.This could be a failed job or a + successful job. + :type last_completed_refresh_job_time_in_utc: ~datetime.datetime + :param error_manifest_file: Indicates the relative path of the error xml for the last refresh + job on this particular share or container, if any. This could be a failed job or a successful + job. + :type error_manifest_file: str + :param last_job: Indicates the id of the last refresh job on this particular share or + container,if any. This could be a failed job or a successful job. + :type last_job: str + """ + + _attribute_map = { + 'in_progress_refresh_job_id': {'key': 'inProgressRefreshJobId', 'type': 'str'}, + 'last_completed_refresh_job_time_in_utc': {'key': 'lastCompletedRefreshJobTimeInUTC', 'type': 'iso-8601'}, + 'error_manifest_file': {'key': 'errorManifestFile', 'type': 'str'}, + 'last_job': {'key': 'lastJob', 'type': 'str'}, + } + + def __init__( + self, + *, + in_progress_refresh_job_id: Optional[str] = None, + last_completed_refresh_job_time_in_utc: Optional[datetime.datetime] = None, + error_manifest_file: Optional[str] = None, + last_job: Optional[str] = None, + **kwargs + ): + super(RefreshDetails, self).__init__(**kwargs) + self.in_progress_refresh_job_id = in_progress_refresh_job_id + self.last_completed_refresh_job_time_in_utc = last_completed_refresh_job_time_in_utc + self.error_manifest_file = error_manifest_file + self.last_job = last_job + + +class ResourceIdentity(msrest.serialization.Model): + """Msi identity details of the resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param type: Identity type. Possible values include: "None", "SystemAssigned", "UserAssigned". + :type type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.MsiIdentityType + :ivar principal_id: Service Principal Id backing the Msi. + :vartype principal_id: str + :ivar tenant_id: Home Tenant Id. + :vartype tenant_id: str + """ + + _validation = { + 'principal_id': {'readonly': True}, + 'tenant_id': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'principal_id': {'key': 'principalId', 'type': 'str'}, + 'tenant_id': {'key': 'tenantId', 'type': 'str'}, + } + + def __init__( + self, + *, + type: Optional[Union[str, "MsiIdentityType"]] = None, + **kwargs + ): + super(ResourceIdentity, self).__init__(**kwargs) + self.type = type + self.principal_id = None + self.tenant_id = None + + +class ResourceMoveDetails(msrest.serialization.Model): + """Fields for tracking resource move. + + :param operation_in_progress: Denotes whether move operation is in progress. Possible values + include: "None", "ResourceMoveInProgress", "ResourceMoveFailed". + :type operation_in_progress: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ResourceMoveStatus + :param operation_in_progress_lock_timeout_in_utc: Denotes the timeout of the operation to + finish. + :type operation_in_progress_lock_timeout_in_utc: ~datetime.datetime + """ + + _attribute_map = { + 'operation_in_progress': {'key': 'operationInProgress', 'type': 'str'}, + 'operation_in_progress_lock_timeout_in_utc': {'key': 'operationInProgressLockTimeoutInUTC', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + operation_in_progress: Optional[Union[str, "ResourceMoveStatus"]] = None, + operation_in_progress_lock_timeout_in_utc: Optional[datetime.datetime] = None, + **kwargs + ): + super(ResourceMoveDetails, self).__init__(**kwargs) + self.operation_in_progress = operation_in_progress + self.operation_in_progress_lock_timeout_in_utc = operation_in_progress_lock_timeout_in_utc + + +class ResourceTypeSku(msrest.serialization.Model): + """Resource type Sku object. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar resource_type: The resource type. + :vartype resource_type: str + :ivar skus: The skus. + :vartype skus: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.SkuInformation] + """ + + _validation = { + 'resource_type': {'readonly': True}, + 'skus': {'readonly': True}, + } + + _attribute_map = { + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'skus': {'key': 'skus', 'type': '[SkuInformation]'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceTypeSku, self).__init__(**kwargs) + self.resource_type = None + self.skus = None + + +class RoleList(msrest.serialization.Model): + """Collection of all the roles on the Data Box Edge device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The Value. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Role] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Role]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RoleList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class RoleSinkInfo(msrest.serialization.Model): + """Compute role against which events will be raised. + + All required parameters must be populated in order to send to Azure. + + :param role_id: Required. Compute role ID. + :type role_id: str + """ + + _validation = { + 'role_id': {'required': True}, + } + + _attribute_map = { + 'role_id': {'key': 'roleId', 'type': 'str'}, + } + + def __init__( + self, + *, + role_id: str, + **kwargs + ): + super(RoleSinkInfo, self).__init__(**kwargs) + self.role_id = role_id + + +class Secret(msrest.serialization.Model): + """Holds device secret either as a KeyVault reference or as an encrypted value. + + :param encrypted_secret: Encrypted (using device public key) secret value. + :type encrypted_secret: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AsymmetricEncryptedSecret + :param key_vault_id: Id of the Key-Vault where secret is stored (ex: + secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740). + :type key_vault_id: str + """ + + _attribute_map = { + 'encrypted_secret': {'key': 'encryptedSecret', 'type': 'AsymmetricEncryptedSecret'}, + 'key_vault_id': {'key': 'keyVaultId', 'type': 'str'}, + } + + def __init__( + self, + *, + encrypted_secret: Optional["AsymmetricEncryptedSecret"] = None, + key_vault_id: Optional[str] = None, + **kwargs + ): + super(Secret, self).__init__(**kwargs) + self.encrypted_secret = encrypted_secret + self.key_vault_id = key_vault_id + + +class SecuritySettings(ARMBaseModel): + """The security settings of a device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :param device_admin_password: Required. Device administrator password as an encrypted string + (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual + password should have at least 8 characters that are a combination of uppercase, lowercase, + numeric, and special characters. + :type device_admin_password: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AsymmetricEncryptedSecret + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'device_admin_password': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'device_admin_password': {'key': 'properties.deviceAdminPassword', 'type': 'AsymmetricEncryptedSecret'}, + } + + def __init__( + self, + *, + device_admin_password: "AsymmetricEncryptedSecret", + **kwargs + ): + super(SecuritySettings, self).__init__(**kwargs) + self.device_admin_password = device_admin_password + + +class ServiceSpecification(msrest.serialization.Model): + """Service specification. + + :param metric_specifications: Metric specification as defined by shoebox. + :type metric_specifications: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MetricSpecificationV1] + """ + + _attribute_map = { + 'metric_specifications': {'key': 'metricSpecifications', 'type': '[MetricSpecificationV1]'}, + } + + def __init__( + self, + *, + metric_specifications: Optional[List["MetricSpecificationV1"]] = None, + **kwargs + ): + super(ServiceSpecification, self).__init__(**kwargs) + self.metric_specifications = metric_specifications + + +class Share(ARMBaseModel): + """Represents a share on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: Share on ASE device. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param description: Description for the share. + :type description: str + :param share_status: Required. Current status of the share. Possible values include: "Offline", + "Unknown", "OK", "Updating", "NeedsAttention". + :type share_status: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ShareStatus + :param monitoring_status: Required. Current monitoring status of the share. Possible values + include: "Enabled", "Disabled". + :type monitoring_status: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.MonitoringStatus + :param azure_container_info: Azure container mapping for the share. + :type azure_container_info: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AzureContainerInfo + :param access_protocol: Required. Access protocol to be used by the share. Possible values + include: "SMB", "NFS". + :type access_protocol: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ShareAccessProtocol + :param user_access_rights: Mapping of users and corresponding access rights on the share + (required for SMB protocol). + :type user_access_rights: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.UserAccessRight] + :param client_access_rights: List of IP addresses and corresponding access rights on the + share(required for NFS protocol). + :type client_access_rights: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.ClientAccessRight] + :param refresh_details: Details of the refresh job on this share. + :type refresh_details: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.RefreshDetails + :ivar share_mappings: Share mount point to the role. + :vartype share_mappings: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MountPointMap] + :param data_policy: Data policy of the share. Possible values include: "Cloud", "Local". + :type data_policy: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataPolicy + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'share_status': {'required': True}, + 'monitoring_status': {'required': True}, + 'access_protocol': {'required': True}, + 'share_mappings': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'share_status': {'key': 'properties.shareStatus', 'type': 'str'}, + 'monitoring_status': {'key': 'properties.monitoringStatus', 'type': 'str'}, + 'azure_container_info': {'key': 'properties.azureContainerInfo', 'type': 'AzureContainerInfo'}, + 'access_protocol': {'key': 'properties.accessProtocol', 'type': 'str'}, + 'user_access_rights': {'key': 'properties.userAccessRights', 'type': '[UserAccessRight]'}, + 'client_access_rights': {'key': 'properties.clientAccessRights', 'type': '[ClientAccessRight]'}, + 'refresh_details': {'key': 'properties.refreshDetails', 'type': 'RefreshDetails'}, + 'share_mappings': {'key': 'properties.shareMappings', 'type': '[MountPointMap]'}, + 'data_policy': {'key': 'properties.dataPolicy', 'type': 'str'}, + } + + def __init__( + self, + *, + share_status: Union[str, "ShareStatus"], + monitoring_status: Union[str, "MonitoringStatus"], + access_protocol: Union[str, "ShareAccessProtocol"], + description: Optional[str] = None, + azure_container_info: Optional["AzureContainerInfo"] = None, + user_access_rights: Optional[List["UserAccessRight"]] = None, + client_access_rights: Optional[List["ClientAccessRight"]] = None, + refresh_details: Optional["RefreshDetails"] = None, + data_policy: Optional[Union[str, "DataPolicy"]] = None, + **kwargs + ): + super(Share, self).__init__(**kwargs) + self.system_data = None + self.description = description + self.share_status = share_status + self.monitoring_status = monitoring_status + self.azure_container_info = azure_container_info + self.access_protocol = access_protocol + self.user_access_rights = user_access_rights + self.client_access_rights = client_access_rights + self.refresh_details = refresh_details + self.share_mappings = None + self.data_policy = data_policy + + +class ShareAccessRight(msrest.serialization.Model): + """Specifies the mapping between this particular user and the type of access he has on shares on this device. + + All required parameters must be populated in order to send to Azure. + + :param share_id: Required. The share ID. + :type share_id: str + :param access_type: Required. Type of access to be allowed on the share for this user. Possible + values include: "Change", "Read", "Custom". + :type access_type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ShareAccessType + """ + + _validation = { + 'share_id': {'required': True}, + 'access_type': {'required': True}, + } + + _attribute_map = { + 'share_id': {'key': 'shareId', 'type': 'str'}, + 'access_type': {'key': 'accessType', 'type': 'str'}, + } + + def __init__( + self, + *, + share_id: str, + access_type: Union[str, "ShareAccessType"], + **kwargs + ): + super(ShareAccessRight, self).__init__(**kwargs) + self.share_id = share_id + self.access_type = access_type + + +class ShareList(msrest.serialization.Model): + """Collection of all the shares on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of shares. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Share] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Share]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ShareList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class Sku(msrest.serialization.Model): + """The SKU type. + + :param name: SKU name. Possible values include: "Gateway", "Edge", "TEA_1Node", + "TEA_1Node_UPS", "TEA_1Node_Heater", "TEA_1Node_UPS_Heater", "TEA_4Node_Heater", + "TEA_4Node_UPS_Heater", "TMA", "TDC", "TCA_Small", "GPU", "TCA_Large", "EdgeP_Base", + "EdgeP_High", "EdgePR_Base", "EdgePR_Base_UPS", "EP2_64_1VPU_W", "EP2_128_1T4_Mx1_W", + "EP2_256_2T4_W", "EdgeMR_Mini", "RCA_Small", "RCA_Large", "RDC", "Management". + :type name: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SkuName + :param tier: The SKU tier. This is based on the SKU name. Possible values include: "Standard". + :type tier: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SkuTier + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[Union[str, "SkuName"]] = None, + tier: Optional[Union[str, "SkuTier"]] = None, + **kwargs + ): + super(Sku, self).__init__(**kwargs) + self.name = name + self.tier = tier + + +class SkuCost(msrest.serialization.Model): + """The metadata for retrieving price info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar meter_id: Used for querying price from commerce. + :vartype meter_id: str + :ivar quantity: The cost quantity. + :vartype quantity: long + :ivar extended_unit: The extended unit. + :vartype extended_unit: str + """ + + _validation = { + 'meter_id': {'readonly': True}, + 'quantity': {'readonly': True}, + 'extended_unit': {'readonly': True}, + } + + _attribute_map = { + 'meter_id': {'key': 'meterId', 'type': 'str'}, + 'quantity': {'key': 'quantity', 'type': 'long'}, + 'extended_unit': {'key': 'extendedUnit', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuCost, self).__init__(**kwargs) + self.meter_id = None + self.quantity = None + self.extended_unit = None + + +class SkuInformation(msrest.serialization.Model): + """Sku information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: The sku name. + :vartype name: str + :ivar tier: The sku tier. + :vartype tier: str + :ivar kind: The sku kind. + :vartype kind: str + :ivar family: The Sku family. + :vartype family: str + :ivar costs: The pricing info of the Sku. + :vartype costs: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.SkuCost] + :ivar locations: The locations where Sku is available. + :vartype locations: list[str] + :ivar location_info: The locations where Sku is available with zones and sites info. + :vartype location_info: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.SkuLocationInfo] + :ivar required_quota_ids: The required quotaIds for the sku to be available. + :vartype required_quota_ids: list[str] + :ivar required_features: The required features for the sku to be available. + :vartype required_features: list[str] + """ + + _validation = { + 'name': {'readonly': True}, + 'tier': {'readonly': True}, + 'kind': {'readonly': True}, + 'family': {'readonly': True}, + 'costs': {'readonly': True}, + 'locations': {'readonly': True}, + 'location_info': {'readonly': True}, + 'required_quota_ids': {'readonly': True}, + 'required_features': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'costs': {'key': 'costs', 'type': '[SkuCost]'}, + 'locations': {'key': 'locations', 'type': '[str]'}, + 'location_info': {'key': 'locationInfo', 'type': '[SkuLocationInfo]'}, + 'required_quota_ids': {'key': 'requiredQuotaIds', 'type': '[str]'}, + 'required_features': {'key': 'requiredFeatures', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuInformation, self).__init__(**kwargs) + self.name = None + self.tier = None + self.kind = None + self.family = None + self.costs = None + self.locations = None + self.location_info = None + self.required_quota_ids = None + self.required_features = None + + +class SkuInformationList(msrest.serialization.Model): + """List of SKU Information objects. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of ResourceTypeSku objects. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.ResourceTypeSku] + :ivar next_link: Links to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ResourceTypeSku]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuInformationList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SkuLocationInfo(msrest.serialization.Model): + """The location info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar location: The location. + :vartype location: str + :ivar zones: The zones. + :vartype zones: list[str] + :ivar sites: The sites. + :vartype sites: list[str] + """ + + _validation = { + 'location': {'readonly': True}, + 'zones': {'readonly': True}, + 'sites': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + 'sites': {'key': 'sites', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(SkuLocationInfo, self).__init__(**kwargs) + self.location = None + self.zones = None + self.sites = None + + +class StorageAccount(ARMBaseModel): + """Represents a Storage Account on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: StorageAccount object on ASE device. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param description: Description for the storage Account. + :type description: str + :param storage_account_status: Current status of the storage account. Possible values include: + "OK", "Offline", "Unknown", "Updating", "NeedsAttention". + :type storage_account_status: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.StorageAccountStatus + :param data_policy: Required. Data policy of the storage Account. Possible values include: + "Cloud", "Local". + :type data_policy: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataPolicy + :param storage_account_credential_id: Storage Account Credential Id. + :type storage_account_credential_id: str + :ivar blob_endpoint: BlobEndpoint of Storage Account. + :vartype blob_endpoint: str + :ivar container_count: The Container Count. Present only for Storage Accounts with DataPolicy + set to Cloud. + :vartype container_count: int + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'data_policy': {'required': True}, + 'blob_endpoint': {'readonly': True}, + 'container_count': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'storage_account_status': {'key': 'properties.storageAccountStatus', 'type': 'str'}, + 'data_policy': {'key': 'properties.dataPolicy', 'type': 'str'}, + 'storage_account_credential_id': {'key': 'properties.storageAccountCredentialId', 'type': 'str'}, + 'blob_endpoint': {'key': 'properties.blobEndpoint', 'type': 'str'}, + 'container_count': {'key': 'properties.containerCount', 'type': 'int'}, + } + + def __init__( + self, + *, + data_policy: Union[str, "DataPolicy"], + description: Optional[str] = None, + storage_account_status: Optional[Union[str, "StorageAccountStatus"]] = None, + storage_account_credential_id: Optional[str] = None, + **kwargs + ): + super(StorageAccount, self).__init__(**kwargs) + self.system_data = None + self.description = description + self.storage_account_status = storage_account_status + self.data_policy = data_policy + self.storage_account_credential_id = storage_account_credential_id + self.blob_endpoint = None + self.container_count = None + + +class StorageAccountCredential(ARMBaseModel): + """The storage account credential. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: StorageAccountCredential object. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param alias: Required. Alias for the storage account. + :type alias: str + :param user_name: Username for the storage account. + :type user_name: str + :param account_key: Encrypted storage key. + :type account_key: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AsymmetricEncryptedSecret + :param connection_string: Connection string for the storage account. Use this string if + username and account key are not specified. + :type connection_string: str + :param ssl_status: Required. Signifies whether SSL needs to be enabled or not. Possible values + include: "Enabled", "Disabled". + :type ssl_status: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SSLStatus + :param blob_domain_name: Blob end point for private clouds. + :type blob_domain_name: str + :param account_type: Required. Type of storage accessed on the storage account. Possible values + include: "GeneralPurposeStorage", "BlobStorage". + :type account_type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AccountType + :param storage_account_id: Id of the storage account. + :type storage_account_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'alias': {'required': True}, + 'ssl_status': {'required': True}, + 'account_type': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'alias': {'key': 'properties.alias', 'type': 'str'}, + 'user_name': {'key': 'properties.userName', 'type': 'str'}, + 'account_key': {'key': 'properties.accountKey', 'type': 'AsymmetricEncryptedSecret'}, + 'connection_string': {'key': 'properties.connectionString', 'type': 'str'}, + 'ssl_status': {'key': 'properties.sslStatus', 'type': 'str'}, + 'blob_domain_name': {'key': 'properties.blobDomainName', 'type': 'str'}, + 'account_type': {'key': 'properties.accountType', 'type': 'str'}, + 'storage_account_id': {'key': 'properties.storageAccountId', 'type': 'str'}, + } + + def __init__( + self, + *, + alias: str, + ssl_status: Union[str, "SSLStatus"], + account_type: Union[str, "AccountType"], + user_name: Optional[str] = None, + account_key: Optional["AsymmetricEncryptedSecret"] = None, + connection_string: Optional[str] = None, + blob_domain_name: Optional[str] = None, + storage_account_id: Optional[str] = None, + **kwargs + ): + super(StorageAccountCredential, self).__init__(**kwargs) + self.system_data = None + self.alias = alias + self.user_name = user_name + self.account_key = account_key + self.connection_string = connection_string + self.ssl_status = ssl_status + self.blob_domain_name = blob_domain_name + self.account_type = account_type + self.storage_account_id = storage_account_id + + +class StorageAccountCredentialList(msrest.serialization.Model): + """The collection of storage account credentials. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The value. + :vartype value: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.StorageAccountCredential] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[StorageAccountCredential]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StorageAccountCredentialList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class StorageAccountList(msrest.serialization.Model): + """Collection of all the Storage Accounts on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of storageAccounts. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.StorageAccount] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[StorageAccount]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StorageAccountList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SubscriptionRegisteredFeatures(msrest.serialization.Model): + """SubscriptionRegisteredFeatures. + + :param name: + :type name: str + :param state: + :type state: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + state: Optional[str] = None, + **kwargs + ): + super(SubscriptionRegisteredFeatures, self).__init__(**kwargs) + self.name = name + self.state = state + + +class SymmetricKey(msrest.serialization.Model): + """Symmetric key for authentication. + + :param connection_string: Connection string based on the symmetric key. + :type connection_string: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AsymmetricEncryptedSecret + """ + + _attribute_map = { + 'connection_string': {'key': 'connectionString', 'type': 'AsymmetricEncryptedSecret'}, + } + + def __init__( + self, + *, + connection_string: Optional["AsymmetricEncryptedSecret"] = None, + **kwargs + ): + super(SymmetricKey, self).__init__(**kwargs) + self.connection_string = connection_string + + +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :param created_by: The identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :type created_by_type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.CreatedByType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: ~datetime.datetime + :param last_modified_by: The identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :type last_modified_by_type: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.CreatedByType + :param last_modified_at: The type of identity that last modified the resource. + :type last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + created_by: Optional[str] = None, + created_by_type: Optional[Union[str, "CreatedByType"]] = None, + created_at: Optional[datetime.datetime] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[Union[str, "CreatedByType"]] = None, + last_modified_at: Optional[datetime.datetime] = None, + **kwargs + ): + super(SystemData, self).__init__(**kwargs) + self.created_by = created_by + self.created_by_type = created_by_type + self.created_at = created_at + self.last_modified_by = last_modified_by + self.last_modified_by_type = last_modified_by_type + self.last_modified_at = last_modified_at + + +class TrackingInfo(msrest.serialization.Model): + """Tracking courier information. + + :param serial_number: Serial number of the device being tracked. + :type serial_number: str + :param carrier_name: Name of the carrier used in the delivery. + :type carrier_name: str + :param tracking_id: Tracking ID of the shipment. + :type tracking_id: str + :param tracking_url: Tracking URL of the shipment. + :type tracking_url: str + """ + + _attribute_map = { + 'serial_number': {'key': 'serialNumber', 'type': 'str'}, + 'carrier_name': {'key': 'carrierName', 'type': 'str'}, + 'tracking_id': {'key': 'trackingId', 'type': 'str'}, + 'tracking_url': {'key': 'trackingUrl', 'type': 'str'}, + } + + def __init__( + self, + *, + serial_number: Optional[str] = None, + carrier_name: Optional[str] = None, + tracking_id: Optional[str] = None, + tracking_url: Optional[str] = None, + **kwargs + ): + super(TrackingInfo, self).__init__(**kwargs) + self.serial_number = serial_number + self.carrier_name = carrier_name + self.tracking_id = tracking_id + self.tracking_url = tracking_url + + +class TriggerList(msrest.serialization.Model): + """Collection of all trigger on the data box edge device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of triggers. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Trigger] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Trigger]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TriggerList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class UpdateDetails(msrest.serialization.Model): + """Update Specific attributes. + + :param update_title: Title of the Update. + :type update_title: str + :param update_size: Size of the update(In Bytes). + :type update_size: float + :param update_type: Type of the Update. Possible values include: "Software", "Kubernetes", + "Firmware". + :type update_type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.UpdateType + :param target_version: Target Version number. + :type target_version: str + :param estimated_install_time_in_mins: Estimated Install Time for the update. + :type estimated_install_time_in_mins: int + :param reboot_behavior: Indicates if updates are available and at least one of the updates + needs a reboot. Possible values include: "NeverReboots", "RequiresReboot", "RequestReboot". + :type reboot_behavior: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.InstallRebootBehavior + :param status: Status of the update. Possible values include: "DownloadPending", + "DownloadStarted", "DownloadCompleted", "InstallStarted", "InstallCompleted". + :type status: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.UpdateStatus + """ + + _attribute_map = { + 'update_title': {'key': 'updateTitle', 'type': 'str'}, + 'update_size': {'key': 'updateSize', 'type': 'float'}, + 'update_type': {'key': 'updateType', 'type': 'str'}, + 'target_version': {'key': 'targetVersion', 'type': 'str'}, + 'estimated_install_time_in_mins': {'key': 'estimatedInstallTimeInMins', 'type': 'int'}, + 'reboot_behavior': {'key': 'rebootBehavior', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + } + + def __init__( + self, + *, + update_title: Optional[str] = None, + update_size: Optional[float] = None, + update_type: Optional[Union[str, "UpdateType"]] = None, + target_version: Optional[str] = None, + estimated_install_time_in_mins: Optional[int] = None, + reboot_behavior: Optional[Union[str, "InstallRebootBehavior"]] = None, + status: Optional[Union[str, "UpdateStatus"]] = None, + **kwargs + ): + super(UpdateDetails, self).__init__(**kwargs) + self.update_title = update_title + self.update_size = update_size + self.update_type = update_type + self.target_version = target_version + self.estimated_install_time_in_mins = estimated_install_time_in_mins + self.reboot_behavior = reboot_behavior + self.status = status + + +class UpdateDownloadProgress(msrest.serialization.Model): + """Details about the download progress of update. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar download_phase: The download phase. Possible values include: "Unknown", "Initializing", + "Downloading", "Verifying". + :vartype download_phase: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DownloadPhase + :ivar percent_complete: Percentage of completion. + :vartype percent_complete: int + :ivar total_bytes_to_download: Total bytes to download. + :vartype total_bytes_to_download: float + :ivar total_bytes_downloaded: Total bytes downloaded. + :vartype total_bytes_downloaded: float + :ivar number_of_updates_to_download: Number of updates to download. + :vartype number_of_updates_to_download: int + :ivar number_of_updates_downloaded: Number of updates downloaded. + :vartype number_of_updates_downloaded: int + """ + + _validation = { + 'download_phase': {'readonly': True}, + 'percent_complete': {'readonly': True}, + 'total_bytes_to_download': {'readonly': True}, + 'total_bytes_downloaded': {'readonly': True}, + 'number_of_updates_to_download': {'readonly': True}, + 'number_of_updates_downloaded': {'readonly': True}, + } + + _attribute_map = { + 'download_phase': {'key': 'downloadPhase', 'type': 'str'}, + 'percent_complete': {'key': 'percentComplete', 'type': 'int'}, + 'total_bytes_to_download': {'key': 'totalBytesToDownload', 'type': 'float'}, + 'total_bytes_downloaded': {'key': 'totalBytesDownloaded', 'type': 'float'}, + 'number_of_updates_to_download': {'key': 'numberOfUpdatesToDownload', 'type': 'int'}, + 'number_of_updates_downloaded': {'key': 'numberOfUpdatesDownloaded', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(UpdateDownloadProgress, self).__init__(**kwargs) + self.download_phase = None + self.percent_complete = None + self.total_bytes_to_download = None + self.total_bytes_downloaded = None + self.number_of_updates_to_download = None + self.number_of_updates_downloaded = None + + +class UpdateInstallProgress(msrest.serialization.Model): + """Progress details during installation of updates. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar percent_complete: Percentage completed. + :vartype percent_complete: int + :ivar number_of_updates_to_install: Number of updates to install. + :vartype number_of_updates_to_install: int + :ivar number_of_updates_installed: Number of updates installed. + :vartype number_of_updates_installed: int + """ + + _validation = { + 'percent_complete': {'readonly': True}, + 'number_of_updates_to_install': {'readonly': True}, + 'number_of_updates_installed': {'readonly': True}, + } + + _attribute_map = { + 'percent_complete': {'key': 'percentComplete', 'type': 'int'}, + 'number_of_updates_to_install': {'key': 'numberOfUpdatesToInstall', 'type': 'int'}, + 'number_of_updates_installed': {'key': 'numberOfUpdatesInstalled', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(UpdateInstallProgress, self).__init__(**kwargs) + self.percent_complete = None + self.number_of_updates_to_install = None + self.number_of_updates_installed = None + + +class UpdateSummary(ARMBaseModel): + """Details about ongoing updates and availability of updates on the device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: UpdateSummary Result. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param device_version_number: The current version of the device in format: 1.2.17312.13.",. + :type device_version_number: str + :param friendly_device_version_name: The current version of the device in text format. + :type friendly_device_version_name: str + :param device_last_scanned_date_time: The last time when a scan was done on the device. + :type device_last_scanned_date_time: ~datetime.datetime + :param last_completed_scan_job_date_time: The time when the last scan job was completed + (success/cancelled/failed) on the appliance. + :type last_completed_scan_job_date_time: ~datetime.datetime + :ivar last_completed_download_job_date_time: The time when the last Download job was completed + (success/cancelled/failed) on the appliance. + :vartype last_completed_download_job_date_time: ~datetime.datetime + :ivar last_completed_download_job_id: JobId of the last ran download job.(Can be + success/cancelled/failed). + :vartype last_completed_download_job_id: str + :ivar last_download_job_status: JobStatus of the last ran download job. Possible values + include: "Invalid", "Running", "Succeeded", "Failed", "Canceled", "Paused", "Scheduled". + :vartype last_download_job_status: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.JobStatus + :ivar last_completed_install_job_date_time: The time when the last Install job was completed + (success/cancelled/failed) on the appliance. + :vartype last_completed_install_job_date_time: ~datetime.datetime + :ivar last_completed_install_job_id: JobId of the last ran install job.(Can be + success/cancelled/failed). + :vartype last_completed_install_job_id: str + :ivar last_install_job_status: JobStatus of the last ran install job. Possible values include: + "Invalid", "Running", "Succeeded", "Failed", "Canceled", "Paused", "Scheduled". + :vartype last_install_job_status: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.JobStatus + :ivar total_number_of_updates_available: The number of updates available for the current device + version as per the last device scan. + :vartype total_number_of_updates_available: int + :ivar total_number_of_updates_pending_download: The total number of items pending download. + :vartype total_number_of_updates_pending_download: int + :ivar total_number_of_updates_pending_install: The total number of items pending install. + :vartype total_number_of_updates_pending_install: int + :ivar reboot_behavior: Indicates if updates are available and at least one of the updates needs + a reboot. Possible values include: "NeverReboots", "RequiresReboot", "RequestReboot". + :vartype reboot_behavior: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.InstallRebootBehavior + :ivar ongoing_update_operation: The current update operation. Possible values include: "None", + "Scan", "Download", "Install". + :vartype ongoing_update_operation: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.UpdateOperation + :ivar in_progress_download_job_id: The job ID of the download job in progress. + :vartype in_progress_download_job_id: str + :ivar in_progress_install_job_id: The job ID of the install job in progress. + :vartype in_progress_install_job_id: str + :ivar in_progress_download_job_started_date_time: The time when the currently running download + (if any) started. + :vartype in_progress_download_job_started_date_time: ~datetime.datetime + :ivar in_progress_install_job_started_date_time: The time when the currently running install + (if any) started. + :vartype in_progress_install_job_started_date_time: ~datetime.datetime + :ivar update_titles: The list of updates available for install. + :vartype update_titles: list[str] + :ivar updates: The list of updates available for install. + :vartype updates: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.UpdateDetails] + :ivar total_update_size_in_bytes: The total size of updates available for download in bytes. + :vartype total_update_size_in_bytes: float + :ivar total_time_in_minutes: The total time in Minutes. + :vartype total_time_in_minutes: int + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'last_completed_download_job_date_time': {'readonly': True}, + 'last_completed_download_job_id': {'readonly': True}, + 'last_download_job_status': {'readonly': True}, + 'last_completed_install_job_date_time': {'readonly': True}, + 'last_completed_install_job_id': {'readonly': True}, + 'last_install_job_status': {'readonly': True}, + 'total_number_of_updates_available': {'readonly': True}, + 'total_number_of_updates_pending_download': {'readonly': True}, + 'total_number_of_updates_pending_install': {'readonly': True}, + 'reboot_behavior': {'readonly': True}, + 'ongoing_update_operation': {'readonly': True}, + 'in_progress_download_job_id': {'readonly': True}, + 'in_progress_install_job_id': {'readonly': True}, + 'in_progress_download_job_started_date_time': {'readonly': True}, + 'in_progress_install_job_started_date_time': {'readonly': True}, + 'update_titles': {'readonly': True}, + 'updates': {'readonly': True}, + 'total_update_size_in_bytes': {'readonly': True}, + 'total_time_in_minutes': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'device_version_number': {'key': 'properties.deviceVersionNumber', 'type': 'str'}, + 'friendly_device_version_name': {'key': 'properties.friendlyDeviceVersionName', 'type': 'str'}, + 'device_last_scanned_date_time': {'key': 'properties.deviceLastScannedDateTime', 'type': 'iso-8601'}, + 'last_completed_scan_job_date_time': {'key': 'properties.lastCompletedScanJobDateTime', 'type': 'iso-8601'}, + 'last_completed_download_job_date_time': {'key': 'properties.lastCompletedDownloadJobDateTime', 'type': 'iso-8601'}, + 'last_completed_download_job_id': {'key': 'properties.lastCompletedDownloadJobId', 'type': 'str'}, + 'last_download_job_status': {'key': 'properties.lastDownloadJobStatus', 'type': 'str'}, + 'last_completed_install_job_date_time': {'key': 'properties.lastCompletedInstallJobDateTime', 'type': 'iso-8601'}, + 'last_completed_install_job_id': {'key': 'properties.lastCompletedInstallJobId', 'type': 'str'}, + 'last_install_job_status': {'key': 'properties.lastInstallJobStatus', 'type': 'str'}, + 'total_number_of_updates_available': {'key': 'properties.totalNumberOfUpdatesAvailable', 'type': 'int'}, + 'total_number_of_updates_pending_download': {'key': 'properties.totalNumberOfUpdatesPendingDownload', 'type': 'int'}, + 'total_number_of_updates_pending_install': {'key': 'properties.totalNumberOfUpdatesPendingInstall', 'type': 'int'}, + 'reboot_behavior': {'key': 'properties.rebootBehavior', 'type': 'str'}, + 'ongoing_update_operation': {'key': 'properties.ongoingUpdateOperation', 'type': 'str'}, + 'in_progress_download_job_id': {'key': 'properties.inProgressDownloadJobId', 'type': 'str'}, + 'in_progress_install_job_id': {'key': 'properties.inProgressInstallJobId', 'type': 'str'}, + 'in_progress_download_job_started_date_time': {'key': 'properties.inProgressDownloadJobStartedDateTime', 'type': 'iso-8601'}, + 'in_progress_install_job_started_date_time': {'key': 'properties.inProgressInstallJobStartedDateTime', 'type': 'iso-8601'}, + 'update_titles': {'key': 'properties.updateTitles', 'type': '[str]'}, + 'updates': {'key': 'properties.updates', 'type': '[UpdateDetails]'}, + 'total_update_size_in_bytes': {'key': 'properties.totalUpdateSizeInBytes', 'type': 'float'}, + 'total_time_in_minutes': {'key': 'properties.totalTimeInMinutes', 'type': 'int'}, + } + + def __init__( + self, + *, + device_version_number: Optional[str] = None, + friendly_device_version_name: Optional[str] = None, + device_last_scanned_date_time: Optional[datetime.datetime] = None, + last_completed_scan_job_date_time: Optional[datetime.datetime] = None, + **kwargs + ): + super(UpdateSummary, self).__init__(**kwargs) + self.system_data = None + self.device_version_number = device_version_number + self.friendly_device_version_name = friendly_device_version_name + self.device_last_scanned_date_time = device_last_scanned_date_time + self.last_completed_scan_job_date_time = last_completed_scan_job_date_time + self.last_completed_download_job_date_time = None + self.last_completed_download_job_id = None + self.last_download_job_status = None + self.last_completed_install_job_date_time = None + self.last_completed_install_job_id = None + self.last_install_job_status = None + self.total_number_of_updates_available = None + self.total_number_of_updates_pending_download = None + self.total_number_of_updates_pending_install = None + self.reboot_behavior = None + self.ongoing_update_operation = None + self.in_progress_download_job_id = None + self.in_progress_install_job_id = None + self.in_progress_download_job_started_date_time = None + self.in_progress_install_job_started_date_time = None + self.update_titles = None + self.updates = None + self.total_update_size_in_bytes = None + self.total_time_in_minutes = None + + +class UploadCertificateRequest(msrest.serialization.Model): + """The upload certificate request. + + All required parameters must be populated in order to send to Azure. + + :param authentication_type: The authentication type. Possible values include: "Invalid", + "AzureActiveDirectory". + :type authentication_type: str or + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AuthenticationType + :param certificate: Required. The base64 encoded certificate raw data. + :type certificate: str + """ + + _validation = { + 'certificate': {'required': True}, + } + + _attribute_map = { + 'authentication_type': {'key': 'properties.authenticationType', 'type': 'str'}, + 'certificate': {'key': 'properties.certificate', 'type': 'str'}, + } + + def __init__( + self, + *, + certificate: str, + authentication_type: Optional[Union[str, "AuthenticationType"]] = None, + **kwargs + ): + super(UploadCertificateRequest, self).__init__(**kwargs) + self.authentication_type = authentication_type + self.certificate = certificate + + +class UploadCertificateResponse(msrest.serialization.Model): + """The upload registration certificate response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param auth_type: Specifies authentication type. Possible values include: "Invalid", + "AzureActiveDirectory". + :type auth_type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AuthenticationType + :ivar resource_id: The resource ID of the Data Box Edge/Gateway device. + :vartype resource_id: str + :ivar aad_authority: Azure Active Directory tenant authority. + :vartype aad_authority: str + :ivar aad_tenant_id: Azure Active Directory tenant ID. + :vartype aad_tenant_id: str + :ivar service_principal_client_id: Azure Active Directory service principal client ID. + :vartype service_principal_client_id: str + :ivar service_principal_object_id: Azure Active Directory service principal object ID. + :vartype service_principal_object_id: str + :ivar azure_management_endpoint_audience: The azure management endpoint audience. + :vartype azure_management_endpoint_audience: str + :ivar aad_audience: Identifier of the target resource that is the recipient of the requested + token. + :vartype aad_audience: str + """ + + _validation = { + 'resource_id': {'readonly': True}, + 'aad_authority': {'readonly': True}, + 'aad_tenant_id': {'readonly': True}, + 'service_principal_client_id': {'readonly': True}, + 'service_principal_object_id': {'readonly': True}, + 'azure_management_endpoint_audience': {'readonly': True}, + 'aad_audience': {'readonly': True}, + } + + _attribute_map = { + 'auth_type': {'key': 'authType', 'type': 'str'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'aad_authority': {'key': 'aadAuthority', 'type': 'str'}, + 'aad_tenant_id': {'key': 'aadTenantId', 'type': 'str'}, + 'service_principal_client_id': {'key': 'servicePrincipalClientId', 'type': 'str'}, + 'service_principal_object_id': {'key': 'servicePrincipalObjectId', 'type': 'str'}, + 'azure_management_endpoint_audience': {'key': 'azureManagementEndpointAudience', 'type': 'str'}, + 'aad_audience': {'key': 'aadAudience', 'type': 'str'}, + } + + def __init__( + self, + *, + auth_type: Optional[Union[str, "AuthenticationType"]] = None, + **kwargs + ): + super(UploadCertificateResponse, self).__init__(**kwargs) + self.auth_type = auth_type + self.resource_id = None + self.aad_authority = None + self.aad_tenant_id = None + self.service_principal_client_id = None + self.service_principal_object_id = None + self.azure_management_endpoint_audience = None + self.aad_audience = None + + +class User(ARMBaseModel): + """Represents a user who has access to one or more shares on the Data Box Edge/Gateway device. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The path ID that uniquely identifies the object. + :vartype id: str + :ivar name: The object name. + :vartype name: str + :ivar type: The hierarchical type of the object. + :vartype type: str + :ivar system_data: User in DataBoxEdge Resource. + :vartype system_data: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SystemData + :param encrypted_password: The password details. + :type encrypted_password: + ~azure.mgmt.databoxedge.v2021_02_01_preview.models.AsymmetricEncryptedSecret + :ivar share_access_rights: List of shares that the user has rights on. This field should not be + specified during user creation. + :vartype share_access_rights: + list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.ShareAccessRight] + :param user_type: Type of the user. Possible values include: "Share", "LocalManagement", "ARM". + :type user_type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.UserType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + 'share_access_rights': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'encrypted_password': {'key': 'properties.encryptedPassword', 'type': 'AsymmetricEncryptedSecret'}, + 'share_access_rights': {'key': 'properties.shareAccessRights', 'type': '[ShareAccessRight]'}, + 'user_type': {'key': 'properties.userType', 'type': 'str'}, + } + + def __init__( + self, + *, + encrypted_password: Optional["AsymmetricEncryptedSecret"] = None, + user_type: Optional[Union[str, "UserType"]] = None, + **kwargs + ): + super(User, self).__init__(**kwargs) + self.system_data = None + self.encrypted_password = encrypted_password + self.share_access_rights = None + self.user_type = user_type + + +class UserAccessRight(msrest.serialization.Model): + """The mapping between a particular user and the access type on the SMB share. + + All required parameters must be populated in order to send to Azure. + + :param user_id: Required. User ID (already existing in the device). + :type user_id: str + :param access_type: Required. Type of access to be allowed for the user. Possible values + include: "Change", "Read", "Custom". + :type access_type: str or ~azure.mgmt.databoxedge.v2021_02_01_preview.models.ShareAccessType + """ + + _validation = { + 'user_id': {'required': True}, + 'access_type': {'required': True}, + } + + _attribute_map = { + 'user_id': {'key': 'userId', 'type': 'str'}, + 'access_type': {'key': 'accessType', 'type': 'str'}, + } + + def __init__( + self, + *, + user_id: str, + access_type: Union[str, "ShareAccessType"], + **kwargs + ): + super(UserAccessRight, self).__init__(**kwargs) + self.user_id = user_id + self.access_type = access_type + + +class UserList(msrest.serialization.Model): + """Collection of users. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of users. + :vartype value: list[~azure.mgmt.databoxedge.v2021_02_01_preview.models.User] + :ivar next_link: Link to the next set of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[User]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UserList, self).__init__(**kwargs) + self.value = None + self.next_link = None diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/__init__.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/__init__.py new file mode 100644 index 000000000000..d70057be6458 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/__init__.py @@ -0,0 +1,47 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._operations import Operations +from ._available_skus_operations import AvailableSkusOperations +from ._devices_operations import DevicesOperations +from ._alerts_operations import AlertsOperations +from ._bandwidth_schedules_operations import BandwidthSchedulesOperations +from ._jobs_operations import JobsOperations +from ._nodes_operations import NodesOperations +from ._operations_status_operations import OperationsStatusOperations +from ._orders_operations import OrdersOperations +from ._roles_operations import RolesOperations +from ._addons_operations import AddonsOperations +from ._monitoring_config_operations import MonitoringConfigOperations +from ._shares_operations import SharesOperations +from ._storage_account_credentials_operations import StorageAccountCredentialsOperations +from ._storage_accounts_operations import StorageAccountsOperations +from ._containers_operations import ContainersOperations +from ._triggers_operations import TriggersOperations +from ._users_operations import UsersOperations + +__all__ = [ + 'Operations', + 'AvailableSkusOperations', + 'DevicesOperations', + 'AlertsOperations', + 'BandwidthSchedulesOperations', + 'JobsOperations', + 'NodesOperations', + 'OperationsStatusOperations', + 'OrdersOperations', + 'RolesOperations', + 'AddonsOperations', + 'MonitoringConfigOperations', + 'SharesOperations', + 'StorageAccountCredentialsOperations', + 'StorageAccountsOperations', + 'ContainersOperations', + 'TriggersOperations', + 'UsersOperations', +] diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_addons_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_addons_operations.py new file mode 100644 index 000000000000..2c92a13640b4 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_addons_operations.py @@ -0,0 +1,460 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class AddonsOperations(object): + """AddonsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_role( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.AddonList"] + """Lists all the addons configured in the role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AddonList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.AddonList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AddonList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_role.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AddonList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_role.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons'} # type: ignore + + def get( + self, + device_name, # type: str + role_name, # type: str + addon_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Addon" + """Gets a specific addon by name. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param addon_name: The addon name. + :type addon_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Addon, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Addon + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Addon"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Addon', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + role_name, # type: str + addon_name, # type: str + resource_group_name, # type: str + addon, # type: "_models.Addon" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.Addon"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Addon"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(addon, 'Addon') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Addon', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + role_name, # type: str + addon_name, # type: str + resource_group_name, # type: str + addon, # type: "_models.Addon" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Addon"] + """Create or update a addon. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param addon_name: The addon name. + :type addon_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param addon: The addon properties. + :type addon: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Addon + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Addon or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Addon] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Addon"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + role_name=role_name, + addon_name=addon_name, + resource_group_name=resource_group_name, + addon=addon, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Addon', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + role_name, # type: str + addon_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + role_name, # type: str + addon_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the addon on the device. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param addon_name: The addon name. + :type addon_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + role_name=role_name, + addon_name=addon_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'addonName': self._serialize.url("addon_name", addon_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_alerts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_alerts_operations.py new file mode 100644 index 000000000000..aa5e57d65099 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_alerts_operations.py @@ -0,0 +1,186 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class AlertsOperations(object): + """AlertsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.AlertList"] + """Gets all the alerts for a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AlertList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.AlertList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AlertList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AlertList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Alert" + """Gets an alert by name. + + Gets an alert by name. + + :param device_name: The device name. + :type device_name: str + :param name: The alert name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Alert, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Alert + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Alert"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Alert', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_available_skus_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_available_skus_operations.py new file mode 100644 index 000000000000..33646794cd4a --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_available_skus_operations.py @@ -0,0 +1,115 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class AvailableSkusOperations(object): + """AvailableSkusOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.DataBoxEdgeSkuList"] + """List all the available Skus and information related to them. + + List all the available Skus and information related to them. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataBoxEdgeSkuList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeSkuList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeSkuList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeSkuList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataBoxEdge/availableSkus'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_bandwidth_schedules_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_bandwidth_schedules_operations.py new file mode 100644 index 000000000000..3d4f49fbe32a --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_bandwidth_schedules_operations.py @@ -0,0 +1,438 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class BandwidthSchedulesOperations(object): + """BandwidthSchedulesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.BandwidthSchedulesList"] + """Gets all the bandwidth schedules for a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either BandwidthSchedulesList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.BandwidthSchedulesList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedulesList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('BandwidthSchedulesList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.BandwidthSchedule" + """Gets the properties of the specified bandwidth schedule. + + :param device_name: The device name. + :type device_name: str + :param name: The bandwidth schedule name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: BandwidthSchedule, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.BandwidthSchedule + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('BandwidthSchedule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + parameters, # type: "_models.BandwidthSchedule" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.BandwidthSchedule"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.BandwidthSchedule"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'BandwidthSchedule') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('BandwidthSchedule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + parameters, # type: "_models.BandwidthSchedule" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.BandwidthSchedule"] + """Creates or updates a bandwidth schedule. + + :param device_name: The device name. + :type device_name: str + :param name: The bandwidth schedule name which needs to be added/updated. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The bandwidth schedule to be added or updated. + :type parameters: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.BandwidthSchedule + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either BandwidthSchedule or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2021_02_01_preview.models.BandwidthSchedule] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.BandwidthSchedule"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('BandwidthSchedule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified bandwidth schedule. + + :param device_name: The device name. + :type device_name: str + :param name: The bandwidth schedule name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_containers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_containers_operations.py new file mode 100644 index 000000000000..82bffe37fd93 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_containers_operations.py @@ -0,0 +1,592 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ContainersOperations(object): + """ContainersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_storage_account( + self, + device_name, # type: str + storage_account_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ContainerList"] + """Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device. + + Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The storage Account name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ContainerList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.ContainerList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ContainerList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_storage_account.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ContainerList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_storage_account.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers'} # type: ignore + + def get( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Container" + """Gets a container by name. + + Gets a container by name. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container Name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Container, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Container + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Container"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Container', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + container, # type: "_models.Container" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.Container"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Container"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(container, 'Container') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Container', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + container, # type: "_models.Container" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Container"] + """Creates a new container or updates an existing container on the device. + + Creates a new container or updates an existing container on the device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param container: The container properties. + :type container: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Container + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Container or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Container] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Container"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + storage_account_name=storage_account_name, + container_name=container_name, + resource_group_name=resource_group_name, + container=container, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Container', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the container on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + storage_account_name=storage_account_name, + container_name=container_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}'} # type: ignore + + def _refresh_initial( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._refresh_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _refresh_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}/refresh'} # type: ignore + + def begin_refresh( + self, + device_name, # type: str + storage_account_name, # type: str + container_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Refreshes the container metadata with the data from the cloud. + + Refreshes the container metadata with the data from the cloud. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The Storage Account Name. + :type storage_account_name: str + :param container_name: The container name. + :type container_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._refresh_initial( + device_name=device_name, + storage_account_name=storage_account_name, + container_name=container_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_refresh.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}/refresh'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_devices_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_devices_operations.py new file mode 100644 index 000000000000..bbb4d75c968e --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_devices_operations.py @@ -0,0 +1,1389 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class DevicesOperations(object): + """DevicesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_subscription( + self, + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.DataBoxEdgeDeviceList"] + """Gets all the Data Box Edge/Data Box Gateway devices in a subscription. + + :param expand: Specify $expand=details to populate additional fields related to the resource or + Specify $skipToken=:code:`` to populate the next page in the list. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDeviceList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeDeviceList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.DataBoxEdgeDeviceList"] + """Gets all the Data Box Edge/Data Box Gateway devices in a resource group. + + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param expand: Specify $expand=details to populate additional fields related to the resource or + Specify $skipToken=:code:`` to populate the next page in the list. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataBoxEdgeDeviceList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDeviceList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeDeviceList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices'} # type: ignore + + def get( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.DataBoxEdgeDevice" + """Gets the properties of the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDevice, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDevice + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + resource_group_name, # type: str + data_box_edge_device, # type: "_models.DataBoxEdgeDevice" + **kwargs # type: Any + ): + # type: (...) -> "_models.DataBoxEdgeDevice" + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(data_box_edge_device, 'DataBoxEdgeDevice') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + resource_group_name, # type: str + data_box_edge_device, # type: "_models.DataBoxEdgeDevice" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.DataBoxEdgeDevice"] + """Creates or updates a Data Box Edge/Data Box Gateway resource. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param data_box_edge_device: The resource object. + :type data_box_edge_device: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDevice + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either DataBoxEdgeDevice or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDevice] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + resource_group_name=resource_group_name, + data_box_edge_device=data_box_edge_device, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + def update( + self, + device_name, # type: str + resource_group_name, # type: str + parameters, # type: "_models.DataBoxEdgeDevicePatch" + **kwargs # type: Any + ): + # type: (...) -> "_models.DataBoxEdgeDevice" + """Modifies a Data Box Edge/Data Box Gateway resource. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The resource parameters. + :type parameters: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDevicePatch + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDevice, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDevice + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDevice"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DataBoxEdgeDevicePatch') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDevice', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}'} # type: ignore + + def _download_updates_initial( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._download_updates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _download_updates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/downloadUpdates'} # type: ignore + + def begin_download_updates( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Downloads the updates on a Data Box Edge/Data Box Gateway device. + + Downloads the updates on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._download_updates_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_download_updates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/downloadUpdates'} # type: ignore + + def generate_certificate( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.GenerateCertResponse" + """Generates certificate for activation key. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: GenerateCertResponse, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.GenerateCertResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.GenerateCertResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.generate_certificate.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('GenerateCertResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + generate_certificate.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/generateCertificate'} # type: ignore + + def get_extended_information( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.DataBoxEdgeDeviceExtendedInfo" + """Gets additional information for the specified Azure Stack Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDeviceExtendedInfo, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDeviceExtendedInfo + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceExtendedInfo"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get_extended_information.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDeviceExtendedInfo', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_extended_information.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/getExtendedInformation'} # type: ignore + + def _install_updates_initial( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._install_updates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _install_updates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/installUpdates'} # type: ignore + + def begin_install_updates( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Installs the updates on the Data Box Edge/Data Box Gateway device. + + Installs the updates on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._install_updates_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_install_updates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/installUpdates'} # type: ignore + + def get_network_settings( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkSettings" + """Gets the network settings of the specified Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkSettings, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.NetworkSettings + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSettings"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get_network_settings.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkSettings', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_network_settings.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/networkSettings/default'} # type: ignore + + def _scan_for_updates_initial( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._scan_for_updates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _scan_for_updates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/scanForUpdates'} # type: ignore + + def begin_scan_for_updates( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Scans for updates on a Data Box Edge/Data Box Gateway device. + + Scans for updates on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._scan_for_updates_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_scan_for_updates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/scanForUpdates'} # type: ignore + + def _create_or_update_security_settings_initial( + self, + device_name, # type: str + resource_group_name, # type: str + security_settings, # type: "_models.SecuritySettings" + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_security_settings_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(security_settings, 'SecuritySettings') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _create_or_update_security_settings_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/securitySettings/default/update'} # type: ignore + + def begin_create_or_update_security_settings( + self, + device_name, # type: str + resource_group_name, # type: str + security_settings, # type: "_models.SecuritySettings" + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Updates the security settings on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param security_settings: The security settings. + :type security_settings: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.SecuritySettings + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_security_settings_initial( + device_name=device_name, + resource_group_name=resource_group_name, + security_settings=security_settings, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update_security_settings.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/securitySettings/default/update'} # type: ignore + + def update_extended_information( + self, + device_name, # type: str + resource_group_name, # type: str + parameters, # type: "_models.DataBoxEdgeDeviceExtendedInfoPatch" + **kwargs # type: Any + ): + # type: (...) -> "_models.DataBoxEdgeDeviceExtendedInfo" + """Gets additional information for the specified Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The patch object. + :type parameters: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDeviceExtendedInfoPatch + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataBoxEdgeDeviceExtendedInfo, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DataBoxEdgeDeviceExtendedInfo + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataBoxEdgeDeviceExtendedInfo"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_extended_information.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DataBoxEdgeDeviceExtendedInfoPatch') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataBoxEdgeDeviceExtendedInfo', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_extended_information.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/updateExtendedInformation'} # type: ignore + + def get_update_summary( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.UpdateSummary" + """Gets information about the availability of updates based on the last scan of the device. It also gets information about any ongoing download or install jobs on the device. + + Gets information about the availability of updates based on the last scan of the device. It + also gets information about any ongoing download or install jobs on the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: UpdateSummary, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.UpdateSummary + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UpdateSummary"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get_update_summary.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('UpdateSummary', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_update_summary.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/updateSummary/default'} # type: ignore + + def upload_certificate( + self, + device_name, # type: str + resource_group_name, # type: str + parameters, # type: "_models.UploadCertificateRequest" + **kwargs # type: Any + ): + # type: (...) -> "_models.UploadCertificateResponse" + """Uploads registration certificate for the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param parameters: The upload certificate request. + :type parameters: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.UploadCertificateRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :return: UploadCertificateResponse, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.UploadCertificateResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UploadCertificateResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.upload_certificate.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'UploadCertificateRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('UploadCertificateResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + upload_certificate.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/uploadCertificate'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_jobs_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_jobs_operations.py new file mode 100644 index 000000000000..1fa2b0e1ad23 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_jobs_operations.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class JobsOperations(object): + """JobsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Job" + """Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The job name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Job, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Job + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Job', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/jobs/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_monitoring_config_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_monitoring_config_operations.py new file mode 100644 index 000000000000..dc3a756ee375 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_monitoring_config_operations.py @@ -0,0 +1,450 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class MonitoringConfigOperations(object): + """MonitoringConfigOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.MonitoringMetricConfigurationList"] + """Lists metric configurations in a role. + + Lists metric configurations in a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either MonitoringMetricConfigurationList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MonitoringMetricConfigurationList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.MonitoringMetricConfigurationList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('MonitoringMetricConfigurationList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig'} # type: ignore + + def get( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.MonitoringMetricConfiguration" + """Gets a metric configuration of a role. + + Gets a metric configuration of a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: MonitoringMetricConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.MonitoringMetricConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.MonitoringMetricConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('MonitoringMetricConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + monitoring_metric_configuration, # type: "_models.MonitoringMetricConfiguration" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.MonitoringMetricConfiguration"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.MonitoringMetricConfiguration"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(monitoring_metric_configuration, 'MonitoringMetricConfiguration') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('MonitoringMetricConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + monitoring_metric_configuration, # type: "_models.MonitoringMetricConfiguration" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.MonitoringMetricConfiguration"] + """Creates a new metric configuration or updates an existing one for a role. + + Creates a new metric configuration or updates an existing one for a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param monitoring_metric_configuration: The metric configuration. + :type monitoring_metric_configuration: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.MonitoringMetricConfiguration + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either MonitoringMetricConfiguration or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2021_02_01_preview.models.MonitoringMetricConfiguration] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.MonitoringMetricConfiguration"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + role_name=role_name, + resource_group_name=resource_group_name, + monitoring_metric_configuration=monitoring_metric_configuration, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('MonitoringMetricConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + role_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """deletes a new metric configuration for a role. + + deletes a new metric configuration for a role. + + :param device_name: The device name. + :type device_name: str + :param role_name: The role name. + :type role_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + role_name=role_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_nodes_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_nodes_operations.py new file mode 100644 index 000000000000..fdddca8309c8 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_nodes_operations.py @@ -0,0 +1,121 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class NodesOperations(object): + """NodesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NodeList"] + """Gets all the nodes currently configured under this Data Box Edge device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NodeList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.NodeList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NodeList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NodeList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/nodes'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_operations.py new file mode 100644 index 000000000000..046e4bc51513 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_operations.py @@ -0,0 +1,111 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class Operations(object): + """Operations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.OperationsList"] + """List all the supported operations. + + List all the supported operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationsList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.OperationsList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationsList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('OperationsList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/providers/Microsoft.DataBoxEdge/operations'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_operations_status_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_operations_status_operations.py new file mode 100644 index 000000000000..e670f8a84b7d --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_operations_status_operations.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class OperationsStatusOperations(object): + """OperationsStatusOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Job" + """Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The job name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Job, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Job + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Job"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Job', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/operationsStatus/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_orders_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_orders_operations.py new file mode 100644 index 000000000000..7d118289e192 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_orders_operations.py @@ -0,0 +1,489 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class OrdersOperations(object): + """OrdersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.OrderList"] + """Lists all the orders related to a Data Box Edge/Data Box Gateway device. + + Lists all the orders related to a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OrderList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.OrderList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OrderList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('OrderList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders'} # type: ignore + + def get( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Order" + """Gets a specific order by name. + + Gets a specific order by name. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Order, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Order + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Order"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Order', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + resource_group_name, # type: str + order, # type: "_models.Order" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.Order"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Order"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(order, 'Order') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Order', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + resource_group_name, # type: str + order, # type: "_models.Order" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Order"] + """Creates or updates an order. + + Creates or updates an order. + + :param device_name: The order details of a device. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param order: The order to be created or updated. + :type order: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Order + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Order or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Order] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Order"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + resource_group_name=resource_group_name, + order=order, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Order', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the order related to the device. + + Deletes the order related to the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default'} # type: ignore + + def list_dc_access_code( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.DCAccessCode" + """Gets the DCAccess Code. + + Gets the DCAccess Code. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DCAccessCode, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.DCAccessCode + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DCAccessCode"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.list_dc_access_code.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DCAccessCode', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_dc_access_code.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default/listDCAccessCode'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_roles_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_roles_operations.py new file mode 100644 index 000000000000..252a36cf677a --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_roles_operations.py @@ -0,0 +1,438 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class RolesOperations(object): + """RolesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.RoleList"] + """Lists all the roles configured in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either RoleList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.RoleList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RoleList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('RoleList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Role" + """Gets a specific role by name. + + :param device_name: The device name. + :type device_name: str + :param name: The role name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Role, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Role + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Role"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Role', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + role, # type: "_models.Role" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.Role"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Role"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(role, 'Role') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Role', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + role, # type: "_models.Role" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Role"] + """Create or update a role. + + :param device_name: The device name. + :type device_name: str + :param name: The role name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param role: The role properties. + :type role: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Role + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Role or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Role] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Role"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + role=role, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Role', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the role on the device. + + :param device_name: The device name. + :type device_name: str + :param name: The role name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_shares_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_shares_operations.py new file mode 100644 index 000000000000..f1a4686a42d2 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_shares_operations.py @@ -0,0 +1,563 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class SharesOperations(object): + """SharesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ShareList"] + """Lists all the shares in a Data Box Edge/Data Box Gateway device. + + Lists all the shares in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ShareList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.ShareList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ShareList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ShareList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Share" + """Gets a share by name. + + Gets a share by name. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Share, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Share + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Share"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Share', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + share, # type: "_models.Share" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.Share"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Share"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(share, 'Share') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Share', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + share, # type: "_models.Share" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Share"] + """Creates a new share or updates an existing share on the device. + + Creates a new share or updates an existing share on the device. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param share: The share properties. + :type share: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Share + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Share or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Share] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Share"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + share=share, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Share', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the share on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}'} # type: ignore + + def _refresh_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._refresh_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _refresh_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}/refresh'} # type: ignore + + def begin_refresh( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Refreshes the share metadata with the data from the cloud. + + Refreshes the share metadata with the data from the cloud. + + :param device_name: The device name. + :type device_name: str + :param name: The share name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._refresh_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_refresh.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}/refresh'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_storage_account_credentials_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_storage_account_credentials_operations.py new file mode 100644 index 000000000000..5ebf92945344 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_storage_account_credentials_operations.py @@ -0,0 +1,440 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class StorageAccountCredentialsOperations(object): + """StorageAccountCredentialsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.StorageAccountCredentialList"] + """Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device. + + Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StorageAccountCredentialList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.StorageAccountCredentialList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredentialList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('StorageAccountCredentialList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.StorageAccountCredential" + """Gets the properties of the specified storage account credential. + + :param device_name: The device name. + :type device_name: str + :param name: The storage account credential name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: StorageAccountCredential, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.StorageAccountCredential + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredential"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('StorageAccountCredential', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + storage_account_credential, # type: "_models.StorageAccountCredential" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.StorageAccountCredential"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.StorageAccountCredential"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(storage_account_credential, 'StorageAccountCredential') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('StorageAccountCredential', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + storage_account_credential, # type: "_models.StorageAccountCredential" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.StorageAccountCredential"] + """Creates or updates the storage account credential. + + :param device_name: The device name. + :type device_name: str + :param name: The storage account credential name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param storage_account_credential: The storage account credential. + :type storage_account_credential: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.StorageAccountCredential + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either StorageAccountCredential or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2021_02_01_preview.models.StorageAccountCredential] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountCredential"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + storage_account_credential=storage_account_credential, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('StorageAccountCredential', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the storage account credential. + + :param device_name: The device name. + :type device_name: str + :param name: The storage account credential name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_storage_accounts_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_storage_accounts_operations.py new file mode 100644 index 000000000000..e559cc8201e0 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_storage_accounts_operations.py @@ -0,0 +1,444 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class StorageAccountsOperations(object): + """StorageAccountsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.StorageAccountList"] + """Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device. + + Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StorageAccountList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.StorageAccountList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('StorageAccountList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts'} # type: ignore + + def get( + self, + device_name, # type: str + storage_account_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.StorageAccount" + """Gets a StorageAccount by name. + + Gets a StorageAccount by name. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The storage account name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: StorageAccount, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.StorageAccount + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('StorageAccount', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + storage_account_name, # type: str + resource_group_name, # type: str + storage_account, # type: "_models.StorageAccount" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.StorageAccount"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.StorageAccount"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(storage_account, 'StorageAccount') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('StorageAccount', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + storage_account_name, # type: str + resource_group_name, # type: str + storage_account, # type: "_models.StorageAccount" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.StorageAccount"] + """Creates a new StorageAccount or updates an existing StorageAccount on the device. + + Creates a new StorageAccount or updates an existing StorageAccount on the device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The StorageAccount name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param storage_account: The StorageAccount properties. + :type storage_account: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.StorageAccount + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either StorageAccount or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2021_02_01_preview.models.StorageAccount] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + storage_account_name=storage_account_name, + resource_group_name=resource_group_name, + storage_account=storage_account, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('StorageAccount', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + storage_account_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + storage_account_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the StorageAccount on the Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param storage_account_name: The StorageAccount name. + :type storage_account_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + storage_account_name=storage_account_name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'storageAccountName': self._serialize.url("storage_account_name", storage_account_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_triggers_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_triggers_operations.py new file mode 100644 index 000000000000..d9813804152e --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_triggers_operations.py @@ -0,0 +1,444 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class TriggersOperations(object): + """TriggersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + filter=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.TriggerList"] + """Lists all the triggers configured in the device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param filter: Specify $filter='CustomContextTag eq :code:``' to filter on custom context + tag property. + :type filter: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TriggerList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.TriggerList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TriggerList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if filter is not None: + query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('TriggerList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Trigger" + """Get a specific trigger by name. + + :param device_name: The device name. + :type device_name: str + :param name: The trigger name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Trigger, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Trigger + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Trigger"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Trigger', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + trigger, # type: "_models.Trigger" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.Trigger"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Trigger"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(trigger, 'Trigger') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('Trigger', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + trigger, # type: "_models.Trigger" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Trigger"] + """Creates or updates a trigger. + + :param device_name: Creates or updates a trigger. + :type device_name: str + :param name: The trigger name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param trigger: The trigger. + :type trigger: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.Trigger + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Trigger or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2021_02_01_preview.models.Trigger] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Trigger"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + trigger=trigger, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Trigger', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the trigger on the gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The trigger name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_users_operations.py b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_users_operations.py new file mode 100644 index 000000000000..cfcd2c6f7dcf --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_users_operations.py @@ -0,0 +1,445 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class UsersOperations(object): + """UsersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.databoxedge.v2021_02_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_data_box_edge_device( + self, + device_name, # type: str + resource_group_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.UserList"] + """Gets all the users registered on a Data Box Edge/Data Box Gateway device. + + :param device_name: The device name. + :type device_name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param expand: Specify $expand=details to populate additional fields related to the resource or + Specify $skipToken=:code:`` to populate the next page in the list. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either UserList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.databoxedge.v2021_02_01_preview.models.UserList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UserList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_data_box_edge_device.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('UserList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_data_box_edge_device.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users'} # type: ignore + + def get( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.User" + """Gets the properties of the specified user. + + :param device_name: The device name. + :type device_name: str + :param name: The user name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: User, or the result of cls(response) + :rtype: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.User + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.User"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('User', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + def _create_or_update_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + user, # type: "_models.User" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.User"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.User"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(user, 'User') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('User', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + def begin_create_or_update( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + user, # type: "_models.User" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.User"] + """Creates a new user or updates an existing user's information on a Data Box Edge/Data Box + Gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The user name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param user: The user details. + :type user: ~azure.mgmt.databoxedge.v2021_02_01_preview.models.User + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either User or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.databoxedge.v2021_02_01_preview.models.User] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.User"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + user=user, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('User', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + def _delete_initial( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore + + def begin_delete( + self, + device_name, # type: str + name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the user on a databox edge/gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The user name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + device_name=device_name, + name=name, + resource_group_name=resource_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}'} # type: ignore diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/py.typed b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/py.typed new file mode 100644 index 000000000000..e5aff4f83af8 --- /dev/null +++ b/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561. \ No newline at end of file diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/sdk_packaging.toml b/sdk/databoxedge/azure-mgmt-databoxedge/sdk_packaging.toml index c04014b29358..dd2cf401c7d4 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/sdk_packaging.toml +++ b/sdk/databoxedge/azure-mgmt-databoxedge/sdk_packaging.toml @@ -1,7 +1,7 @@ [packaging] package_name = "azure-mgmt-databoxedge" package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "MyService Management" +package_pprint_name = "Databoxedge Management" package_doc_id = "" is_stable = false is_arm = true diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/setup.py b/sdk/databoxedge/azure-mgmt-databoxedge/setup.py index e09f213cbffa..3a5ae8286286 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/setup.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/setup.py @@ -13,7 +13,7 @@ # Change the PACKAGE_NAME only to change folder and different name PACKAGE_NAME = "azure-mgmt-databoxedge" -PACKAGE_PPRINT_NAME = "MyService Management" +PACKAGE_PPRINT_NAME = "Databoxedge Management" # a-b-c => a/b/c package_folder_path = PACKAGE_NAME.replace('-', '/') @@ -78,7 +78,7 @@ 'azure.mgmt', ]), install_requires=[ - 'msrest>=0.5.0', + 'msrest>=0.6.21', 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/tests/recordings/test_cli_mgmt_databoxedge.test_databoxedge.yaml b/sdk/databoxedge/azure-mgmt-databoxedge/tests/recordings/test_cli_mgmt_databoxedge.test_databoxedge.yaml deleted file mode 100644 index d9b4125d540d..000000000000 --- a/sdk/databoxedge/azure-mgmt-databoxedge/tests/recordings/test_cli_mgmt_databoxedge.test_databoxedge.yaml +++ /dev/null @@ -1,160 +0,0 @@ -interactions: -- request: - body: '{"location": "eastus", "sku": {"name": "Edge", "tier": "Standard"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '67' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-databoxedge/0.1.0 Azure-SDK-For-Python - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_databoxedge_test_databoxedge707c1108/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/mydivicename?api-version=2019-07-01 - response: - body: - string: "{\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"sku\": {\r\ - \n \"name\": \"Edge\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"etag\"\ - : \"W/\\\"datetime'2020-02-07T07%3A00%3A14.3645578Z'\\\"_W/\\\"datetime'2020-02-07T07%3A00%3A14.3694826Z'\\\ - \"\",\r\n \"properties\": {\r\n \"dataBoxEdgeDeviceStatus\": \"ReadyToSetup\"\ - ,\r\n \"deviceType\": \"DataBoxEdgeDevice\",\r\n \"deviceLocalCapacity\"\ - : 0,\r\n \"nodeCount\": 0\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_databoxedge_test_databoxedge707c1108/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/mydivicename\"\ - ,\r\n \"name\": \"mydivicename\",\r\n \"type\": \"Microsoft.DataBoxEdge/dataBoxEdgeDevices\"\ - \r\n}" - headers: - cache-control: - - no-cache - content-length: - - '658' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 07 Feb 2020 07:00:16 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"tags": {"key1": "value1", "key2": "value2"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '46' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-databoxedge/0.1.0 Azure-SDK-For-Python - accept-language: - - en-US - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_databoxedge_test_databoxedge707c1108/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/mydivicename?api-version=2019-07-01 - response: - body: - string: "{\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"key1\":\ - \ \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"sku\": {\r\n \"\ - name\": \"Edge\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"etag\": \"\ - W/\\\"datetime'2020-02-07T07%3A00%3A18.0616602Z'\\\"_W/\\\"datetime'2020-02-07T07%3A00%3A18.06666Z'\\\ - \"\",\r\n \"properties\": {\r\n \"dataBoxEdgeDeviceStatus\": \"ReadyToSetup\"\ - ,\r\n \"deviceType\": \"DataBoxEdgeDevice\",\r\n \"deviceLocalCapacity\"\ - : 0,\r\n \"nodeCount\": 0\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_databoxedge_test_databoxedge707c1108/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/mydivicename\"\ - ,\r\n \"name\": \"mydivicename\",\r\n \"type\": \"Microsoft.DataBoxEdge/dataBoxEdgeDevices\"\ - \r\n}" - headers: - cache-control: - - no-cache - content-length: - - '705' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 07 Feb 2020 07:00:19 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1196' - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-databoxedge/0.1.0 Azure-SDK-For-Python - accept-language: - - en-US - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_databoxedge_test_databoxedge707c1108/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/mydivicename?api-version=2019-07-01 - response: - body: - string: '' - headers: - cache-control: - - no-cache - date: - - Fri, 07 Feb 2020 07:00:23 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' - x-powered-by: - - ASP.NET - status: - code: 204 - message: No Content -version: 1 diff --git a/shared_requirements.txt b/shared_requirements.txt index 5babe549ff4c..28b010f6588b 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -242,13 +242,13 @@ opentelemetry-sdk<2.0.0,>=1.0.0 #override azure-mgmt-servicefabric msrest>=0.6.21 #override azure-mgmt-signalr msrest>=0.6.21 #override azure-mgmt-managedservices msrest>=0.6.21 -#override azure-mgmt-databoxedge msrest>=0.6.21 #override azure-mgmt-hybridcompute msrest>=0.6.21 #override azure-mgmt-reservations msrest>=0.6.21 #override azure-mgmt-webpubsub msrest>=0.6.21 #override azure-mgmt-keyvault msrest>=0.6.21 #override azure-mgmt-resource msrest>=0.6.21 #override azure-template azure-core<2.0.0,>=1.10.0 +#override azure-mgmt-databoxedge msrest>=0.6.21 #override azure-mgmt-kusto msrest>=0.6.21 #override azure-mgmt-managedservices msrest>=0.6.21 #override azure-mgmt-resourcegraph msrest>=0.6.21 From 64c93ccb30676be8e6825cd5a18a3247ff930d81 Mon Sep 17 00:00:00 2001 From: Azure CLI Bot Date: Mon, 26 Apr 2021 16:47:46 +0800 Subject: [PATCH 03/14] [AutoRelease] t2-maps-2021-04-23-25762(wave4) (#18253) * CodeGen from PR 14075 in Azure/azure-rest-api-specs maps t2 config (#14075) Co-authored-by: Yan Zhang (WICRESOFT NORTH AMERICA LTD) * version,CHANGELOG * test * version modification Co-authored-by: SDKAuto Co-authored-by: Yan Zhang (WICRESOFT NORTH AMERICA LTD) Co-authored-by: PythonSdkPipelines Co-authored-by: zhangyan133 <77086185+zhangyan133@users.noreply.github.com> Co-authored-by: Zed Lei <59104634+RAY-316@users.noreply.github.com> --- sdk/maps/azure-mgmt-maps/CHANGELOG.md | 4 + sdk/maps/azure-mgmt-maps/MANIFEST.in | 1 + sdk/maps/azure-mgmt-maps/_meta.json | 8 + .../maps/_azure_maps_resource_provider.py | 19 ++ .../azure/mgmt/maps/_metadata.json | 106 ++++++ .../azure/mgmt/maps/_version.py | 3 +- .../maps/aio/_azure_maps_resource_provider.py | 18 + .../aio/operations/_accounts_operations.py | 16 +- .../aio/operations/_creators_operations.py | 10 +- .../maps/aio/operations/_maps_operations.py | 2 +- .../operations/_private_atlases_operations.py | 26 +- .../azure/mgmt/maps/models/_models.py | 4 +- .../azure/mgmt/maps/models/_models_py3.py | 4 +- .../maps/operations/_accounts_operations.py | 16 +- .../maps/operations/_creators_operations.py | 10 +- .../mgmt/maps/operations/_maps_operations.py | 2 +- .../operations/_private_atlases_operations.py | 26 +- sdk/maps/azure-mgmt-maps/setup.py | 2 +- .../test_cli_mgmt_maps.test_maps.yaml | 317 ------------------ shared_requirements.txt | 3 +- 20 files changed, 218 insertions(+), 379 deletions(-) create mode 100644 sdk/maps/azure-mgmt-maps/_meta.json create mode 100644 sdk/maps/azure-mgmt-maps/azure/mgmt/maps/_metadata.json delete mode 100644 sdk/maps/azure-mgmt-maps/tests/recordings/test_cli_mgmt_maps.test_maps.yaml diff --git a/sdk/maps/azure-mgmt-maps/CHANGELOG.md b/sdk/maps/azure-mgmt-maps/CHANGELOG.md index 16f14c00956d..a678f2393435 100644 --- a/sdk/maps/azure-mgmt-maps/CHANGELOG.md +++ b/sdk/maps/azure-mgmt-maps/CHANGELOG.md @@ -1,5 +1,9 @@ # Release History +## 1.0.0 (2021-04-23) + +- GA release + ## 1.0.0b1 (2020-12-01) This is beta preview version. diff --git a/sdk/maps/azure-mgmt-maps/MANIFEST.in b/sdk/maps/azure-mgmt-maps/MANIFEST.in index a3cb07df8765..3a9b6517412b 100644 --- a/sdk/maps/azure-mgmt-maps/MANIFEST.in +++ b/sdk/maps/azure-mgmt-maps/MANIFEST.in @@ -1,3 +1,4 @@ +include _meta.json recursive-include tests *.py *.yaml include *.md include azure/__init__.py diff --git a/sdk/maps/azure-mgmt-maps/_meta.json b/sdk/maps/azure-mgmt-maps/_meta.json new file mode 100644 index 000000000000..115285e6ba2d --- /dev/null +++ b/sdk/maps/azure-mgmt-maps/_meta.json @@ -0,0 +1,8 @@ +{ + "autorest": "3.3.0", + "use": "@autorest/python@5.6.6", + "commit": "c555c1c8bc915132c6f3df485ea49c42765ef32a", + "repository_url": "https://github.com/Azure/azure-rest-api-specs", + "autorest_command": "autorest specification/maps/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.6.6 --version=3.3.0", + "readme": "specification/maps/resource-manager/readme.md" +} \ No newline at end of file diff --git a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/_azure_maps_resource_provider.py b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/_azure_maps_resource_provider.py index d3f177b959ea..1ff841729b20 100644 --- a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/_azure_maps_resource_provider.py +++ b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/_azure_maps_resource_provider.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import AzureMapsResourceProviderConfiguration from .operations import AccountsOperations @@ -70,6 +71,24 @@ def __init__( self.creators = CreatorsOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/_metadata.json b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/_metadata.json new file mode 100644 index 000000000000..1f7104180450 --- /dev/null +++ b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/_metadata.json @@ -0,0 +1,106 @@ +{ + "chosen_version": "2020-02-01-preview", + "total_api_version_list": ["2020-02-01-preview"], + "client": { + "name": "AzureMapsResourceProvider", + "filename": "_azure_maps_resource_provider", + "description": "Resource Provider.", + "base_url": "\u0027https://management.azure.com\u0027", + "custom_base_url": null, + "azure_arm": true, + "has_lro_operations": false, + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"AzureMapsResourceProviderConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"AzureMapsResourceProviderConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" + }, + "global_parameters": { + "sync": { + "credential": { + "signature": "credential, # type: \"TokenCredential\"", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials.TokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id, # type: str", + "description": "The ID of the target subscription.", + "docstring_type": "str", + "required": true + } + }, + "async": { + "credential": { + "signature": "credential: \"AsyncTokenCredential\",", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id: str,", + "description": "The ID of the target subscription.", + "docstring_type": "str", + "required": true + } + }, + "constant": { + }, + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } + }, + "config": { + "credential": true, + "credential_scopes": ["https://management.azure.com/.default"], + "credential_default_policy_type": "BearerTokenCredentialPolicy", + "credential_default_policy_type_has_async_version": true, + "credential_key_header_name": null, + "sync_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\": [\"TokenCredential\"]}}}", + "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": { + "accounts": "AccountsOperations", + "maps": "MapsOperations", + "private_atlases": "PrivateAtlasesOperations", + "creators": "CreatorsOperations" + } +} \ No newline at end of file diff --git a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/_version.py b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/_version.py index 515f51c112dd..c47f66669f1b 100644 --- a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/_version.py +++ b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/_version.py @@ -6,5 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "1.0.0b1" - +VERSION = "1.0.0" diff --git a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/aio/_azure_maps_resource_provider.py b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/aio/_azure_maps_resource_provider.py index 7d9c893664d2..b19f42571fdb 100644 --- a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/aio/_azure_maps_resource_provider.py +++ b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/aio/_azure_maps_resource_provider.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -67,6 +68,23 @@ def __init__( self.creators = CreatorsOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/aio/operations/_accounts_operations.py b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/aio/operations/_accounts_operations.py index c492897d8510..9326a6fab987 100644 --- a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/aio/operations/_accounts_operations.py +++ b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/aio/operations/_accounts_operations.py @@ -98,7 +98,7 @@ async def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -170,7 +170,7 @@ async def update( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('MapsAccount', pipeline_response) @@ -229,7 +229,7 @@ async def delete( if response.status_code not in [200, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -285,7 +285,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('MapsAccount', pipeline_response) @@ -356,7 +356,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -423,7 +423,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -484,7 +484,7 @@ async def list_keys( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('MapsAccountKeys', pipeline_response) @@ -552,7 +552,7 @@ async def regenerate_keys( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('MapsAccountKeys', pipeline_response) diff --git a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/aio/operations/_creators_operations.py b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/aio/operations/_creators_operations.py index b80f0b9c0755..48ccb5866b4e 100644 --- a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/aio/operations/_creators_operations.py +++ b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/aio/operations/_creators_operations.py @@ -105,7 +105,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -178,7 +178,7 @@ async def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -254,7 +254,7 @@ async def update( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Creator', pipeline_response) @@ -317,7 +317,7 @@ async def delete( if response.status_code not in [200, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -377,7 +377,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Creator', pipeline_response) diff --git a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/aio/operations/_maps_operations.py b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/aio/operations/_maps_operations.py index 789717f68559..edebe5234a2e 100644 --- a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/aio/operations/_maps_operations.py +++ b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/aio/operations/_maps_operations.py @@ -93,7 +93,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/aio/operations/_private_atlases_operations.py b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/aio/operations/_private_atlases_operations.py index 82853f302398..1636b0e0f0eb 100644 --- a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/aio/operations/_private_atlases_operations.py +++ b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/aio/operations/_private_atlases_operations.py @@ -49,9 +49,9 @@ async def create_or_update( private_atlas_create_parameters: "_models.PrivateAtlasCreateParameters", **kwargs ) -> "_models.PrivateAtlas": - """Create or update a Private Atlas resource. Private Atlas resource will enable the usage of - Azure resources to build a custom set of mapping data. It requires an account to exist before - it can be created. + """[Deprecated] Create or update a Private Atlas resource. Private Atlas resource will enable the + usage of Azure resources to build a custom set of mapping data. It requires an account to exist + before it can be created. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -104,7 +104,7 @@ async def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -127,8 +127,8 @@ async def update( private_atlas_update_parameters: "_models.PrivateAtlasUpdateParameters", **kwargs ) -> "_models.PrivateAtlas": - """Updates the Private Atlas resource. Only a subset of the parameters may be updated after - creation, such as Tags. + """[Deprecated] Updates the Private Atlas resource. Only a subset of the parameters may be updated + after creation, such as Tags. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -180,7 +180,7 @@ async def update( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateAtlas', pipeline_response) @@ -198,7 +198,7 @@ async def delete( private_atlas_name: str, **kwargs ) -> None: - """Delete a Private Atlas resource. + """[Deprecated] Delete a Private Atlas resource. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -243,7 +243,7 @@ async def delete( if response.status_code not in [200, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -258,7 +258,7 @@ async def get( private_atlas_name: str, **kwargs ) -> "_models.PrivateAtlas": - """Get a Private Atlas resource. + """[Deprecated] Get a Private Atlas resource. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -303,7 +303,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateAtlas', pipeline_response) @@ -320,7 +320,7 @@ def list_by_account( account_name: str, **kwargs ) -> AsyncIterable["_models.PrivateAtlasList"]: - """Get all Private Atlas instances for an Azure Map Account. + """[Deprecated] Get all Private Atlas instances for an Azure Map Account. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -378,7 +378,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/models/_models.py b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/models/_models.py index e694438dd3e7..1300820182c0 100644 --- a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/models/_models.py +++ b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/models/_models.py @@ -48,7 +48,7 @@ def __init__( class TrackedResource(Resource): - """The resource model definition for an Azure Resource Manager tracked top level resource. + """The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'. Variables are only populated by the server, and will be ignored when sending a request. @@ -849,7 +849,7 @@ class SystemData(msrest.serialization.Model): :param last_modified_by_type: The type of identity that last modified the resource. Possible values include: "User", "Application", "ManagedIdentity", "Key". :type last_modified_by_type: str or ~azure.mgmt.maps.models.CreatedByType - :param last_modified_at: The type of identity that last modified the resource. + :param last_modified_at: The timestamp of resource last modification (UTC). :type last_modified_at: ~datetime.datetime """ diff --git a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/models/_models_py3.py b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/models/_models_py3.py index 47e32beb23d2..6d4ec7d0f696 100644 --- a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/models/_models_py3.py +++ b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/models/_models_py3.py @@ -53,7 +53,7 @@ def __init__( class TrackedResource(Resource): - """The resource model definition for an Azure Resource Manager tracked top level resource. + """The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'. Variables are only populated by the server, and will be ignored when sending a request. @@ -899,7 +899,7 @@ class SystemData(msrest.serialization.Model): :param last_modified_by_type: The type of identity that last modified the resource. Possible values include: "User", "Application", "ManagedIdentity", "Key". :type last_modified_by_type: str or ~azure.mgmt.maps.models.CreatedByType - :param last_modified_at: The type of identity that last modified the resource. + :param last_modified_at: The timestamp of resource last modification (UTC). :type last_modified_at: ~datetime.datetime """ diff --git a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/operations/_accounts_operations.py b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/operations/_accounts_operations.py index fa07ba458958..f412a9fd3553 100644 --- a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/operations/_accounts_operations.py +++ b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/operations/_accounts_operations.py @@ -103,7 +103,7 @@ def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -176,7 +176,7 @@ def update( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('MapsAccount', pipeline_response) @@ -236,7 +236,7 @@ def delete( if response.status_code not in [200, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -293,7 +293,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('MapsAccount', pipeline_response) @@ -365,7 +365,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -433,7 +433,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -495,7 +495,7 @@ def list_keys( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('MapsAccountKeys', pipeline_response) @@ -564,7 +564,7 @@ def regenerate_keys( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('MapsAccountKeys', pipeline_response) diff --git a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/operations/_creators_operations.py b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/operations/_creators_operations.py index d9194e76924a..d16c49a65d5a 100644 --- a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/operations/_creators_operations.py +++ b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/operations/_creators_operations.py @@ -110,7 +110,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -184,7 +184,7 @@ def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -261,7 +261,7 @@ def update( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Creator', pipeline_response) @@ -325,7 +325,7 @@ def delete( if response.status_code not in [200, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -386,7 +386,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Creator', pipeline_response) diff --git a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/operations/_maps_operations.py b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/operations/_maps_operations.py index 594e5fbc93ac..2b00d08756e9 100644 --- a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/operations/_maps_operations.py +++ b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/operations/_maps_operations.py @@ -98,7 +98,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/operations/_private_atlases_operations.py b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/operations/_private_atlases_operations.py index 49a6cceb2855..76eccc770840 100644 --- a/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/operations/_private_atlases_operations.py +++ b/sdk/maps/azure-mgmt-maps/azure/mgmt/maps/operations/_private_atlases_operations.py @@ -54,9 +54,9 @@ def create_or_update( **kwargs # type: Any ): # type: (...) -> "_models.PrivateAtlas" - """Create or update a Private Atlas resource. Private Atlas resource will enable the usage of - Azure resources to build a custom set of mapping data. It requires an account to exist before - it can be created. + """[Deprecated] Create or update a Private Atlas resource. Private Atlas resource will enable the + usage of Azure resources to build a custom set of mapping data. It requires an account to exist + before it can be created. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -109,7 +109,7 @@ def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -133,8 +133,8 @@ def update( **kwargs # type: Any ): # type: (...) -> "_models.PrivateAtlas" - """Updates the Private Atlas resource. Only a subset of the parameters may be updated after - creation, such as Tags. + """[Deprecated] Updates the Private Atlas resource. Only a subset of the parameters may be updated + after creation, such as Tags. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -186,7 +186,7 @@ def update( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateAtlas', pipeline_response) @@ -205,7 +205,7 @@ def delete( **kwargs # type: Any ): # type: (...) -> None - """Delete a Private Atlas resource. + """[Deprecated] Delete a Private Atlas resource. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -250,7 +250,7 @@ def delete( if response.status_code not in [200, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -266,7 +266,7 @@ def get( **kwargs # type: Any ): # type: (...) -> "_models.PrivateAtlas" - """Get a Private Atlas resource. + """[Deprecated] Get a Private Atlas resource. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -311,7 +311,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateAtlas', pipeline_response) @@ -329,7 +329,7 @@ def list_by_account( **kwargs # type: Any ): # type: (...) -> Iterable["_models.PrivateAtlasList"] - """Get all Private Atlas instances for an Azure Map Account. + """[Deprecated] Get all Private Atlas instances for an Azure Map Account. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -387,7 +387,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/maps/azure-mgmt-maps/setup.py b/sdk/maps/azure-mgmt-maps/setup.py index 822ce014f621..b2c9da029829 100644 --- a/sdk/maps/azure-mgmt-maps/setup.py +++ b/sdk/maps/azure-mgmt-maps/setup.py @@ -80,7 +80,7 @@ 'azure.mgmt', ]), install_requires=[ - 'msrest>=0.5.0', + 'msrest>=0.6.21', 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], diff --git a/sdk/maps/azure-mgmt-maps/tests/recordings/test_cli_mgmt_maps.test_maps.yaml b/sdk/maps/azure-mgmt-maps/tests/recordings/test_cli_mgmt_maps.test_maps.yaml deleted file mode 100644 index be4dc70875b6..000000000000 --- a/sdk/maps/azure-mgmt-maps/tests/recordings/test_cli_mgmt_maps.test_maps.yaml +++ /dev/null @@ -1,317 +0,0 @@ -interactions: -- request: - body: '{"location": "global", "tags": {"test": "true"}, "sku": {"name": "S0"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '71' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-maps/0.1.0 Azure-SDK-For-Python - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_maps_test_mapsa6f40b7a/providers/Microsoft.Maps/accounts/accountname?api-version=2018-05-01 - response: - body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_maps_test_mapsa6f40b7a/providers/Microsoft.Maps/accounts/accountname\"\ - ,\r\n \"name\": \"accountname\",\r\n \"type\": \"Microsoft.Maps/accounts\"\ - ,\r\n \"location\": \"global\",\r\n \"tags\": {\r\n \"test\": \"true\"\ - \r\n },\r\n \"sku\": {\r\n \"name\": \"S0\",\r\n \"tier\": \"Standard\"\ - \r\n },\r\n \"properties\": {\r\n \"x-ms-client-id\": \"144cabaf-076d-4e9f-8d96-b5da49bcce07\"\ - \r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '441' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Feb 2020 04:17:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-maps/0.1.0 Azure-SDK-For-Python - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_maps_test_mapsa6f40b7a/providers/Microsoft.Maps/accounts/accountname?api-version=2018-05-01 - response: - body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_maps_test_mapsa6f40b7a/providers/Microsoft.Maps/accounts/accountname\"\ - ,\r\n \"name\": \"accountname\",\r\n \"type\": \"Microsoft.Maps/accounts\"\ - ,\r\n \"location\": \"global\",\r\n \"tags\": {\r\n \"test\": \"true\"\ - \r\n },\r\n \"sku\": {\r\n \"name\": \"S0\",\r\n \"tier\": \"Standard\"\ - \r\n },\r\n \"properties\": {\r\n \"x-ms-client-id\": \"144cabaf-076d-4e9f-8d96-b5da49bcce07\"\ - \r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '441' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Feb 2020 04:17:33 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"keyType": "primary"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '22' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-maps/0.1.0 Azure-SDK-For-Python - accept-language: - - en-US - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_maps_test_mapsa6f40b7a/providers/Microsoft.Maps/accounts/accountname/regenerateKey?api-version=2018-05-01 - response: - body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_maps_test_mapsa6f40b7a/providers/Microsoft.Maps/accounts/accountname\"\ - ,\r\n \"primaryKey\": \"MYNPUe9z30krVAYcD4lUQo2wZrds6mfNxJMFK8Qabtc\",\r\n\ - \ \"secondaryKey\": \"ICubKt1Cjhyj69U4cvdggWkb5feV85I577UxSDRB65M\",\r\n\ - \ \"primaryKeyLastUpdated\": \"2020-02-18T04:17:35.298607Z\",\r\n \"secondaryKeyLastUpdated\"\ - : \"2020-02-18T04:17:31.9655787Z\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '416' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Feb 2020 04:17:34 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-maps/0.1.0 Azure-SDK-For-Python - accept-language: - - en-US - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_maps_test_mapsa6f40b7a/providers/Microsoft.Maps/accounts/accountname/listKeys?api-version=2018-05-01 - response: - body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_maps_test_mapsa6f40b7a/providers/Microsoft.Maps/accounts/accountname\"\ - ,\r\n \"primaryKey\": \"MYNPUe9z30krVAYcD4lUQo2wZrds6mfNxJMFK8Qabtc\",\r\n\ - \ \"secondaryKey\": \"ICubKt1Cjhyj69U4cvdggWkb5feV85I577UxSDRB65M\",\r\n\ - \ \"primaryKeyLastUpdated\": \"2020-02-18T04:17:35.298607Z\",\r\n \"secondaryKeyLastUpdated\"\ - : \"2020-02-18T04:17:31.9655787Z\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '416' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Feb 2020 04:17:36 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 200 - message: OK -- request: - body: '{"tags": {"tags": "{''special_tag'': ''true''}"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '45' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-maps/0.1.0 Azure-SDK-For-Python - accept-language: - - en-US - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_maps_test_mapsa6f40b7a/providers/Microsoft.Maps/accounts/accountname?api-version=2018-05-01 - response: - body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_maps_test_mapsa6f40b7a/providers/Microsoft.Maps/accounts/accountname\"\ - ,\r\n \"name\": \"accountname\",\r\n \"type\": \"Microsoft.Maps/accounts\"\ - ,\r\n \"location\": \"global\",\r\n \"tags\": {\r\n \"tags\": \"{'special_tag':\ - \ 'true'}\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S0\",\r\n \"tier\"\ - : \"Standard\"\r\n },\r\n \"properties\": {\r\n \"x-ms-client-id\": \"\ - 144cabaf-076d-4e9f-8d96-b5da49bcce07\"\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '460' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Feb 2020 04:17:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-maps/0.1.0 Azure-SDK-For-Python - accept-language: - - en-US - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_maps_test_mapsa6f40b7a/providers/Microsoft.Maps/accounts/accountname?api-version=2018-05-01 - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Tue, 18 Feb 2020 04:17:48 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14998' - status: - code: 200 - message: OK -version: 1 diff --git a/shared_requirements.txt b/shared_requirements.txt index 28b010f6588b..3438b2153d98 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -248,10 +248,11 @@ opentelemetry-sdk<2.0.0,>=1.0.0 #override azure-mgmt-keyvault msrest>=0.6.21 #override azure-mgmt-resource msrest>=0.6.21 #override azure-template azure-core<2.0.0,>=1.10.0 +#override azure-mgmt-managedservices msrest>=0.6.21 #override azure-mgmt-databoxedge msrest>=0.6.21 #override azure-mgmt-kusto msrest>=0.6.21 #override azure-mgmt-managedservices msrest>=0.6.21 #override azure-mgmt-resourcegraph msrest>=0.6.21 #override azure-purview-scanning azure-core<2.0.0,>=1.8.2 msrest>=0.6.21 #override azure-purview-catalog azure-core<2.0.0,>=1.8.2 msrest>=0.6.21 -#override azure-mgmt-peering msrest>=0.6.21 +#override azure-mgmt-peering msrest>=0.6.21 \ No newline at end of file From 29e25053f1b6d128f4de50345e517864e1634d50 Mon Sep 17 00:00:00 2001 From: minnieliu Date: Mon, 26 Apr 2021 09:47:48 -0700 Subject: [PATCH 04/14] [Communication] - Clean up Environment Variables in test.yml (#18276) * Update Identity Readme * Revert Readme * Cleaning up environment variables in tests.yml Co-authored-by: Minnie Liu --- sdk/communication/tests.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sdk/communication/tests.yml b/sdk/communication/tests.yml index bd923f961ea2..ae812abf32c8 100644 --- a/sdk/communication/tests.yml +++ b/sdk/communication/tests.yml @@ -1,7 +1,7 @@ trigger: none parameters: - - name: TestPackagesEnabled + - name: TestPackagesEnabled type: object default: - identity @@ -25,7 +25,6 @@ stages: EnvVars: AZURE_TEST_RUN_LIVE: 'true' AZURE_TENANT_ID: $(aad-azure-sdk-test-tenant-id) - AZURE_SUBSCRIPTION_ID: $(acs-subscription-id) AZURE_CLIENT_SECRET: $(aad-azure-sdk-test-client-secret) AZURE_CLIENT_ID: $(aad-azure-sdk-test-client-id) AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING: $(communication-livetest-connection-string) From b95e58bfb84ee2ca3520802136539114e313882f Mon Sep 17 00:00:00 2001 From: Jorge Beauregard <69869951+jbeauregardb@users.noreply.github.com> Date: Mon, 26 Apr 2021 13:13:40 -0500 Subject: [PATCH 05/14] Bumped version for phone numbers (#18305) --- .../azure-communication-phonenumbers/CHANGELOG.md | 3 +++ .../azure/communication/phonenumbers/_version.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md b/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md index 95eafce09776..4e40902a88a3 100644 --- a/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md +++ b/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md @@ -1,5 +1,8 @@ # Release History +## 1.0.0 (2021-04-26) +- Stable release of `azure-communication-phonenumbers`. + ## 1.0.0b5 (2021-03-29) ### Breaking Changes diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_version.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_version.py index 8316868f6216..112d8000ec55 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_version.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_version.py @@ -4,6 +4,6 @@ # license information. # -------------------------------------------------------------------------- -VERSION = "1.0.0b5" +VERSION = "1.0.0" SDK_MONIKER = "communication-phonenumbers/{}".format(VERSION) # type: str From 775284aea03a7761f978760f745849803b2a801e Mon Sep 17 00:00:00 2001 From: Sean Kane <68240067+seankane-msft@users.noreply.github.com> Date: Mon, 26 Apr 2021 15:07:52 -0400 Subject: [PATCH 06/14] [Container Registry] Acr token cache (#18107) --- .../containerregistry/_exchange_client.py | 18 +++++-- .../aio/_async_exchange_client.py | 49 ++++++++++--------- 2 files changed, 41 insertions(+), 26 deletions(-) diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_exchange_client.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_exchange_client.py index ad5745e0a61f..5d2710c291af 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_exchange_client.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_exchange_client.py @@ -4,6 +4,7 @@ # Licensed under the MIT License. # ------------------------------------ import re +import time from typing import TYPE_CHECKING from azure.core.pipeline.policies import SansIOHTTPPolicy @@ -47,29 +48,38 @@ def __init__(self, endpoint, credential, **kwargs): if not endpoint.startswith("https://") and not endpoint.startswith("http://"): endpoint = "https://" + endpoint self._endpoint = endpoint - self._credential_scopes = "https://management.core.windows.net/.default" + self.credential_scope = "https://management.core.windows.net/.default" self._client = ContainerRegistry( credential=credential, url=endpoint, sdk_moniker=USER_AGENT, authentication_policy=ExchangeClientAuthenticationPolicy(), - credential_scopes=kwargs.pop("credential_scopes", self._credential_scopes), + credential_scopes=kwargs.pop("credential_scopes", self.credential_scope), **kwargs ) self._credential = credential + self._refresh_token = None + self._last_refresh_time = 0 def get_acr_access_token(self, challenge, **kwargs): # type: (str, Dict[str, Any]) -> str parsed_challenge = _parse_challenge(challenge) - refresh_token = self.exchange_aad_token_for_refresh_token(service=parsed_challenge["service"]) + refresh_token = self.get_refresh_token(parsed_challenge["service"], **kwargs) return self.exchange_refresh_token_for_access_token( refresh_token, service=parsed_challenge["service"], scope=parsed_challenge["scope"], **kwargs ) + def get_refresh_token(self, service, **kwargs): + # type: (str, **Any) -> str + if not self._refresh_token or time.time() - self._last_refresh_time > 300: + self._refresh_token = self.exchange_aad_token_for_refresh_token(service, **kwargs) + self._last_refresh_time = time.time() + return self._refresh_token + def exchange_aad_token_for_refresh_token(self, service=None, **kwargs): # type: (str, Dict[str, Any]) -> str refresh_token = self._client.authentication.exchange_aad_access_token_for_acr_refresh_token( - service=service, access_token=self._credential.get_token(self._credential_scopes).token, **kwargs + service=service, access_token=self._credential.get_token(self.credential_scope).token, **kwargs ) return refresh_token.refresh_token diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/aio/_async_exchange_client.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/aio/_async_exchange_client.py index c18e0ea1cb34..7041aa08839b 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/aio/_async_exchange_client.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/aio/_async_exchange_client.py @@ -4,8 +4,10 @@ # Licensed under the MIT License. # ------------------------------------ import re -from typing import TYPE_CHECKING +import time +from typing import TYPE_CHECKING, Dict, List, Any +from azure.core.pipeline import PipelineRequest, PipelineResponse from azure.core.pipeline.policies import SansIOHTTPPolicy from .._generated.aio import ContainerRegistry @@ -13,20 +15,16 @@ from .._user_agent import USER_AGENT if TYPE_CHECKING: - from typing import Dict, List, Any - from azure.core.credentials import TokenCredential - from azure.core.pipeline import PipelineRequest, PipelineResponse + from azure.core.credentials_async import AsyncTokenCredential class ExchangeClientAuthenticationPolicy(SansIOHTTPPolicy): """Authentication policy for exchange client that does not modify the request""" - def on_request(self, request): - # type: (PipelineRequest) -> None + def on_request(self, request: PipelineRequest) -> None: pass - def on_response(self, request, response): - # type: (PipelineRequest, PipelineResponse) -> None + def on_response(self, request: PipelineRequest, response: PipelineResponse) -> None: pass @@ -42,40 +40,48 @@ class ACRExchangeClient(object): BEARER = "Bearer" AUTHENTICATION_CHALLENGE_PARAMS_PATTERN = re.compile('(?:(\\w+)="([^""]*)")+') - def __init__(self, endpoint, credential, **kwargs): - # type: (str, TokenCredential, Dict[str, Any]) -> None + def __init__( + self, endpoint: str, credential: "AsyncTokencredential", **kwargs: Dict[str, Any] + ) -> None: if not endpoint.startswith("https://") and not endpoint.startswith("http://"): endpoint = "https://" + endpoint self._endpoint = endpoint - self._credential_scopes = "https://management.core.windows.net/.default" + self._credential_scope = "https://management.core.windows.net/.default" self._client = ContainerRegistry( credential=credential, url=endpoint, sdk_moniker=USER_AGENT, authentication_policy=ExchangeClientAuthenticationPolicy(), - credential_scopes=kwargs.pop("credential_scopes", self._credential_scopes), + credential_scopes=kwargs.pop("credential_scopes", self._credential_scope), **kwargs ) self._credential = credential + self._refresh_token = None + self._last_refresh_time = None - async def get_acr_access_token(self, challenge, **kwargs): - # type: (str) -> str + async def get_acr_access_token(self, challenge: str, **kwargs: Dict[str, Any]) -> str: parsed_challenge = _parse_challenge(challenge) - refresh_token = await self.exchange_aad_token_for_refresh_token(service=parsed_challenge["service"]) + refresh_token = await self.get_refresh_token(parsed_challenge["service"], **kwargs) return await self.exchange_refresh_token_for_access_token( refresh_token, service=parsed_challenge["service"], scope=parsed_challenge["scope"], **kwargs ) - async def exchange_aad_token_for_refresh_token(self, service=None, **kwargs): - # type: (str, Dict[str, Any]) -> str - token = await self._credential.get_token(self._credential_scopes) + async def get_refresh_token(self, service: str, **kwargs: Dict[str, Any]) -> str: + if not self._refresh_token or time.time() - self._last_refresh_time > 300: + self._refresh_token = await self.exchange_aad_token_for_refresh_token(service, **kwargs) + self._last_refresh_time = time.time() + return self._refresh_token + + async def exchange_aad_token_for_refresh_token(self, service: str = None, **kwargs: Dict[str, Any]) -> str: + token = await self._credential.get_token(self._credential_scope) refresh_token = await self._client.authentication.exchange_aad_access_token_for_acr_refresh_token( service, token.token, **kwargs ) return refresh_token.refresh_token - async def exchange_refresh_token_for_access_token(self, refresh_token, service=None, scope=None, **kwargs): - # type: (str, str, str, Dict[str, Any]) -> str + async def exchange_refresh_token_for_access_token( + self, refresh_token: str, service: str = None, scope: str = None, **kwargs: Dict[str, Any] + ) -> str: access_token = await self._client.authentication.exchange_acr_refresh_token_for_acr_access_token( service, scope, refresh_token, **kwargs ) @@ -88,8 +94,7 @@ async def __aenter__(self): async def __aexit__(self, *args): self._client.__aexit__(*args) - async def close(self): - # type: () -> None + async def close(self) -> None: """Close sockets opened by the client. Calling this method is unnecessary when using the client as a context manager. """ From ec58f5b82cbcd7787d79ac02f2bab1d6507339b0 Mon Sep 17 00:00:00 2001 From: Sean Kane <68240067+seankane-msft@users.noreply.github.com> Date: Mon, 26 Apr 2021 15:53:22 -0400 Subject: [PATCH 07/14] Verify autorest in pipeline (#16667) #13724 --- eng/.docsettings.yml | 21 ++-- eng/autorest_req.txt | 5 +- eng/pipelines/templates/jobs/ci.yml | 4 + .../templates/stages/archetype-sdk-client.yml | 6 +- eng/pipelines/templates/steps/analyze.yml | 6 + .../templates/steps/verify-autorest.yml | 66 +++++++++++ scripts/devops_tasks/verify_autorest.py | 108 ++++++++++++++++++ .../_generated/_configuration.py | 4 +- .../_generated/aio/_configuration.py | 4 +- .../azure-appconfiguration/swagger/README.md | 2 +- sdk/appconfiguration/ci.yml | 3 +- 11 files changed, 209 insertions(+), 20 deletions(-) create mode 100644 eng/pipelines/templates/steps/verify-autorest.yml create mode 100644 scripts/devops_tasks/verify_autorest.py diff --git a/eng/.docsettings.yml b/eng/.docsettings.yml index ff1a528376cc..e997f4f87987 100644 --- a/eng/.docsettings.yml +++ b/eng/.docsettings.yml @@ -88,24 +88,15 @@ known_content_issues: - ['sdk/eventgrid/azure-eventgrid/README.md', '#4554'] - ['sdk/graphrbac/azure-graphrbac/README.md', '#4554'] - ['sdk/loganalytics/azure-loganalytics/README.md', '#4554'] - - ['sdk/schemaregistry/azure-schemaregistry/swagger/README.md', '#4554'] - ['sdk/servicebus/azure-servicebus/README.md', '#4554'] - - ['sdk/servicebus/azure-servicebus/swagger/README.md', '#4554'] - ['sdk/servicebus/azure-servicebus/tests/perf_tests/README.md', '#4554'] - ['sdk/servicefabric/azure-servicefabric/README.md', '#4554'] - ['sdk/storage/azure-storage-nspkg/README.md', '#4554'] - - ['sdk/storage/azure-storage-blob/swagger/README.md', '#4554'] - - ['sdk/storage/azure-storage-file-datalake/swagger/README.md', '#4554'] - - ['sdk/storage/azure-storage-file-share/swagger/README.md', '#4554'] - ['sdk/storage/azure-storage/README.md', '#4554'] - ['sdk/storage/azure-storage-nspkg/README.rst', '#4554'] - - ['sdk/storage/azure-storage-queue/swagger/README.md', '#4554'] - ['sdk/storage/README.md', '#4554'] - ['sdk/textanalytics/azure-ai-textanalytics/samples/README.md', '#4554'] - - ['sdk/monitor/azure-monitor-opentelemetry-exporter/swagger/README.md', '#4554'] - ['sdk/monitor/azure-monitor-opentelemetry-exporter/README.md', '#4554'] - - ['sdk/digitaltwins/azure-digitaltwins-core/swagger/README.md', '#4554'] - - ['sdk/textanalytics/azure-ai-textanalytics/swagger/README.md', '#4554'] - ['sdk/media/azure-media-nspkg/README.md', '#4554'] - ['sdk/containerregistry/azure-containerregistry/swagger/README.md', '#4554'] - ['sdk/appconfiguration/azure-appconfiguration/swagger/README.md', '#4554'] @@ -156,6 +147,18 @@ known_content_issues: - ['doc/dev/mgmt/README.md', 'dev readme'] - ['doc/dev/README.md', dev readme'] - ['doc/README.md', 'dev readme'] + + # swagger files + - ['sdk/schemaregistry/azure-schemaregistry/swagger/README.md', '#4554'] + - ['sdk/servicebus/azure-servicebus/swagger/README.md', '#4554'] + - ['sdk/storage/azure-storage-blob/swagger/README.md', '#4554'] + - ['sdk/storage/azure-storage-file-datalake/swagger/README.md', '#4554'] + - ['sdk/storage/azure-storage-file-share/swagger/README.md', '#4554'] + - ['sdk/storage/azure-storage-queue/swagger/README.md', '#4554'] + - ['sdk/monitor/azure-monitor-opentelemetry-exporter/swagger/README.md', '#4554'] + - ['sdk/digitaltwins/azure-digitaltwins-core/swagger/README.md', '#4554'] + - ['sdk/textanalytics/azure-ai-textanalytics/swagger/README.md', '#4554'] + - ['sdk/appconfiguration/azure-appconfiguration/swagger/README.md', '#4554'] package_indexing_exclusion_list: - 'azure-sdk-tools' - 'azure-template' diff --git a/eng/autorest_req.txt b/eng/autorest_req.txt index a407809e9c9a..eb3c900e6325 100644 --- a/eng/autorest_req.txt +++ b/eng/autorest_req.txt @@ -4,5 +4,6 @@ pytest-cov==2.8.1 pytest-asyncio==0.12.0; python_version >= '3.5' isodate==0.6.0 msrest==0.6.14 -aiohttp==3.6.2 -wheel==0.34.2 \ No newline at end of file +wheel==0.34.2 +GitPython==3.1.14 +aiohttp==3.6.2; python_version >= '3.6' \ No newline at end of file diff --git a/eng/pipelines/templates/jobs/ci.yml b/eng/pipelines/templates/jobs/ci.yml index f24dd9e67487..3bb4d7ede674 100644 --- a/eng/pipelines/templates/jobs/ci.yml +++ b/eng/pipelines/templates/jobs/ci.yml @@ -43,6 +43,9 @@ parameters: - name: MatrixReplace type: object default: [] + - name: VerifyAutorest + type: boolean + default: false jobs: - job: 'Build' @@ -100,6 +103,7 @@ jobs: AdditionalTestArgs: '--wheel_dir="$(Build.ArtifactStagingDirectory)"' TestPipeline: ${{ parameters.TestPipeline }} Artifacts: ${{ parameters.Artifacts }} + VerifyAutorest: ${{ parameters.VerifyAutorest }} - template: /eng/common/pipelines/templates/jobs/archetype-sdk-tests-generate.yml parameters: diff --git a/eng/pipelines/templates/stages/archetype-sdk-client.yml b/eng/pipelines/templates/stages/archetype-sdk-client.yml index 5a97aa84e57b..c37d5581f11a 100644 --- a/eng/pipelines/templates/stages/archetype-sdk-client.yml +++ b/eng/pipelines/templates/stages/archetype-sdk-client.yml @@ -57,6 +57,9 @@ parameters: - name: MatrixReplace type: object default: [] +- name: VerifyAutorest + type: boolean + default: false stages: - stage: Build @@ -88,6 +91,7 @@ stages: - OsVmImage=macOS-10.15/MMSUbuntu18.04 - ${{ each replacement in parameters.MatrixReplace }}: - ${{ replacement }} + VerifyAutorest: ${{ parameters.VerifyAutorest }} # The Prerelease and Release stages are conditioned on whether we are building a pull request and the branch. @@ -115,4 +119,4 @@ stages: ArtifactName: conda ${{ if eq(parameters.ServiceDirectory, 'template') }}: TestPipeline: true - + diff --git a/eng/pipelines/templates/steps/analyze.yml b/eng/pipelines/templates/steps/analyze.yml index 2fa3a873199c..2e69101af1b4 100644 --- a/eng/pipelines/templates/steps/analyze.yml +++ b/eng/pipelines/templates/steps/analyze.yml @@ -5,6 +5,7 @@ parameters: AdditionalTestArgs: '' Artifacts: [] TestPipeline: false + VerifyAutorest: false steps: - template: /eng/pipelines/templates/steps/analyze_dependency.yml @@ -57,6 +58,11 @@ steps: parameters: SourceDirectory: $(Build.SourcesDirectory) + - template: ../steps/verify-autorest.yml + parameters: + ServiceDirectory: ${{ parameters.ServiceDirectory }} + VerifyAutorest: ${{ parameters.VerifyAutorest }} + - task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0 # ComponentGovernance is currently unable to run on pull requests of public projects. Running on non-PR # builds should be sufficient. diff --git a/eng/pipelines/templates/steps/verify-autorest.yml b/eng/pipelines/templates/steps/verify-autorest.yml new file mode 100644 index 000000000000..6ebbf30f958b --- /dev/null +++ b/eng/pipelines/templates/steps/verify-autorest.yml @@ -0,0 +1,66 @@ +parameters: + - name: ServiceDirectory + type: string + - name: NodeVersion + type: string + default: '12.x' + - name: PythonVersion + type: string + default: '$(PythonVersion)' + - name: auto_rest_clone_url + type: string + default: 'https://github.com/Azure/autorest.python.git' + - name: VerifyAutorest + type: boolean + default: false + +steps: + - ${{if eq(parameters.VerifyAutorest, 'true')}}: + - template: /eng/common/pipelines/templates/steps/set-default-branch.yml + + - task: UsePythonVersion@0 + displayName: Use + inputs: + versionSpec: ${{ parameters.PythonVersion }} + + - task: NodeTool@0 + inputs: + versionSpec: ${{ parameters.NodeVersion }} + + - script: | + npm install -g autorest + autorest --help + displayName: "Install autorest" + + - template: /eng/common/pipelines/templates/steps/sparse-checkout.yml + parameters: + Paths: + - "/*" + Repositories: + - Name: "Azure/autorest.python" + Commitish: "master" + WorkingDirectory: "$(Build.SourcesDirectory)/autorest.python" + SkipDefaultCheckout: true + + - script: | + python --version + pip install -r eng/autorest_req.txt + cd autorest.python + npm install + displayName: 'Prepare Environment' + + - task: PythonScript@0 + displayName: 'Verify autorest' + inputs: + scriptPath: 'scripts/devops_tasks/verify_autorest.py' + arguments: >- + --service_directory="${{ parameters.ServiceDirectory }}" + + - ${{ if and(ne(variables['Build.Reason'], 'PullRequest'), eq(variables['System.TeamProject'], 'internal')) }}: + - template: /eng/common/pipelines/templates/steps/create-pull-request.yml + # # displayName: Create PR for ${{ ServiceDirectory }} + # condition: and(ne(variables['Build.Reason'],'PullRequest'), eq(variables['System.TeamProject'], 'internal')) + parameters: + CommitMsg: "Regenerated code from nightly builds" + PRTitle: "Automated autorest generation" + PRBranchName: 'autorest-${{ ServiceDirectory }}' diff --git a/scripts/devops_tasks/verify_autorest.py b/scripts/devops_tasks/verify_autorest.py new file mode 100644 index 000000000000..561ae2d8b18e --- /dev/null +++ b/scripts/devops_tasks/verify_autorest.py @@ -0,0 +1,108 @@ +#!/usr/bin/env python + +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import argparse +import os +import logging +import sys + +from common_tasks import run_check_call + +logging.getLogger().setLevel(logging.INFO) + +root_dir = os.path.abspath(os.path.join(os.path.abspath(__file__), "..", "..", "..")) +sdk_dir = os.path.join(root_dir, "sdk") + +SWAGGER_FOLDER = "swagger" + + +def run_autorest(service_dir): + logging.info("Running autorest for {}".format(service_dir)) + + service_dir = os.path.join(sdk_dir, service_dir) + + swagger_folders = find_swagger_folders(service_dir) + + for working_dir in swagger_folders: + os.chdir(working_dir) + f = os.path.abspath(os.path.join(working_dir, "README.md")) + if os.path.exists(f): + reset_command = ["autorest", "--reset"] + run_check_call(reset_command, root_dir) + + command = ["autorest", "--python", f, "--verbose"] + logging.info("Command: {}\nLocation: {}\n".format(command, working_dir)) + run_check_call(command, working_dir) + return swagger_folders + + +def find_swagger_folders(directory): + logging.info("Searching for swagger files in: {}".format(directory)) + + ret = [] + for root, subdirs, files in os.walk(directory): + for d in subdirs: + if d == SWAGGER_FOLDER: + if os.path.exists(os.path.join(root, d, "README.md")): + ret.append(os.path.join(root, d)) + + logging.info("Found swagger files at: {}".format(ret)) + return ret + + +def check_diff(folder): + # We don't care about changes to txt files (dev_requirements change) + run_check_call(["git", "status"], sdk_dir, always_exit=False) + + command = [ + "git", + "checkout", + "--", + "**/*.txt", + ] + result = run_check_call(command, sdk_dir, always_exit=False) + + # Remove the whl dirs + command = [ + "rm", + "-r", + "**/.tmp_whl_dir/" + ] + result = run_check_call(command, sdk_dir, always_exit=False) + + # Next we need to move the autorest and _tox_logs directories and then replace them + + dir_changed = folder.split("/")[:-2] + command = [ + "git", + "diff", + "--exit-code", + "{}".format("/".join(dir_changed)), + ] + result = run_check_call(command, sdk_dir, always_exit=False) + if result: + command = ["git", "status"] + run_check_call(command, root_dir) + raise ValueError( + "Found difference between re-generated code and current commit. Please re-generate with the latest autorest." + ) + + +if __name__ == "__main__": + parser = argparse.ArgumentParser( + description="Run autorest to verify generated code." + ) + parser.add_argument( + "--service_directory", help="Directory of the package being tested" + ) + + args = parser.parse_args() + folders = run_autorest(args.service_directory) + + if len(folders): + for folder in folders: + check_diff(folder) diff --git a/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_generated/_configuration.py b/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_generated/_configuration.py index 2d9bf0a0f9a2..318e770a4049 100644 --- a/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_generated/_configuration.py +++ b/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_generated/_configuration.py @@ -51,7 +51,7 @@ def __init__( self.endpoint = endpoint self.sync_token = sync_token self.api_version = "1.0" - self.credential_scopes = kwargs.pop('credential_scopes', []) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://dev.azuresynapse.net/.default']) kwargs.setdefault('sdk_moniker', 'appconfiguration/{}'.format(VERSION)) self._configure(**kwargs) @@ -69,7 +69,5 @@ def _configure( self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) self.authentication_policy = kwargs.get('authentication_policy') - if not self.credential_scopes and not self.authentication_policy: - raise ValueError("You must provide either credential_scopes or authentication_policy as kwargs") if self.credential and not self.authentication_policy: self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_generated/aio/_configuration.py b/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_generated/aio/_configuration.py index fcfc05e38d35..371b5fca1928 100644 --- a/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_generated/aio/_configuration.py +++ b/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_generated/aio/_configuration.py @@ -48,7 +48,7 @@ def __init__( self.endpoint = endpoint self.sync_token = sync_token self.api_version = "1.0" - self.credential_scopes = kwargs.pop('credential_scopes', []) + self.credential_scopes = kwargs.pop('credential_scopes', ['https://dev.azuresynapse.net/.default']) kwargs.setdefault('sdk_moniker', 'appconfiguration/{}'.format(VERSION)) self._configure(**kwargs) @@ -65,7 +65,5 @@ def _configure( self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) self.authentication_policy = kwargs.get('authentication_policy') - if not self.credential_scopes and not self.authentication_policy: - raise ValueError("You must provide either credential_scopes or authentication_policy as kwargs") if self.credential and not self.authentication_policy: self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/appconfiguration/azure-appconfiguration/swagger/README.md b/sdk/appconfiguration/azure-appconfiguration/swagger/README.md index 9cb195a8597f..8a4fea1b6f8c 100644 --- a/sdk/appconfiguration/azure-appconfiguration/swagger/README.md +++ b/sdk/appconfiguration/azure-appconfiguration/swagger/README.md @@ -15,4 +15,4 @@ enable-xml: true vanilla: true add-credentials: true credential-scopes: https://dev.azuresynapse.net/.default -``` \ No newline at end of file +``` diff --git a/sdk/appconfiguration/ci.yml b/sdk/appconfiguration/ci.yml index 77d989e1d5ab..e48617d689db 100644 --- a/sdk/appconfiguration/ci.yml +++ b/sdk/appconfiguration/ci.yml @@ -31,8 +31,9 @@ extends: template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: ServiceDirectory: appconfiguration + VerifyAutorest: true Artifacts: - name: azure-appconfiguration safeName: azureappconfiguration - name: azure-mgmt-appconfiguration - safeName: azuremgmtappconfiguration + safeName: azuremgmtappconfiguration \ No newline at end of file From 97978c41e2939aa73fb6e7fec905896c296f9114 Mon Sep 17 00:00:00 2001 From: Sean Kane <68240067+seankane-msft@users.noreply.github.com> Date: Mon, 26 Apr 2021 16:24:25 -0400 Subject: [PATCH 08/14] fixing samples (#18310) --- .../async_samples/sample_insert_delete_entities_async.py | 2 +- .../samples/async_samples/sample_query_tables_async.py | 6 +++--- .../sample_update_upsert_merge_entities_async.py | 2 +- .../azure-data-tables/samples/sample_create_delete_table.py | 4 ++-- sdk/tables/azure-data-tables/samples/sample_query_tables.py | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sdk/tables/azure-data-tables/samples/async_samples/sample_insert_delete_entities_async.py b/sdk/tables/azure-data-tables/samples/async_samples/sample_insert_delete_entities_async.py index 3b6f9df125b4..1fa6febf5e0f 100644 --- a/sdk/tables/azure-data-tables/samples/async_samples/sample_insert_delete_entities_async.py +++ b/sdk/tables/azure-data-tables/samples/async_samples/sample_insert_delete_entities_async.py @@ -99,7 +99,7 @@ async def clean_up(self): tsc = TableServiceClient.from_connection_string(self.connection_string) async with tsc: async for table in tsc.list_tables(): - await tsc.delete_table(table.table_name) + await tsc.delete_table(table.name) print("Cleaned up") diff --git a/sdk/tables/azure-data-tables/samples/async_samples/sample_query_tables_async.py b/sdk/tables/azure-data-tables/samples/async_samples/sample_query_tables_async.py index 0e910cfeefa2..7417d8b6fdea 100644 --- a/sdk/tables/azure-data-tables/samples/async_samples/sample_query_tables_async.py +++ b/sdk/tables/azure-data-tables/samples/async_samples/sample_query_tables_async.py @@ -53,7 +53,7 @@ async def tables_in_account(self): # List all the tables in the service print("Listing tables:") async for table in table_service.list_tables(): - print("\t{}".format(table.table_name)) + print("\t{}".format(table.name)) # [END tsc_list_tables] # [START tsc_query_tables] @@ -62,7 +62,7 @@ async def tables_in_account(self): name_filter = "TableName eq '{}'".format(table_name) print("Queried_tables") async for table in table_service.query_tables(name_filter): - print("\t{}".format(table.table_name)) + print("\t{}".format(table.name)) # [END tsc_query_tables] finally: @@ -84,7 +84,7 @@ async def clean_up(self): tsc = TableServiceClient.from_connection_string(self.connection_string) async with tsc: async for table in tsc.list_tables(): - await tsc.delete_table(table.table_name) + await tsc.delete_table(table.name) print("Cleaned up") diff --git a/sdk/tables/azure-data-tables/samples/async_samples/sample_update_upsert_merge_entities_async.py b/sdk/tables/azure-data-tables/samples/async_samples/sample_update_upsert_merge_entities_async.py index f0679bef9b44..e27e87404f18 100644 --- a/sdk/tables/azure-data-tables/samples/async_samples/sample_update_upsert_merge_entities_async.py +++ b/sdk/tables/azure-data-tables/samples/async_samples/sample_update_upsert_merge_entities_async.py @@ -161,7 +161,7 @@ async def clean_up(self): async with tsc: async for table in tsc.list_tables(): - await tsc.delete_table(table.table_name) + await tsc.delete_table(table.name) print("Cleaned up") diff --git a/sdk/tables/azure-data-tables/samples/sample_create_delete_table.py b/sdk/tables/azure-data-tables/samples/sample_create_delete_table.py index 5e1e8ef77449..019d8c3599e2 100644 --- a/sdk/tables/azure-data-tables/samples/sample_create_delete_table.py +++ b/sdk/tables/azure-data-tables/samples/sample_create_delete_table.py @@ -75,13 +75,13 @@ def delete_table(self): # [END delete_table_from_tc] def create_from_table_client(self): - from azure.data.table import TableClient + from azure.data.tables import TableClient # [START create_table_from_table_client] with TableClient.from_connection_string(conn_str=self.connection_string, table_name="myTable") as table_client: try: table_item = table_client.create_table() - print("Created table {}!".format(table_item.table_name)) + print("Created table {}!".format(table_item.name)) except ResourceExistsError: print("Table already exists") # [END create_table_from_table_client] diff --git a/sdk/tables/azure-data-tables/samples/sample_query_tables.py b/sdk/tables/azure-data-tables/samples/sample_query_tables.py index 5e2a9ce9192c..f741978f61da 100644 --- a/sdk/tables/azure-data-tables/samples/sample_query_tables.py +++ b/sdk/tables/azure-data-tables/samples/sample_query_tables.py @@ -55,7 +55,7 @@ def tables_in_account(self): list_tables = table_service.list_tables() print("Listing tables:") for table in list_tables: - print("\t{}".format(table.table_name)) + print("\t{}".format(table.name)) # [END tsc_list_tables] # [START tsc_query_tables] @@ -65,7 +65,7 @@ def tables_in_account(self): print("Queried_tables") for table in queried_tables: - print("\t{}".format(table.table_name)) + print("\t{}".format(table.name)) # [END tsc_query_tables] finally: From 3db207da81bacd10f82a00c0d14521bd8445e96b Mon Sep 17 00:00:00 2001 From: Lakshman Sundaralingam Date: Mon, 26 Apr 2021 15:05:48 -0700 Subject: [PATCH 09/14] [Communication]: Added error code assertion back into SMS test (#18313) --- ...test_send_sms_unauthorized_from_phone_number.yaml | 12 ++++++------ ...end_sms_unauthorized_from_phone_number_async.yaml | 12 ++++++------ .../tests/test_sms_client_e2e.py | 1 + .../tests/test_sms_client_e2e_async.py | 1 + 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_unauthorized_from_phone_number.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_unauthorized_from_phone_number.yaml index b0f002cebf84..d3cec6baea4e 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_unauthorized_from_phone_number.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_unauthorized_from_phone_number.yaml @@ -15,7 +15,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 13 Apr 2021 18:38:07 GMT + - Mon, 26 Apr 2021 20:44:56 GMT User-Agent: - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -31,14 +31,14 @@ interactions: content-length: - '0' date: - - Tue, 13 Apr 2021 18:38:07 GMT + - Mon, 26 Apr 2021 20:44:56 GMT ms-cv: - - K2Dj4s4VfUSSX85g/GLf7Q.0 + - J4SJhRMiv0iKUhAQqxUttw.0 request-context: - appId= x-processing-time: - - 429ms + - 278ms status: - code: 404 - message: Not Found + code: 401 + message: Unauthorized version: 1 diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_unauthorized_from_phone_number_async.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_unauthorized_from_phone_number_async.yaml index 954d57bc4e74..bef48595de5b 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_unauthorized_from_phone_number_async.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_unauthorized_from_phone_number_async.yaml @@ -11,7 +11,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 13 Apr 2021 18:38:14 GMT + - Mon, 26 Apr 2021 20:45:02 GMT User-Agent: - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -24,12 +24,12 @@ interactions: headers: api-supported-versions: 2020-07-20-preview1, 2020-08-20-preview, 2021-03-07 content-length: '0' - date: Tue, 13 Apr 2021 18:38:15 GMT - ms-cv: 5QaPxrtpUUaGdFDPDzndrw.0 + date: Mon, 26 Apr 2021 20:45:02 GMT + ms-cv: G+jHfvCEjECPwEKrIJkC4w.0 request-context: appId= - x-processing-time: 326ms + x-processing-time: 332ms status: - code: 404 - message: Not Found + code: 401 + message: Unauthorized url: https://sanitized.communication.azure.com/sms?api-version=2021-03-07 version: 1 diff --git a/sdk/communication/azure-communication-sms/tests/test_sms_client_e2e.py b/sdk/communication/azure-communication-sms/tests/test_sms_client_e2e.py index 23db8e4d55cd..e0fcfbbc1159 100644 --- a/sdk/communication/azure-communication-sms/tests/test_sms_client_e2e.py +++ b/sdk/communication/azure-communication-sms/tests/test_sms_client_e2e.py @@ -133,6 +133,7 @@ def test_send_sms_unauthorized_from_phone_number(self): to=[self.phone_number], message="Hello World via SMS") + assert str(ex.value.status_code) == "401" assert ex.value.message is not None @pytest.mark.live_test_only diff --git a/sdk/communication/azure-communication-sms/tests/test_sms_client_e2e_async.py b/sdk/communication/azure-communication-sms/tests/test_sms_client_e2e_async.py index 9f187d9b075c..89930eb34581 100644 --- a/sdk/communication/azure-communication-sms/tests/test_sms_client_e2e_async.py +++ b/sdk/communication/azure-communication-sms/tests/test_sms_client_e2e_async.py @@ -144,6 +144,7 @@ async def test_send_sms_unauthorized_from_phone_number_async(self): to=[self.phone_number], message="Hello World via SMS") + assert str(ex.value.status_code) == "401" assert ex.value.message is not None @AsyncCommunicationTestCase.await_prepared_test From 71ec767c478865c3305a644f55ca4a96fdaac671 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?McCoy=20Pati=C3=B1o?= <39780829+mccoyp@users.noreply.github.com> Date: Mon, 26 Apr 2021 15:27:40 -0700 Subject: [PATCH 10/14] [Key Vault] Target multiple API versions with tests (secrets) (#18183) --- .../dev_requirements.txt | 3 +- .../tests/_test_case.py | 63 + ...s.test_example_secret_crud_operations.yaml | 556 - ...le_secret_crud_operations_2016_10_01.yaml} | 421 +- ...st_example_secret_crud_operations_7_0.yaml | 961 ++ ...st_example_secret_crud_operations_7_1.yaml | 826 ++ ...ple_secret_list_operations_2016_10_01.yaml | 703 + ...st_example_secret_list_operations_7_0.yaml | 792 ++ ...st_example_secret_list_operations_7_1.yaml | 703 + ...s.test_example_secrets_backup_restore.yaml | 643 - ...ple_secrets_backup_restore_2016_10_01.yaml | 1003 ++ ...st_example_secrets_backup_restore_7_0.yaml | 913 ++ ...st_example_secrets_backup_restore_7_1.yaml | 1003 ++ ...st_example_secrets_recover_2016_10_01.yaml | 1291 ++ ...rets.test_example_secrets_recover_7_0.yaml | 2125 +++ ...rets.test_example_secrets_recover_7_1.yaml | 1512 +++ ...c.test_example_secret_crud_operations.yaml | 404 - ...ple_secret_crud_operations_2016_10_01.yaml | 643 + ...st_example_secret_crud_operations_7_0.yaml | 644 + ...st_example_secret_crud_operations_7_1.yaml | 793 ++ ...c.test_example_secret_list_operations.yaml | 357 - ...ple_secret_list_operations_2016_10_01.yaml | 387 + ...st_example_secret_list_operations_7_0.yaml | 446 + ...st_example_secret_list_operations_7_1.yaml | 387 + ...c.test_example_secrets_backup_restore.yaml | 366 - ...ple_secrets_backup_restore_2016_10_01.yaml | 696 + ...st_example_secrets_backup_restore_7_0.yaml | 516 + ...st_example_secrets_backup_restore_7_1.yaml | 696 + ...ts_async.test_example_secrets_recover.yaml | 616 - ...st_example_secrets_recover_2016_10_01.yaml | 1218 ++ ...sync.test_example_secrets_recover_7_0.yaml | 1090 ++ ...sync.test_example_secrets_recover_7_1.yaml | 1048 ++ ...est_secrets_async.test_backup_restore.yaml | 526 - ..._async.test_backup_restore_2016_10_01.yaml | 796 ++ ...secrets_async.test_backup_restore_7_0.yaml | 796 ++ ...secrets_async.test_backup_restore_7_1.yaml | 696 + ...crets_async.test_list_deleted_secrets.yaml | 1874 --- ....test_list_deleted_secrets_2016_10_01.yaml | 3044 +++++ ...s_async.test_list_deleted_secrets_7_0.yaml | 2744 ++++ ...s_async.test_list_deleted_secrets_7_1.yaml | 3253 +++++ ...test_secrets_async.test_list_versions.yaml | 327 - ...s_async.test_list_versions_2016_10_01.yaml | 327 + ..._secrets_async.test_list_versions_7_0.yaml | 327 + ..._secrets_async.test_list_versions_7_1.yaml | 327 + ...sync.test_logging_disabled_2016_10_01.yaml | 71 + ...crets_async.test_logging_disabled_7_0.yaml | 71 + ...rets_async.test_logging_disabled_7_1.yaml} | 32 +- ...async.test_logging_enabled_2016_10_01.yaml | 71 + ...ecrets_async.test_logging_enabled_7_0.yaml | 71 + ...crets_async.test_logging_enabled_7_1.yaml} | 32 +- .../test_secrets_async.test_purge.yaml | 1994 --- ...t_secrets_async.test_purge_2016_10_01.yaml | 3432 +++++ .../test_secrets_async.test_purge_7_0.yaml | 3971 ++++++ .../test_secrets_async.test_purge_7_1.yaml | 3370 +++++ .../test_secrets_async.test_recover.yaml | 1903 --- ...secrets_async.test_recover_2016_10_01.yaml | 3521 +++++ .../test_secrets_async.test_recover_7_0.yaml | 3070 +++++ .../test_secrets_async.test_recover_7_1.yaml | 3910 ++++++ ...ets_async.test_secret_crud_operations.yaml | 381 - ...est_secret_crud_operations_2016_10_01.yaml | 711 + ...async.test_secret_crud_operations_7_0.yaml | 861 ++ ...async.test_secret_crud_operations_7_1.yaml | 891 ++ .../test_secrets_async.test_secret_list.yaml | 443 - ...ets_async.test_secret_list_2016_10_01.yaml | 965 ++ ...st_secrets_async.test_secret_list_7_0.yaml | 1023 ++ ...st_secrets_async.test_secret_list_7_1.yaml | 1052 ++ ...st_secrets_client.test_backup_restore.yaml | 863 -- ...client.test_backup_restore_2016_10_01.yaml | 1233 ++ ...ecrets_client.test_backup_restore_7_0.yaml | 1288 ++ ...ecrets_client.test_backup_restore_7_1.yaml | 1063 ++ ...rets_client.test_list_deleted_secrets.yaml | 2999 ----- ....test_list_deleted_secrets_2016_10_01.yaml | 5514 ++++++++ ...client.test_list_deleted_secrets_7_0.yaml} | 2398 ++-- ..._client.test_list_deleted_secrets_7_1.yaml | 4928 +++++++ ...client.test_list_versions_2016_10_01.yaml} | 215 +- ...secrets_client.test_list_versions_7_0.yaml | 478 + ...ecrets_client.test_list_versions_7_1.yaml} | 156 +- ...ient.test_logging_disabled_2016_10_01.yaml | 102 + ...rets_client.test_logging_disabled_7_0.yaml | 102 + ...ets_client.test_logging_disabled_7_1.yaml} | 28 +- ...lient.test_logging_enabled_2016_10_01.yaml | 102 + ...crets_client.test_logging_enabled_7_0.yaml | 102 + ...rets_client.test_logging_enabled_7_1.yaml} | 28 +- .../test_secrets_client.test_purge.yaml | 3650 ----- ..._secrets_client.test_purge_2016_10_01.yaml | 7193 ++++++++++ .../test_secrets_client.test_purge_7_0.yaml | 6923 ++++++++++ .../test_secrets_client.test_purge_7_1.yaml | 6831 ++++++++++ ...ecrets_client.test_recover_2016_10_01.yaml | 11177 ++++++++++++++++ .../test_secrets_client.test_recover_7_0.yaml | 9913 ++++++++++++++ .../test_secrets_client.test_recover_7_1.yaml | 9655 +++++++++++++ ...est_secret_crud_operations_2016_10_01.yaml | 339 + ...lient.test_secret_crud_operations_7_0.yaml | 339 + ...ient.test_secret_crud_operations_7_1.yaml} | 114 +- .../test_secrets_client.test_secret_list.yaml | 610 - ...ts_client.test_secret_list_2016_10_01.yaml | 2018 +++ ...t_secrets_client.test_secret_list_7_0.yaml | 2106 +++ ...t_secrets_client.test_secret_list_7_1.yaml | 2150 +++ .../tests/test_parse_id.py | 9 +- .../tests/test_samples_secrets.py | 48 +- .../tests/test_samples_secrets_async.py | 47 +- .../tests/test_secrets_async.py | 84 +- .../tests/test_secrets_client.py | 84 +- 102 files changed, 135066 insertions(+), 20531 deletions(-) create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/_test_case.py delete mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_crud_operations.yaml rename sdk/keyvault/azure-keyvault-secrets/tests/recordings/{test_samples_secrets.test_example_secrets_recover.yaml => test_samples_secrets.test_example_secret_crud_operations_2016_10_01.yaml} (60%) create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_crud_operations_7_0.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_crud_operations_7_1.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_list_operations_2016_10_01.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_list_operations_7_0.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_list_operations_7_1.yaml delete mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_backup_restore.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_backup_restore_2016_10_01.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_backup_restore_7_0.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_backup_restore_7_1.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_recover_2016_10_01.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_recover_7_0.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_recover_7_1.yaml delete mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_crud_operations.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_crud_operations_2016_10_01.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_crud_operations_7_0.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_crud_operations_7_1.yaml delete mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_list_operations.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_list_operations_2016_10_01.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_list_operations_7_0.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_list_operations_7_1.yaml delete mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_backup_restore.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_backup_restore_2016_10_01.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_backup_restore_7_0.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_backup_restore_7_1.yaml delete mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_recover.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_recover_2016_10_01.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_recover_7_0.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_recover_7_1.yaml delete mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_backup_restore.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_backup_restore_2016_10_01.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_backup_restore_7_0.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_backup_restore_7_1.yaml delete mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_deleted_secrets.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_deleted_secrets_2016_10_01.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_deleted_secrets_7_0.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_deleted_secrets_7_1.yaml delete mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_versions.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_versions_2016_10_01.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_versions_7_0.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_versions_7_1.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_disabled_2016_10_01.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_disabled_7_0.yaml rename sdk/keyvault/azure-keyvault-secrets/tests/recordings/{test_secrets_async.test_logging_disabled.yaml => test_secrets_async.test_logging_disabled_7_1.yaml} (59%) create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_enabled_2016_10_01.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_enabled_7_0.yaml rename sdk/keyvault/azure-keyvault-secrets/tests/recordings/{test_secrets_async.test_logging_enabled.yaml => test_secrets_async.test_logging_enabled_7_1.yaml} (59%) delete mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_purge.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_purge_2016_10_01.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_purge_7_0.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_purge_7_1.yaml delete mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_recover.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_recover_2016_10_01.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_recover_7_0.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_recover_7_1.yaml delete mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_crud_operations.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_crud_operations_2016_10_01.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_crud_operations_7_0.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_crud_operations_7_1.yaml delete mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_list.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_list_2016_10_01.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_list_7_0.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_list_7_1.yaml delete mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_backup_restore.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_backup_restore_2016_10_01.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_backup_restore_7_0.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_backup_restore_7_1.yaml delete mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_deleted_secrets.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_deleted_secrets_2016_10_01.yaml rename sdk/keyvault/azure-keyvault-secrets/tests/recordings/{test_secrets_client.test_recover.yaml => test_secrets_client.test_list_deleted_secrets_7_0.yaml} (53%) create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_deleted_secrets_7_1.yaml rename sdk/keyvault/azure-keyvault-secrets/tests/recordings/{test_samples_secrets.test_example_secret_list_operations.yaml => test_secrets_client.test_list_versions_2016_10_01.yaml} (51%) create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_versions_7_0.yaml rename sdk/keyvault/azure-keyvault-secrets/tests/recordings/{test_secrets_client.test_list_versions.yaml => test_secrets_client.test_list_versions_7_1.yaml} (64%) create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_disabled_2016_10_01.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_disabled_7_0.yaml rename sdk/keyvault/azure-keyvault-secrets/tests/recordings/{test_secrets_client.test_logging_disabled.yaml => test_secrets_client.test_logging_disabled_7_1.yaml} (75%) create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_enabled_2016_10_01.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_enabled_7_0.yaml rename sdk/keyvault/azure-keyvault-secrets/tests/recordings/{test_secrets_client.test_logging_enabled.yaml => test_secrets_client.test_logging_enabled_7_1.yaml} (75%) delete mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_purge.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_purge_2016_10_01.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_purge_7_0.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_purge_7_1.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_recover_2016_10_01.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_recover_7_0.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_recover_7_1.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_crud_operations_2016_10_01.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_crud_operations_7_0.yaml rename sdk/keyvault/azure-keyvault-secrets/tests/recordings/{test_secrets_client.test_secret_crud_operations.yaml => test_secrets_client.test_secret_crud_operations_7_1.yaml} (68%) delete mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_list.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_list_2016_10_01.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_list_7_0.yaml create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_list_7_1.yaml diff --git a/sdk/keyvault/azure-keyvault-secrets/dev_requirements.txt b/sdk/keyvault/azure-keyvault-secrets/dev_requirements.txt index eb63864de06a..6aae6374926c 100644 --- a/sdk/keyvault/azure-keyvault-secrets/dev_requirements.txt +++ b/sdk/keyvault/azure-keyvault-secrets/dev_requirements.txt @@ -4,4 +4,5 @@ -e ../azure-mgmt-keyvault -e ../../../tools/azure-sdk-tools ../azure-keyvault-nspkg -aiohttp>=3.0; python_version >= '3.5' \ No newline at end of file +aiohttp>=3.0; python_version >= '3.5' +parameterized>=0.7.3 \ No newline at end of file diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/_test_case.py b/sdk/keyvault/azure-keyvault-secrets/tests/_test_case.py new file mode 100644 index 000000000000..df3ccc2fc0f1 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/_test_case.py @@ -0,0 +1,63 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +import functools + +from azure.keyvault.secrets import ApiVersion +from azure.keyvault.secrets._shared import HttpChallengeCache +from azure.keyvault.secrets._shared.client_base import DEFAULT_VERSION +from devtools_testutils import AzureTestCase, PowerShellPreparer +from parameterized import parameterized, param +import pytest + + +def client_setup(testcase_func): + """decorator that creates a client to be passed in to a test method""" + @PowerShellPreparer("keyvault", azure_keyvault_url="https://vaultname.vault.azure.net") + @functools.wraps(testcase_func) + def wrapper(test_class_instance, azure_keyvault_url, api_version, **kwargs): + test_class_instance._skip_if_not_configured(api_version) + client = test_class_instance.create_client(azure_keyvault_url, api_version=api_version, **kwargs) + + if kwargs.get("is_async"): + import asyncio + + coroutine = testcase_func(test_class_instance, client) + loop = asyncio.get_event_loop() + loop.run_until_complete(coroutine) + else: + testcase_func(test_class_instance, client) + return wrapper + + +def get_decorator(**kwargs): + """returns a test decorator for test parameterization""" + params = [param(api_version=api_version, **kwargs) for api_version in ApiVersion] + return functools.partial(parameterized.expand, params, name_func=suffixed_test_name) + + +def suffixed_test_name(testcase_func, param_num, param): + return "{}_{}".format(testcase_func.__name__, parameterized.to_safe_name(param.kwargs.get("api_version"))) + + +class SecretsTestCase(AzureTestCase): + def tearDown(self): + HttpChallengeCache.clear() + assert len(HttpChallengeCache._cache) == 0 + super(SecretsTestCase, self).tearDown() + + def create_client(self, vault_uri, **kwargs): + if kwargs.pop("is_async", False): + from azure.keyvault.secrets.aio import SecretClient + credential = self.get_credential(SecretClient, is_async=True) + else: + from azure.keyvault.secrets import SecretClient + credential = self.get_credential(SecretClient) + return self.create_client_from_credential( + SecretClient, credential=credential, vault_url=vault_uri, **kwargs + ) + + def _skip_if_not_configured(self, api_version, **kwargs): + if self.is_live and api_version != DEFAULT_VERSION: + pytest.skip("This test only uses the default API version for live tests") diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_crud_operations.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_crud_operations.yaml deleted file mode 100644 index 4d34a2726483..000000000000 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_crud_operations.yaml +++ /dev/null @@ -1,556 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name9538173b?api-version=7.1 - response: - body: - string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer - or PoP token."}}' - headers: - cache-control: - - no-cache - content-length: - - '87' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:50:29 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - www-authenticate: - - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", - resource="https://vault.azure.net" - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 401 - message: Unauthorized -- request: - body: '{"attributes": {"exp": 2527401600}, "value": "secret-value"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '60' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name9538173b?api-version=7.1 - response: - body: - string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name9538173b/564407b87dce4343af08ed4dc4922f68","attributes":{"enabled":true,"exp":2527401600,"created":1613613029,"updated":1613613029,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '287' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:50:29 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name9538173b/?api-version=7.1 - response: - body: - string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name9538173b/564407b87dce4343af08ed4dc4922f68","attributes":{"enabled":true,"exp":2527401600,"created":1613613029,"updated":1613613029,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '287' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:50:29 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name9538173b/564407b87dce4343af08ed4dc4922f68?api-version=7.1 - response: - body: - string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name9538173b/564407b87dce4343af08ed4dc4922f68","attributes":{"enabled":true,"exp":2527401600,"created":1613613029,"updated":1613613029,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '287' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:50:29 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"tags": {"foo": "updated tag"}, "contentType": "text/plain"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '61' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PATCH - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name9538173b/?api-version=7.1 - response: - body: - string: '{"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name9538173b/564407b87dce4343af08ed4dc4922f68","attributes":{"enabled":true,"exp":2527401600,"created":1613613029,"updated":1613613030,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}}' - headers: - cache-control: - - no-cache - content-length: - - '320' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:50:30 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name9538173b?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name9538173b","deletedDate":1613613030,"scheduledPurgeDate":1621389030,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name9538173b/564407b87dce4343af08ed4dc4922f68","attributes":{"enabled":true,"exp":2527401600,"created":1613613029,"updated":1613613030,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}}' - headers: - cache-control: - - no-cache - content-length: - - '472' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:50:30 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name9538173b?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name9538173b"}}' - headers: - cache-control: - - no-cache - content-length: - - '103' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:50:30 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name9538173b?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name9538173b"}}' - headers: - cache-control: - - no-cache - content-length: - - '103' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:50:32 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name9538173b?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name9538173b"}}' - headers: - cache-control: - - no-cache - content-length: - - '103' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:50:34 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name9538173b?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name9538173b"}}' - headers: - cache-control: - - no-cache - content-length: - - '103' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:50:36 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name9538173b?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name9538173b"}}' - headers: - cache-control: - - no-cache - content-length: - - '103' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:50:38 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name9538173b?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name9538173b","deletedDate":1613613030,"scheduledPurgeDate":1621389030,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name9538173b/564407b87dce4343af08ed4dc4922f68","attributes":{"enabled":true,"exp":2527401600,"created":1613613029,"updated":1613613030,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}}' - headers: - cache-control: - - no-cache - content-length: - - '472' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:50:40 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_recover.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_crud_operations_2016_10_01.yaml similarity index 60% rename from sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_recover.yaml rename to sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_crud_operations_2016_10_01.yaml index 5341007f79a2..a74b4f8bfc0b 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_recover.yaml +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_crud_operations_2016_10_01.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namefc1f1453?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3?api-version=2016-10-01 response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:51:58 GMT + - Tue, 20 Apr 2021 21:13:53 GMT expires: - '-1' pragma: @@ -41,18 +41,18 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: code: 401 message: Unauthorized - request: - body: '{"value": "secret-value"}' + body: '{"attributes": {"exp": 2527401600}, "value": "secret-value"}' headers: Accept: - application/json @@ -61,25 +61,25 @@ interactions: Connection: - keep-alive Content-Length: - - '25' + - '60' Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namefc1f1453?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3?api-version=2016-10-01 response: body: - string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namefc1f1453/6aa972baae8243709a06de33542d276f","attributes":{"enabled":true,"created":1613613119,"updated":1613613119,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3/b991972c531441be9eb7c82297d1cc19","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953234,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '270' + - '268' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:51:59 GMT + - Tue, 20 Apr 2021 21:13:54 GMT expires: - '-1' pragma: @@ -89,11 +89,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -108,24 +108,22 @@ interactions: - gzip, deflate Connection: - keep-alive - Content-Length: - - '0' User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namefc1f1453?api-version=7.1 + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3/?api-version=2016-10-01 response: body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namefc1f1453","deletedDate":1613613119,"scheduledPurgeDate":1621389119,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namefc1f1453/6aa972baae8243709a06de33542d276f","attributes":{"enabled":true,"created":1613613119,"updated":1613613119,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3/b991972c531441be9eb7c82297d1cc19","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953234,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '399' + - '268' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:51:59 GMT + - Tue, 20 Apr 2021 21:13:54 GMT expires: - '-1' pragma: @@ -135,11 +133,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -155,22 +153,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namefc1f1453?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3/b991972c531441be9eb7c82297d1cc19?api-version=2016-10-01 response: body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-namefc1f1453"}}' + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3/b991972c531441be9eb7c82297d1cc19","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953234,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '103' + - '268' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:51:59 GMT + - Tue, 20 Apr 2021 21:13:54 GMT expires: - '-1' pragma: @@ -180,18 +177,18 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 404 - message: Not Found + code: 200 + message: OK - request: - body: null + body: '{"contentType": "text/plain", "tags": {"foo": "updated tag"}}' headers: Accept: - application/json @@ -199,23 +196,27 @@ interactions: - gzip, deflate Connection: - keep-alive + Content-Length: + - '61' + Content-Type: + - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namefc1f1453?api-version=7.1 + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3/?api-version=2016-10-01 response: body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-namefc1f1453"}}' + string: '{"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3/b991972c531441be9eb7c82297d1cc19","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}' headers: cache-control: - no-cache content-length: - - '103' + - '301' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:52:01 GMT + - Tue, 20 Apr 2021 21:13:55 GMT expires: - '-1' pragma: @@ -225,16 +226,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 404 - message: Not Found + code: 200 + message: OK - request: body: null headers: @@ -244,23 +245,25 @@ interactions: - gzip, deflate Connection: - keep-alive + Content-Length: + - '0' User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namefc1f1453?api-version=7.1 + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3?api-version=2016-10-01 response: body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-namefc1f1453"}}' + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3/b991972c531441be9eb7c82297d1cc19","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}' headers: cache-control: - no-cache content-length: - - '103' + - '455' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:52:03 GMT + - Tue, 20 Apr 2021 21:13:55 GMT expires: - '-1' pragma: @@ -270,16 +273,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 404 - message: Not Found + code: 200 + message: OK - request: body: null headers: @@ -290,13 +293,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namefc1f1453?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3?api-version=2016-10-01 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-namefc1f1453"}}' + livekvtestsecret-namea52819e3"}}' headers: cache-control: - no-cache @@ -305,7 +308,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:52:05 GMT + - Tue, 20 Apr 2021 21:13:55 GMT expires: - '-1' pragma: @@ -315,11 +318,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -335,13 +338,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namefc1f1453?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3?api-version=2016-10-01 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-namefc1f1453"}}' + livekvtestsecret-namea52819e3"}}' headers: cache-control: - no-cache @@ -350,7 +353,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:52:07 GMT + - Tue, 20 Apr 2021 21:13:57 GMT expires: - '-1' pragma: @@ -360,11 +363,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -380,21 +383,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namefc1f1453?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3?api-version=2016-10-01 response: body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namefc1f1453","deletedDate":1613613119,"scheduledPurgeDate":1621389119,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namefc1f1453/6aa972baae8243709a06de33542d276f","attributes":{"enabled":true,"created":1613613119,"updated":1613613119,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea52819e3"}}' headers: cache-control: - no-cache content-length: - - '399' + - '103' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:52:09 GMT + - Tue, 20 Apr 2021 21:13:59 GMT expires: - '-1' pragma: @@ -404,16 +408,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 404 + message: Not Found - request: body: null headers: @@ -424,21 +428,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namefc1f1453?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3?api-version=2016-10-01 response: body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namefc1f1453","deletedDate":1613613119,"scheduledPurgeDate":1621389119,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namefc1f1453/6aa972baae8243709a06de33542d276f","attributes":{"enabled":true,"created":1613613119,"updated":1613613119,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea52819e3"}}' headers: cache-control: - no-cache content-length: - - '399' + - '103' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:52:09 GMT + - Tue, 20 Apr 2021 21:14:01 GMT expires: - '-1' pragma: @@ -448,16 +453,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 404 + message: Not Found - request: body: null headers: @@ -467,24 +472,23 @@ interactions: - gzip, deflate Connection: - keep-alive - Content-Length: - - '0' User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namefc1f1453/recover?api-version=7.1 + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3?api-version=2016-10-01 response: body: - string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namefc1f1453/6aa972baae8243709a06de33542d276f","attributes":{"enabled":true,"created":1613613119,"updated":1613613119,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea52819e3"}}' headers: cache-control: - no-cache content-length: - - '247' + - '103' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:52:09 GMT + - Tue, 20 Apr 2021 21:14:03 GMT expires: - '-1' pragma: @@ -494,16 +498,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 404 + message: Not Found - request: body: null headers: @@ -514,24 +518,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namefc1f1453/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3?api-version=2016-10-01 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret-namefc1f1453 was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea52819e3"}}' headers: cache-control: - no-cache content-length: - - '326' + - '103' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:52:10 GMT + - Tue, 20 Apr 2021 21:14:05 GMT expires: - '-1' pragma: @@ -541,11 +543,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -561,24 +563,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namefc1f1453/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3?api-version=2016-10-01 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret-namefc1f1453 was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea52819e3"}}' headers: cache-control: - no-cache content-length: - - '326' + - '103' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:52:11 GMT + - Tue, 20 Apr 2021 21:14:07 GMT expires: - '-1' pragma: @@ -588,11 +588,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -608,24 +608,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namefc1f1453/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3?api-version=2016-10-01 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret-namefc1f1453 was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea52819e3"}}' headers: cache-control: - no-cache content-length: - - '326' + - '103' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:52:13 GMT + - Tue, 20 Apr 2021 21:14:10 GMT expires: - '-1' pragma: @@ -635,11 +633,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -655,24 +653,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namefc1f1453/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3?api-version=2016-10-01 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret-namefc1f1453 was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea52819e3"}}' headers: cache-control: - no-cache content-length: - - '326' + - '103' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:52:15 GMT + - Tue, 20 Apr 2021 21:14:12 GMT expires: - '-1' pragma: @@ -682,11 +678,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -702,24 +698,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namefc1f1453/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3?api-version=2016-10-01 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret-namefc1f1453 was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea52819e3"}}' headers: cache-control: - no-cache content-length: - - '326' + - '103' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:52:17 GMT + - Tue, 20 Apr 2021 21:14:14 GMT expires: - '-1' pragma: @@ -729,11 +723,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -749,24 +743,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namefc1f1453/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3?api-version=2016-10-01 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret-namefc1f1453 was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea52819e3"}}' headers: cache-control: - no-cache content-length: - - '326' + - '103' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:52:19 GMT + - Tue, 20 Apr 2021 21:14:17 GMT expires: - '-1' pragma: @@ -776,11 +768,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -796,24 +788,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namefc1f1453/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3?api-version=2016-10-01 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret-namefc1f1453 was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea52819e3"}}' headers: cache-control: - no-cache content-length: - - '326' + - '103' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:52:21 GMT + - Tue, 20 Apr 2021 21:14:19 GMT expires: - '-1' pragma: @@ -823,11 +813,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -843,24 +833,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namefc1f1453/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3?api-version=2016-10-01 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret-namefc1f1453 was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea52819e3"}}' headers: cache-control: - no-cache content-length: - - '326' + - '103' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:52:24 GMT + - Tue, 20 Apr 2021 21:14:21 GMT expires: - '-1' pragma: @@ -870,11 +858,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -890,24 +878,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namefc1f1453/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3?api-version=2016-10-01 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret-namefc1f1453 was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea52819e3"}}' headers: cache-control: - no-cache content-length: - - '326' + - '103' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:52:26 GMT + - Tue, 20 Apr 2021 21:14:23 GMT expires: - '-1' pragma: @@ -917,11 +903,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -937,21 +923,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namefc1f1453/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3?api-version=2016-10-01 response: body: - string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namefc1f1453/6aa972baae8243709a06de33542d276f","attributes":{"enabled":true,"created":1613613119,"updated":1613613119,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3/b991972c531441be9eb7c82297d1cc19","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}' headers: cache-control: - no-cache content-length: - - '270' + - '455' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:52:28 GMT + - Tue, 20 Apr 2021 21:14:25 GMT expires: - '-1' pragma: @@ -961,11 +948,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_crud_operations_7_0.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_crud_operations_7_0.yaml new file mode 100644 index 000000000000..122889e6184e --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_crud_operations_7_0.yaml @@ -0,0 +1,961 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860?api-version=7.0 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:13:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "secret-value", "attributes": {"exp": 2527401600}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '60' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860?api-version=7.0 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860/0446ba333e5b42e4b636980f1355d6b4","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953234,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '268' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:13:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860/?api-version=7.0 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860/0446ba333e5b42e4b636980f1355d6b4","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953234,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '268' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:13:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860/0446ba333e5b42e4b636980f1355d6b4?api-version=7.0 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860/0446ba333e5b42e4b636980f1355d6b4","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953234,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '268' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:13:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"tags": {"foo": "updated tag"}, "contentType": "text/plain"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '61' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860/?api-version=7.0 + response: + body: + string: '{"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860/0446ba333e5b42e4b636980f1355d6b4","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: + - no-cache + content-length: + - '301' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:13:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860/0446ba333e5b42e4b636980f1355d6b4","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: + - no-cache + content-length: + - '455' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:13:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef5331860"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:13:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef5331860"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:13:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef5331860"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef5331860"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef5331860"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef5331860"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef5331860"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef5331860"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef5331860"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef5331860"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef5331860"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef5331860"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef5331860"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef5331860"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860/0446ba333e5b42e4b636980f1355d6b4","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: + - no-cache + content-length: + - '455' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_crud_operations_7_1.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_crud_operations_7_1.yaml new file mode 100644 index 000000000000..7fa15771a798 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_crud_operations_7_1.yaml @@ -0,0 +1,826 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861?api-version=7.1 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"attributes": {"exp": 2527401600}, "value": "secret-value"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '60' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861?api-version=7.1 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861/00993d4f7f744660baf60bfe77bf79dd","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '289' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861/?api-version=7.1 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861/00993d4f7f744660baf60bfe77bf79dd","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '289' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861/00993d4f7f744660baf60bfe77bf79dd?api-version=7.1 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861/00993d4f7f744660baf60bfe77bf79dd","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '289' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"contentType": "text/plain", "tags": {"foo": "updated tag"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '61' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861/?api-version=7.1 + response: + body: + string: '{"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861/00993d4f7f744660baf60bfe77bf79dd","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861","deletedDate":1618953267,"scheduledPurgeDate":1626729267,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861/00993d4f7f744660baf60bfe77bf79dd","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: + - no-cache + content-length: + - '476' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef5341861"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef5341861"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef5341861"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef5341861"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef5341861"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef5341861"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef5341861"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef5341861"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef5341861"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef5341861"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef5341861"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861","deletedDate":1618953267,"scheduledPurgeDate":1626729267,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861/00993d4f7f744660baf60bfe77bf79dd","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: + - no-cache + content-length: + - '476' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_list_operations_2016_10_01.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_list_operations_2016_10_01.yaml new file mode 100644 index 000000000000..9048f5add4b2 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_list_operations_2016_10_01.yaml @@ -0,0 +1,703 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0a67119f1?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "value0"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0a67119f1?api-version=2016-10-01 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0a67119f1/09bfb967fc5c47bab73bb971efdb31a4","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value1"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1a67119f1?api-version=2016-10-01 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1a67119f1/7ad5723e4dad47d591f97e86be3c8d30","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2a67119f1?api-version=2016-10-01 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2a67119f1/0b373340c640429892ab2befb30536c4","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value3"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3a67119f1?api-version=2016-10-01 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3a67119f1/0e08c079c68d414f9d435a66e78cad68","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value4"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4a67119f1?api-version=2016-10-01 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4a67119f1/13a28f9a7b0a4ffdabea6e9f4f235f22","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value5"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5a67119f1?api-version=2016-10-01 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5a67119f1/f93fec550ffc4de0a754c23b6b9b1317","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value6"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6a67119f1?api-version=2016-10-01 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6a67119f1/ef06481ceb8a4d9e8c5959ccf62d0f9c","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name54f31c5b","attributes":{"enabled":true,"created":1618952915,"updated":1618952915,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978","attributes":{"enabled":true,"created":1618953050,"updated":1618953050,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b61ad8","attributes":{"enabled":true,"created":1618953011,"updated":1618953011,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b71ad9","attributes":{"enabled":true,"created":1618952953,"updated":1618952953,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5","attributes":{"enabled":true,"created":1618953095,"updated":1618953095,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6","attributes":{"enabled":true,"created":1618953120,"updated":1618953120,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret056961c6e","attributes":{"enabled":true,"created":1618952907,"updated":1618952907,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d51aec","attributes":{"enabled":true,"created":1618952911,"updated":1618952911,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret156961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret194d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret194d51aec","attributes":{"enabled":true,"created":1618952911,"updated":1618952911,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret256961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret294d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret294d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret356961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16azBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '3975' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16azBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret394d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret394d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret456961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret494d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret494d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret556961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret594d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret594d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret656961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret694d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret694d51aec","attributes":{"enabled":true,"created":1618952913,"updated":1618952913,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '2907' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/secret-name/versions?api-version=2016-10-01 + response: + body: + string: '{"value":[],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '28' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EVTJPVFl4UXpaRkwwSTBNME00T0VVMU5EUkNRVFExTkRFNU5EWXpRakl5TUVReFJVTkNRVEE0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '2484' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EVTJPVFl4UXpaRkwwSTBNME00T0VVMU5EUkNRVFExTkRFNU5EWXpRakl5TUVReFJVTkNRVEE0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16azBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '311' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16azBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qazBSRFF4UVVWQ0x6ZzBSakEzTVRsQk9FUXlPRFJCUVVSQ01FTTBRVGxGT0VFMFJEZEROemd5SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qazBSRFF4UVVWQ0x6ZzBSakEzTVRsQk9FUXlPRFJCUVVSQ01FTTBRVGxGT0VFMFJEZEROemd5SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '28' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_list_operations_7_0.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_list_operations_7_0.yaml new file mode 100644 index 000000000000..cee63ab80856 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_list_operations_7_0.yaml @@ -0,0 +1,792 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0f61a186e?api-version=7.0 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "value0"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0f61a186e?api-version=7.0 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f61a186e/cec74023c7c143bcab656062bf319060","attributes":{"enabled":true,"created":1618953293,"updated":1618953293,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value1"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1f61a186e?api-version=7.0 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f61a186e/e696f5a7877e458f9c2cb6cb56573085","attributes":{"enabled":true,"created":1618953293,"updated":1618953293,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2f61a186e?api-version=7.0 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f61a186e/10495a25014249078599b78cbbcc1275","attributes":{"enabled":true,"created":1618953293,"updated":1618953293,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value3"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3f61a186e?api-version=7.0 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f61a186e/b467c00429a749c9a1b3fb85cf1ac156","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value4"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4f61a186e?api-version=7.0 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f61a186e/1218c015a1d34634a9df014920fa3b29","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value5"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5f61a186e?api-version=7.0 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f61a186e/7f3a4e4aeee348d09cc10df1c398a3c2","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value6"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6f61a186e?api-version=7.0 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f61a186e/9dccc186a3244e639cc5b178b1812138","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name54f31c5b","attributes":{"enabled":true,"created":1618952915,"updated":1618952915,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978","attributes":{"enabled":true,"created":1618953050,"updated":1618953050,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b61ad8","attributes":{"enabled":true,"created":1618953011,"updated":1618953011,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b71ad9","attributes":{"enabled":true,"created":1618952953,"updated":1618952953,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5","attributes":{"enabled":true,"created":1618953095,"updated":1618953095,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6","attributes":{"enabled":true,"created":1618953120,"updated":1618953120,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret056961c6e","attributes":{"enabled":true,"created":1618952907,"updated":1618952907,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d51aec","attributes":{"enabled":true,"created":1618952911,"updated":1618952911,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f61a186e","attributes":{"enabled":true,"created":1618953293,"updated":1618953293,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret156961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret194d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret194d51aec","attributes":{"enabled":true,"created":1618952911,"updated":1618952911,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f61a186e","attributes":{"enabled":true,"created":1618953293,"updated":1618953293,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '3776' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret256961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret294d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret294d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f61a186e","attributes":{"enabled":true,"created":1618953293,"updated":1618953293,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret356961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret394d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret394d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret456961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret494d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret494d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f61b186f","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret556961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret594d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret594d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f61b186f","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret656961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '5096' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret694d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret694d51aec","attributes":{"enabled":true,"created":1618952913,"updated":1618952913,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f61b186f","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '987' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/secret-name/versions?api-version=7.0 + response: + body: + string: '{"value":[],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '28' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861","deletedDate":1618953267,"scheduledPurgeDate":1626729267,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNME1UZzJNUzh3TURrNU0wUTBSamRHTnpRME5qWXdRa0ZHTmpCQ1JrVTNOMEpHTnpsRVJDRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2905' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNME1UZzJNUzh3TURrNU0wUTBSamRHTnpRME5qWXdRa0ZHTmpCQ1JrVTNOMEpHTnpsRVJDRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '304' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EVTJPVFl4UXpaRkwwRTRNekpCUVROR1JrTXhPVFEzTWpZNE9FVkVPRFpETWpVNVFqRTBNVVUzSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '363' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EVTJPVFl4UXpaRkwwRTRNekpCUVROR1JrTXhPVFEzTWpZNE9FVkVPRFpETWpVNVFqRTBNVVUzSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '304' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '28' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_list_operations_7_1.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_list_operations_7_1.yaml new file mode 100644 index 000000000000..ca456a5419f7 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_list_operations_7_1.yaml @@ -0,0 +1,703 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0f61b186f?api-version=7.1 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "value0"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0f61b186f?api-version=7.1 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f61b186f/62426d9113b44aa4908831f3dda16f63","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value1"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1f61b186f?api-version=7.1 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f61b186f/67c785849b2846aabdd2b8656f878eb7","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2f61b186f?api-version=7.1 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f61b186f/1ee7d328f0634564b447c2a955931e57","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value3"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3f61b186f?api-version=7.1 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f61b186f/8fa4db21a5ba40f684823dcb792ba759","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value4"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4f61b186f?api-version=7.1 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f61b186f/62a07fe0f18c45fb85f86a86b7c7c59f","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value5"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5f61b186f?api-version=7.1 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f61b186f/fe03851e665542ff8e2c98f98d0e2dde","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value6"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6f61b186f?api-version=7.1 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f61b186f/3b1bfe95e4e446fc81ab2fbbe7e57989","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name54f31c5b","attributes":{"enabled":true,"created":1618952915,"updated":1618952915,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978","attributes":{"enabled":true,"created":1618953050,"updated":1618953050,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b61ad8","attributes":{"enabled":true,"created":1618953011,"updated":1618953011,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b71ad9","attributes":{"enabled":true,"created":1618952953,"updated":1618952953,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5","attributes":{"enabled":true,"created":1618953095,"updated":1618953095,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6","attributes":{"enabled":true,"created":1618953120,"updated":1618953120,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret056961c6e","attributes":{"enabled":true,"created":1618952907,"updated":1618952907,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d51aec","attributes":{"enabled":true,"created":1618952911,"updated":1618952911,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret156961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret194d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret194d51aec","attributes":{"enabled":true,"created":1618952911,"updated":1618952911,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret256961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret294d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret294d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '4367' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret356961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret394d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret394d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret456961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret494d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret494d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f61b186f","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret556961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret594d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret594d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f61b186f","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret656961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret694d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret694d51aec","attributes":{"enabled":true,"created":1618952913,"updated":1618952913,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f61b186f","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '4713' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/secret-name/versions?api-version=7.1 + response: + body: + string: '{"value":[],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '28' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EVTJPVFl4UXpaRkwwSTBNME00T0VVMU5EUkNRVFExTkRFNU5EWXpRakl5TUVReFJVTkNRVEE0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '2582' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EVTJPVFl4UXpaRkwwSTBNME00T0VVMU5EUkNRVFExTkRFNU5EWXpRakl5TUVReFJVTkNRVEE0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '304' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UVTJPVFl4UXpaRkx6YzFRVEl6UWtaRk9UbEZSVFExUlRGQk9FVkZNMEk1TkVZd00wUTBNRGxHSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '363' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UVTJPVFl4UXpaRkx6YzFRVEl6UWtaRk9UbEZSVFExUlRGQk9FVkZNMEk1TkVZd00wUTBNRGxHSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '28' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_backup_restore.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_backup_restore.yaml deleted file mode 100644 index dbaf5605daaa..000000000000 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_backup_restore.yaml +++ /dev/null @@ -1,643 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name95151736?api-version=7.1 - response: - body: - string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer - or PoP token."}}' - headers: - cache-control: - - no-cache - content-length: - - '87' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:50:42 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - www-authenticate: - - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", - resource="https://vault.azure.net" - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 401 - message: Unauthorized -- request: - body: '{"value": "secret-value"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '25' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name95151736?api-version=7.1 - response: - body: - string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name95151736/5654faa78e4548c1b7ad2bc1cc7fad5e","attributes":{"enabled":true,"created":1613613043,"updated":1613613043,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '270' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:50:43 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name95151736/backup?api-version=7.1 - response: - body: - string: '{"value":"KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuVnNCWWxzSTZoMXNZTkdfcU1JUHEtZVU3WDVxQS1Sb09iVktmRVhaLWtPLW85cDA2MkhPVEgzWUlCcG5KTGlrSXBMM0p0UF95OFhWNU1qTjhtOEtXVXU3R2p1NTBueDhPemh4eHFEVTNDVnRlTTktcGhEVmJVTzVlaHlRcWRhX0FFV1R2b1V3NXRrb3cyUFBEbWEtTzNCeXRacmNrdENRMnY4TFhQdWkwQ2ctSVA4MzBwMjNONHJ5aW9meEZoNkt5UmhGenJZdUc2T0NaSUVWN2U3Z0RWNllvR2x4ZWpvSndSSUZSa1h2d1JhMF8xRlJQQ2owb3JSUmkyUmVwQ1BKdmRJSXA3OXZ4MnIzQVh2ZGZDQ3pObmJZVGFOOE40Tll0T1hZbHJfcFNXWE9qMU9JSDlfckstbWx4R21fZnk1N2hnVUFTR3VLV0FxVUQ0TDRKRy02a0tnLlJxbExDMWJ0QnBtTWRtVWJ4WTYyb0EuaUJNTURKZ3BiWGR6YmtsSDg5U2FSY2dQbUZtdHAyNlhobTNyOWNOUEFRMVdOSFJvY0l0YnBfeWVETlhDRi1hWkJ0UU51dHpUQU9TRFF6QjJ6M0xmUXQ3c1pFY2dsd29xanl3SWtKVVNYQ0x0OE55V25JdmJudmhpSDNzZ21URGdleFdwMHVfVVNaNnBMUUY5bjI1R0RlclpxS1hsckUzcjJDTGNrQmF2eUo1MGFGaDJSU2FXNUYwVmg0NlZfUFVnakV4TFdfMHpXVm5jTk00SldDLUlhV0lycjVuYVZEZjFhX0M4a0R6WGkyX1REUU45a2wwb3JjYVA5LTAyWUV6TzlLcUpfdnRNNkl2SzNSRWlrSFZhbUQzdThySVYyOFlrUmctRUduZHRzWkxrbXJILVJmWVJDaEp6aXE2eTJJRWRlTTFjVjVkbHdsZW15UGd6RC1HTmw5OXRSV1BjWGhJb0htajVUSnhIaWlSa0RxTHEtamZrWXdBS3l0V05jR3ZyVHl0NGxJVjNFeFpBVnR4OU9WTlBMMUE1RTRueGw1ejRjUkstRDhEM3VaMDVzQ1pKVUEtVDV0emtOSDNtNWVMSTJzR0pmaEdkOEFXcG5uSG9ucWtEVlhVUmswVmt0UzQzYWY5ZmZjSmlfQk5BRlgxdDZPcjdSd2g5eUUwRWZKSk9lTU1DV1JQRmphdkJuTXZiNS1JMWppMFhDT1N5MjlKT1ZkbzhveEphOTEzUTU4aGk4Qk5FSHVOaFh4N3Zrand5d2FCUjlsdmZmSzBoQnpkQ1EyVEQyUnlRek1nTXFmR0w3UlJGN1BkOTlRempQVGFhMzFoV0pndUhCZUhnc2NSRkN0cm51UWRSYXp2ZlpIcWN5UnM2WFpOblA2MlhuWENaQmtJeFpUMDFodDkwTDBnU2N2bWpmMXVWaTNKLVJBTTh5QlR1MWQzdnlsM2ZTWW1OdHBicUJ6TkdqNXZZTkVMR0x1N0t4NDY2SkxSSEh1TXVSa3IxRTJ2dzY5UHZnZ3pvU3p2UERmUkZwYzJJM0dmSGUtSkVaSUM4LXdnNGRnUFN6NDcyLUJBWGF1aEFVS0pOVU83X1JqSGVaTkdiaVlna3lsN0pYOEdSWGd5YnoxZFljUWNjUGFjODBzeFVYV3JXSEhmU0ZYOW16NTBCUzIyQnNjT0dJZFpTNjVhZEZCUklLbVVaeXExTkE4NHE3QUJ2eDVfbmtVSE91YmpfRktscDhMTXZZQVJUdGJHaTVSemgzZ3M4QW01Z2xISG5HX2JQcUpXc0FPVC1ILVJsczlLWVNRTGctYlNITGZWWFd1Vk4xV2djdDZ5dWo5cTVCRGN2OGYxVXE1MzBUaTZsU0NCS01ZMFlPNnZrU3VWdS04V2cxWF9mckhTZG9PNTk4aG9tUXNxWGl3eHR6TEEwMV9XSF90MmlNam1MUkY3T1p1ZHhQQ0J4RFF4cnpadEFXZVZNQjk4OHY2SlJGdUVRdzlEVVVsX0ZJZ25IVjZha1lkVEZCLUJTcmFtRkl0b0pmc2FkODdhU2wzRTcyeVc5TFVFc2xoSFhadEx0YW1tcFdOdzNwWUlDMFAwX1BJeVduYThVS3dkTGszME83M1hua1ZqUGl0RC05VGNXamVVanp6blRrQUxrTzZybzcyazd2T0VzdkxKbHBURkNLLS04Q3FDMjFLOWVnNGhuZFVzZ0NkZFRuYUwxSHdVcEUxN2xGMzMzZWRGZU8zdkJ4czJZNy1IZmRyNzQ3S1FrMnVnV2xPUWRNcWtDQWJPRl9tTzJLUVBobWRaWm9TZUJqbi1hNS03b2FPM0JNeWd6VnJkcU1XVjQyN1ZKNWNoeE8ycC1WUjNtdGQ0d21vOWRKanZEUnlrUWlkNG9JR3NtQVpwR2V6eG90YmFtN2YxalBvNGZCamFWOU1ZTl9LU0RBamFvZXhsS3Q4RXpEcm1UNmx2LXFEbmtxeGN0am9fNU0ydGg3R0ZqdVg1VjgyTlJjRnpfQXhreHhDZjBlUEY3ZW45SDhxLTdyUkx4SUVUZnZibDRnTDFuM3R5eUtIOXRZeHZqajBiM1p1QkI5amxDNGJGRlVwQURXUHlfOGJFaG80RTg3MVlKenR3YTM4UlFyWjZLTkFSY182SUE5dGExMmNadmwyMEtRZi1oN1VWdUVHVUdpRzZvNzNIZVEtbGFlb3VKa2NqMzhUTm5MR2JBeGFqdUZ1dGRHUVpaN3VUT3M4dVAxTTE3bnRIQU9YS1psTHdTUWdoT1dvb2xuTnN0TEtjaVFEc2FvWDlhSTltSHpFc2ZGMEExVlNhNjI1bUlxT3k1SzJ6NGxyNXBaWl90NEZJQk96TERHTmpxenlBazJqRXQtVTFqckdqLUZrcUN3YUc0eVdYWDl3Wlg1bEltcC12Y0pwMjVWd2ZyeEEzWXpVdTB1alp4WUt3RFl4bV9famh6WC1wcE5aX2Z2Z1hjc3EtNFdBdXZBQnJuLXZETFhvUnh2N2lRTlAteHN0S1hhb1F1eExpRmV5RUY4aFRfN3RGSTJrbVVkTDUyY1RFM3ZHUkV5NjBmb0J6NVR2RklqV1VORE54R0JGLTFsbjhQeDZHTGVfOGQ4NkticzVGdHVSZ1dkaVBFZGllUHkzUlVVSm1CUUo4VndoMldmUVUwem52Vzh6VlRIYW56TFI3XzhQYk81OF9uNmFiRzdyaTdhVGFQVFNpV0ZNdS1GMDZ4N04xSkpXRWRkUHc4emNFOVJwOVQ1OGE1VUMxaVRmaHltamNnU0hDTTRzMUl2d01UcjJ6WlBJamZBOFZkaklXNUlVME9IYU8yVGNGUGRpd2RLSDM3cnY4WDM1aEg0MWdsZXhjWFV4NkRZWF8wdzFabmRwdDZwTmkxU3E1YXdvNWI0eUFQNHVIVk5IbEUzc0FOY0d2VzZpbHRxbE56RDNYNUdDZklYTzJneWV1S2RrV3RGakFtYzdpNl90THZvWHJzc3I1emhMTkFmbk55NEdvZTN4LUxSWFV4WDhUMU1Eb0dETmJ3RVEyUW1Sa2NPUVNBQXR0bGNFRG00TEN5YXd2REV5dmFjdXR0bS1GRjYxb1BkLWwtVDBMZm9KN0Zpc1RwR3lZOGd0TzlEOEJOTmxQcVV3ZnZPdC1uZHZEU0ZDYVdONmdmTXJleGdyQjRzbEdwRmJxal9fc2dVSWFaZ1gzeGd5RGFXX01jTF9wUnRiRkJBVENBMUh6Qm91Smc1NzFGb0JVM0JaX2U3eFNKLXlmamdXZGZBQ3g1ZG1yUWcydkVkSUI3ZUpCLTNGYmJreTk4XzRJeGNVVnlpeDU3aExrSzl3bmNTMkVoV0MxOUMxMkE4dFZrMEJNc25mN0lEZTh6RGVLNkhpVkFpQjEtbmZURk9qb2JBY2RYZDR4N0lCUHFydDVLNUJzbDR1clp3ZGZjREhSYUJUeS04NWNfWnlVTXBQNkdqcGdPVDRJMFc2cG5OT3RDb2xnTXBGUEFsTHJ0N01nMzlIamcwTi1sY3MyRFZWUlFvNEc3Q2taaENXUVB6TTRKR2dMdldhSTBDN1p1VzB5d0wwT2VBdGh0YzNkaXQ4WXhXbE5kOUVYS09SQlhidGZoMlpIMGFFaF9YNl9iQzJWOUZPdVcyRkRhU25RdEZaMTVQLWZUZGs2b09QUjhCYTdRRmYtV1JRWUMxb3FpMkNYSGNQd01aN0p4OE52b1loX0xhUFJKcW5feThUS1c1UmNfQnZoaGZOSzU3d2xtd1JYWWxqVXZjR2dlQUFzNFNGYmVqdEpMc3hrRndPN0g2ZDNzTVdUb1Zpc1RDUm55aURaY01WUmo2Y2M5ZGJ1Znc0TjFzRWZ1RDdEaWFUVEtfQzMtMlJLdEFEeG1WdEN6Ni14R3pJLUlMVkU1OEZZcWJaeFRhclhtQXd2TDFiNmxJNWhHNU9sOFRES0dJazJmdlpwVks2blV5ZjRHdFR2YWo3NERuQlZxUFFFeWhSTWY0YThXUC1FaWc2ZWRRaGJfLWtuRnRDNUhFYjZGMDlPVlViMm5RdXlFZUNrUVl6QUFOdjR1ZXkySURRZzhXaFN6WTlONjdkWUoyblNvMGFSX1k0cXdrTC1uSUUwTFVpazZBWHBnM1NhY1hYSzJxRG9YOEMyUWxwNnRsVGFyOVNwQVJzZUNhd1dWc3VlclpEOGx6MHVkTEluanNpajllUlJKdzNQVk9ORmlrbkZnNTBSM0l1TE5xZTBOUnJ2RUI2bmpfU2dld0tKS01WMVdNQXB5TjRQUWZ3OFE4RlphZVdiSllfSUpzUEtvc3R2cFdHTkROS3BoNjVwU0pMOElnRGhxYlpmWEhlR3FOZ3ptak1RSGl6YTdZYXIwcGZCYk9RQWlPRTRYTkZ2REVPQ3BZODZpc3dFZGR5eXRaY2VvVTh2QTFLajduTkd5S2VTQlV3bXpsaGU5OUxWYzhMbmx4NkI0SzM0R004RUFuSDRmSVZ2dm03amszdGZSUFZ1OFZrVlFCd1FhWm5wNEVwalZSS2xkMmVzdlg0Tl9VczVOeTdrVkV3aXNkY2RQTE9kY3BwSXpCWmoxdWtqYVZaZ192UzNmQktfVHN1MENpUl8tLV9nVjd0bDgxMWViOU8wbjhKUnFPSUFTZTktX3BCNlBjcl9ieTlJUGktQ0RzY3pMRkRVVm5UN1RmTUFnTHdrSm9LbmdrVDdVbGpBY1RjbkZfblE3Rldka0JJRmhCb1JHMm51U1Z6WjJwRUxDY3pweEo2UzNmMTFOUTdzTWZRNk9PNk1EMUQ1R2s4YW1ONXV1S2ZTUUREVTM2clZaZ2gwUlNSZ3FkTGF2MG1seDVBdmlkSG51WmU1VTFsWTFHNXhrV1BTWWRYX0Y5cEcyNnNDcFZCMEs1ZnVtSVlCQVhPN3pkTUg2MmZpbU5kSHdLLV9YelBoRHlBdXE3VnlsZzlnRUFKcHFaYnJacjVwNDg5OC1FUWFPdEcxYnZSYTlCYnFGVlg3NGFaWVpuNUFKZ1hVaERkcWhfdDdFSUZHandzMFZUdGFQcHVCT0lDVEJsVHhickpUUGVzdnRTWW9oTElGenZDWXFRczNoV2lsSU44bmFLOTMwT1hWR1NrVWhHbUVxb1hqZGtaQmp2QV9hUkFHRHNVU0pxNnA1Y3VUaW80eUxxYzBITGpoY1VFcnp1Rm1HSmJCSFNCaDdGNW1UTnlaUjhfUmhSZ0IyMVBhNEZvTEYtT0ZZVG1TQWVKdDhHYTlZQThRT0tJNG03QmVHMzFnN05BWHVqOFBfMUpkNERSbk9nd1NrYmdIdDNmLXJlWW5OMlRJYm41dU0wTnFsRWl4LWdZUGpGOHlOVWxFc0NzZ1hFa3BRZldWUFAzSWdJZEUtRVhGRDhoUzB1M2paamtXMVJqbW8yRU5WLWprSTZwTWdrR01sVHRTLWFCaHB4VGQzeHMxWUU4cVhmNU02dkhjb2JFS2g4OWRzNUY0UUZJdWNKS1J3NlpLUUM4Z0pEZG5ZZ0JTelJNWjRFejY4X21vRTA4aE00emRKUjBYODNjWXR2emc2d3doQXI0UGUxY3JpekpKN2RUT0Jyb3JuS3FqWWVrSWxrdFJGUlZCMEhxbUh6NDl2aVpXQ1poZ0pCWS1LdDktbTZGNzA2Z0lKby1JaS0wSVN1WmpEbkhrelJLbUp6Rkx0a21pZWQ3b0wtUFhxUWNFR19LX1d3MHJhVkN3ZW9IMnNucXhDaTRKYzJNb0ZlSGZRc2FqZ21EbS1JRjRrakYxRlJFSlZGWGZWMW9PQV9kLVk0WVIyaXJ5dnRTZ2Fqc2VuTXFuV2ZMcTJlcG1mU1FPZ0x6dXZHQmtibXpqZWgxdjh4Q2Zpa1ZSakVCdVhwM2FldDRtQ3pmWWN2OHZfdXBGYXJOMHd0TmFGdU42T1lMOFJtWWdOT3E4NDFNaVdRWlVXdDBURkNvcXVfcGl2b2p1LWY3Yk9aUVRjQlpvWXoxLS1uZGRCS3RkajhPUlB4MUhWNzVmM1NISl9CMGJzLWVRbDMyMmtUdFRxbHRGMmhONHNzc2lSYlN4TTVheUk2d1UxRGo5cV9IVzkuemFHbkxOb21HTlF6d1M2aTdLVnhqb1p4S2pIbXh5aE50N3dQdHlzaEdlbw"}' - headers: - cache-control: - - no-cache - content-length: - - '6834' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:50:43 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name95151736?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name95151736","deletedDate":1613613043,"scheduledPurgeDate":1621389043,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name95151736/5654faa78e4548c1b7ad2bc1cc7fad5e","attributes":{"enabled":true,"created":1613613043,"updated":1613613043,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '399' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:50:43 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name95151736?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name95151736"}}' - headers: - cache-control: - - no-cache - content-length: - - '103' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:50:43 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name95151736?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name95151736"}}' - headers: - cache-control: - - no-cache - content-length: - - '103' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:50:45 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name95151736?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name95151736"}}' - headers: - cache-control: - - no-cache - content-length: - - '103' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:50:47 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name95151736?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name95151736"}}' - headers: - cache-control: - - no-cache - content-length: - - '103' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:50:49 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name95151736?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name95151736"}}' - headers: - cache-control: - - no-cache - content-length: - - '103' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:50:51 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name95151736?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name95151736"}}' - headers: - cache-control: - - no-cache - content-length: - - '103' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:50:53 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name95151736?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name95151736"}}' - headers: - cache-control: - - no-cache - content-length: - - '103' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:50:55 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name95151736?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name95151736","deletedDate":1613613043,"scheduledPurgeDate":1621389043,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name95151736/5654faa78e4548c1b7ad2bc1cc7fad5e","attributes":{"enabled":true,"created":1613613043,"updated":1613613043,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '399' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:50:57 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name95151736?api-version=7.1 - response: - body: - string: '' - headers: - cache-control: - - no-cache - date: - - Thu, 18 Feb 2021 01:50:57 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 204 - message: No Content -- request: - body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuVnNCWWxzSTZoMXNZTkdfcU1JUHEtZVU3WDVxQS1Sb09iVktmRVhaLWtPLW85cDA2MkhPVEgzWUlCcG5KTGlrSXBMM0p0UF95OFhWNU1qTjhtOEtXVXU3R2p1NTBueDhPemh4eHFEVTNDVnRlTTktcGhEVmJVTzVlaHlRcWRhX0FFV1R2b1V3NXRrb3cyUFBEbWEtTzNCeXRacmNrdENRMnY4TFhQdWkwQ2ctSVA4MzBwMjNONHJ5aW9meEZoNkt5UmhGenJZdUc2T0NaSUVWN2U3Z0RWNllvR2x4ZWpvSndSSUZSa1h2d1JhMF8xRlJQQ2owb3JSUmkyUmVwQ1BKdmRJSXA3OXZ4MnIzQVh2ZGZDQ3pObmJZVGFOOE40Tll0T1hZbHJfcFNXWE9qMU9JSDlfckstbWx4R21fZnk1N2hnVUFTR3VLV0FxVUQ0TDRKRy02a0tnLlJxbExDMWJ0QnBtTWRtVWJ4WTYyb0EuaUJNTURKZ3BiWGR6YmtsSDg5U2FSY2dQbUZtdHAyNlhobTNyOWNOUEFRMVdOSFJvY0l0YnBfeWVETlhDRi1hWkJ0UU51dHpUQU9TRFF6QjJ6M0xmUXQ3c1pFY2dsd29xanl3SWtKVVNYQ0x0OE55V25JdmJudmhpSDNzZ21URGdleFdwMHVfVVNaNnBMUUY5bjI1R0RlclpxS1hsckUzcjJDTGNrQmF2eUo1MGFGaDJSU2FXNUYwVmg0NlZfUFVnakV4TFdfMHpXVm5jTk00SldDLUlhV0lycjVuYVZEZjFhX0M4a0R6WGkyX1REUU45a2wwb3JjYVA5LTAyWUV6TzlLcUpfdnRNNkl2SzNSRWlrSFZhbUQzdThySVYyOFlrUmctRUduZHRzWkxrbXJILVJmWVJDaEp6aXE2eTJJRWRlTTFjVjVkbHdsZW15UGd6RC1HTmw5OXRSV1BjWGhJb0htajVUSnhIaWlSa0RxTHEtamZrWXdBS3l0V05jR3ZyVHl0NGxJVjNFeFpBVnR4OU9WTlBMMUE1RTRueGw1ejRjUkstRDhEM3VaMDVzQ1pKVUEtVDV0emtOSDNtNWVMSTJzR0pmaEdkOEFXcG5uSG9ucWtEVlhVUmswVmt0UzQzYWY5ZmZjSmlfQk5BRlgxdDZPcjdSd2g5eUUwRWZKSk9lTU1DV1JQRmphdkJuTXZiNS1JMWppMFhDT1N5MjlKT1ZkbzhveEphOTEzUTU4aGk4Qk5FSHVOaFh4N3Zrand5d2FCUjlsdmZmSzBoQnpkQ1EyVEQyUnlRek1nTXFmR0w3UlJGN1BkOTlRempQVGFhMzFoV0pndUhCZUhnc2NSRkN0cm51UWRSYXp2ZlpIcWN5UnM2WFpOblA2MlhuWENaQmtJeFpUMDFodDkwTDBnU2N2bWpmMXVWaTNKLVJBTTh5QlR1MWQzdnlsM2ZTWW1OdHBicUJ6TkdqNXZZTkVMR0x1N0t4NDY2SkxSSEh1TXVSa3IxRTJ2dzY5UHZnZ3pvU3p2UERmUkZwYzJJM0dmSGUtSkVaSUM4LXdnNGRnUFN6NDcyLUJBWGF1aEFVS0pOVU83X1JqSGVaTkdiaVlna3lsN0pYOEdSWGd5YnoxZFljUWNjUGFjODBzeFVYV3JXSEhmU0ZYOW16NTBCUzIyQnNjT0dJZFpTNjVhZEZCUklLbVVaeXExTkE4NHE3QUJ2eDVfbmtVSE91YmpfRktscDhMTXZZQVJUdGJHaTVSemgzZ3M4QW01Z2xISG5HX2JQcUpXc0FPVC1ILVJsczlLWVNRTGctYlNITGZWWFd1Vk4xV2djdDZ5dWo5cTVCRGN2OGYxVXE1MzBUaTZsU0NCS01ZMFlPNnZrU3VWdS04V2cxWF9mckhTZG9PNTk4aG9tUXNxWGl3eHR6TEEwMV9XSF90MmlNam1MUkY3T1p1ZHhQQ0J4RFF4cnpadEFXZVZNQjk4OHY2SlJGdUVRdzlEVVVsX0ZJZ25IVjZha1lkVEZCLUJTcmFtRkl0b0pmc2FkODdhU2wzRTcyeVc5TFVFc2xoSFhadEx0YW1tcFdOdzNwWUlDMFAwX1BJeVduYThVS3dkTGszME83M1hua1ZqUGl0RC05VGNXamVVanp6blRrQUxrTzZybzcyazd2T0VzdkxKbHBURkNLLS04Q3FDMjFLOWVnNGhuZFVzZ0NkZFRuYUwxSHdVcEUxN2xGMzMzZWRGZU8zdkJ4czJZNy1IZmRyNzQ3S1FrMnVnV2xPUWRNcWtDQWJPRl9tTzJLUVBobWRaWm9TZUJqbi1hNS03b2FPM0JNeWd6VnJkcU1XVjQyN1ZKNWNoeE8ycC1WUjNtdGQ0d21vOWRKanZEUnlrUWlkNG9JR3NtQVpwR2V6eG90YmFtN2YxalBvNGZCamFWOU1ZTl9LU0RBamFvZXhsS3Q4RXpEcm1UNmx2LXFEbmtxeGN0am9fNU0ydGg3R0ZqdVg1VjgyTlJjRnpfQXhreHhDZjBlUEY3ZW45SDhxLTdyUkx4SUVUZnZibDRnTDFuM3R5eUtIOXRZeHZqajBiM1p1QkI5amxDNGJGRlVwQURXUHlfOGJFaG80RTg3MVlKenR3YTM4UlFyWjZLTkFSY182SUE5dGExMmNadmwyMEtRZi1oN1VWdUVHVUdpRzZvNzNIZVEtbGFlb3VKa2NqMzhUTm5MR2JBeGFqdUZ1dGRHUVpaN3VUT3M4dVAxTTE3bnRIQU9YS1psTHdTUWdoT1dvb2xuTnN0TEtjaVFEc2FvWDlhSTltSHpFc2ZGMEExVlNhNjI1bUlxT3k1SzJ6NGxyNXBaWl90NEZJQk96TERHTmpxenlBazJqRXQtVTFqckdqLUZrcUN3YUc0eVdYWDl3Wlg1bEltcC12Y0pwMjVWd2ZyeEEzWXpVdTB1alp4WUt3RFl4bV9famh6WC1wcE5aX2Z2Z1hjc3EtNFdBdXZBQnJuLXZETFhvUnh2N2lRTlAteHN0S1hhb1F1eExpRmV5RUY4aFRfN3RGSTJrbVVkTDUyY1RFM3ZHUkV5NjBmb0J6NVR2RklqV1VORE54R0JGLTFsbjhQeDZHTGVfOGQ4NkticzVGdHVSZ1dkaVBFZGllUHkzUlVVSm1CUUo4VndoMldmUVUwem52Vzh6VlRIYW56TFI3XzhQYk81OF9uNmFiRzdyaTdhVGFQVFNpV0ZNdS1GMDZ4N04xSkpXRWRkUHc4emNFOVJwOVQ1OGE1VUMxaVRmaHltamNnU0hDTTRzMUl2d01UcjJ6WlBJamZBOFZkaklXNUlVME9IYU8yVGNGUGRpd2RLSDM3cnY4WDM1aEg0MWdsZXhjWFV4NkRZWF8wdzFabmRwdDZwTmkxU3E1YXdvNWI0eUFQNHVIVk5IbEUzc0FOY0d2VzZpbHRxbE56RDNYNUdDZklYTzJneWV1S2RrV3RGakFtYzdpNl90THZvWHJzc3I1emhMTkFmbk55NEdvZTN4LUxSWFV4WDhUMU1Eb0dETmJ3RVEyUW1Sa2NPUVNBQXR0bGNFRG00TEN5YXd2REV5dmFjdXR0bS1GRjYxb1BkLWwtVDBMZm9KN0Zpc1RwR3lZOGd0TzlEOEJOTmxQcVV3ZnZPdC1uZHZEU0ZDYVdONmdmTXJleGdyQjRzbEdwRmJxal9fc2dVSWFaZ1gzeGd5RGFXX01jTF9wUnRiRkJBVENBMUh6Qm91Smc1NzFGb0JVM0JaX2U3eFNKLXlmamdXZGZBQ3g1ZG1yUWcydkVkSUI3ZUpCLTNGYmJreTk4XzRJeGNVVnlpeDU3aExrSzl3bmNTMkVoV0MxOUMxMkE4dFZrMEJNc25mN0lEZTh6RGVLNkhpVkFpQjEtbmZURk9qb2JBY2RYZDR4N0lCUHFydDVLNUJzbDR1clp3ZGZjREhSYUJUeS04NWNfWnlVTXBQNkdqcGdPVDRJMFc2cG5OT3RDb2xnTXBGUEFsTHJ0N01nMzlIamcwTi1sY3MyRFZWUlFvNEc3Q2taaENXUVB6TTRKR2dMdldhSTBDN1p1VzB5d0wwT2VBdGh0YzNkaXQ4WXhXbE5kOUVYS09SQlhidGZoMlpIMGFFaF9YNl9iQzJWOUZPdVcyRkRhU25RdEZaMTVQLWZUZGs2b09QUjhCYTdRRmYtV1JRWUMxb3FpMkNYSGNQd01aN0p4OE52b1loX0xhUFJKcW5feThUS1c1UmNfQnZoaGZOSzU3d2xtd1JYWWxqVXZjR2dlQUFzNFNGYmVqdEpMc3hrRndPN0g2ZDNzTVdUb1Zpc1RDUm55aURaY01WUmo2Y2M5ZGJ1Znc0TjFzRWZ1RDdEaWFUVEtfQzMtMlJLdEFEeG1WdEN6Ni14R3pJLUlMVkU1OEZZcWJaeFRhclhtQXd2TDFiNmxJNWhHNU9sOFRES0dJazJmdlpwVks2blV5ZjRHdFR2YWo3NERuQlZxUFFFeWhSTWY0YThXUC1FaWc2ZWRRaGJfLWtuRnRDNUhFYjZGMDlPVlViMm5RdXlFZUNrUVl6QUFOdjR1ZXkySURRZzhXaFN6WTlONjdkWUoyblNvMGFSX1k0cXdrTC1uSUUwTFVpazZBWHBnM1NhY1hYSzJxRG9YOEMyUWxwNnRsVGFyOVNwQVJzZUNhd1dWc3VlclpEOGx6MHVkTEluanNpajllUlJKdzNQVk9ORmlrbkZnNTBSM0l1TE5xZTBOUnJ2RUI2bmpfU2dld0tKS01WMVdNQXB5TjRQUWZ3OFE4RlphZVdiSllfSUpzUEtvc3R2cFdHTkROS3BoNjVwU0pMOElnRGhxYlpmWEhlR3FOZ3ptak1RSGl6YTdZYXIwcGZCYk9RQWlPRTRYTkZ2REVPQ3BZODZpc3dFZGR5eXRaY2VvVTh2QTFLajduTkd5S2VTQlV3bXpsaGU5OUxWYzhMbmx4NkI0SzM0R004RUFuSDRmSVZ2dm03amszdGZSUFZ1OFZrVlFCd1FhWm5wNEVwalZSS2xkMmVzdlg0Tl9VczVOeTdrVkV3aXNkY2RQTE9kY3BwSXpCWmoxdWtqYVZaZ192UzNmQktfVHN1MENpUl8tLV9nVjd0bDgxMWViOU8wbjhKUnFPSUFTZTktX3BCNlBjcl9ieTlJUGktQ0RzY3pMRkRVVm5UN1RmTUFnTHdrSm9LbmdrVDdVbGpBY1RjbkZfblE3Rldka0JJRmhCb1JHMm51U1Z6WjJwRUxDY3pweEo2UzNmMTFOUTdzTWZRNk9PNk1EMUQ1R2s4YW1ONXV1S2ZTUUREVTM2clZaZ2gwUlNSZ3FkTGF2MG1seDVBdmlkSG51WmU1VTFsWTFHNXhrV1BTWWRYX0Y5cEcyNnNDcFZCMEs1ZnVtSVlCQVhPN3pkTUg2MmZpbU5kSHdLLV9YelBoRHlBdXE3VnlsZzlnRUFKcHFaYnJacjVwNDg5OC1FUWFPdEcxYnZSYTlCYnFGVlg3NGFaWVpuNUFKZ1hVaERkcWhfdDdFSUZHandzMFZUdGFQcHVCT0lDVEJsVHhickpUUGVzdnRTWW9oTElGenZDWXFRczNoV2lsSU44bmFLOTMwT1hWR1NrVWhHbUVxb1hqZGtaQmp2QV9hUkFHRHNVU0pxNnA1Y3VUaW80eUxxYzBITGpoY1VFcnp1Rm1HSmJCSFNCaDdGNW1UTnlaUjhfUmhSZ0IyMVBhNEZvTEYtT0ZZVG1TQWVKdDhHYTlZQThRT0tJNG03QmVHMzFnN05BWHVqOFBfMUpkNERSbk9nd1NrYmdIdDNmLXJlWW5OMlRJYm41dU0wTnFsRWl4LWdZUGpGOHlOVWxFc0NzZ1hFa3BRZldWUFAzSWdJZEUtRVhGRDhoUzB1M2paamtXMVJqbW8yRU5WLWprSTZwTWdrR01sVHRTLWFCaHB4VGQzeHMxWUU4cVhmNU02dkhjb2JFS2g4OWRzNUY0UUZJdWNKS1J3NlpLUUM4Z0pEZG5ZZ0JTelJNWjRFejY4X21vRTA4aE00emRKUjBYODNjWXR2emc2d3doQXI0UGUxY3JpekpKN2RUT0Jyb3JuS3FqWWVrSWxrdFJGUlZCMEhxbUh6NDl2aVpXQ1poZ0pCWS1LdDktbTZGNzA2Z0lKby1JaS0wSVN1WmpEbkhrelJLbUp6Rkx0a21pZWQ3b0wtUFhxUWNFR19LX1d3MHJhVkN3ZW9IMnNucXhDaTRKYzJNb0ZlSGZRc2FqZ21EbS1JRjRrakYxRlJFSlZGWGZWMW9PQV9kLVk0WVIyaXJ5dnRTZ2Fqc2VuTXFuV2ZMcTJlcG1mU1FPZ0x6dXZHQmtibXpqZWgxdjh4Q2Zpa1ZSakVCdVhwM2FldDRtQ3pmWWN2OHZfdXBGYXJOMHd0TmFGdU42T1lMOFJtWWdOT3E4NDFNaVdRWlVXdDBURkNvcXVfcGl2b2p1LWY3Yk9aUVRjQlpvWXoxLS1uZGRCS3RkajhPUlB4MUhWNzVmM1NISl9CMGJzLWVRbDMyMmtUdFRxbHRGMmhONHNzc2lSYlN4TTVheUk2d1UxRGo5cV9IVzkuemFHbkxOb21HTlF6d1M2aTdLVnhqb1p4S2pIbXh5aE50N3dQdHlzaEdlbw"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '6835' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 - response: - body: - string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name95151736/5654faa78e4548c1b7ad2bc1cc7fad5e","attributes":{"enabled":true,"created":1613613043,"updated":1613613043,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '247' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:51:57 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_backup_restore_2016_10_01.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_backup_restore_2016_10_01.yaml new file mode 100644 index 000000000000..f0079a47eac0 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_backup_restore_2016_10_01.yaml @@ -0,0 +1,1003 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea4ce19de?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "secret-value"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea4ce19de?api-version=2016-10-01 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea4ce19de/7ce6cd40f7a94ee48bc26343e6706829","attributes":{"enabled":true,"created":1618953276,"updated":1618953276,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '251' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea4ce19de/backup?api-version=2016-10-01 + response: + body: + string: '{"value":"KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuZGVwdjFqZDhhYVNyOUM4dXlHVDduTGpZWk5MTWdxT3IyU09JalpCQVhjTDRVM3loR2YyY21DYXhVcm1Yb0xVOUNuS252MDcwSFM5dEZhd2laTTM1S1MxSTNGczdVSXdyZ1NFcl9Vc3NJSjRNU3hwTkxzTTBrNnBfMENBMm5wYmhfeFhPTloyQ2Y0NTd1bFVLcTdHTkE3a1B1Wm56YUloTVcxbWJURFlHQ2pyU09ES2RaWTZKcHFJWEo1bUJzZVlHLUVmSW94QmV3UlItelA4Y20xSlYwLXZkSEZxTVBkaTBQNGZzTEVuT3NPRmRzYXJYVzJMcDhLS19kaDJwNE1wcERtSUlDdDZiVjFZQWFTd0M4ek40Tk8yQnJfSlZFOXM5ZnFYN0dMMlphdUFvVmE4eGo3U1NEeHBob1drYkVwM01CUEhBMkhCRFktaUdpN0t4Qlk5VUZBLjNYTE5qc2wxS0o5ZlF2ajBEZlV5eEEuT3RDaFlUMFdyc05BZ0hwSG1xTUo2WDhDNm0tX2RrRmQyaTl1T3dCZmdaMnFEQmF4UlBCemFVQW1iTDBCUGxXdEc0UlI5U3Etc1NJR09CdkEwakpiV1VXbmY4LXNQazFYVlY3YU9YRnNPNUdRc21jU0E4Wlg4WnJpaDBfeXlCX0JlVVBmZ2FuZU1rNkxrcndNN21GckZycGg1M3E4S3lwQjBFUUN6bjhJT0twdm5EeGwxRDVhdkRSYTB1T0tJYjllQ0JaYzVQMjdqeTFnN2poWWM1R29EamRVemJSZDRVczZlcW4wcTlKRUdIckRDMUNjUjZrci1vNHFzcjFGemNiOE1KWnhRUFpKbThlV3Q4VUlpTXZveXN5aU1Ydzl3S25UQ1EwbTlDcElpblZFc2RxUG1NM2NMQ3ZTNlJjWkVlSlNaQ0hiNWFVenJPTndUZk9fRmY5em56RlFmSTFmMlhoT1J5NmxxdE0yVGV1RmRsNGpVSzJHZUdoaTItSl9JYzN2MzIxRFRtcE9lQ2VObk5udHZScEtPREdiQ01kZEpyOXAwMG5ndUV4TGZnamlMT0dDRjRhcDd4eTZvQU5tVE50dUkyeUhkRXRpdTZJZlFTYXVjX0dOZW9idHJwNVNGQTJYT2xuc2ZTdFJoM3FMb0JJM0Y0WnF2VGdZQmJwaVpHcVU5UXRkOUV4OTZqRUFfUzRwSHVaeWJhQTlYUDJFT3h6MlZ2SWVCMXpPVzkxUEhldzZIY3k0OXR6blRTWjhfVkVwZ25YbU84OGtIUm9xd210MlhBSzFYbTYyX3BodU5BWHVob0pILXJ3VllIMk91b1MzRXFwNzA3NDVxaEhRWTY0ek9mVVBmdE84aE9sNmFFRjFBQTN6T2JNaldLY25Eb29GRjNUNUFsQmM1YzA1X0JFQTNDZGVpWmdWRUMyYVZCemg2UEp2N0RZQ0RZaDlxV1dCYXI3NWlXb1hrNFNuSlJVa29FY1JPUTFWTThON0JjWUNMR3ZTbkU1V29kS1g3WGRyamxJOXJIWnpDcmFLakd6MXBCb0Zjbnl3NklENUVvYmhUZk1OUHd6ZXJXSmxtRzgxN0hUSldUZWpuNTQ2UElBb0k5V3o3a09POEpSTGUxRUlPb3VpcU52enhWU2x1YzMzaHo4aXNjMkhJQkhBLVItc3VLNXdINjFfWkxtV3QtdUhqR1B4TWdCUTJkSlgwMkFmWTRQWWdheVR1cDFXcmhrNzBGWkNHTV9hZjJXZk05Tk1LRjBrbW9VVVh0MzRVa1UxVkljbzNYQUtUbnljZFRUemxBNWtwQ3hncVpoZTZRM3VDWDRzYndRVnBiUUFONjdIYXpNOERsUDdxVWc4cFBNeWVmdzJJQXg0Q2tCQTJiWk8xUHlhQXNXcWlxRHNlZlVSYWJKY0pBVWpZcjFSVVpJSm05eGlJMDBfV09FU1l6bmZqYy1VeXVaSWppazFEMEw2M0JoS0lqb1dlQ3Qzbko2QlpQaW9yRGY2eWtSOTVfbG4zaGp5WmV6NGlOS2NPM3Q2QzdULTRlQlViaTA5M19BUFhHVERMY0oyZ3RvQ3BaRjhFS19JdmpYX3B4UWtWbHNUd21ESl9abkYyWnNyeU9YSlFwZlh3WFdXMW5RNUt2UlNGR0Q3cF9HNWtlc29abUNOZElUR19KUVdzYzRFNWdESXhjNmJpVFZJcHdMcVhJaUpaTjZON0RDemUybHlnT1pkdVpteUFPV2lhWnRhWE04cENzRGZ6NkJ4NHNyWlg1NkF0SDAyMkpvUm9nRjhzZ3I3alR6YTlpRGdJM1BNLXRLVVpUWEE3ZTMwN3BuVjFsekMyN2luamgyY2dJeTY4ZldiWUNXVFpoOHBYRzZncHF4U2xpYzNmdXhrMGtGMkgxV2FRdE9hc01Tb2Z5SFd0a2JScXk0aUdkSi1SRDJTYlB4eXhPbGY3N2RIRDk2Q1VRT0IwaGxmNGNNamF3eDQ3OW02WkRITnhVbmI5NUhNak5JMXVqM0FFWlZKaXpDR1IwdDVnNExzRDJFOVB6RGZaZUxBWU5aLUVmcHlJdVluOG9TWGF4NlVSZVZBTHZwMW5lNElOUHRLc09ENXhNcWxHdFJDSnVVYUZCY0dEUFVEYjl1QWE4dlJjVy1MTDYxbE1NaUtxTnc4Skd3SV9YcnVsbHdlZFV3cHFLWXloX1JjbTA0SF91VE1IQU9Pcl9saHI4MGtrNWpwU0NlWXJiNW85QXM0SkJmcm1QcUpGUzZlZ2RFRmEzMFROeWJIY3VJNGdRdGxpTTE5SXdzOFoxSHd5a1kwUEtzVWFRaDVkMkFyODdwTTVzSUF6MU1LVmJYMUlyZGZtRVR4YmYyVk5raEgtS1VrOHFoMkJ6T0tmbWg3ZGEyRHNHaG4tb083eWFXXzlxQ1pxVUNKN1piVmhDUzlub1IxcnJTRkRqeExldEJFb1BjbkIxcVowTDlFVkstUmpCeUpuUld0aGlpZUNtbWlpQ0N1V2MtWW9LczdRT1c1Zk5GS3FvVFRNSkxzN0lmWTc3NHJqbnpMc2Z2eGlXcDc5TVdsWUh1cXk0dEkydEdtY1EzR2R5UXRRaUpSQzR2ekZOVF9lMGVSRFY4cXlER25FenlGY1RnVGdOem9qdE1NNkJQNjZPbW5kVlBQR2l5TGItUzY0b2wwN0xwVldUQVBMLWQtVHJNZHlNd1JNOVZOSGVmMnlGRndDRl9wSHVnYV8wakVmdGdtcVZZMjdjSGxPX0FEMWVGdk1jbFpQSVFKandRQ19jSmxndzBxZVBfTVNXUHVFR05TYlcwcXpJdjRMSmtfY19MWDZUNnc4N2dyNW5xNTlyMVBJa0RqbVY3cTM1elk5MnQwVmM3aUlNRlZxRGNNa25XTFFKeTcxSnN1ZkV0c1QtWjRxdlUzSlIxekp6SzI0cEdJRmFCUWNmUl83Y2RjVkx6V0xsRUlBU2o4OERtYnRsV3NENF9XeW83MlhnZk5TRTlqY3l0MDQwZE5xTkthOHNQT2xqQTBwdUhhRV9DaUQtS1ZaRjB2S0pQOUFSc05JTzRTOGJaX01JVjVyaGxRa1RNWGt1Mi1JS2d1MEFlSFdYWEpNQ2l5VDlqRm1zazFra1FnbW16S0J2TTRXOFJBZW5MR0xLcnZPckF0NXluR1VocUEwRlpVMU1RbmpBN3ZKWUZ0UWM4ZnhDbGdIRkc4V285eGJxVnpqZUZfYzU3Yzg5cVNCVzBQSG9YYTJ6Z2VBWkRoSlVvcG52QzJxLWJQbTJMYlhHcHZlbkhnWGhtcHc3OG1iWmtHek1SSVFiX1hBcXpxNTQzamRRdjAtLTlYRzhjTGtwZ1psd2tfa1RFR1BJUF9rVUVSRTZhMGhiSHFucDRvSldtTFdLdzgwU0l4SWtmb1RTQXhKNTNvdzB6MHZWYk1mSDNGa3Z4MnJsNEZpQ0dJRUIwN0V6VTQ5UHVjS1gtYzVCcGhMbXpaRGtxNE13REt2Nkdwc3U1Uk5ySG5aZXlWYlk2V3laeHM1Q0ZwLUM1dzRkNnRLTW83RVJmRDV0OFBZUXVBMWVoY2ktYTByd2tYYVlISDhKX3FSQ2RSOE9zOHdRVi02dmFSd2hCOVYxMDU5N3llY0lhUXZmMnRtUFJGSkFRRWVjYWowNTZqUGxHRGVVVWNlanJrTUt3dUVjV21xY1ZaR25tNElUVnhUcmM4eTZfb1E4TS1ETFMySkF3U29uQlVOMUQxMTZ2al9KeV95SHNqZ09VSU9TMHVQeERUM0VLNTEwNVczTjM3NHRBbnZwbzRZakhDbTNHcFNlU3IwRnBRX242dVNuWTJrblpEVGtLLTVueDVTRk9xd1JJTFV1SVBOb3ZBb0xsbGZubi1qZTNmaEYzaThtMVVOZDlvYmZqMThRazJUUXJMOF9JWWxOZmZpbHdwblFkb3NRTU5vUHJRMXp3ZDY1d29DVy0xVFc3UXlmc1JwUXg5SGtha1VpSms3aDA4Y2ZKV3VzOHVmQVl6RXc4cHRGM1NXRjhEaG9DYkZDeU45S3VfTThPeVZQVjZaNVkzbGdWSTlUeU1uZkpwVmxGZTc1RGFNdm9IQ1dLZUFrc1RueDBzNlRVMGNleHpfVFoxcDlSZkhLWUlWTTEzVjRsTU1kYnpSTW96WFAyR1lORmgzWkpUUG9wczlVWGRfTlBvV3JFTnpfQ2RJTUZLbGFIRVZEbGJuTTFETVEuMGF4RVdRYjBic2FFQ0RNd3lWdEQwRkhYTi02Z3AwRzlUTTJrLVRKLXJOZw"}' + headers: + cache-control: + - no-cache + content-length: + - '4986' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea4ce19de?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea4ce19de","deletedDate":1618953276,"scheduledPurgeDate":1626729276,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea4ce19de/7ce6cd40f7a94ee48bc26343e6706829","attributes":{"enabled":true,"created":1618953276,"updated":1618953276,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '382' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea4ce19de?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea4ce19de"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea4ce19de?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea4ce19de"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea4ce19de?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea4ce19de"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea4ce19de?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea4ce19de"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea4ce19de?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea4ce19de"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea4ce19de?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea4ce19de"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea4ce19de?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea4ce19de"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea4ce19de?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea4ce19de"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea4ce19de?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea4ce19de"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea4ce19de?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea4ce19de"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea4ce19de?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea4ce19de"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea4ce19de?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea4ce19de"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea4ce19de?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea4ce19de"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:15:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea4ce19de?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea4ce19de"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:15:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea4ce19de?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namea4ce19de"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:15:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea4ce19de?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea4ce19de","deletedDate":1618953276,"scheduledPurgeDate":1626729276,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea4ce19de/7ce6cd40f7a94ee48bc26343e6706829","attributes":{"enabled":true,"created":1618953276,"updated":1618953276,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '382' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:15:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea4ce19de?api-version=2016-10-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:15:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuZGVwdjFqZDhhYVNyOUM4dXlHVDduTGpZWk5MTWdxT3IyU09JalpCQVhjTDRVM3loR2YyY21DYXhVcm1Yb0xVOUNuS252MDcwSFM5dEZhd2laTTM1S1MxSTNGczdVSXdyZ1NFcl9Vc3NJSjRNU3hwTkxzTTBrNnBfMENBMm5wYmhfeFhPTloyQ2Y0NTd1bFVLcTdHTkE3a1B1Wm56YUloTVcxbWJURFlHQ2pyU09ES2RaWTZKcHFJWEo1bUJzZVlHLUVmSW94QmV3UlItelA4Y20xSlYwLXZkSEZxTVBkaTBQNGZzTEVuT3NPRmRzYXJYVzJMcDhLS19kaDJwNE1wcERtSUlDdDZiVjFZQWFTd0M4ek40Tk8yQnJfSlZFOXM5ZnFYN0dMMlphdUFvVmE4eGo3U1NEeHBob1drYkVwM01CUEhBMkhCRFktaUdpN0t4Qlk5VUZBLjNYTE5qc2wxS0o5ZlF2ajBEZlV5eEEuT3RDaFlUMFdyc05BZ0hwSG1xTUo2WDhDNm0tX2RrRmQyaTl1T3dCZmdaMnFEQmF4UlBCemFVQW1iTDBCUGxXdEc0UlI5U3Etc1NJR09CdkEwakpiV1VXbmY4LXNQazFYVlY3YU9YRnNPNUdRc21jU0E4Wlg4WnJpaDBfeXlCX0JlVVBmZ2FuZU1rNkxrcndNN21GckZycGg1M3E4S3lwQjBFUUN6bjhJT0twdm5EeGwxRDVhdkRSYTB1T0tJYjllQ0JaYzVQMjdqeTFnN2poWWM1R29EamRVemJSZDRVczZlcW4wcTlKRUdIckRDMUNjUjZrci1vNHFzcjFGemNiOE1KWnhRUFpKbThlV3Q4VUlpTXZveXN5aU1Ydzl3S25UQ1EwbTlDcElpblZFc2RxUG1NM2NMQ3ZTNlJjWkVlSlNaQ0hiNWFVenJPTndUZk9fRmY5em56RlFmSTFmMlhoT1J5NmxxdE0yVGV1RmRsNGpVSzJHZUdoaTItSl9JYzN2MzIxRFRtcE9lQ2VObk5udHZScEtPREdiQ01kZEpyOXAwMG5ndUV4TGZnamlMT0dDRjRhcDd4eTZvQU5tVE50dUkyeUhkRXRpdTZJZlFTYXVjX0dOZW9idHJwNVNGQTJYT2xuc2ZTdFJoM3FMb0JJM0Y0WnF2VGdZQmJwaVpHcVU5UXRkOUV4OTZqRUFfUzRwSHVaeWJhQTlYUDJFT3h6MlZ2SWVCMXpPVzkxUEhldzZIY3k0OXR6blRTWjhfVkVwZ25YbU84OGtIUm9xd210MlhBSzFYbTYyX3BodU5BWHVob0pILXJ3VllIMk91b1MzRXFwNzA3NDVxaEhRWTY0ek9mVVBmdE84aE9sNmFFRjFBQTN6T2JNaldLY25Eb29GRjNUNUFsQmM1YzA1X0JFQTNDZGVpWmdWRUMyYVZCemg2UEp2N0RZQ0RZaDlxV1dCYXI3NWlXb1hrNFNuSlJVa29FY1JPUTFWTThON0JjWUNMR3ZTbkU1V29kS1g3WGRyamxJOXJIWnpDcmFLakd6MXBCb0Zjbnl3NklENUVvYmhUZk1OUHd6ZXJXSmxtRzgxN0hUSldUZWpuNTQ2UElBb0k5V3o3a09POEpSTGUxRUlPb3VpcU52enhWU2x1YzMzaHo4aXNjMkhJQkhBLVItc3VLNXdINjFfWkxtV3QtdUhqR1B4TWdCUTJkSlgwMkFmWTRQWWdheVR1cDFXcmhrNzBGWkNHTV9hZjJXZk05Tk1LRjBrbW9VVVh0MzRVa1UxVkljbzNYQUtUbnljZFRUemxBNWtwQ3hncVpoZTZRM3VDWDRzYndRVnBiUUFONjdIYXpNOERsUDdxVWc4cFBNeWVmdzJJQXg0Q2tCQTJiWk8xUHlhQXNXcWlxRHNlZlVSYWJKY0pBVWpZcjFSVVpJSm05eGlJMDBfV09FU1l6bmZqYy1VeXVaSWppazFEMEw2M0JoS0lqb1dlQ3Qzbko2QlpQaW9yRGY2eWtSOTVfbG4zaGp5WmV6NGlOS2NPM3Q2QzdULTRlQlViaTA5M19BUFhHVERMY0oyZ3RvQ3BaRjhFS19JdmpYX3B4UWtWbHNUd21ESl9abkYyWnNyeU9YSlFwZlh3WFdXMW5RNUt2UlNGR0Q3cF9HNWtlc29abUNOZElUR19KUVdzYzRFNWdESXhjNmJpVFZJcHdMcVhJaUpaTjZON0RDemUybHlnT1pkdVpteUFPV2lhWnRhWE04cENzRGZ6NkJ4NHNyWlg1NkF0SDAyMkpvUm9nRjhzZ3I3alR6YTlpRGdJM1BNLXRLVVpUWEE3ZTMwN3BuVjFsekMyN2luamgyY2dJeTY4ZldiWUNXVFpoOHBYRzZncHF4U2xpYzNmdXhrMGtGMkgxV2FRdE9hc01Tb2Z5SFd0a2JScXk0aUdkSi1SRDJTYlB4eXhPbGY3N2RIRDk2Q1VRT0IwaGxmNGNNamF3eDQ3OW02WkRITnhVbmI5NUhNak5JMXVqM0FFWlZKaXpDR1IwdDVnNExzRDJFOVB6RGZaZUxBWU5aLUVmcHlJdVluOG9TWGF4NlVSZVZBTHZwMW5lNElOUHRLc09ENXhNcWxHdFJDSnVVYUZCY0dEUFVEYjl1QWE4dlJjVy1MTDYxbE1NaUtxTnc4Skd3SV9YcnVsbHdlZFV3cHFLWXloX1JjbTA0SF91VE1IQU9Pcl9saHI4MGtrNWpwU0NlWXJiNW85QXM0SkJmcm1QcUpGUzZlZ2RFRmEzMFROeWJIY3VJNGdRdGxpTTE5SXdzOFoxSHd5a1kwUEtzVWFRaDVkMkFyODdwTTVzSUF6MU1LVmJYMUlyZGZtRVR4YmYyVk5raEgtS1VrOHFoMkJ6T0tmbWg3ZGEyRHNHaG4tb083eWFXXzlxQ1pxVUNKN1piVmhDUzlub1IxcnJTRkRqeExldEJFb1BjbkIxcVowTDlFVkstUmpCeUpuUld0aGlpZUNtbWlpQ0N1V2MtWW9LczdRT1c1Zk5GS3FvVFRNSkxzN0lmWTc3NHJqbnpMc2Z2eGlXcDc5TVdsWUh1cXk0dEkydEdtY1EzR2R5UXRRaUpSQzR2ekZOVF9lMGVSRFY4cXlER25FenlGY1RnVGdOem9qdE1NNkJQNjZPbW5kVlBQR2l5TGItUzY0b2wwN0xwVldUQVBMLWQtVHJNZHlNd1JNOVZOSGVmMnlGRndDRl9wSHVnYV8wakVmdGdtcVZZMjdjSGxPX0FEMWVGdk1jbFpQSVFKandRQ19jSmxndzBxZVBfTVNXUHVFR05TYlcwcXpJdjRMSmtfY19MWDZUNnc4N2dyNW5xNTlyMVBJa0RqbVY3cTM1elk5MnQwVmM3aUlNRlZxRGNNa25XTFFKeTcxSnN1ZkV0c1QtWjRxdlUzSlIxekp6SzI0cEdJRmFCUWNmUl83Y2RjVkx6V0xsRUlBU2o4OERtYnRsV3NENF9XeW83MlhnZk5TRTlqY3l0MDQwZE5xTkthOHNQT2xqQTBwdUhhRV9DaUQtS1ZaRjB2S0pQOUFSc05JTzRTOGJaX01JVjVyaGxRa1RNWGt1Mi1JS2d1MEFlSFdYWEpNQ2l5VDlqRm1zazFra1FnbW16S0J2TTRXOFJBZW5MR0xLcnZPckF0NXluR1VocUEwRlpVMU1RbmpBN3ZKWUZ0UWM4ZnhDbGdIRkc4V285eGJxVnpqZUZfYzU3Yzg5cVNCVzBQSG9YYTJ6Z2VBWkRoSlVvcG52QzJxLWJQbTJMYlhHcHZlbkhnWGhtcHc3OG1iWmtHek1SSVFiX1hBcXpxNTQzamRRdjAtLTlYRzhjTGtwZ1psd2tfa1RFR1BJUF9rVUVSRTZhMGhiSHFucDRvSldtTFdLdzgwU0l4SWtmb1RTQXhKNTNvdzB6MHZWYk1mSDNGa3Z4MnJsNEZpQ0dJRUIwN0V6VTQ5UHVjS1gtYzVCcGhMbXpaRGtxNE13REt2Nkdwc3U1Uk5ySG5aZXlWYlk2V3laeHM1Q0ZwLUM1dzRkNnRLTW83RVJmRDV0OFBZUXVBMWVoY2ktYTByd2tYYVlISDhKX3FSQ2RSOE9zOHdRVi02dmFSd2hCOVYxMDU5N3llY0lhUXZmMnRtUFJGSkFRRWVjYWowNTZqUGxHRGVVVWNlanJrTUt3dUVjV21xY1ZaR25tNElUVnhUcmM4eTZfb1E4TS1ETFMySkF3U29uQlVOMUQxMTZ2al9KeV95SHNqZ09VSU9TMHVQeERUM0VLNTEwNVczTjM3NHRBbnZwbzRZakhDbTNHcFNlU3IwRnBRX242dVNuWTJrblpEVGtLLTVueDVTRk9xd1JJTFV1SVBOb3ZBb0xsbGZubi1qZTNmaEYzaThtMVVOZDlvYmZqMThRazJUUXJMOF9JWWxOZmZpbHdwblFkb3NRTU5vUHJRMXp3ZDY1d29DVy0xVFc3UXlmc1JwUXg5SGtha1VpSms3aDA4Y2ZKV3VzOHVmQVl6RXc4cHRGM1NXRjhEaG9DYkZDeU45S3VfTThPeVZQVjZaNVkzbGdWSTlUeU1uZkpwVmxGZTc1RGFNdm9IQ1dLZUFrc1RueDBzNlRVMGNleHpfVFoxcDlSZkhLWUlWTTEzVjRsTU1kYnpSTW96WFAyR1lORmgzWkpUUG9wczlVWGRfTlBvV3JFTnpfQ2RJTUZLbGFIRVZEbGJuTTFETVEuMGF4RVdRYjBic2FFQ0RNd3lWdEQwRkhYTi02Z3AwRzlUTTJrLVRKLXJOZw"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '4987' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=2016-10-01 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea4ce19de/7ce6cd40f7a94ee48bc26343e6706829","attributes":{"enabled":true,"created":1618953276,"updated":1618953276,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '228' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_backup_restore_7_0.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_backup_restore_7_0.yaml new file mode 100644 index 000000000000..87d99b4ebf01 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_backup_restore_7_0.yaml @@ -0,0 +1,913 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fc185b?api-version=7.0 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "secret-value"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fc185b?api-version=7.0 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fc185b/b4c206fcc39f48c4901f1d944963719e","attributes":{"enabled":true,"created":1618953370,"updated":1618953370,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '251' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fc185b/backup?api-version=7.0 + response: + body: + string: '{"value":"KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuSmhnUXpMdm1YZ3o3V3BST1ZXWV8tV1h5dHpYYnNQWkVYQlREWUhTS21ueHBoLUVsNXprcUlETU5mSk9wbHNrTEdFSnIzYkxXUGlsdG5nWVc5RjBXY3gwdnFFcmRJNnNPcThqV2Ixemxkd2hSVWhJdGNNLU9GeVJWM3ZTdWlfMDdzWDlqYmtlN0NTZDN6dDVMLU12eV9kYWhhMTAybHhRR2ZsS0pvaEp2XzVJZ2xrbFgzWjFfZU83dGhIb0NKTXpoWlUwalpvby1CSzR0OWZHaWhySkxyamxaNDBXb09PVFZISjhXU0wwSi1pdTFmdllJZ1JYVVFOSXJJRnFvZDIta0lDZ1F0dFBSOFgycTQ2Zm1WYzREQ1lIb2NTWUFqZ1FzUFMtRmdEWFUybGhWQktjVERpZFV1Y2pUcFdzZ0dteDl1V2FvVy01S1pETW1FZVh6eWFSWmJRLlc0QnVxS01kR1Vuc256RnJ6elRVcXcuWDhtc05zUGZqamNiTlpYa1M0MUxyR2xQT1phVGNMbzhoc3ZFTVVnQmVPSWVBYUFyV283Wk5nTVlTbVhRdDItaEttT2Y3SVR0OUJBVXlCU243cmo3ZThWZE5JVWxPWlpNLXFrTGt2dnFXLXB1WHIyNW1tWnFvdXN4WC13bHlZNnp1eVNQTm5taXJqMjBmRlpoRDQ1aXFNZlJuRC1vR0pDMG1mTjFfTjFpbHFhaXpTUjh6Z2xvR2dZcS1FMGJCclR0WnRKWG5CcWFsdWxUeWhxZDY5b1Fzb2RSOHhHanBqczVfTmdMalhUMXRQdnFBRjZPN3JSVVhlNVVMNk9FdnQzWG5mOVEzTDFMeU1rMU9iQWt1S1NEaE1XZGxLVExQVV84MUsyUUVDVkRTTkItRkxkcWtCZ3IyOVRUVHVCbjdncDI0dmZQZTBINjZuN0Ywd2czcDBMREU4U1hLWi1rME5wcUVQbFlIVl93YXpxakFrbjJDUWZKdHlqaFlNTmEyRlVJTnZMRW1QbjVEeWVZS0R4UVgtaGRUdkZmTWRnMUt6bnpqbTN4WXowblFsRHNYU3VZSERKWHp1dGhYY05YVDlxNTNoaEZqWEdPc3U0RlEtX1QzUEdSYVoxQV81Ri1WS05uLWQwRER1WFRBQzlZMXhhUTVaZW41Tng4cVZrMmJlS1cwQnF1QlZqbnU1czlfWl9VX2VfWlVjZkI2RUJSVVRxSW5tb0tVUTEzQ1NZOFB0VWxpNzNxekl1QmNVTzJiVFF1ajctTHlvRnFuaUdpdlBCWm5weUhIcmpuTmJLajJsa1BZY2N2QWZSb2hMMmNGZWNraWxvS1JwUGczYUx6NHJFbUhMRTRMdlNrOTM4aVFSNG5qazJHdVBjTHV2YXhVajRjRDB1N2R3d1RZcGQ2T0J0emtscFg1ZTYtS1YxWFhUek10RHVlZ1RFLV9LRGF2WWp5R09pdUdZb3N0NExBb0lUTUo1bzdUdHdWaWItSloxSmJRc0g5M3N3SFF4STZacmZ6b3dKMUhBSjRDZmtZbXFfaDQ3T3RWVjZldEpzRUNBTUhGTlNfZ3UwRGlVeVIwYm53bGFPV3o4MkY0TUVrSnVQTUs3WmJUUUp6bGJHMkN2ZlFjeHEzeTlKRVJQTEtvV18waWVoejk4SzcxeEJNZF93NVhSSVJNamVBWEp3MEgxV3lReFV2ak04dTNnU25wYnVNUDN1UWJ1ejNmdTRPd0tmcVFKMFdXc2FWVmwxZ2FyNTZScjB2RzJSVVJtUF9zVF9SWnNvdzlkMm1ZZ1g3V08xeFQ0SDl1UnVkdXVjVFBpQ3RJUTZLMzJqUkRUc2RyeG9jVlF5ZmVFMlpEQmVaLXliWE0tdGdHbkVSTUtkSy1ka1pUTWthNVFDSDFCaS05eXF1TXBtbV9DeEZhUnV4Nm5qaGVzVE9rY19wRktWUjZ6bHFtNWNlMkwwdkowWHk5T1llWkZMa01qX1RaNFVBcHVPY0FmZW5raFBjamJ0YnFva1FjODhRR0FXeUFFcHFDa3hMTjlFN25wQ2t6LU1Ja2xJamM3M21Kc1V3amtZaThuaE93NkRKV0l0VWpsdlVteFJOWGZoVGJJeGxSOUgzR01Jc3FpQmdLRzhrbXhvQkNyRVRRY0VaeGZfWU1Fc3R5a0xTN1BQMEhKTGkwNzJnSG9rdzVCWTJnX2ZjRnJUcGQ0OThzMl9PbUhDV3RSczF5VE1GRTdNc3lyb2ZQbFBDQ2VYTDNyZldndjdjdTBuQURXVWVEWUFIeEoyZTA0dWI0SHFsOXdlNFlyRGJNZ1BhWm5kd2xkeU9Bb2VxSHg4R1p0ZkRCUWxINDJ0ZlV4RXVkdzdMZmkyUVo0MU5kQVJCck02bWdOTXNKczMyYjdWenY2c3JRRkhNT0Rhd19Uc21RVmxGbHVZaVEzRlVpZTVrVTI2Y2kxdWpkSm5WSUd6Q0hFRC1RYWpMQ0xMYlFyVXh5VjJxQnJjUGZzLVRMT1c5R3E1SE9UdWI3UXZkekR3WUc0bXp5c3doZlVBTDl3UDF5NXhEbV9iOGZZNnhpemNkNUk3a3pSazhQdEVjTGtncmlvYkV4V0lsVGpJU1lBM2YyX3lLYjRTRUFaZzJYWkRnYVg4MlV3cTRGclY4Skl6cVJzdWhybXUtbjUxVWlndWs4dmRKVHFWUlRBM1kybVg2dmM1TnRHUUFqUFcxZkpkOGh3YXc0WGpJaFRreHBtVDNYNGtDOXByNTkxYzZDRjFsekZuai1jWUx2S2dDcXM0WmU2X3ZMay1TS28ydUNQbE5sN3BibEZGeURBR0hsbkN1Y2dMS0FUNjI2UFBZT2RoTkt5Ukk1VURTSm5Bb3lxT2Q1TWZkQzVOYjg0dER1SVpaX0Q4QndHTl9zV1dNVFRXRlQ2VnVaZU5jUXUyMzE3V25rVFFqOGkyUkFmODJfRGZHRjVlcm9DNlZPSHRiclVJZlJVeVZfUlJ2VWhtcGF0S1dTTmNGNHZ2QW9TS2NhYkpWd1hMOXl3MUQzRDJtbWtqTjcxMDJCNjltMmtmVlN0R1hnZXZsUXhTMGJiaXFucDYzM2VwUHp6d1RFeGotOVRleGt4Rno3SVpTZExGMkxNWHF5dWdZdzZUOVhWRF8tTzBwVVB5QVZJM3dmcWhSZnBkdzdiMUkxY0hJcE5XOW13MWdvZHVQMUVHU01YeWxOS3dXcjZtTWdDTGQwS1NVaXVoYkdWY081b3RZX1MxSTFqWW9NN0xPd2ItbUV1X0h0VFBBck9UWVBSZkFGbEJIZE1QVE5MODByWGpIXzdmYWo1WXk1b05MM08taUZ4SVFYN3N0dmFTTTV5S21RaHYzSURGRzNKcE1FOTByV2JzZFFkMXRxVVlFYWEyT1MzbTV6YmxqTHdBZ3h2SXNOVmM0d0ZvV3dvcUlJcmRoR2NKa09mallZZTQwbnlOODNOVHM5bUg5SXpZWTVkOHo3d1o5OF95OFBQWlpFNTFrYmFhUTItRTJpZU1nOHlvYWdmcXY1bWw5TER6a3NyN0VpX2czN21ObjRMOGdJRUtyaXp0c1NIejROSTdHdGV2OE1RSll2SlZHcHpsQThCcVlLdU13MGZYNWt1Wnc3UlFIOEZ6Rzh0M1RVaWNSZGNHX1p5c3h0eWFFbXBOS3g1cmFqTGR1aXk3bjQ4UERtb1pOdDhoRjR0aGNqZ25nNEVsN3BQeTU4d3NUMkpOMzFfR1dJUzN2bVRNM0JWdnRlaWdVVl81aEkwMUxKTUpmaWlhWGw3eTBaWkMxQ3dlZ254RUZUWjF5Yi1DZTg3R3Y3Y3RwTktrWGhzM0dVT1BUOF8wclduZjFrQUZwVVo2VjdyZElFTVNsZVdzdHA2YTBSSy1uT09nVFhyVDdlRU80M2k4LUlzRndFWkxRMTI4YXQwU3JBb25ybnR2Vkpfb3lyaTlfNmVIRWJZdlA2UHBCRzJjU29JbjJ2STRCTmZnbkprWlN6UzFiQ2RyTXZtTFA4M1F2eVQ0WDg5MTVjeGgyV3IyMThLMXdpN3U1T0ludElVVFFtbXF2MEsxeXJpc05MUEtSUFByeV96UWRMOEt2ZFRkYzB6OGc4WUFzUTFsNW42MmM1bk5nVVByWWJla1RhYnpaYXdkenJJemVyYXA4SkEtM2kyQVhKbm5jd0xINjl3MW5Nb0FoazBSOElzYkVXZmhRT0RvNEJCSmlYbkpYNDFpdXNHYTVJWENCUUVSZUg2MDFpeVJaTXhveEJFTm9aRGFQeHpycHJqUXJlRVk3SVVraUI2YUh6amRhcmV1WDN3dTZJT0tndHl4MzB2dlU1SFJmdFBNbHVVVGthT0JoZE5EQnR2VDhIM3hiS3NmUkhKbHFZTUVFSzNpb2Foa3hFT0h4al82UnJreTZkbDQ1WjN2aGlFWW9Wa2dTLW4tWEhwU19oOXFRLUlaV2pFeDk4N3E4eGNrazRLNWVfemM0Vm5iSGNnTkdOZUFXajhsSGRuTVQwOGtZUTBwNHdlSUVleFhYLTFXUUdGYUJHeHQ1ZDloN3RoVlplaXd0akZud0VESG9oZ043b2hkeDREWXI3LWZvMlV5a0tRcUxlajNuLUxHeVpra2s3WC1KNVVtVGN1Mi1MV3M1VUFIY0NaVkJJdUlDa1RTNXp5RUgtOXpwN1RlYk03Y0Q1UTJJVl9MMFdoQVZkLUdQQlgyQUh2a3JyejJxLVEuUUZvZHFVUVN5Qjd5ajFDaUtlQjluMnlMN3hQbW9qX2ZlbHVoOGFnZnJBNA"}' + headers: + cache-control: + - no-cache + content-length: + - '4986' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fc185b?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fc185b","deletedDate":1618953371,"scheduledPurgeDate":1626729371,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fc185b/b4c206fcc39f48c4901f1d944963719e","attributes":{"enabled":true,"created":1618953370,"updated":1618953370,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '382' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fc185b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fc185b"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fc185b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fc185b"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fc185b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fc185b"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fc185b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fc185b"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fc185b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fc185b"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fc185b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fc185b"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fc185b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fc185b"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fc185b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fc185b"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fc185b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fc185b"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fc185b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fc185b"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fc185b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fc185b"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fc185b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fc185b"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fc185b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fc185b"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fc185b?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fc185b","deletedDate":1618953371,"scheduledPurgeDate":1626729371,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fc185b/b4c206fcc39f48c4901f1d944963719e","attributes":{"enabled":true,"created":1618953370,"updated":1618953370,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '382' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fc185b?api-version=7.0 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:16:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuSmhnUXpMdm1YZ3o3V3BST1ZXWV8tV1h5dHpYYnNQWkVYQlREWUhTS21ueHBoLUVsNXprcUlETU5mSk9wbHNrTEdFSnIzYkxXUGlsdG5nWVc5RjBXY3gwdnFFcmRJNnNPcThqV2Ixemxkd2hSVWhJdGNNLU9GeVJWM3ZTdWlfMDdzWDlqYmtlN0NTZDN6dDVMLU12eV9kYWhhMTAybHhRR2ZsS0pvaEp2XzVJZ2xrbFgzWjFfZU83dGhIb0NKTXpoWlUwalpvby1CSzR0OWZHaWhySkxyamxaNDBXb09PVFZISjhXU0wwSi1pdTFmdllJZ1JYVVFOSXJJRnFvZDIta0lDZ1F0dFBSOFgycTQ2Zm1WYzREQ1lIb2NTWUFqZ1FzUFMtRmdEWFUybGhWQktjVERpZFV1Y2pUcFdzZ0dteDl1V2FvVy01S1pETW1FZVh6eWFSWmJRLlc0QnVxS01kR1Vuc256RnJ6elRVcXcuWDhtc05zUGZqamNiTlpYa1M0MUxyR2xQT1phVGNMbzhoc3ZFTVVnQmVPSWVBYUFyV283Wk5nTVlTbVhRdDItaEttT2Y3SVR0OUJBVXlCU243cmo3ZThWZE5JVWxPWlpNLXFrTGt2dnFXLXB1WHIyNW1tWnFvdXN4WC13bHlZNnp1eVNQTm5taXJqMjBmRlpoRDQ1aXFNZlJuRC1vR0pDMG1mTjFfTjFpbHFhaXpTUjh6Z2xvR2dZcS1FMGJCclR0WnRKWG5CcWFsdWxUeWhxZDY5b1Fzb2RSOHhHanBqczVfTmdMalhUMXRQdnFBRjZPN3JSVVhlNVVMNk9FdnQzWG5mOVEzTDFMeU1rMU9iQWt1S1NEaE1XZGxLVExQVV84MUsyUUVDVkRTTkItRkxkcWtCZ3IyOVRUVHVCbjdncDI0dmZQZTBINjZuN0Ywd2czcDBMREU4U1hLWi1rME5wcUVQbFlIVl93YXpxakFrbjJDUWZKdHlqaFlNTmEyRlVJTnZMRW1QbjVEeWVZS0R4UVgtaGRUdkZmTWRnMUt6bnpqbTN4WXowblFsRHNYU3VZSERKWHp1dGhYY05YVDlxNTNoaEZqWEdPc3U0RlEtX1QzUEdSYVoxQV81Ri1WS05uLWQwRER1WFRBQzlZMXhhUTVaZW41Tng4cVZrMmJlS1cwQnF1QlZqbnU1czlfWl9VX2VfWlVjZkI2RUJSVVRxSW5tb0tVUTEzQ1NZOFB0VWxpNzNxekl1QmNVTzJiVFF1ajctTHlvRnFuaUdpdlBCWm5weUhIcmpuTmJLajJsa1BZY2N2QWZSb2hMMmNGZWNraWxvS1JwUGczYUx6NHJFbUhMRTRMdlNrOTM4aVFSNG5qazJHdVBjTHV2YXhVajRjRDB1N2R3d1RZcGQ2T0J0emtscFg1ZTYtS1YxWFhUek10RHVlZ1RFLV9LRGF2WWp5R09pdUdZb3N0NExBb0lUTUo1bzdUdHdWaWItSloxSmJRc0g5M3N3SFF4STZacmZ6b3dKMUhBSjRDZmtZbXFfaDQ3T3RWVjZldEpzRUNBTUhGTlNfZ3UwRGlVeVIwYm53bGFPV3o4MkY0TUVrSnVQTUs3WmJUUUp6bGJHMkN2ZlFjeHEzeTlKRVJQTEtvV18waWVoejk4SzcxeEJNZF93NVhSSVJNamVBWEp3MEgxV3lReFV2ak04dTNnU25wYnVNUDN1UWJ1ejNmdTRPd0tmcVFKMFdXc2FWVmwxZ2FyNTZScjB2RzJSVVJtUF9zVF9SWnNvdzlkMm1ZZ1g3V08xeFQ0SDl1UnVkdXVjVFBpQ3RJUTZLMzJqUkRUc2RyeG9jVlF5ZmVFMlpEQmVaLXliWE0tdGdHbkVSTUtkSy1ka1pUTWthNVFDSDFCaS05eXF1TXBtbV9DeEZhUnV4Nm5qaGVzVE9rY19wRktWUjZ6bHFtNWNlMkwwdkowWHk5T1llWkZMa01qX1RaNFVBcHVPY0FmZW5raFBjamJ0YnFva1FjODhRR0FXeUFFcHFDa3hMTjlFN25wQ2t6LU1Ja2xJamM3M21Kc1V3amtZaThuaE93NkRKV0l0VWpsdlVteFJOWGZoVGJJeGxSOUgzR01Jc3FpQmdLRzhrbXhvQkNyRVRRY0VaeGZfWU1Fc3R5a0xTN1BQMEhKTGkwNzJnSG9rdzVCWTJnX2ZjRnJUcGQ0OThzMl9PbUhDV3RSczF5VE1GRTdNc3lyb2ZQbFBDQ2VYTDNyZldndjdjdTBuQURXVWVEWUFIeEoyZTA0dWI0SHFsOXdlNFlyRGJNZ1BhWm5kd2xkeU9Bb2VxSHg4R1p0ZkRCUWxINDJ0ZlV4RXVkdzdMZmkyUVo0MU5kQVJCck02bWdOTXNKczMyYjdWenY2c3JRRkhNT0Rhd19Uc21RVmxGbHVZaVEzRlVpZTVrVTI2Y2kxdWpkSm5WSUd6Q0hFRC1RYWpMQ0xMYlFyVXh5VjJxQnJjUGZzLVRMT1c5R3E1SE9UdWI3UXZkekR3WUc0bXp5c3doZlVBTDl3UDF5NXhEbV9iOGZZNnhpemNkNUk3a3pSazhQdEVjTGtncmlvYkV4V0lsVGpJU1lBM2YyX3lLYjRTRUFaZzJYWkRnYVg4MlV3cTRGclY4Skl6cVJzdWhybXUtbjUxVWlndWs4dmRKVHFWUlRBM1kybVg2dmM1TnRHUUFqUFcxZkpkOGh3YXc0WGpJaFRreHBtVDNYNGtDOXByNTkxYzZDRjFsekZuai1jWUx2S2dDcXM0WmU2X3ZMay1TS28ydUNQbE5sN3BibEZGeURBR0hsbkN1Y2dMS0FUNjI2UFBZT2RoTkt5Ukk1VURTSm5Bb3lxT2Q1TWZkQzVOYjg0dER1SVpaX0Q4QndHTl9zV1dNVFRXRlQ2VnVaZU5jUXUyMzE3V25rVFFqOGkyUkFmODJfRGZHRjVlcm9DNlZPSHRiclVJZlJVeVZfUlJ2VWhtcGF0S1dTTmNGNHZ2QW9TS2NhYkpWd1hMOXl3MUQzRDJtbWtqTjcxMDJCNjltMmtmVlN0R1hnZXZsUXhTMGJiaXFucDYzM2VwUHp6d1RFeGotOVRleGt4Rno3SVpTZExGMkxNWHF5dWdZdzZUOVhWRF8tTzBwVVB5QVZJM3dmcWhSZnBkdzdiMUkxY0hJcE5XOW13MWdvZHVQMUVHU01YeWxOS3dXcjZtTWdDTGQwS1NVaXVoYkdWY081b3RZX1MxSTFqWW9NN0xPd2ItbUV1X0h0VFBBck9UWVBSZkFGbEJIZE1QVE5MODByWGpIXzdmYWo1WXk1b05MM08taUZ4SVFYN3N0dmFTTTV5S21RaHYzSURGRzNKcE1FOTByV2JzZFFkMXRxVVlFYWEyT1MzbTV6YmxqTHdBZ3h2SXNOVmM0d0ZvV3dvcUlJcmRoR2NKa09mallZZTQwbnlOODNOVHM5bUg5SXpZWTVkOHo3d1o5OF95OFBQWlpFNTFrYmFhUTItRTJpZU1nOHlvYWdmcXY1bWw5TER6a3NyN0VpX2czN21ObjRMOGdJRUtyaXp0c1NIejROSTdHdGV2OE1RSll2SlZHcHpsQThCcVlLdU13MGZYNWt1Wnc3UlFIOEZ6Rzh0M1RVaWNSZGNHX1p5c3h0eWFFbXBOS3g1cmFqTGR1aXk3bjQ4UERtb1pOdDhoRjR0aGNqZ25nNEVsN3BQeTU4d3NUMkpOMzFfR1dJUzN2bVRNM0JWdnRlaWdVVl81aEkwMUxKTUpmaWlhWGw3eTBaWkMxQ3dlZ254RUZUWjF5Yi1DZTg3R3Y3Y3RwTktrWGhzM0dVT1BUOF8wclduZjFrQUZwVVo2VjdyZElFTVNsZVdzdHA2YTBSSy1uT09nVFhyVDdlRU80M2k4LUlzRndFWkxRMTI4YXQwU3JBb25ybnR2Vkpfb3lyaTlfNmVIRWJZdlA2UHBCRzJjU29JbjJ2STRCTmZnbkprWlN6UzFiQ2RyTXZtTFA4M1F2eVQ0WDg5MTVjeGgyV3IyMThLMXdpN3U1T0ludElVVFFtbXF2MEsxeXJpc05MUEtSUFByeV96UWRMOEt2ZFRkYzB6OGc4WUFzUTFsNW42MmM1bk5nVVByWWJla1RhYnpaYXdkenJJemVyYXA4SkEtM2kyQVhKbm5jd0xINjl3MW5Nb0FoazBSOElzYkVXZmhRT0RvNEJCSmlYbkpYNDFpdXNHYTVJWENCUUVSZUg2MDFpeVJaTXhveEJFTm9aRGFQeHpycHJqUXJlRVk3SVVraUI2YUh6amRhcmV1WDN3dTZJT0tndHl4MzB2dlU1SFJmdFBNbHVVVGthT0JoZE5EQnR2VDhIM3hiS3NmUkhKbHFZTUVFSzNpb2Foa3hFT0h4al82UnJreTZkbDQ1WjN2aGlFWW9Wa2dTLW4tWEhwU19oOXFRLUlaV2pFeDk4N3E4eGNrazRLNWVfemM0Vm5iSGNnTkdOZUFXajhsSGRuTVQwOGtZUTBwNHdlSUVleFhYLTFXUUdGYUJHeHQ1ZDloN3RoVlplaXd0akZud0VESG9oZ043b2hkeDREWXI3LWZvMlV5a0tRcUxlajNuLUxHeVpra2s3WC1KNVVtVGN1Mi1MV3M1VUFIY0NaVkJJdUlDa1RTNXp5RUgtOXpwN1RlYk03Y0Q1UTJJVl9MMFdoQVZkLUdQQlgyQUh2a3JyejJxLVEuUUZvZHFVUVN5Qjd5ajFDaUtlQjluMnlMN3hQbW9qX2ZlbHVoOGFnZnJBNA"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '4987' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.0 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fc185b/b4c206fcc39f48c4901f1d944963719e","attributes":{"enabled":true,"created":1618953370,"updated":1618953370,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '228' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_backup_restore_7_1.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_backup_restore_7_1.yaml new file mode 100644 index 000000000000..e1b7c93eaa3d --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_backup_restore_7_1.yaml @@ -0,0 +1,1003 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fd185c?api-version=7.1 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "secret-value"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fd185c?api-version=7.1 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fd185c/5eb1a3e3ecf94a65983de8f551cb93ad","attributes":{"enabled":true,"created":1618953297,"updated":1618953297,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '272' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fd185c/backup?api-version=7.1 + response: + body: + string: '{"value":"KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuUVhRR1o1TF9FOVhHajlfSDhZNHNzalJ4Q0dRZWRiVFVyMFJWNXpHZmhXWUpBVnJmZklHc1dWdjgxTlhMeHcyOUR6Z2RKekU4YkhkT2JjbHdJV0VWNVl0NE1BV25pY3hpdzR6X05XcnppdzdyTW14eFJ5bVpWZ2JUTHRZQ1laaUUtZl9KRl9rSnFXVVRjT21jQ3p1VkFjLWVQdGFJNW9JYjEtblU0VGtQNGZBSDZhazdQT3V5MTQ1c3FwVEVaSmQyMEZSMHBMblQxdjVHSHFiNGRsa1RQR082WkFxMWxPREt2SkRmTzFZZ2FLTktkRDdaNFotS3dXU3EzM0VHQnlsaGV2djhzM1RuNkdwakkzaWNCZ05DSWZhcURNY1JFc1ZiRTB4Y1ZSMUhKOXRmT3hxVDNWY0V6UWZPeC04dGl2WHhQZXVaU2gxVEFaQ1pvb0RpZERNMnNBLnZtN2prVXdOeG9TS2pTZnk3Y3lqTEEueUs2VzgyT0VuQlRHdTBFRXJURGJWNEx6X240Qk1RLVpkT0M2NHlQMzIyUHZ2c0VVdW1xY21TMlhmQzVSV05xcVhNMERnMUZySFJNLUN5ZENZcXh4NTk5TTlncXVGakoxeTdwSEJNUV9EalFEb0xTNkdHT2lfTjhuUmYzalNGelhwVU50WnlvaEpVX0VPR2ExNGNkSDhhX2V0dDNYNTVvOWQ3eWJ3YkhuQWNEVlN3WVFhOEthU2xuYVZ1eFRaQzhHUlhJckdvUVpLMDdtXzZuODdYWWxFVktDbHNGV29hSzlObmJEMXQwcDZqSzhwT1ZtM2hZb3hOM29CaXhfV1lXT3Jqa25WR2V2ZGt6bkhmR0pnNWN4amJmdjhIcGg2dlhBUm5GQi1HVTJkLXpqaTBoaXRiVEZOeDY2NXRfMDJjMHdCV1VzLVJMS2ZKYUtZNnVlVjhvU3dWTVhDcDU5REdPR3NFTEhqQ3dGZ01Dem9XRHhNNlZrU1Z1ZlJBU2xwMzRtSlA3RmdUMmxDbk0zTUVuSWlPUEpBWDFoQzFXWnplbzdfRTZBT3VfQlI4TkFVYVdXS3dwTy1qVHhndVJNTi1sSnlGdDJTQ0FhMmxnQzFmV19sR0wxeGlHTlFzT3E2Mmp6Z0Y5MkxrR3NKSE9kTFpZcXJvSkxYZ2dIYTNweWJnb0pvczZ0SW91cUItNjB1bjdFNktNdEZ0Y2c0M2JuWW9GUXhDMFRmWGVvTFQ1Qy1tTklYUVI4dGpEV2NfWnRSTnljbklFNWdmYkVhTnVQSTl4X0NFNmwyb2pJai0yWlVVZ1ZUdWZYUlpIdFV5Y1JibVZ5RW5NMGxrVEVmVjVDcUg4bU5UNFF6bzBsbHY2SzVWcldlZ242c0ZRcTlkQS1aeVB4ekxvdUxWTTF2QUx5VTd5SkhQZWlmYkR1SVB3dXZvcWpTUWEzYWJCMGJSdHFiakc5eHJmYWN2N0x1X2JianhfRjQ5Tlo4SUZ0Zks2TDh4R1VmUDlrcUlTQ2ZkT3BBOEZBUTh6aG5Zc3otR1BCcU9QVnVwZEtoOXNfZDd1VmZQS1lXNDhRWC13N3F3cEJNVXdCSXRKbGV3QnZVVTI5UFhNek5jbkFGZG0tLTkyanhoWGF4dmY4R1ZmSnR5TVN6MTYzNWthVTNJVjJKLTRsYm9yeTMxZTA2bXRMUVFtSzNtbGhTQndZSEdnM2NwN093MUhsUjZjdmxKdlNZcHl6Z05RRmVROTFiZ2xidC1ONUVtZTRoZVpERGNvV2RLMm4wUG40NmZyYWxfUUJ6ZHpvaWxpd2o5Rks0WnlRVWdJZjREMGI4VEdrbXZVWWNiNXR3R0hERWVTRTA3WXFxMlpXYmdWeGhvVG5TTmxfRi01OV9CNEhXYUgyU1llMFhrQWJLSHdoWFpQcHZuR2RhQzMzanpsYkJySEhPd05lRHdiSm0wcXhDajZqWnZMWUtBUzc2R2tkT0RqbnVRaWVMNmxKVHdlaXNjLUI1ckI0bDh3NUV5SHpJdW1Ga2NDUkJDX2k4ZmNQWEF0MkJ2R2d1OGlLZDA4elBXQ3hvUFFBbW1pd0tnR3FjcnU5QWc4Qjg4R2c2TW5VTS11UXFDX0ZXUk01ZkhUVlRrV01BckhwdnRUMUxSdzl2U1NxV3RVQlFrek5yQ0J5MWpPb1d4eWNveWM2S0drTjQxN2IxRnMybTVhM2VKR3Y3b19jRVBrT2JDNTNrU1M2QTNmeUcwU0I0M3BZQktJZWRQSUxCOHNSUi15OEQtdUJ3ZnAwWFhORVpuOXBkVkhDb2pVWDJMcDBoZUF3WVJzbEc4UF9uQl9qYnA5bmlEN2JldlduT0NvV3ZaSGlKMURMN1BsOC1wanVuRU5sZG9mNjNjdlJSVXpKbWZBX1ZQVzR3T29ZU2tkRkh5cFNDRld2Szlhc1RUSG5TRzNaSVExRVFTNV9kOG82b21mcGJDVlNrbHFTX3F3Q05wSDdQcmg3WmEwcjY0NmloTDlLSTRMSjJVY1J6Y09SNUw5OUdUcHRSTERJeENTajRFVlhvUUZ5N2hkdV9kLU84aENiUWUwRnhsSC1VX1lGdUMxYkVRWm9QU0hFUV9oSHQwb2dMUEJVSVJwdlRQbk90YTRuSm1QRnV5ZG9uVUtfbkxNMnhQUjNiRklnWmYzamhWd1U3aTNnaWVEX2dfUFd0akg0QjIwNlpoeURIMEswSTRCUlZWS2tOM2NlamV6bXpIRVc2eEIxZEoxWWxvbnZfSGE2eTZsZkFpT2k0WDJHMnJadl9MS2hsMm5VeEpKQ00ySUpHQVpONDhQRnFhZzMtLU1lTXgyTVJkbXh4cEM5N041R2tyVHZJa1A1bU1fWEdwaDAxZlh3ckFJRlk1cXpKR3ZONHMyU2cxNDljNXBkV2o3VVJ2UHRqYXM4X1laQXFDYmVVa0x3TDNJcmxrTnptZDJUZHJ3U1F6T1BVS0RTVy1CVVVHQTNDUWlDU1B2SFdub2FhaFBzZ0s4WEdjdHk3WUpmYTBGLXZaOWRqcWV6WXpMSGZWMGdreFJMN00wUU5zMnNfOWVKcDk3dTlRandNTmJPZENRN3QtRVJ2Ymg0WklxaDFyd3FlNDNuOFZZZ3lQUmhzX1NoZmhGT0NFUTZXSFFuLUdDYTFmbVdsR0xtaTBlNTlHSkR1WTFTSGpLTG9yaFVsTV9yb1VoMnk0NkViQTI3ZTBFWTJ2OXU5bi1DYVBBMUZPRWlMbzVPLXBReHZQVkVvQWt4aW9yNzRwZjd6bGlJRHdXVGdOY3VhSWhLOTNCSnI4eVo3eDhHRFhueW1pRGNyMkIzRHMxVENGOG9qM0pCLWRmbTBwNHcwcEhxUHluRzVFb1Z5QkYwekpWNHBobXFRTFJRYVMwMEFrSUFoUDVseXpXSHlKUTVoNnQ1RmtBa0dkT3hzVTZ1cWVXRFZQVVpycl9iejJzUjdpa3F5d0tzVEZXVkF1WTNxSUFDU09ueTR4THh6M1ltdFdqOTJMVU53bU10czRORDZHazdrT2xDMHBoZDZROUJlN2Z3SmtVeE9zc2o0aGx3X0RqR2lSbGZiOTV5aTBNWEFvYXduRWZzSlk5ZXp2OHk4YW1saWtlM1lqaHVtSkY0SzlaZkt0VmZhTldmTGlxNVdaZVE3M2lVOENnOEdzS1licHdHeHZsRFh0N3YteEVtcWU0aFYzSnBwcmxYblhHT2VtSFE4UWI3bEhPS1lhSTdRQzFfLVNwSlYxbWMzRk5McFVKNklqeHBzcWFXaDZnVXlqeHZwZ284LXdfXzVmQ3JXcTNqY3BteEdOZ1JUSWdMb3NmZkM0cmpzRkhwSHNTOW1GeUVMald6MjNFTDMyR3lEZGFtVFNZWE16bHU3d0RXUjVoYk5ld1VSMWFRT2c0bnNEVThrVndaVmdJZXBXTTd6eS1faXhkRnA5ZUNvalJnZExjdXZkRXFDQURqZTYyanZKTUZ2a3BVZTkydFdrb1pIQ3A2R0tUbUZTYWVMb0dUeXpCMTJEdVAtXzVlWkppNTZ3bkV4a3NWU0hmMWNWdFBwZy1PNE9IXzhfS2JHTDVHRjBNeEE5VkI1YWx1T3pWV1VJa0hMWlE0YWFlWDg3ZUhDQkVfRE5EYnBjNWVmT19EbmU0VUVBek90WWFuX1RkYVFmZHd0TVdWRnZqaHNYSGI0Um9GTHpyMGRDQXdDRTFLZ2x4RVpQaFRsUmF2dGFwcldKU3pwajR1TV85N2NUSk1nRXVWd3NoUnFjb3lXM0RTSXVnZjNNTjRzbGtlT3ExWmFxMy1ZRXVVekxvMFpKQ1paZ0Q0N185QWhfRXBzVmlwdVNRQk1xMXFBcXBObFZ4M3pYM01NSmlsM1pNOE9sRWRDdUxINzh4XzMyNi1CSzMwa3RBSW1GOVdlRXRRZElhamZSTkVlMm9DMHdNaTRsSEJhY2I0a0JaWGFWYnlRNGxKZjVvelBoSlRwV25iOXhWTE9qSVdQNWJLS2FMN3YwajF4UVNsOTdSQ1Q5d1JJTkFHRkNscEV5SDkyTmg0SVFrYnBIR1V3cy0xdlV3S25LaHZkaGpoX2QwMEJFdGQ0UWYxUExOc3VSTF9reEc4M3FYWkRMb1ZVM2ZfV0hSWEF2dEpRZlVJX0VxSjFHODJxeG5VS2NkREs4Zy1XNmtHU0tiODZxb3Rlb3ZBQXBFejhleXNndXp6RUtJUVp4STgxaWZpSncuUkdwbERGbW1lU0sxQWRUU3NHWnA4eEh5VmtHY09TaXhCSFoydWpGaXdmVQ"}' + headers: + cache-control: + - no-cache + content-length: + - '4986' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fd185c?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fd185c","deletedDate":1618953298,"scheduledPurgeDate":1626729298,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fd185c/5eb1a3e3ecf94a65983de8f551cb93ad","attributes":{"enabled":true,"created":1618953297,"updated":1618953297,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '403' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fd185c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fd185c"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:14:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fd185c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fd185c"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:15:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fd185c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fd185c"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:15:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fd185c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fd185c"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:15:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fd185c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fd185c"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:15:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fd185c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fd185c"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:15:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fd185c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fd185c"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:15:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fd185c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fd185c"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:15:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fd185c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fd185c"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:15:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fd185c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fd185c"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:15:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fd185c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fd185c"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:15:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fd185c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fd185c"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:15:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fd185c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fd185c"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:15:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fd185c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fd185c"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:15:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fd185c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-namef4fd185c"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:15:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fd185c?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fd185c","deletedDate":1618953298,"scheduledPurgeDate":1626729298,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fd185c/5eb1a3e3ecf94a65983de8f551cb93ad","attributes":{"enabled":true,"created":1618953297,"updated":1618953297,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '403' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:15:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef4fd185c?api-version=7.1 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:15:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuUVhRR1o1TF9FOVhHajlfSDhZNHNzalJ4Q0dRZWRiVFVyMFJWNXpHZmhXWUpBVnJmZklHc1dWdjgxTlhMeHcyOUR6Z2RKekU4YkhkT2JjbHdJV0VWNVl0NE1BV25pY3hpdzR6X05XcnppdzdyTW14eFJ5bVpWZ2JUTHRZQ1laaUUtZl9KRl9rSnFXVVRjT21jQ3p1VkFjLWVQdGFJNW9JYjEtblU0VGtQNGZBSDZhazdQT3V5MTQ1c3FwVEVaSmQyMEZSMHBMblQxdjVHSHFiNGRsa1RQR082WkFxMWxPREt2SkRmTzFZZ2FLTktkRDdaNFotS3dXU3EzM0VHQnlsaGV2djhzM1RuNkdwakkzaWNCZ05DSWZhcURNY1JFc1ZiRTB4Y1ZSMUhKOXRmT3hxVDNWY0V6UWZPeC04dGl2WHhQZXVaU2gxVEFaQ1pvb0RpZERNMnNBLnZtN2prVXdOeG9TS2pTZnk3Y3lqTEEueUs2VzgyT0VuQlRHdTBFRXJURGJWNEx6X240Qk1RLVpkT0M2NHlQMzIyUHZ2c0VVdW1xY21TMlhmQzVSV05xcVhNMERnMUZySFJNLUN5ZENZcXh4NTk5TTlncXVGakoxeTdwSEJNUV9EalFEb0xTNkdHT2lfTjhuUmYzalNGelhwVU50WnlvaEpVX0VPR2ExNGNkSDhhX2V0dDNYNTVvOWQ3eWJ3YkhuQWNEVlN3WVFhOEthU2xuYVZ1eFRaQzhHUlhJckdvUVpLMDdtXzZuODdYWWxFVktDbHNGV29hSzlObmJEMXQwcDZqSzhwT1ZtM2hZb3hOM29CaXhfV1lXT3Jqa25WR2V2ZGt6bkhmR0pnNWN4amJmdjhIcGg2dlhBUm5GQi1HVTJkLXpqaTBoaXRiVEZOeDY2NXRfMDJjMHdCV1VzLVJMS2ZKYUtZNnVlVjhvU3dWTVhDcDU5REdPR3NFTEhqQ3dGZ01Dem9XRHhNNlZrU1Z1ZlJBU2xwMzRtSlA3RmdUMmxDbk0zTUVuSWlPUEpBWDFoQzFXWnplbzdfRTZBT3VfQlI4TkFVYVdXS3dwTy1qVHhndVJNTi1sSnlGdDJTQ0FhMmxnQzFmV19sR0wxeGlHTlFzT3E2Mmp6Z0Y5MkxrR3NKSE9kTFpZcXJvSkxYZ2dIYTNweWJnb0pvczZ0SW91cUItNjB1bjdFNktNdEZ0Y2c0M2JuWW9GUXhDMFRmWGVvTFQ1Qy1tTklYUVI4dGpEV2NfWnRSTnljbklFNWdmYkVhTnVQSTl4X0NFNmwyb2pJai0yWlVVZ1ZUdWZYUlpIdFV5Y1JibVZ5RW5NMGxrVEVmVjVDcUg4bU5UNFF6bzBsbHY2SzVWcldlZ242c0ZRcTlkQS1aeVB4ekxvdUxWTTF2QUx5VTd5SkhQZWlmYkR1SVB3dXZvcWpTUWEzYWJCMGJSdHFiakc5eHJmYWN2N0x1X2JianhfRjQ5Tlo4SUZ0Zks2TDh4R1VmUDlrcUlTQ2ZkT3BBOEZBUTh6aG5Zc3otR1BCcU9QVnVwZEtoOXNfZDd1VmZQS1lXNDhRWC13N3F3cEJNVXdCSXRKbGV3QnZVVTI5UFhNek5jbkFGZG0tLTkyanhoWGF4dmY4R1ZmSnR5TVN6MTYzNWthVTNJVjJKLTRsYm9yeTMxZTA2bXRMUVFtSzNtbGhTQndZSEdnM2NwN093MUhsUjZjdmxKdlNZcHl6Z05RRmVROTFiZ2xidC1ONUVtZTRoZVpERGNvV2RLMm4wUG40NmZyYWxfUUJ6ZHpvaWxpd2o5Rks0WnlRVWdJZjREMGI4VEdrbXZVWWNiNXR3R0hERWVTRTA3WXFxMlpXYmdWeGhvVG5TTmxfRi01OV9CNEhXYUgyU1llMFhrQWJLSHdoWFpQcHZuR2RhQzMzanpsYkJySEhPd05lRHdiSm0wcXhDajZqWnZMWUtBUzc2R2tkT0RqbnVRaWVMNmxKVHdlaXNjLUI1ckI0bDh3NUV5SHpJdW1Ga2NDUkJDX2k4ZmNQWEF0MkJ2R2d1OGlLZDA4elBXQ3hvUFFBbW1pd0tnR3FjcnU5QWc4Qjg4R2c2TW5VTS11UXFDX0ZXUk01ZkhUVlRrV01BckhwdnRUMUxSdzl2U1NxV3RVQlFrek5yQ0J5MWpPb1d4eWNveWM2S0drTjQxN2IxRnMybTVhM2VKR3Y3b19jRVBrT2JDNTNrU1M2QTNmeUcwU0I0M3BZQktJZWRQSUxCOHNSUi15OEQtdUJ3ZnAwWFhORVpuOXBkVkhDb2pVWDJMcDBoZUF3WVJzbEc4UF9uQl9qYnA5bmlEN2JldlduT0NvV3ZaSGlKMURMN1BsOC1wanVuRU5sZG9mNjNjdlJSVXpKbWZBX1ZQVzR3T29ZU2tkRkh5cFNDRld2Szlhc1RUSG5TRzNaSVExRVFTNV9kOG82b21mcGJDVlNrbHFTX3F3Q05wSDdQcmg3WmEwcjY0NmloTDlLSTRMSjJVY1J6Y09SNUw5OUdUcHRSTERJeENTajRFVlhvUUZ5N2hkdV9kLU84aENiUWUwRnhsSC1VX1lGdUMxYkVRWm9QU0hFUV9oSHQwb2dMUEJVSVJwdlRQbk90YTRuSm1QRnV5ZG9uVUtfbkxNMnhQUjNiRklnWmYzamhWd1U3aTNnaWVEX2dfUFd0akg0QjIwNlpoeURIMEswSTRCUlZWS2tOM2NlamV6bXpIRVc2eEIxZEoxWWxvbnZfSGE2eTZsZkFpT2k0WDJHMnJadl9MS2hsMm5VeEpKQ00ySUpHQVpONDhQRnFhZzMtLU1lTXgyTVJkbXh4cEM5N041R2tyVHZJa1A1bU1fWEdwaDAxZlh3ckFJRlk1cXpKR3ZONHMyU2cxNDljNXBkV2o3VVJ2UHRqYXM4X1laQXFDYmVVa0x3TDNJcmxrTnptZDJUZHJ3U1F6T1BVS0RTVy1CVVVHQTNDUWlDU1B2SFdub2FhaFBzZ0s4WEdjdHk3WUpmYTBGLXZaOWRqcWV6WXpMSGZWMGdreFJMN00wUU5zMnNfOWVKcDk3dTlRandNTmJPZENRN3QtRVJ2Ymg0WklxaDFyd3FlNDNuOFZZZ3lQUmhzX1NoZmhGT0NFUTZXSFFuLUdDYTFmbVdsR0xtaTBlNTlHSkR1WTFTSGpLTG9yaFVsTV9yb1VoMnk0NkViQTI3ZTBFWTJ2OXU5bi1DYVBBMUZPRWlMbzVPLXBReHZQVkVvQWt4aW9yNzRwZjd6bGlJRHdXVGdOY3VhSWhLOTNCSnI4eVo3eDhHRFhueW1pRGNyMkIzRHMxVENGOG9qM0pCLWRmbTBwNHcwcEhxUHluRzVFb1Z5QkYwekpWNHBobXFRTFJRYVMwMEFrSUFoUDVseXpXSHlKUTVoNnQ1RmtBa0dkT3hzVTZ1cWVXRFZQVVpycl9iejJzUjdpa3F5d0tzVEZXVkF1WTNxSUFDU09ueTR4THh6M1ltdFdqOTJMVU53bU10czRORDZHazdrT2xDMHBoZDZROUJlN2Z3SmtVeE9zc2o0aGx3X0RqR2lSbGZiOTV5aTBNWEFvYXduRWZzSlk5ZXp2OHk4YW1saWtlM1lqaHVtSkY0SzlaZkt0VmZhTldmTGlxNVdaZVE3M2lVOENnOEdzS1licHdHeHZsRFh0N3YteEVtcWU0aFYzSnBwcmxYblhHT2VtSFE4UWI3bEhPS1lhSTdRQzFfLVNwSlYxbWMzRk5McFVKNklqeHBzcWFXaDZnVXlqeHZwZ284LXdfXzVmQ3JXcTNqY3BteEdOZ1JUSWdMb3NmZkM0cmpzRkhwSHNTOW1GeUVMald6MjNFTDMyR3lEZGFtVFNZWE16bHU3d0RXUjVoYk5ld1VSMWFRT2c0bnNEVThrVndaVmdJZXBXTTd6eS1faXhkRnA5ZUNvalJnZExjdXZkRXFDQURqZTYyanZKTUZ2a3BVZTkydFdrb1pIQ3A2R0tUbUZTYWVMb0dUeXpCMTJEdVAtXzVlWkppNTZ3bkV4a3NWU0hmMWNWdFBwZy1PNE9IXzhfS2JHTDVHRjBNeEE5VkI1YWx1T3pWV1VJa0hMWlE0YWFlWDg3ZUhDQkVfRE5EYnBjNWVmT19EbmU0VUVBek90WWFuX1RkYVFmZHd0TVdWRnZqaHNYSGI0Um9GTHpyMGRDQXdDRTFLZ2x4RVpQaFRsUmF2dGFwcldKU3pwajR1TV85N2NUSk1nRXVWd3NoUnFjb3lXM0RTSXVnZjNNTjRzbGtlT3ExWmFxMy1ZRXVVekxvMFpKQ1paZ0Q0N185QWhfRXBzVmlwdVNRQk1xMXFBcXBObFZ4M3pYM01NSmlsM1pNOE9sRWRDdUxINzh4XzMyNi1CSzMwa3RBSW1GOVdlRXRRZElhamZSTkVlMm9DMHdNaTRsSEJhY2I0a0JaWGFWYnlRNGxKZjVvelBoSlRwV25iOXhWTE9qSVdQNWJLS2FMN3YwajF4UVNsOTdSQ1Q5d1JJTkFHRkNscEV5SDkyTmg0SVFrYnBIR1V3cy0xdlV3S25LaHZkaGpoX2QwMEJFdGQ0UWYxUExOc3VSTF9reEc4M3FYWkRMb1ZVM2ZfV0hSWEF2dEpRZlVJX0VxSjFHODJxeG5VS2NkREs4Zy1XNmtHU0tiODZxb3Rlb3ZBQXBFejhleXNndXp6RUtJUVp4STgxaWZpSncuUkdwbERGbW1lU0sxQWRUU3NHWnA4eEh5VmtHY09TaXhCSFoydWpGaXdmVQ"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '4987' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fd185c/5eb1a3e3ecf94a65983de8f551cb93ad","attributes":{"enabled":true,"created":1618953297,"updated":1618953297,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '249' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_recover_2016_10_01.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_recover_2016_10_01.yaml new file mode 100644 index 000000000000..abfdcb6c5239 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_recover_2016_10_01.yaml @@ -0,0 +1,1291 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "secret-value"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb?api-version=2016-10-01 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb/c213e04ef9a644cdb3017c0e565a9518","attributes":{"enabled":true,"created":1618953392,"updated":1618953392,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '251' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameec1716fb","deletedDate":1618953392,"scheduledPurgeDate":1626729392,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb/c213e04ef9a644cdb3017c0e565a9518","attributes":{"enabled":true,"created":1618953392,"updated":1618953392,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '382' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameec1716fb?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameec1716fb"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameec1716fb?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameec1716fb"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameec1716fb?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameec1716fb"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameec1716fb?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameec1716fb"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameec1716fb?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameec1716fb"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameec1716fb?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameec1716fb"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameec1716fb?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameec1716fb"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameec1716fb?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameec1716fb"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameec1716fb?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameec1716fb"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameec1716fb?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameec1716fb"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameec1716fb?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameec1716fb"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameec1716fb?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameec1716fb","deletedDate":1618953392,"scheduledPurgeDate":1626729392,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb/c213e04ef9a644cdb3017c0e565a9518","attributes":{"enabled":true,"created":1618953392,"updated":1618953392,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '382' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameec1716fb?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameec1716fb","deletedDate":1618953392,"scheduledPurgeDate":1626729392,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb/c213e04ef9a644cdb3017c0e565a9518","attributes":{"enabled":true,"created":1618953392,"updated":1618953392,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '382' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameec1716fb/recover?api-version=2016-10-01 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb/c213e04ef9a644cdb3017c0e565a9518","attributes":{"enabled":true,"created":1618953392,"updated":1618953392,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '228' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameec1716fb was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameec1716fb was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:16:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameec1716fb was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameec1716fb was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameec1716fb was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameec1716fb was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameec1716fb was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameec1716fb was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameec1716fb was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameec1716fb was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb/?api-version=2016-10-01 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb/c213e04ef9a644cdb3017c0e565a9518","attributes":{"enabled":true,"created":1618953392,"updated":1618953392,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '251' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_recover_7_0.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_recover_7_0.yaml new file mode 100644 index 000000000000..b03915314ac0 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_recover_7_0.yaml @@ -0,0 +1,2125 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578?api-version=7.0 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "secret-value"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578?api-version=7.0 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/c9d88c07aa8347dabb7dd01221e46e85","attributes":{"enabled":true,"created":1618953460,"updated":1618953460,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '251' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name50891578","deletedDate":1618953460,"scheduledPurgeDate":1626729460,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/c9d88c07aa8347dabb7dd01221e46e85","attributes":{"enabled":true,"created":1618953460,"updated":1618953460,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '382' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name50891578?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name50891578"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name50891578?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name50891578"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name50891578?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name50891578"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name50891578?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name50891578"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name50891578?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name50891578"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name50891578?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name50891578"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name50891578?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name50891578"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name50891578?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name50891578"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name50891578?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name50891578"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name50891578?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name50891578"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name50891578?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name50891578"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name50891578?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name50891578"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name50891578?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name50891578"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name50891578?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name50891578"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name50891578?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name50891578"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name50891578?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name50891578"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name50891578?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name50891578"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name50891578?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name50891578","deletedDate":1618953460,"scheduledPurgeDate":1626729460,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/c9d88c07aa8347dabb7dd01221e46e85","attributes":{"enabled":true,"created":1618953460,"updated":1618953460,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '382' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name50891578?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name50891578","deletedDate":1618953460,"scheduledPurgeDate":1626729460,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/c9d88c07aa8347dabb7dd01221e46e85","attributes":{"enabled":true,"created":1618953460,"updated":1618953460,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '382' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name50891578/recover?api-version=7.0 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/c9d88c07aa8347dabb7dd01221e46e85","attributes":{"enabled":true,"created":1618953460,"updated":1618953460,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '228' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name50891578 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name50891578 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name50891578 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name50891578 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name50891578 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name50891578 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name50891578 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name50891578 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name50891578 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name50891578 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name50891578 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name50891578 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name50891578 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name50891578 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name50891578 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name50891578 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name50891578 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name50891578 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name50891578 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name50891578 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name50891578 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:19:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name50891578 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:19:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/?api-version=7.0 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578/c9d88c07aa8347dabb7dd01221e46e85","attributes":{"enabled":true,"created":1618953460,"updated":1618953460,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '251' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:19:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_recover_7_1.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_recover_7_1.yaml new file mode 100644 index 000000000000..8154600444a6 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secrets_recover_7_1.yaml @@ -0,0 +1,1512 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name508a1579?api-version=7.1 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "secret-value"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name508a1579?api-version=7.1 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name508a1579/d280739851b547a9bbbd9ec7b0be5df4","attributes":{"enabled":true,"created":1618953439,"updated":1618953439,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '272' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name508a1579?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name508a1579","deletedDate":1618953440,"scheduledPurgeDate":1626729440,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name508a1579/d280739851b547a9bbbd9ec7b0be5df4","attributes":{"enabled":true,"created":1618953439,"updated":1618953439,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '403' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name508a1579?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name508a1579"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name508a1579?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name508a1579"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name508a1579?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name508a1579"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name508a1579?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name508a1579"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name508a1579?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name508a1579"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name508a1579?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name508a1579"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name508a1579?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name508a1579"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name508a1579?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name508a1579"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name508a1579?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name508a1579"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name508a1579?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name508a1579"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name508a1579?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name508a1579"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name508a1579?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name508a1579"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name508a1579?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name508a1579"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name508a1579?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name508a1579"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name508a1579?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name508a1579"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name508a1579?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name508a1579"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name508a1579?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name508a1579"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name508a1579?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name508a1579"}}' + headers: + cache-control: + - no-cache + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name508a1579?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name508a1579","deletedDate":1618953440,"scheduledPurgeDate":1626729440,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name508a1579/d280739851b547a9bbbd9ec7b0be5df4","attributes":{"enabled":true,"created":1618953439,"updated":1618953439,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '403' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name508a1579?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name508a1579","deletedDate":1618953440,"scheduledPurgeDate":1626729440,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name508a1579/d280739851b547a9bbbd9ec7b0be5df4","attributes":{"enabled":true,"created":1618953439,"updated":1618953439,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '403' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name508a1579/recover?api-version=7.1 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name508a1579/d280739851b547a9bbbd9ec7b0be5df4","attributes":{"enabled":true,"created":1618953439,"updated":1618953439,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '249' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name508a1579/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name508a1579 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:17:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name508a1579/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name508a1579 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name508a1579/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name508a1579 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name508a1579/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name508a1579 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name508a1579/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name508a1579 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name508a1579/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name508a1579 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name508a1579/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name508a1579 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name508a1579/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name508a1579 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name508a1579/?api-version=7.1 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name508a1579/d280739851b547a9bbbd9ec7b0be5df4","attributes":{"enabled":true,"created":1618953439,"updated":1618953439,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '272' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:18:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_crud_operations.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_crud_operations.yaml deleted file mode 100644 index b5a66786a98a..000000000000 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_crud_operations.yaml +++ /dev/null @@ -1,404 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name29fe19b8?api-version=7.1 - response: - body: - string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer - or PoP token."}}' - headers: - cache-control: no-cache - content-length: '87' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:24 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", - resource="https://vault.azure.net" - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret-name29fe19b8?api-version=7.1 -- request: - body: '{"value": "secret-value", "attributes": {"exp": 2527401600, "enabled": - true}}' - headers: - Accept: - - application/json - Content-Length: - - '77' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name29fe19b8?api-version=7.1 - response: - body: - string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name29fe19b8/23a376994f274082aae0c3f00fe59f70","attributes":{"enabled":true,"exp":2527401600,"created":1613671465,"updated":1613671465,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '287' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:25 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret-name29fe19b8?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name29fe19b8/?api-version=7.1 - response: - body: - string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name29fe19b8/23a376994f274082aae0c3f00fe59f70","attributes":{"enabled":true,"exp":2527401600,"created":1613671465,"updated":1613671465,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '287' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:25 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret-name29fe19b8/?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name29fe19b8/23a376994f274082aae0c3f00fe59f70?api-version=7.1 - response: - body: - string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name29fe19b8/23a376994f274082aae0c3f00fe59f70","attributes":{"enabled":true,"exp":2527401600,"created":1613671465,"updated":1613671465,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '287' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:25 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret-name29fe19b8/23a376994f274082aae0c3f00fe59f70?api-version=7.1 -- request: - body: '{"tags": {"foo": "updated tag"}, "contentType": "text/plain"}' - headers: - Accept: - - application/json - Content-Length: - - '61' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PATCH - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name29fe19b8/?api-version=7.1 - response: - body: - string: '{"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name29fe19b8/23a376994f274082aae0c3f00fe59f70","attributes":{"enabled":true,"exp":2527401600,"created":1613671465,"updated":1613671465,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}}' - headers: - cache-control: no-cache - content-length: '320' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:25 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret-name29fe19b8/?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name29fe19b8?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name29fe19b8","deletedDate":1613671466,"scheduledPurgeDate":1621447466,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name29fe19b8/23a376994f274082aae0c3f00fe59f70","attributes":{"enabled":true,"exp":2527401600,"created":1613671465,"updated":1613671465,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}}' - headers: - cache-control: no-cache - content-length: '472' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:25 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret-name29fe19b8?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name29fe19b8?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name29fe19b8"}}' - headers: - cache-control: no-cache - content-length: '103' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:25 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret-name29fe19b8?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name29fe19b8?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name29fe19b8"}}' - headers: - cache-control: no-cache - content-length: '103' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:27 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret-name29fe19b8?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name29fe19b8?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name29fe19b8"}}' - headers: - cache-control: no-cache - content-length: '103' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:29 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret-name29fe19b8?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name29fe19b8?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name29fe19b8"}}' - headers: - cache-control: no-cache - content-length: '103' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:31 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret-name29fe19b8?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name29fe19b8?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name29fe19b8"}}' - headers: - cache-control: no-cache - content-length: '103' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:34 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret-name29fe19b8?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name29fe19b8?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name29fe19b8"}}' - headers: - cache-control: no-cache - content-length: '103' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:36 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret-name29fe19b8?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name29fe19b8?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name29fe19b8","deletedDate":1613671466,"scheduledPurgeDate":1621447466,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name29fe19b8/23a376994f274082aae0c3f00fe59f70","attributes":{"enabled":true,"exp":2527401600,"created":1613671465,"updated":1613671465,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}}' - headers: - cache-control: no-cache - content-length: '472' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:38 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret-name29fe19b8?api-version=7.1 -version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_crud_operations_2016_10_01.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_crud_operations_2016_10_01.yaml new file mode 100644 index 000000000000..f03171977cc4 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_crud_operations_2016_10_01.yaml @@ -0,0 +1,643 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:07:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 +- request: + body: '{"value": "secret-value", "attributes": {"enabled": true, "exp": 2527401600}}' + headers: + Accept: + - application/json + Content-Length: + - '77' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60/0e094a77183044c1801245a1712a3b0e","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '268' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:07:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60/?api-version=2016-10-01 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60/0e094a77183044c1801245a1712a3b0e","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '268' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:07:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name554d1c60/?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60/0e094a77183044c1801245a1712a3b0e?api-version=2016-10-01 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60/0e094a77183044c1801245a1712a3b0e","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '268' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:07:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name554d1c60/0e094a77183044c1801245a1712a3b0e?api-version=2016-10-01 +- request: + body: '{"contentType": "text/plain", "tags": {"foo": "updated tag"}}' + headers: + Accept: + - application/json + Content-Length: + - '61' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60/?api-version=2016-10-01 + response: + body: + string: '{"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60/0e094a77183044c1801245a1712a3b0e","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: no-cache + content-length: '301' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:07:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name554d1c60/?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60/0e094a77183044c1801245a1712a3b0e","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: no-cache + content-length: '455' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:07:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name554d1c60"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:07:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name554d1c60"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:07:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name554d1c60"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name554d1c60"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name554d1c60"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name554d1c60"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name554d1c60"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name554d1c60"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name554d1c60"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name554d1c60"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name554d1c60"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:17 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name554d1c60"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:19 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name554d1c60"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:21 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name554d1c60"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:23 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60/0e094a77183044c1801245a1712a3b0e","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: no-cache + content-length: '455' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:26 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60?api-version=2016-10-01 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_crud_operations_7_0.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_crud_operations_7_0.yaml new file mode 100644 index 000000000000..0324d0d902c4 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_crud_operations_7_0.yaml @@ -0,0 +1,644 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add?api-version=7.0 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:07:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name93ed1add?api-version=7.0 +- request: + body: '{"value": "secret-value", "attributes": {"exp": 2527401600, "enabled": + true}}' + headers: + Accept: + - application/json + Content-Length: + - '77' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add?api-version=7.0 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add/e1a92159299342e08976422891b8cb19","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '268' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:07:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name93ed1add?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add/?api-version=7.0 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add/e1a92159299342e08976422891b8cb19","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '268' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:07:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name93ed1add/?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add/e1a92159299342e08976422891b8cb19?api-version=7.0 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add/e1a92159299342e08976422891b8cb19","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '268' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:07:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name93ed1add/e1a92159299342e08976422891b8cb19?api-version=7.0 +- request: + body: '{"tags": {"foo": "updated tag"}, "contentType": "text/plain"}' + headers: + Accept: + - application/json + Content-Length: + - '61' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add/?api-version=7.0 + response: + body: + string: '{"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add/e1a92159299342e08976422891b8cb19","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: no-cache + content-length: '301' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:07:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name93ed1add/?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add/e1a92159299342e08976422891b8cb19","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: no-cache + content-length: '455' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:07:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name93ed1add?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ed1add"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:07:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ed1add"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:07:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ed1add"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ed1add"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ed1add"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ed1add"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ed1add"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ed1add"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ed1add"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ed1add"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ed1add"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:18 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ed1add"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ed1add"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ed1add"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:24 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add/e1a92159299342e08976422891b8cb19","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: no-cache + content-length: '455' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:26 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add?api-version=7.0 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_crud_operations_7_1.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_crud_operations_7_1.yaml new file mode 100644 index 000000000000..cc35e14e651f --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_crud_operations_7_1.yaml @@ -0,0 +1,793 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade?api-version=7.1 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name93ee1ade?api-version=7.1 +- request: + body: '{"value": "secret-value", "attributes": {"enabled": true, "exp": 2527401600}}' + headers: + Accept: + - application/json + Content-Length: + - '77' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade?api-version=7.1 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade/ed98e03448d1427cb18a11e2482bcca8","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952907,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '289' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name93ee1ade?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade/?api-version=7.1 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade/ed98e03448d1427cb18a11e2482bcca8","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952907,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '289' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name93ee1ade/?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade/ed98e03448d1427cb18a11e2482bcca8?api-version=7.1 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade/ed98e03448d1427cb18a11e2482bcca8","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952907,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '289' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name93ee1ade/ed98e03448d1427cb18a11e2482bcca8?api-version=7.1 +- request: + body: '{"contentType": "text/plain", "tags": {"foo": "updated tag"}}' + headers: + Accept: + - application/json + Content-Length: + - '61' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade/?api-version=7.1 + response: + body: + string: '{"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade/ed98e03448d1427cb18a11e2482bcca8","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: no-cache + content-length: '322' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name93ee1ade/?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade/ed98e03448d1427cb18a11e2482bcca8","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: no-cache + content-length: '476' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name93ee1ade?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ee1ade"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ee1ade"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:30 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ee1ade"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:32 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ee1ade"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ee1ade"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:36 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ee1ade"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:38 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ee1ade"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ee1ade"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:43 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ee1ade"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:45 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ee1ade"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:47 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ee1ade"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ee1ade"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:52 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ee1ade"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ee1ade"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ee1ade"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ee1ade"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:00 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ee1ade"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:02 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ee1ade"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:04 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93ee1ade"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:06 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade/ed98e03448d1427cb18a11e2482bcca8","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: no-cache + content-length: '476' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:08 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade?api-version=7.1 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_list_operations.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_list_operations.yaml deleted file mode 100644 index 7fa435ad5da0..000000000000 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_list_operations.yaml +++ /dev/null @@ -1,357 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret02aad19c6?api-version=7.1 - response: - body: - string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer - or PoP token."}}' - headers: - cache-control: no-cache - content-length: '87' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:37 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", - resource="https://vault.azure.net" - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret02aad19c6?api-version=7.1 -- request: - body: '{"value": "value0"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret02aad19c6?api-version=7.1 - response: - body: - string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret02aad19c6/c0a6770e7d1f47e89a46c517c0928bc8","attributes":{"enabled":true,"created":1613671479,"updated":1613671479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:38 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret02aad19c6?api-version=7.1 -- request: - body: '{"value": "value1"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret12aad19c6?api-version=7.1 - response: - body: - string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret12aad19c6/348bf5cb62334110a791e534eabbd28d","attributes":{"enabled":true,"created":1613671479,"updated":1613671479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:38 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret12aad19c6?api-version=7.1 -- request: - body: '{"value": "value2"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret22aad19c6?api-version=7.1 - response: - body: - string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret22aad19c6/90045ad33dcb4e828863ad6f40e216f0","attributes":{"enabled":true,"created":1613671479,"updated":1613671479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:38 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret22aad19c6?api-version=7.1 -- request: - body: '{"value": "value3"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret32aad19c6?api-version=7.1 - response: - body: - string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret32aad19c6/f9f9d9ded7fb49de902c56d0031d71a4","attributes":{"enabled":true,"created":1613671479,"updated":1613671479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:39 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret32aad19c6?api-version=7.1 -- request: - body: '{"value": "value4"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret42aad19c6?api-version=7.1 - response: - body: - string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret42aad19c6/5e21c4e34a174b9fb52fc92dde700ce9","attributes":{"enabled":true,"created":1613671479,"updated":1613671479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:39 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret42aad19c6?api-version=7.1 -- request: - body: '{"value": "value5"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret52aad19c6?api-version=7.1 - response: - body: - string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret52aad19c6/d347b22c3415463991126e2cc76b5abe","attributes":{"enabled":true,"created":1613671480,"updated":1613671480,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:39 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret52aad19c6?api-version=7.1 -- request: - body: '{"value": "value6"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret62aad19c6?api-version=7.1 - response: - body: - string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret62aad19c6/f638607ba4e548dbb26aa1329fd1bd2e","attributes":{"enabled":true,"created":1613671480,"updated":1613671480,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:39 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret62aad19c6?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/secrets?api-version=7.1 - response: - body: - string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret02aad19c6","attributes":{"enabled":true,"created":1613671479,"updated":1613671479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret12aad19c6","attributes":{"enabled":true,"created":1613671479,"updated":1613671479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret22aad19c6","attributes":{"enabled":true,"created":1613671479,"updated":1613671479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret32aad19c6","attributes":{"enabled":true,"created":1613671479,"updated":1613671479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret42aad19c6","attributes":{"enabled":true,"created":1613671479,"updated":1613671479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret52aad19c6","attributes":{"enabled":true,"created":1613671480,"updated":1613671480,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret62aad19c6","attributes":{"enabled":true,"created":1613671480,"updated":1613671480,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"contentType":"application/x-pkcs12","id":"https://vaultname.vault.azure.net/secrets/sftest","managed":true,"attributes":{"enabled":true,"nbf":1613082951,"exp":1644619551,"created":1613083552,"updated":1613083552,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' - headers: - cache-control: no-cache - content-length: '1782' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:39 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/secrets/secret-name/versions?api-version=7.1 - response: - body: - string: '{"value":[],"nextLink":null}' - headers: - cache-control: no-cache - content-length: '28' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:39 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/secret-name/versions?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1 - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name29fe19b8","deletedDate":1613671466,"scheduledPurgeDate":1621447466,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name29fe19b8","attributes":{"enabled":true,"exp":2527401600,"created":1613671465,"updated":1613671465,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}}],"nextLink":null}' - headers: - cache-control: no-cache - content-length: '467' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:39 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets?api-version=7.1 -version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_list_operations_2016_10_01.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_list_operations_2016_10_01.yaml new file mode 100644 index 000000000000..2c24bafcd6e1 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_list_operations_2016_10_01.yaml @@ -0,0 +1,387 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret056961c6e?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:26 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret056961c6e?api-version=2016-10-01 +- request: + body: '{"value": "value0"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret056961c6e?api-version=2016-10-01 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret056961c6e/b43c88e544ba45419463b220d1ecba08","attributes":{"enabled":true,"created":1618952907,"updated":1618952907,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret056961c6e?api-version=2016-10-01 +- request: + body: '{"value": "value1"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret156961c6e?api-version=2016-10-01 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret156961c6e/84ee1cdcb68a4582a88015a4500f890d","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret156961c6e?api-version=2016-10-01 +- request: + body: '{"value": "value2"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret256961c6e?api-version=2016-10-01 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret256961c6e/7d123bc48ff947ea9da64c41e0cca2b9","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret256961c6e?api-version=2016-10-01 +- request: + body: '{"value": "value3"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret356961c6e?api-version=2016-10-01 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret356961c6e/e4299d0d182f48de87e4f6d3a8b999e0","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret356961c6e?api-version=2016-10-01 +- request: + body: '{"value": "value4"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret456961c6e?api-version=2016-10-01 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret456961c6e/a832aa3ffc19472688ed86c259b141e7","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret456961c6e?api-version=2016-10-01 +- request: + body: '{"value": "value5"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret556961c6e?api-version=2016-10-01 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret556961c6e/75a23bfe99ee45e1a8ee3b94f03d409f","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret556961c6e?api-version=2016-10-01 +- request: + body: '{"value": "value6"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret656961c6e?api-version=2016-10-01 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret656961c6e/319193ac7b87417b900fe74015590b26","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret656961c6e?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name54f31c5b","attributes":{"enabled":true,"created":1618952829,"updated":1618952829,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978","attributes":{"enabled":true,"created":1618952830,"updated":1618952830,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b61ad8","attributes":{"enabled":true,"created":1618952829,"updated":1618952829,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b71ad9","attributes":{"enabled":true,"created":1618952830,"updated":1618952830,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5","attributes":{"enabled":true,"created":1618952831,"updated":1618952831,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6","attributes":{"enabled":true,"created":1618952831,"updated":1618952831,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret056961c6e","attributes":{"enabled":true,"created":1618952907,"updated":1618952907,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d41aeb","attributes":{"enabled":true,"created":1618952828,"updated":1618952828,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d51aec","attributes":{"enabled":true,"created":1618952828,"updated":1618952828,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret156961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret256961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret356961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret456961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret556961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret656961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '2931' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/secret-name/versions?api-version=2016-10-01 + response: + body: + string: '{"value":[],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '28' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/secret-name/versions?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UVTJPVFl4UXpaRkx6ZzBSVVV4UTBSRFFqWTRRVFExT0RKQk9EZ3dNVFZCTkRVd01FWTRPVEJFSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '1215' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UVTJPVFl4UXpaRkx6ZzBSVVV4UTBSRFFqWTRRVFExT0RKQk9EZ3dNVFZCTkRVd01FWTRPVEJFSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '28' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UVTJPVFl4UXpaRkx6ZzBSVVV4UTBSRFFqWTRRVFExT0RKQk9EZ3dNVFZCTkRVd01FWTRPVEJFSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_list_operations_7_0.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_list_operations_7_0.yaml new file mode 100644 index 000000000000..945962e6ab35 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_list_operations_7_0.yaml @@ -0,0 +1,446 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret094d41aeb?api-version=7.0 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret094d41aeb?api-version=7.0 +- request: + body: '{"value": "value0"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret094d41aeb?api-version=7.0 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d41aeb/73440b8330cb447893ed9d7433ce04c6","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret094d41aeb?api-version=7.0 +- request: + body: '{"value": "value1"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret194d41aeb?api-version=7.0 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret194d41aeb/8313230e65744243a9664f98e24bd199","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret194d41aeb?api-version=7.0 +- request: + body: '{"value": "value2"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret294d41aeb?api-version=7.0 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret294d41aeb/238a2cc55fd04fb89b09a9bacdf52d2f","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret294d41aeb?api-version=7.0 +- request: + body: '{"value": "value3"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret394d41aeb?api-version=7.0 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret394d41aeb/a221410b85104ce3b1e3ad1eee22031e","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret394d41aeb?api-version=7.0 +- request: + body: '{"value": "value4"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret494d41aeb?api-version=7.0 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret494d41aeb/503debeaed4442db8165be314d4fc651","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret494d41aeb?api-version=7.0 +- request: + body: '{"value": "value5"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret594d41aeb?api-version=7.0 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret594d41aeb/1b7f4228154c4f3ca2d5579195dbce81","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret594d41aeb?api-version=7.0 +- request: + body: '{"value": "value6"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret694d41aeb?api-version=7.0 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret694d41aeb/84f0719a8d284aadb0c4a9e8a4d7c782","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret694d41aeb?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978","attributes":{"enabled":true,"created":1618952830,"updated":1618952830,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b61ad8","attributes":{"enabled":true,"created":1618952829,"updated":1618952829,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b71ad9","attributes":{"enabled":true,"created":1618952830,"updated":1618952830,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5","attributes":{"enabled":true,"created":1618952831,"updated":1618952831,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6","attributes":{"enabled":true,"created":1618952831,"updated":1618952831,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret056961c6e","attributes":{"enabled":true,"created":1618952907,"updated":1618952907,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d51aec","attributes":{"enabled":true,"created":1618952911,"updated":1618952911,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret156961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret194d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret194d51aec","attributes":{"enabled":true,"created":1618952911,"updated":1618952911,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret256961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret294d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret294d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret356961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret394d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret394d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret456961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret494d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret494d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret556961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '4348' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret594d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret594d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret656961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret694d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret694d51aec","attributes":{"enabled":true,"created":1618952913,"updated":1618952913,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '987' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/secret-name/versions?api-version=7.0 + response: + body: + string: '{"value":[],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '28' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/secret-name/versions?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UVTJPVFl4UXpaRkx6ZzBSVVV4UTBSRFFqWTRRVFExT0RKQk9EZ3dNVFZCTkRVd01FWTRPVEJFSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '1631' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UVTJPVFl4UXpaRkx6ZzBSVVV4UTBSRFFqWTRRVFExT0RKQk9EZ3dNVFZCTkRVd01FWTRPVEJFSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '304' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UVTJPVFl4UXpaRkx6ZzBSVVV4UTBSRFFqWTRRVFExT0RKQk9EZ3dNVFZCTkRVd01FWTRPVEJFSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '28' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_list_operations_7_1.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_list_operations_7_1.yaml new file mode 100644 index 000000000000..c36c536822cc --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secret_list_operations_7_1.yaml @@ -0,0 +1,387 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret094d51aec?api-version=7.1 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:30 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret094d51aec?api-version=7.1 +- request: + body: '{"value": "value0"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret094d51aec?api-version=7.1 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d51aec/d48a590c383d43d48ed542f2739621ab","attributes":{"enabled":true,"created":1618952911,"updated":1618952911,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '262' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret094d51aec?api-version=7.1 +- request: + body: '{"value": "value1"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret194d51aec?api-version=7.1 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret194d51aec/a2ff2653571149f99c63caf92d28387c","attributes":{"enabled":true,"created":1618952911,"updated":1618952911,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '262' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret194d51aec?api-version=7.1 +- request: + body: '{"value": "value2"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret294d51aec?api-version=7.1 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret294d51aec/6250dd286e7544bcad49e0edfb97dc18","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '262' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret294d51aec?api-version=7.1 +- request: + body: '{"value": "value3"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret394d51aec?api-version=7.1 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret394d51aec/4420b9d86cc94d9f8fd338bd7d755700","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '262' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:32 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret394d51aec?api-version=7.1 +- request: + body: '{"value": "value4"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret494d51aec?api-version=7.1 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret494d51aec/29558cc194644d4bb2d05e98e4c3b96b","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '262' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:32 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret494d51aec?api-version=7.1 +- request: + body: '{"value": "value5"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret594d51aec?api-version=7.1 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret594d51aec/add72759a124463d8a341f12544cc8fe","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '262' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:32 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret594d51aec?api-version=7.1 +- request: + body: '{"value": "value6"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret694d51aec?api-version=7.1 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret694d51aec/76229643af8c4a6280b675880b8bcfa8","attributes":{"enabled":true,"created":1618952913,"updated":1618952913,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '262' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:32 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret694d51aec?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name54f31c5b","attributes":{"enabled":true,"created":1618952829,"updated":1618952829,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978","attributes":{"enabled":true,"created":1618952830,"updated":1618952830,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b61ad8","attributes":{"enabled":true,"created":1618952829,"updated":1618952829,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b71ad9","attributes":{"enabled":true,"created":1618952830,"updated":1618952830,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5","attributes":{"enabled":true,"created":1618952831,"updated":1618952831,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6","attributes":{"enabled":true,"created":1618952831,"updated":1618952831,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret056961c6e","attributes":{"enabled":true,"created":1618952907,"updated":1618952907,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d41aeb","attributes":{"enabled":true,"created":1618952828,"updated":1618952828,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d51aec","attributes":{"enabled":true,"created":1618952911,"updated":1618952911,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret156961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret194d51aec","attributes":{"enabled":true,"created":1618952911,"updated":1618952911,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret256961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret294d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret356961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret394d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret456961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret494d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret556961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret594d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret656961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret694d51aec","attributes":{"enabled":true,"created":1618952913,"updated":1618952913,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '4524' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/secret-name/versions?api-version=7.1 + response: + body: + string: '{"value":[],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '28' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/secret-name/versions?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UVTJPVFl4UXpaRkx6ZzBSVVV4UTBSRFFqWTRRVFExT0RKQk9EZ3dNVFZCTkRVd01FWTRPVEJFSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '1250' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UVTJPVFl4UXpaRkx6ZzBSVVV4UTBSRFFqWTRRVFExT0RKQk9EZ3dNVFZCTkRVd01FWTRPVEJFSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '28' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UVTJPVFl4UXpaRkx6ZzBSVVV4UTBSRFFqWTRRVFExT0RKQk9EZ3dNVFZCTkRVd01FWTRPVEJFSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_backup_restore.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_backup_restore.yaml deleted file mode 100644 index f342c24af976..000000000000 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_backup_restore.yaml +++ /dev/null @@ -1,366 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name29db19b3?api-version=7.1 - response: - body: - string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer - or PoP token."}}' - headers: - cache-control: no-cache - content-length: '87' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:06:23 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", - resource="https://vault.azure.net" - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret-name29db19b3?api-version=7.1 -- request: - body: '{"value": "secret-value"}' - headers: - Accept: - - application/json - Content-Length: - - '25' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name29db19b3?api-version=7.1 - response: - body: - string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name29db19b3/322f495bb079425db55680061d0d3a85","attributes":{"enabled":true,"created":1613671583,"updated":1613671583,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '270' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:06:23 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret-name29db19b3?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name29db19b3/backup?api-version=7.1 - response: - body: - string: '{"value":"KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAucHp5U0R0UlMwVUgzQjVuRkxXTWRTUVFmZzhfVm00RHA4cWJ4MHRqOG1YY1h2VkI0OV9aNllUQ1c2MHY3YTRQQS1OWDVCMmFHbjBSenNieEw2S2FsRHdWbE5nVkFvLWVQNW9kODVsLTd1NnUycnhRRGVldGNpSWFfb0V6cnQ2Tm9qUGpvSWZ1U2I0OEZqWXJobGRpOHNqeDBjMWRZaWRGekN1cXRqUVVFQjQwMkcteE5GMm1rUjk3QU4wMEZDZDFscEpoOW5VRmJROURkMUJLWDl3dTlHY3k2V0Zpc1BKUnJLVlp6eWlCVEFydVVSSFhESThJWDlkbzk3UVo4X1NUSnZYekpKQ2FBQ1ZIYl93N21NU1otYS1iYjRabHUyVnRVVkt2X1VZbGRLZlNCdEI4d1p2M0dXekQteWJodlp0eV83aUI1My1TQ0NkS2lDWnZGQjlVZ2NRLjZOY1Y3dU45Rk9wS1FNTExmSEt0S1EuRWNfUUlaTmZONFFYM0tJbURBeEk0WFRCWmdGYk5KTFVjdmdMcEhUQXY2aXZaczVJc3lWZDBRQlBsZzZoUk5Ma0lzNllTT2hORDJfTnp2RXhRbEJyb0xNWWJiRTdobnMzYk5nMlM5SmdDTXFLbXozd3dURlpjSUhFZThVYXhXYnMwZkxaV01VUGE3b0YyelVLZnd2NlNDalY1VVUwZzZPdWxSV0VRMkRySGJILWt4eGNyVWU2aElJOE5nUEY4Q2FRdXdTUlFtQ19TT3g5OUFfdElmSkI3V3kxcEQ4amU3TzRWZGh1YzVWc1YyWUhuVExobl9tMXVPQU5Gdm1fZ3hwMjF5VWNVMUVoUG0tYXJYMWtwOWxrWW1OaHdpU1lLekhVcHBYTWpoZHBDUExXVVlYOVczRmVTN3ZpNFhGNmI3a2tUSjRQamc4czU4dzNjZDhIUjkxMXVEN29TblpqbXVzUHVieVNvdEE1Um5rRDRHYkdZdmJueG16THI0NDNnQnZsZEMxenlZU3pDa2JxVE03cVM0ZXNDVlVkc3RrT3otZ05RYmVKcHNBQ0s2cmdVemd3alh6YXJQUGxob2dTZGxjU093RnZMd1N2NlNwRjcwRW82cVA1NjlPN2JpUThhajBRTUNOc2hKc2p3WWFtVlloeTd0Qk91ZXNBV1BJc1M1ZnI4SHdiLTRWN2o3ekZqbkhzY1h5S1pZM3cyaEVjRUN4RWZhU0RDQ1FUb3BrTFotbFJTR3Frc3Y4cVVnbUtxcG43YVE2cDBQSG5vcWRwTDR5UTUzU3M2djR6QmVhOTZfYVE5R3VySk1ESk5NMm5iVWNDeDItSWRKeWRKMXdTZ2dXbkFOUVlMM1MwUWc0STFlTFA3ZTY3SU9sWnZBaFhmZEp4T3BqbXZyLXBBNEc1ZHhDV2pYZG5JTUd1Sk1pRnRqOXY1UFlmLVdDU0F0R3o0MHZwU195UXp1RGtMNGZ2TTExOEpfY3Bjak9zeWw2Rm9YM1VpN0R0STdzNVlFWXFFSGdrcHRSV0U1N2xPM2hsaTZaaHR5eVc2Rmh5YWtYb1JGMVZybkx5VmNmdm9Oay1qVEhaNkNFRWxzOUZhUXk2NDQ2YWFmM2Y3ZnRqQ3UyTGpUSjUyNHZuY3B6Qk55VWhqcXpCLUh4aWZNWjE4WUZYSE9jUE5nTzNWWlZRN1g0YlFrMF9BTVFUWXFPcXRZcHZsVjFkSTY2WFJDMGtWYWF2eGx6Z3dDSGpGQjEya1lTM2kybkpIRlRoSl9ic3ZuaHROZHQ2czJQTU9ma3U4MVBCUDNpRFAwVXAwMlhnRlNMTWVwWlMzR0hHak1pWVpDeUtDUGFQY0lKNXJjTVZ1QmlpSFlaeWZ6UDZfUzZhbEF5U2Q4TXZ5NFpZQXNpMGhXV3JuR2YyMjBfNUpwTmp6alpTMDFDUmREcFlMQXVXR3gzNFNHQVBtdW9YS3hXTkxwZTBXcEI4OU9VM3dmYXhRa0U0WTNSUHRIZE5BMmhPb2g2QjEwajFZNFhoallheVJJeU00VWcxUHZqeDByQXdRX242aGRYWldFTndTN0I4eDJNeFE4eGE5Sks1Nm1EWGRaRXpPc2lHQVAxVWlCYm9IZlV1WFNRbVhQN1Exd0Q4RFdPcW16RlFnTjB0bm05SUlJUlBCdTRSS2JiSjFON2I3LTRYTTV2SXl3UC1fQU5qdmxPb1VKZUNLcFFaVXV6Uk9jVmxmQ2NXU00wV0hHQ3NHYWlWWERlcTVIRTFLMXIzWEJ2Vkl4SS1rczV6ckZVYS1kQVhXLVRIM3M3R0xaUWNVZ0hYMGoxS3ZYX2stbWdtUlZMS0Z2LXUtX0VFNUpiX1Y1ZGZUTGh5d1RNeEprTEVsUzV1V3ZuWnVGbUpxbmFFbVJHSlRLN3lUQzBnY0hFQnMtQl9lNDFtRkQ1OGh1amU5NFpYbGhxWGlia1lBMEIybkVYdE90UC04bllneDJra0FGbnhuXzQtQzVBSFJDVllnVEpsbE14SVdRUmpUWEppSnRVR1M3VFZYbG5ZSmJHZ0w3QjJuMUZfWVF6bjBMUDVWdFYwUHNKcWFRQkFMRTgxR0VYeHJfRnMxQ21DQkE0cW9aaXZjUldOZm53ZDRmaGUtWUNELVVzaTNJdTZQeXJMNFh5QjFka2hxSExvaWdLRzRLM3pzdGxLai0tYlQwaUF3azNpMWpCQllFbVBnWFh2emdFUXlORmpkYTQ1YkR5S2RzcG5jbWFUdEo2RjNhekdKeERMRWVPSGdCaG5aWHFLVGlBUUZBbjBGMk4zNlpZT2MwYXdraEozR0ROVlNURkNHY0JOaVZoQ1dlWGpqUlNsbUZPNWZvSFdUV3hOd3VyRmRfUWo5b1IzMkVSLThZYWNyeXVrVF84V2FpZ0RPcXU5RHg1dXBGeDFPNEQwMW92d1ZuRi14eEE2b2tfb05QTWRCeWFXRWJfUm9FRHlhVHFuRzRaNEhXaER1VVYxWEt2SGFqUktlTnFZZUdXcHJRNGExS0hEMlFxVDJBNFBOeUdJd21SZ0lzRHg0YWZSZkQyc2V1bUlZOUUzQjdZZ0gzbXYtNHJ6TE44ZEhhNHRmZ3NiaXhBWjI2TWxJNUVEUTN3NHg5VUREOS1WU3JxaG5SOGJDVWQ5YW9fTXEzdW40XzNnUXpRNUpLa2cteGlySHVRZXpUbDNwaWlocXJXS0xqNGh0Z3RXQTlLUG5mcW9QLWMzTHRXemVSaDcwR3QyR0lNdlJTNW5IVW1HMG1UREFWaHFrSEhreUZodUM5SkdEX0VHZnZVbVplSzJ2aG9wTGN6a09kSjVJQkhBY1VldUtiTW9IZ0NFcS1JUmN1cWJ3ZUl0TlBQNnQtVllWcW9kbC1GdnBncC13aUFlbGZUVkZlMXBGVEplZ2RGTlNoZTdwOWVhV2VIS0RkOGhIanpsQzFQUFducnBVZ0U5REVNc3NNODlFbHRkOTZEeGRsMDk0ZzVaYl9LMVRRNlVIdzlsQk1wUDFMTVhHTDhmV1NoU1YzRWRaRGtwVmR0NUZ3dXkzZ3VZb2h2RXhCMHhVVVJRbm1BeDB1Z2pPWTYyWmRjTWJrOS14d29sRFBHQ1k1NEFzbjZ0SGVjQWM4aXh6QW5zdlZLVnJud0N4M3lDc1psem5yemczbDFqc05OZk1lV2tvU3RUVE0yemQzNmxINGVQbWNOWmxwYjczMnFBd1dlQi04X1E4ZU45UnRGanZSODhoRmRqcGNRVEk4ajB1dVVmZlBONmhzUTlBdnZFT0doaXZXZF9mMk1kS3A0d0wyY1dVZ0tMSWNLT0ZMc3YwU2RxM2RfaS1WNTV0TnlBUEZIXzRadklSU0VDU3AxQUJma2JFVFZTenlGNENFLWl0VG9UWElCYnlxOHR3V1hIM2k0ZG1IYmN4Y1NsbTBzMU1SVDVfeDJyR1huVll3amE4OHd1UC1uWlpIbkE2OG9fTUxULThNcnZuQ0doLVhJc0NYLUdrdy1IQ2RTY2RUbHJJVElFcjZJRzNhcVpNdFlzaWpveW03ZnRqZkpmSFBHR1dUMGRIcGh4bGthRDNUNlNWdVlmN1FnNzNfUTFicXNQRHJjV2tVZXpCODNtdU0wU2MwLTVHc0k4aEVMNVlfakxwenNNRjZQaEhkd2NFckZZc2I0bDhwcVJyTDFMeE5yTVRpQ1NDYnhzOXEwc0pYYVdKZnI0QkRCekpxQlM0anBaSGlFYkdkcXJ1S2J3Uk5CM1Frc0sxd1RxTlYwd1JmbURDaWdFaWhBS2g5cWZ5S0k4NkVJQXR3WXVISlBzQVpZZEJweFpKdFBCQ2lNZ3dvUkRjN282RXVfZEF3TzV5eG9MRXRQcVRhaGs5UFRQcUsyZThHcENUUXZYazJWNEZkQWY0THFXWG9GRllJaHBSYjhVX3dzRWFzaHFjN3ZOd2Yxb0VYUWdMNDN3WkVGamE2bi1OV3JMUHNXU2xjUlZ2eEpKQUpRYm9HUmVnaWc3X2Zzc3FWR3E1VkF2c0FjNjBIaUk2M3p2cDlDYm84VzZ1eTFGM1NsWWItTWJ1WmF6MEpzZERKNnVpRHFIRl82a3RWTjhKUC15VlRWYTA4SThLTjdPM3ZMdmc0RTJtem1MdGlfSmhCVllBamw5Q0kwSGdGbFB5MEItVWpkaXZMdDEzTENob3FlcjVPN2doWHY2VnV0VTk4R25Hd0NvRWY5SHhDMGEtRWppZnVsZWhjOUpCYjJzY0c3QWpyRl9xMVNJWUpzcWZTTHhwQTNuQVl3c1FZc3ZqMzdfRWh1MEhEYWZMSUtpdkg5dGdyTFZuWEgxODZBQVpNX1BRczQ1dmZqVkZXUktaR3BrTVZLS3daemxQdUEtWWc5TzRfTFF4eGUxcExScGtrQ2tKbW9ld0lXYjlHSkRGdFgxYTR6TVZYaGVRYTVEU1VmMmxGNERZRGh5TzU5QmNNQVo4WlNzcjJBMzBvTW9wOVF4TXFYY0RtVW5mVVQ2dmxTbFlqOU52b25tMnpHc2pQWElDY1puTlctbXg4UndHRzNwVGFhRzY3NnlYRURRN3JqMEdrZmFGNXg0YWRJZmVONVEwYkR0VTUyblVOVVJ4VGU5SW5rMExIZ3hKQXJKSGZhZ3hJeUVFMnJPZnNHdzZLdmgtUGJwZzdnbXZ5ZXhMSTdJazVmQlo5Y3puN2RVNHZUOGthTmZjX3VlLXI2NXdNRjJ6bm1tUkpIMExCYmlJQWZjWUYyWVp2Y29uN2tISWVWd2dFT2U0UDJ1ZXdYeGhRQUZPcmRjdkZjYzRSeWZ1NUEwMjFxVGp0YU5ZTzZORlMwSzV1dFJfTHBMejlzeVE4c1JfUjRrelFWYTJkRmxIb2xGdEJ6bXpXUzB1Yy0wSHVsTnk2MUVXNEtWNHNPWXE0Z1Bta3BWMG9VXzJzS2dsQnRsUTRlbXkxME5tNzZ5SHFKYnNLTF91aHV1ZDQ3eHRnQ1NPc2lyQnlVTWk3V1FLS0pRU01TQV81ZzJQQldQS242YkhLejZTeEp3VXM2YVA0dGNWMGVBNUttUkhHaUFScUM3ZFZ5TVA0SXZLMTltc1NFU0N6RUc4a3pxRU5GX1JVT3RYZ1U1TDJyX1ZHYXdwN0RwRzR6LXRSRElDUGt4aU9DNUZCX0JUZ1BKS096YXF1TWdnX05yRFo5THlPSlF6dWFRSllEYzVpb1JXZ0pTaUZUQVVZVmItNHpqUUwyWXVFNlVJLWNoeGVvOHFWRVZuakFYalZWVGZMWTRKZHhmSXJOclhzN1dpNkNoektzU1hWYWhNV2JMd2pFZ2lDeVFXZVYtMVB3S0dDLWN6b2k1c3B1M09VTWpqUXg2bUVxZDNGaEc3eGxwaTRjakhveFp5U0xqQ3NHdGVQMnBHTWJyX1ZzSjQ5ZGdMSVN4am5QdnRYSXp5NFRZMURIVW54N2w1WFZwM0RrWmZqZHFJcTJRV0dQOGxqOGNwaEo3QlozLVRxSklEcW13clhrUGJqWWJ0N1ZVaGp2Z0hBazdPZDk3YnNJcU9qLUdCb1dkQVJBU2hKb2ZtdkhCWTJxVGZJVGRvUFh2d1U5YkVJMXF0dGVQcHJKV2NWdGtLek41d0ZkZVJTVXhqZG1XQ3piN2lIUGdWaWFKMVVQX0VGdVNRWHY3Z1RBRUpqeUhRT0twRDQ0NWIzdTRNdm5MbGJOMDFSR2ZoUEJXeThSbzB5U05QOVcteG1QYXhiV1FaT0FydXNuamZ1X05qaHp6Ry1oSW9vRmlYejZXakFhZkU4dEN4dE9IUE44ZDBBY2JoZ0NrUVBkcVJoZXJpeEttR2tuSTluM1FrbDR4dmNUSEE4N1NydzltdjNWQlRoeGJkVWR2bDdrTEZQZ1JLVlkzQy1iQnlHTEVqMDgwbDJwV1hpOFJ1RFNQbks0SnpsczF2VC0zaVVFYkhzdXZQZnJPdElyRjhEOWQyb0lEQU80MHMyX0ljU1N5X1lqaGR2Qk8xSzZOTlBPWnkwNDU3d0VMUEhjMmtsM0E5OWlzcF82al8wRGN0MXRabDJBTGRHUS1fYnBXaHU5M2NHXzN2ZTVRZ01Eb2RYYVQuSGFBclljeEt6NVVKLU5KNFR1eDRYdHFrVUZWb21mLS1lbjVHQ2p6dmlFOA"}' - headers: - cache-control: no-cache - content-length: '6834' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:06:23 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret-name29db19b3/backup?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name29db19b3?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name29db19b3","deletedDate":1613671584,"scheduledPurgeDate":1621447584,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name29db19b3/322f495bb079425db55680061d0d3a85","attributes":{"enabled":true,"created":1613671583,"updated":1613671583,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '399' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:06:23 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret-name29db19b3?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name29db19b3?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name29db19b3"}}' - headers: - cache-control: no-cache - content-length: '103' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:06:23 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret-name29db19b3?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name29db19b3?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name29db19b3"}}' - headers: - cache-control: no-cache - content-length: '103' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:06:25 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret-name29db19b3?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name29db19b3?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name29db19b3"}}' - headers: - cache-control: no-cache - content-length: '103' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:06:27 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret-name29db19b3?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name29db19b3?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name29db19b3"}}' - headers: - cache-control: no-cache - content-length: '103' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:06:29 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret-name29db19b3?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name29db19b3?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name29db19b3"}}' - headers: - cache-control: no-cache - content-length: '103' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:06:32 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret-name29db19b3?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name29db19b3?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name29db19b3","deletedDate":1613671584,"scheduledPurgeDate":1621447584,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name29db19b3/322f495bb079425db55680061d0d3a85","attributes":{"enabled":true,"created":1613671583,"updated":1613671583,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '399' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:06:34 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret-name29db19b3?api-version=7.1 -- request: - body: null - headers: - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name29db19b3?api-version=7.1 - response: - body: - string: '' - headers: - cache-control: no-cache - date: Thu, 18 Feb 2021 18:06:34 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 204 - message: No Content - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret-name29db19b3?api-version=7.1 -- request: - body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAucHp5U0R0UlMwVUgzQjVuRkxXTWRTUVFmZzhfVm00RHA4cWJ4MHRqOG1YY1h2VkI0OV9aNllUQ1c2MHY3YTRQQS1OWDVCMmFHbjBSenNieEw2S2FsRHdWbE5nVkFvLWVQNW9kODVsLTd1NnUycnhRRGVldGNpSWFfb0V6cnQ2Tm9qUGpvSWZ1U2I0OEZqWXJobGRpOHNqeDBjMWRZaWRGekN1cXRqUVVFQjQwMkcteE5GMm1rUjk3QU4wMEZDZDFscEpoOW5VRmJROURkMUJLWDl3dTlHY3k2V0Zpc1BKUnJLVlp6eWlCVEFydVVSSFhESThJWDlkbzk3UVo4X1NUSnZYekpKQ2FBQ1ZIYl93N21NU1otYS1iYjRabHUyVnRVVkt2X1VZbGRLZlNCdEI4d1p2M0dXekQteWJodlp0eV83aUI1My1TQ0NkS2lDWnZGQjlVZ2NRLjZOY1Y3dU45Rk9wS1FNTExmSEt0S1EuRWNfUUlaTmZONFFYM0tJbURBeEk0WFRCWmdGYk5KTFVjdmdMcEhUQXY2aXZaczVJc3lWZDBRQlBsZzZoUk5Ma0lzNllTT2hORDJfTnp2RXhRbEJyb0xNWWJiRTdobnMzYk5nMlM5SmdDTXFLbXozd3dURlpjSUhFZThVYXhXYnMwZkxaV01VUGE3b0YyelVLZnd2NlNDalY1VVUwZzZPdWxSV0VRMkRySGJILWt4eGNyVWU2aElJOE5nUEY4Q2FRdXdTUlFtQ19TT3g5OUFfdElmSkI3V3kxcEQ4amU3TzRWZGh1YzVWc1YyWUhuVExobl9tMXVPQU5Gdm1fZ3hwMjF5VWNVMUVoUG0tYXJYMWtwOWxrWW1OaHdpU1lLekhVcHBYTWpoZHBDUExXVVlYOVczRmVTN3ZpNFhGNmI3a2tUSjRQamc4czU4dzNjZDhIUjkxMXVEN29TblpqbXVzUHVieVNvdEE1Um5rRDRHYkdZdmJueG16THI0NDNnQnZsZEMxenlZU3pDa2JxVE03cVM0ZXNDVlVkc3RrT3otZ05RYmVKcHNBQ0s2cmdVemd3alh6YXJQUGxob2dTZGxjU093RnZMd1N2NlNwRjcwRW82cVA1NjlPN2JpUThhajBRTUNOc2hKc2p3WWFtVlloeTd0Qk91ZXNBV1BJc1M1ZnI4SHdiLTRWN2o3ekZqbkhzY1h5S1pZM3cyaEVjRUN4RWZhU0RDQ1FUb3BrTFotbFJTR3Frc3Y4cVVnbUtxcG43YVE2cDBQSG5vcWRwTDR5UTUzU3M2djR6QmVhOTZfYVE5R3VySk1ESk5NMm5iVWNDeDItSWRKeWRKMXdTZ2dXbkFOUVlMM1MwUWc0STFlTFA3ZTY3SU9sWnZBaFhmZEp4T3BqbXZyLXBBNEc1ZHhDV2pYZG5JTUd1Sk1pRnRqOXY1UFlmLVdDU0F0R3o0MHZwU195UXp1RGtMNGZ2TTExOEpfY3Bjak9zeWw2Rm9YM1VpN0R0STdzNVlFWXFFSGdrcHRSV0U1N2xPM2hsaTZaaHR5eVc2Rmh5YWtYb1JGMVZybkx5VmNmdm9Oay1qVEhaNkNFRWxzOUZhUXk2NDQ2YWFmM2Y3ZnRqQ3UyTGpUSjUyNHZuY3B6Qk55VWhqcXpCLUh4aWZNWjE4WUZYSE9jUE5nTzNWWlZRN1g0YlFrMF9BTVFUWXFPcXRZcHZsVjFkSTY2WFJDMGtWYWF2eGx6Z3dDSGpGQjEya1lTM2kybkpIRlRoSl9ic3ZuaHROZHQ2czJQTU9ma3U4MVBCUDNpRFAwVXAwMlhnRlNMTWVwWlMzR0hHak1pWVpDeUtDUGFQY0lKNXJjTVZ1QmlpSFlaeWZ6UDZfUzZhbEF5U2Q4TXZ5NFpZQXNpMGhXV3JuR2YyMjBfNUpwTmp6alpTMDFDUmREcFlMQXVXR3gzNFNHQVBtdW9YS3hXTkxwZTBXcEI4OU9VM3dmYXhRa0U0WTNSUHRIZE5BMmhPb2g2QjEwajFZNFhoallheVJJeU00VWcxUHZqeDByQXdRX242aGRYWldFTndTN0I4eDJNeFE4eGE5Sks1Nm1EWGRaRXpPc2lHQVAxVWlCYm9IZlV1WFNRbVhQN1Exd0Q4RFdPcW16RlFnTjB0bm05SUlJUlBCdTRSS2JiSjFON2I3LTRYTTV2SXl3UC1fQU5qdmxPb1VKZUNLcFFaVXV6Uk9jVmxmQ2NXU00wV0hHQ3NHYWlWWERlcTVIRTFLMXIzWEJ2Vkl4SS1rczV6ckZVYS1kQVhXLVRIM3M3R0xaUWNVZ0hYMGoxS3ZYX2stbWdtUlZMS0Z2LXUtX0VFNUpiX1Y1ZGZUTGh5d1RNeEprTEVsUzV1V3ZuWnVGbUpxbmFFbVJHSlRLN3lUQzBnY0hFQnMtQl9lNDFtRkQ1OGh1amU5NFpYbGhxWGlia1lBMEIybkVYdE90UC04bllneDJra0FGbnhuXzQtQzVBSFJDVllnVEpsbE14SVdRUmpUWEppSnRVR1M3VFZYbG5ZSmJHZ0w3QjJuMUZfWVF6bjBMUDVWdFYwUHNKcWFRQkFMRTgxR0VYeHJfRnMxQ21DQkE0cW9aaXZjUldOZm53ZDRmaGUtWUNELVVzaTNJdTZQeXJMNFh5QjFka2hxSExvaWdLRzRLM3pzdGxLai0tYlQwaUF3azNpMWpCQllFbVBnWFh2emdFUXlORmpkYTQ1YkR5S2RzcG5jbWFUdEo2RjNhekdKeERMRWVPSGdCaG5aWHFLVGlBUUZBbjBGMk4zNlpZT2MwYXdraEozR0ROVlNURkNHY0JOaVZoQ1dlWGpqUlNsbUZPNWZvSFdUV3hOd3VyRmRfUWo5b1IzMkVSLThZYWNyeXVrVF84V2FpZ0RPcXU5RHg1dXBGeDFPNEQwMW92d1ZuRi14eEE2b2tfb05QTWRCeWFXRWJfUm9FRHlhVHFuRzRaNEhXaER1VVYxWEt2SGFqUktlTnFZZUdXcHJRNGExS0hEMlFxVDJBNFBOeUdJd21SZ0lzRHg0YWZSZkQyc2V1bUlZOUUzQjdZZ0gzbXYtNHJ6TE44ZEhhNHRmZ3NiaXhBWjI2TWxJNUVEUTN3NHg5VUREOS1WU3JxaG5SOGJDVWQ5YW9fTXEzdW40XzNnUXpRNUpLa2cteGlySHVRZXpUbDNwaWlocXJXS0xqNGh0Z3RXQTlLUG5mcW9QLWMzTHRXemVSaDcwR3QyR0lNdlJTNW5IVW1HMG1UREFWaHFrSEhreUZodUM5SkdEX0VHZnZVbVplSzJ2aG9wTGN6a09kSjVJQkhBY1VldUtiTW9IZ0NFcS1JUmN1cWJ3ZUl0TlBQNnQtVllWcW9kbC1GdnBncC13aUFlbGZUVkZlMXBGVEplZ2RGTlNoZTdwOWVhV2VIS0RkOGhIanpsQzFQUFducnBVZ0U5REVNc3NNODlFbHRkOTZEeGRsMDk0ZzVaYl9LMVRRNlVIdzlsQk1wUDFMTVhHTDhmV1NoU1YzRWRaRGtwVmR0NUZ3dXkzZ3VZb2h2RXhCMHhVVVJRbm1BeDB1Z2pPWTYyWmRjTWJrOS14d29sRFBHQ1k1NEFzbjZ0SGVjQWM4aXh6QW5zdlZLVnJud0N4M3lDc1psem5yemczbDFqc05OZk1lV2tvU3RUVE0yemQzNmxINGVQbWNOWmxwYjczMnFBd1dlQi04X1E4ZU45UnRGanZSODhoRmRqcGNRVEk4ajB1dVVmZlBONmhzUTlBdnZFT0doaXZXZF9mMk1kS3A0d0wyY1dVZ0tMSWNLT0ZMc3YwU2RxM2RfaS1WNTV0TnlBUEZIXzRadklSU0VDU3AxQUJma2JFVFZTenlGNENFLWl0VG9UWElCYnlxOHR3V1hIM2k0ZG1IYmN4Y1NsbTBzMU1SVDVfeDJyR1huVll3amE4OHd1UC1uWlpIbkE2OG9fTUxULThNcnZuQ0doLVhJc0NYLUdrdy1IQ2RTY2RUbHJJVElFcjZJRzNhcVpNdFlzaWpveW03ZnRqZkpmSFBHR1dUMGRIcGh4bGthRDNUNlNWdVlmN1FnNzNfUTFicXNQRHJjV2tVZXpCODNtdU0wU2MwLTVHc0k4aEVMNVlfakxwenNNRjZQaEhkd2NFckZZc2I0bDhwcVJyTDFMeE5yTVRpQ1NDYnhzOXEwc0pYYVdKZnI0QkRCekpxQlM0anBaSGlFYkdkcXJ1S2J3Uk5CM1Frc0sxd1RxTlYwd1JmbURDaWdFaWhBS2g5cWZ5S0k4NkVJQXR3WXVISlBzQVpZZEJweFpKdFBCQ2lNZ3dvUkRjN282RXVfZEF3TzV5eG9MRXRQcVRhaGs5UFRQcUsyZThHcENUUXZYazJWNEZkQWY0THFXWG9GRllJaHBSYjhVX3dzRWFzaHFjN3ZOd2Yxb0VYUWdMNDN3WkVGamE2bi1OV3JMUHNXU2xjUlZ2eEpKQUpRYm9HUmVnaWc3X2Zzc3FWR3E1VkF2c0FjNjBIaUk2M3p2cDlDYm84VzZ1eTFGM1NsWWItTWJ1WmF6MEpzZERKNnVpRHFIRl82a3RWTjhKUC15VlRWYTA4SThLTjdPM3ZMdmc0RTJtem1MdGlfSmhCVllBamw5Q0kwSGdGbFB5MEItVWpkaXZMdDEzTENob3FlcjVPN2doWHY2VnV0VTk4R25Hd0NvRWY5SHhDMGEtRWppZnVsZWhjOUpCYjJzY0c3QWpyRl9xMVNJWUpzcWZTTHhwQTNuQVl3c1FZc3ZqMzdfRWh1MEhEYWZMSUtpdkg5dGdyTFZuWEgxODZBQVpNX1BRczQ1dmZqVkZXUktaR3BrTVZLS3daemxQdUEtWWc5TzRfTFF4eGUxcExScGtrQ2tKbW9ld0lXYjlHSkRGdFgxYTR6TVZYaGVRYTVEU1VmMmxGNERZRGh5TzU5QmNNQVo4WlNzcjJBMzBvTW9wOVF4TXFYY0RtVW5mVVQ2dmxTbFlqOU52b25tMnpHc2pQWElDY1puTlctbXg4UndHRzNwVGFhRzY3NnlYRURRN3JqMEdrZmFGNXg0YWRJZmVONVEwYkR0VTUyblVOVVJ4VGU5SW5rMExIZ3hKQXJKSGZhZ3hJeUVFMnJPZnNHdzZLdmgtUGJwZzdnbXZ5ZXhMSTdJazVmQlo5Y3puN2RVNHZUOGthTmZjX3VlLXI2NXdNRjJ6bm1tUkpIMExCYmlJQWZjWUYyWVp2Y29uN2tISWVWd2dFT2U0UDJ1ZXdYeGhRQUZPcmRjdkZjYzRSeWZ1NUEwMjFxVGp0YU5ZTzZORlMwSzV1dFJfTHBMejlzeVE4c1JfUjRrelFWYTJkRmxIb2xGdEJ6bXpXUzB1Yy0wSHVsTnk2MUVXNEtWNHNPWXE0Z1Bta3BWMG9VXzJzS2dsQnRsUTRlbXkxME5tNzZ5SHFKYnNLTF91aHV1ZDQ3eHRnQ1NPc2lyQnlVTWk3V1FLS0pRU01TQV81ZzJQQldQS242YkhLejZTeEp3VXM2YVA0dGNWMGVBNUttUkhHaUFScUM3ZFZ5TVA0SXZLMTltc1NFU0N6RUc4a3pxRU5GX1JVT3RYZ1U1TDJyX1ZHYXdwN0RwRzR6LXRSRElDUGt4aU9DNUZCX0JUZ1BKS096YXF1TWdnX05yRFo5THlPSlF6dWFRSllEYzVpb1JXZ0pTaUZUQVVZVmItNHpqUUwyWXVFNlVJLWNoeGVvOHFWRVZuakFYalZWVGZMWTRKZHhmSXJOclhzN1dpNkNoektzU1hWYWhNV2JMd2pFZ2lDeVFXZVYtMVB3S0dDLWN6b2k1c3B1M09VTWpqUXg2bUVxZDNGaEc3eGxwaTRjakhveFp5U0xqQ3NHdGVQMnBHTWJyX1ZzSjQ5ZGdMSVN4am5QdnRYSXp5NFRZMURIVW54N2w1WFZwM0RrWmZqZHFJcTJRV0dQOGxqOGNwaEo3QlozLVRxSklEcW13clhrUGJqWWJ0N1ZVaGp2Z0hBazdPZDk3YnNJcU9qLUdCb1dkQVJBU2hKb2ZtdkhCWTJxVGZJVGRvUFh2d1U5YkVJMXF0dGVQcHJKV2NWdGtLek41d0ZkZVJTVXhqZG1XQ3piN2lIUGdWaWFKMVVQX0VGdVNRWHY3Z1RBRUpqeUhRT0twRDQ0NWIzdTRNdm5MbGJOMDFSR2ZoUEJXeThSbzB5U05QOVcteG1QYXhiV1FaT0FydXNuamZ1X05qaHp6Ry1oSW9vRmlYejZXakFhZkU4dEN4dE9IUE44ZDBBY2JoZ0NrUVBkcVJoZXJpeEttR2tuSTluM1FrbDR4dmNUSEE4N1NydzltdjNWQlRoeGJkVWR2bDdrTEZQZ1JLVlkzQy1iQnlHTEVqMDgwbDJwV1hpOFJ1RFNQbks0SnpsczF2VC0zaVVFYkhzdXZQZnJPdElyRjhEOWQyb0lEQU80MHMyX0ljU1N5X1lqaGR2Qk8xSzZOTlBPWnkwNDU3d0VMUEhjMmtsM0E5OWlzcF82al8wRGN0MXRabDJBTGRHUS1fYnBXaHU5M2NHXzN2ZTVRZ01Eb2RYYVQuSGFBclljeEt6NVVKLU5KNFR1eDRYdHFrVUZWb21mLS1lbjVHQ2p6dmlFOA"}' - headers: - Accept: - - application/json - Content-Length: - - '6835' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 - response: - body: - string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name29db19b3/322f495bb079425db55680061d0d3a85","attributes":{"enabled":true,"created":1613671583,"updated":1613671583,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '247' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:07:34 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/restore?api-version=7.1 -version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_backup_restore_2016_10_01.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_backup_restore_2016_10_01.yaml new file mode 100644 index 000000000000..71f0a59aa8b0 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_backup_restore_2016_10_01.yaml @@ -0,0 +1,696 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 +- request: + body: '{"value": "secret-value"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name54f31c5b/e81e5e0a4e7948339c29ad307106f728","attributes":{"enabled":true,"created":1618952915,"updated":1618952915,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '251' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name54f31c5b/backup?api-version=2016-10-01 + response: + body: + string: '{"value":"KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAudDZpQ01DbDFpZHpYUGt1OEN6T05wZXgtMGQ3Y1hacWk3UC03N1d1MU1oVWRnc3lIX1VrMVN6Z3JnUl8yT3NwTER6S1ZBTjhIUWpDMzR6Y3luTll0YV9VbFBQZU1aOVIyRE5RYVVpQTF0ek9wc3QyV3lkMG9vS1l5emVsQ1lJNDAyMGdYV19VbWxkQkNjYi1MOFhJYUt6ckpUZVE0ZkM4eGdHLXRqNTJqQUpwLUh0OXBGZDZlM1FjRlN5SDJES0xoM2pfcHlOTUc5bW5rY25NQ2lfamNWYmZDQVlSUmlZd2FiVXhkYnlnMnVmZ3FLOVZWdjlyUVdlQ1I0N2tHUU10UlY1WmFDbUFsUlJqY2lVOEFJcmRUUFpMTFN5Ml9DbnB6MExvVlFXT2Q2MFh6ZktmY2FPMERVSGFBemJiaV82Mk9PYjdnaDR3UlVlck1yZTh5T21ROUxBLmNwOHZyaU5ndWpYbnRMRlMtMnRTOVEueGIweWFhY2kzSjJRcV9QY1JhMFJRbXFqa2paUFlNYUxCSkhha3Y0WTRuRmlGb2M0TThvWWg2SnpZRU1od3o2Vkk3aW9DUXh0a1hxZEpDR3hGRUN0RVotVHNRWVYxRGthM0hTRzlPeXJxcmszMUxxSHZoZ3ZtaU1uWGdfcFVIazk5d0xfU1lZa2FSY1h0c0h2eklWdXhVeE9jT0VhY2tiUloxREowSnZuYWlJZjgtMDEwQ09fNDBnbmJyYWM2d1lUQlQxQ2syMzlWcU5iT3k1ZjlfMWtLNDVxaW9oLWk3SHp4UlJTandlYUJ1ck1UdU1qQXYzTmd5RUoxYWc5dHNVUGpNenN1NUlUMHZkbTdiaDl4TEMzRkpsMWF4T0dxcy1vOFR3QUlvZ2U0V3VKQlBsOF9hbEtvWjcxUHNuWU9xNjFwaXlKU3RmVmpJRTdpTVJYbkhSUUxONkNVamZ6N2cySmxuUXZGamkyZGsxdkozMXVmblB4aGZOTnRGN21rRVNGa2VBS0F3QncyUmFZUzR0RjJSSzRUZXdtaTlXVm9tUUJxNkwzLWlTa2pMdU1XbDdIUFE3WHZySVdsM0hpOFhmX2E5ZVJhQ244eWY3WS1Gb3lGcnVuLVRuZ1lZQWp3dmZyNnA1clljejZlNlN0eXQ2T1ZueVJiVy1rMWZna1NXVmZMNldhZEV1Y05oUVBHaGJOVEplSUQ2My1NbjNSLVNKeVpYOHYzNXdiZTZENVp4eGt0NC05eVdPTWtqcmNQUkpUcnNXN0QyWlpzTG9EY19yQzVOdFZLLWRzLXZ4QXhoaUZrbHBseldkX1RoYjJkQlRzZWcyWFhJTENTQTdDRlhXQTRSS1M3ekd6RHdTelQ3NDRrMUV2dVRJQWdRZDZ3cG5MTE5Yb0JjbzFyZkdzaXgzVkpKSUZodmhCcFJQRUY0b3gtcVhyTG5QaTB3UTgtbEJYanJ2Vzl1WFpUNjBFZEtHZGY1Vm1hcVhkSzc3eDEwa0ZRRWJqazVwUlk4cUVJV3B4VGJFTmZrZEd2ZXA5eDlhUEFmQ25vQm5PdEhEeXZlQXR6LW1pMmZUYk5RR2lzU0tZNjNGdUNTMGxIb25URmFxa3RpMmlQQ1RJd0JPdTYzNWN4N2ZLNUsweHR2cnBLcDN1SkZhbXZWWk12aW9yVXFqalZSc1hfQXp3Y2JlY1VBUkdyelZOeno3dDFUMXM2NUZPOGFrbmluRTNweVZHdjhuSWx2V1dwdjhGWklCYTNFRnVBbDVzWENsMUU5aDAtU3VJZzRUU0VPM0lab0ZnQVZBOGVkbDk1OUNqZUVaS21oQW45UFMtTzVFQTdrc2x3bzBleXdqM2JCUFUzSzhKRmFRRWFITFJjQWJhMkk4amVKNjl3ajFvVEo5Sk5FdVhyNkgwN3hla3JnQjlfMzlocWN5cFdGbmM5ai1McV9faWU5clpHbWhQcVhvUV9BTUdrTGEtVHNXNmJnd05qbG84dFR5RFE5Mmd6ZXFOdDlPajRKVlJpU0R6UTRwZXNjb0o5bGkzUlp2YVlrQjBuRGJ4QkQxcVhQZ01HemRVWW5zbHBFOG12TURlTkpSNEctcU1HUnY4MG4tU3diU0Y1S3dKaE9zRDNLZ0tzYjl1VDNRbzJfNzRsVThBSjU2RmYwRG9WZXZidWRtN2hzMGdEaHozVTBqb0I0WnZZVHZBcGlzRjBOaHZHS0hEVTlrNW9ocVVwdUJKb09rUVlDNGsyRDNuTDBVdlJHQ0JtWklNSW1weG5mLVBPRzZ6cHphTmMtdG5sZG9YSzRKbC02anF5bHdrYzF6Y250WjRTWmdJSkpZQ1hCYjliU3ZzZVRjZmNyU2pIb1paOTNfcTdCSV91cWhIYXZXbHRxc09PTlRjTFllNjF2OXRpTDRUUGpWcUd6dFRDNHlPQ3JxQnAzYkh4Tm42UFlGSnNPOEp5MXBVejVLbGRQbkN0Y3Y0bXRXd0xQdGl1aXJ4MzJCSk80Zk90bS1nTUpjQjNqUXcxLTlXemxJbnRlaC0xVzlrZ0JPR09iS3I3Y0hCcHNUZWFLa19FbllvNUxRV2tmMFVyT2wtT0FxczFpUVpGaERJUVI5aG0weWRqUUJIeURobzh1Mmo3bF9ZdHNSZVFEQmxCeGZBS193bW1vb0V5dmkwaXZLaEhmUG5Zb0ZaRW5SVnZoNHRHd2MtOWQ1bGFZdUVnM0dCMnNGMXNreGVnOEtnMVQxbUxoYWZBNzdPMEZRME5CV0ktcmZUaWhHSDZ1WWYxWkNVb2F2LVh6cjJjUlYwQzI2clRPZFFieFpZRzliVkNQVm44MGphSVhyLUItZ2VxSVNsTUhITEFlQmUxQWMxbkNWNTVuX2xvNUtlQkgyLXEwUjZQaWFZcXZTc29JRjRZLVdEZXdwbmdhTXJVMUEyTlJhV0dCVlJCU2duTEVlajRMdUwtMXcyRnFRSTBEaXl2MEduUHc4cGNZbWtQYVJDWndHTnd0emF6M3hpY0dsVmMyaXpBLWdHX1dpdnVjTHlHdlhNZHRyeWNINVhSOW5NMUtwUVdOQ3NUWDZCZ01HT1had0tiLTJwWGdHMm1uM1hSQ2NwYXdCb3FRRm1wLUg1OFY0cTlEQlFMYjBVVW1Sb1ZjYXZXVVZOMHJpakJHcmtRTklNRHBJM3VoNXZRNmtqRnZicEw3VzJ2WmdadzFTTExwRnJiM1dxY204cE9JYnk0cE5WekYtUzZKTFRYNHJQSk9RQktKTXEwb0FlRVpIZGM5b2xMOXRmUHV6eTJPSDZFQXp5Y3hkOXJ5cWRZS0h0WnZEZVhYRmpYblZ2LTRtQklIVklRM2JsUGxOb2FNSGZQdDRiRUcxWnRZVWVGWVZXTWtJZ3lpcHZoQ0xiUTJYcEI3OFBsNXhWXzRxUmFWTkpnS0VlOWZuQXZMWm5KNUZ0VzZLZjRQTVVEaVZOLVV2dlZGNk5XS0pETlBrcTRUaXpGN2JBVlZRZFN6eUo3Y0xqa0hPT1h2Z3ZVbThGaWVmSnp2TGRxakRVWTlQNGN4UENIdVRkSUJ2clFGNDRHQ292NUJLdU1qbDQ3TDJjX2FtTjhQZ2JKRE1zTzBhcUZYUnBrb2lHWWZxTWt5WVhMYmxtX1NpOUVyUWNHekh3WmtEY29KT1BJRTJYNFFtbXUyV3FHRVg1dDVRWnJ6VkkzRzItQVd2UDQ1OHZiazdzNnVfT0RLdEFZV1BDTXFqU3RXcmo4MGIzeEpndEVqdHpBUk5EaGhlVmFHUDg1eEg1a3F1bWNqSkVJLW96ak1icWs4bkxqbHhxbDdjWTlqSXYwT2U4anp2dl9KTU1iY3pUVkVRSkcxazZObHUwWUFpWU9QNHdwbE9kZjFMOFA2UFhQNWpBYkJSSmRkUEQ1cmRQMU5vZ2ZVM3cwV1luMmdtZU9MSW94SGJuYXBxdWV1MldxV3FHN1JMdDYzcU9aQy1lam15STNXUVJPcnRPQnFDSzU4M0JmU0lqdUo1cmJwbl9yMFVMeTRELTNjbUxXWW1jdnV6clEyVWljOUZNN0JsQTU4YkpWLXFETXRRblVZd2w1U2NKUVh3X1FxQUlMZ1l4NXJabmhtdnhMcFJqNndSeElrd0tiWnlNdnJ3eXh3M0tMcDdYemVWUm5kaWZ2c3JVY2pLSnFhYmRLR2pDQy1iODh6U2VkVVFzS0JCUGJnV2taRktzd3VZTUxPTzVOb2p2MnM0bEdQVkJJRjVwMjBWSnN2Y3FWTTFNcE5ma0JYVXRZMHZRRzFhZTVvSm00clRqOEl0SDBoZms0TjRyNTcxVjZIVWRNdkdhNWlMUS1KNF9ib2FCQnF5czZTSm9hRFkySXl0eWZTczdObml4TUZMaGZDb2pHRHNUTlptdDVfZ3BTLWhrbWl3N29aYTVYYjZPMFNtM2pvUEVjdzdYR3h5a0lBeWxCRTNtOTMwblFKenBPWDYzYmhwQXBUVHVUWGNfaUJ4ZlZYWkNIZmptbWs2dTdHOFlYY0J5VjNHRkMtSWJjU2hhLTVYMmZ5Q3hYMlZETjJZM0w3UUNZQm12My1ORFdOR3FwYXNtVjEtWVh3RkxGeFFKcXdaZkx0V2VJUmZ2czVhcmxDbVBMT0Npc0tDc25WZWtmNGIzTk9UYy1zT1FrazZmR3lVREhOMFp4SkluVWR0d2RBek5yZy1FQWlEYWRaSDFSNGtiTXppUmZxS1hKY3U0T0NxRG5uMDc4YW1LNDg3cVRJZDFMa0prY0wzOWprZk52QWY0ZVNYWldLTV90bmowbUJfNUNKWFpLbDJvT21qNF9iWWw0ejN4SjZNajd4UnQyaXJHMGMwejBjc3l6QWVBazBsN1F3aE9qclhOUzljeXc2SFNjX2c4TWtQRHE2WWRfSWZIY003d0VySVlZck56bURpOHBpS0kyMkRhRWdwR3hIWTg5bWhKc1dzOHhjazYwZDdNRXZEZHUxREtMd2w0WVRtY0RXQ0h5d20xTUpNMEljZldlVHZoODl2VmdRV2RkeTVWMm9BZExFTExIWklaYkhVc2p0UXBUeXBaQUk5RUFDREljUk5FNm03Rkd5VFV6T0FQR09FZFVhM2RXTENrNXMxQTY5azdJZUUwTzVtckR0a1VaUFNKQnJ2cTM0ZTBOdy5iaDNHTlFOWkJhLTJPcEd0VFZrN1hlVERKcGlVNWI1OFpXbGJUNHM2cjBn"}' + headers: + cache-control: no-cache + content-length: '5412' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name54f31c5b/backup?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b","deletedDate":1618952915,"scheduledPurgeDate":1626728915,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name54f31c5b/e81e5e0a4e7948339c29ad307106f728","attributes":{"enabled":true,"created":1618952915,"updated":1618952915,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '382' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name54f31c5b"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name54f31c5b"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:37 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name54f31c5b"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name54f31c5b"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:42 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name54f31c5b"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name54f31c5b"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name54f31c5b"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name54f31c5b"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name54f31c5b"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:52 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name54f31c5b"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name54f31c5b"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name54f31c5b"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:08:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name54f31c5b"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name54f31c5b"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name54f31c5b"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name54f31c5b"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b","deletedDate":1618952915,"scheduledPurgeDate":1626728915,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name54f31c5b/e81e5e0a4e7948339c29ad307106f728","attributes":{"enabled":true,"created":1618952915,"updated":1618952915,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '382' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 +- request: + body: null + headers: + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 + response: + body: + string: '' + headers: + cache-control: no-cache + date: Tue, 20 Apr 2021 21:09:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 204 + message: No Content + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name54f31c5b?api-version=2016-10-01 +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAudDZpQ01DbDFpZHpYUGt1OEN6T05wZXgtMGQ3Y1hacWk3UC03N1d1MU1oVWRnc3lIX1VrMVN6Z3JnUl8yT3NwTER6S1ZBTjhIUWpDMzR6Y3luTll0YV9VbFBQZU1aOVIyRE5RYVVpQTF0ek9wc3QyV3lkMG9vS1l5emVsQ1lJNDAyMGdYV19VbWxkQkNjYi1MOFhJYUt6ckpUZVE0ZkM4eGdHLXRqNTJqQUpwLUh0OXBGZDZlM1FjRlN5SDJES0xoM2pfcHlOTUc5bW5rY25NQ2lfamNWYmZDQVlSUmlZd2FiVXhkYnlnMnVmZ3FLOVZWdjlyUVdlQ1I0N2tHUU10UlY1WmFDbUFsUlJqY2lVOEFJcmRUUFpMTFN5Ml9DbnB6MExvVlFXT2Q2MFh6ZktmY2FPMERVSGFBemJiaV82Mk9PYjdnaDR3UlVlck1yZTh5T21ROUxBLmNwOHZyaU5ndWpYbnRMRlMtMnRTOVEueGIweWFhY2kzSjJRcV9QY1JhMFJRbXFqa2paUFlNYUxCSkhha3Y0WTRuRmlGb2M0TThvWWg2SnpZRU1od3o2Vkk3aW9DUXh0a1hxZEpDR3hGRUN0RVotVHNRWVYxRGthM0hTRzlPeXJxcmszMUxxSHZoZ3ZtaU1uWGdfcFVIazk5d0xfU1lZa2FSY1h0c0h2eklWdXhVeE9jT0VhY2tiUloxREowSnZuYWlJZjgtMDEwQ09fNDBnbmJyYWM2d1lUQlQxQ2syMzlWcU5iT3k1ZjlfMWtLNDVxaW9oLWk3SHp4UlJTandlYUJ1ck1UdU1qQXYzTmd5RUoxYWc5dHNVUGpNenN1NUlUMHZkbTdiaDl4TEMzRkpsMWF4T0dxcy1vOFR3QUlvZ2U0V3VKQlBsOF9hbEtvWjcxUHNuWU9xNjFwaXlKU3RmVmpJRTdpTVJYbkhSUUxONkNVamZ6N2cySmxuUXZGamkyZGsxdkozMXVmblB4aGZOTnRGN21rRVNGa2VBS0F3QncyUmFZUzR0RjJSSzRUZXdtaTlXVm9tUUJxNkwzLWlTa2pMdU1XbDdIUFE3WHZySVdsM0hpOFhmX2E5ZVJhQ244eWY3WS1Gb3lGcnVuLVRuZ1lZQWp3dmZyNnA1clljejZlNlN0eXQ2T1ZueVJiVy1rMWZna1NXVmZMNldhZEV1Y05oUVBHaGJOVEplSUQ2My1NbjNSLVNKeVpYOHYzNXdiZTZENVp4eGt0NC05eVdPTWtqcmNQUkpUcnNXN0QyWlpzTG9EY19yQzVOdFZLLWRzLXZ4QXhoaUZrbHBseldkX1RoYjJkQlRzZWcyWFhJTENTQTdDRlhXQTRSS1M3ekd6RHdTelQ3NDRrMUV2dVRJQWdRZDZ3cG5MTE5Yb0JjbzFyZkdzaXgzVkpKSUZodmhCcFJQRUY0b3gtcVhyTG5QaTB3UTgtbEJYanJ2Vzl1WFpUNjBFZEtHZGY1Vm1hcVhkSzc3eDEwa0ZRRWJqazVwUlk4cUVJV3B4VGJFTmZrZEd2ZXA5eDlhUEFmQ25vQm5PdEhEeXZlQXR6LW1pMmZUYk5RR2lzU0tZNjNGdUNTMGxIb25URmFxa3RpMmlQQ1RJd0JPdTYzNWN4N2ZLNUsweHR2cnBLcDN1SkZhbXZWWk12aW9yVXFqalZSc1hfQXp3Y2JlY1VBUkdyelZOeno3dDFUMXM2NUZPOGFrbmluRTNweVZHdjhuSWx2V1dwdjhGWklCYTNFRnVBbDVzWENsMUU5aDAtU3VJZzRUU0VPM0lab0ZnQVZBOGVkbDk1OUNqZUVaS21oQW45UFMtTzVFQTdrc2x3bzBleXdqM2JCUFUzSzhKRmFRRWFITFJjQWJhMkk4amVKNjl3ajFvVEo5Sk5FdVhyNkgwN3hla3JnQjlfMzlocWN5cFdGbmM5ai1McV9faWU5clpHbWhQcVhvUV9BTUdrTGEtVHNXNmJnd05qbG84dFR5RFE5Mmd6ZXFOdDlPajRKVlJpU0R6UTRwZXNjb0o5bGkzUlp2YVlrQjBuRGJ4QkQxcVhQZ01HemRVWW5zbHBFOG12TURlTkpSNEctcU1HUnY4MG4tU3diU0Y1S3dKaE9zRDNLZ0tzYjl1VDNRbzJfNzRsVThBSjU2RmYwRG9WZXZidWRtN2hzMGdEaHozVTBqb0I0WnZZVHZBcGlzRjBOaHZHS0hEVTlrNW9ocVVwdUJKb09rUVlDNGsyRDNuTDBVdlJHQ0JtWklNSW1weG5mLVBPRzZ6cHphTmMtdG5sZG9YSzRKbC02anF5bHdrYzF6Y250WjRTWmdJSkpZQ1hCYjliU3ZzZVRjZmNyU2pIb1paOTNfcTdCSV91cWhIYXZXbHRxc09PTlRjTFllNjF2OXRpTDRUUGpWcUd6dFRDNHlPQ3JxQnAzYkh4Tm42UFlGSnNPOEp5MXBVejVLbGRQbkN0Y3Y0bXRXd0xQdGl1aXJ4MzJCSk80Zk90bS1nTUpjQjNqUXcxLTlXemxJbnRlaC0xVzlrZ0JPR09iS3I3Y0hCcHNUZWFLa19FbllvNUxRV2tmMFVyT2wtT0FxczFpUVpGaERJUVI5aG0weWRqUUJIeURobzh1Mmo3bF9ZdHNSZVFEQmxCeGZBS193bW1vb0V5dmkwaXZLaEhmUG5Zb0ZaRW5SVnZoNHRHd2MtOWQ1bGFZdUVnM0dCMnNGMXNreGVnOEtnMVQxbUxoYWZBNzdPMEZRME5CV0ktcmZUaWhHSDZ1WWYxWkNVb2F2LVh6cjJjUlYwQzI2clRPZFFieFpZRzliVkNQVm44MGphSVhyLUItZ2VxSVNsTUhITEFlQmUxQWMxbkNWNTVuX2xvNUtlQkgyLXEwUjZQaWFZcXZTc29JRjRZLVdEZXdwbmdhTXJVMUEyTlJhV0dCVlJCU2duTEVlajRMdUwtMXcyRnFRSTBEaXl2MEduUHc4cGNZbWtQYVJDWndHTnd0emF6M3hpY0dsVmMyaXpBLWdHX1dpdnVjTHlHdlhNZHRyeWNINVhSOW5NMUtwUVdOQ3NUWDZCZ01HT1had0tiLTJwWGdHMm1uM1hSQ2NwYXdCb3FRRm1wLUg1OFY0cTlEQlFMYjBVVW1Sb1ZjYXZXVVZOMHJpakJHcmtRTklNRHBJM3VoNXZRNmtqRnZicEw3VzJ2WmdadzFTTExwRnJiM1dxY204cE9JYnk0cE5WekYtUzZKTFRYNHJQSk9RQktKTXEwb0FlRVpIZGM5b2xMOXRmUHV6eTJPSDZFQXp5Y3hkOXJ5cWRZS0h0WnZEZVhYRmpYblZ2LTRtQklIVklRM2JsUGxOb2FNSGZQdDRiRUcxWnRZVWVGWVZXTWtJZ3lpcHZoQ0xiUTJYcEI3OFBsNXhWXzRxUmFWTkpnS0VlOWZuQXZMWm5KNUZ0VzZLZjRQTVVEaVZOLVV2dlZGNk5XS0pETlBrcTRUaXpGN2JBVlZRZFN6eUo3Y0xqa0hPT1h2Z3ZVbThGaWVmSnp2TGRxakRVWTlQNGN4UENIdVRkSUJ2clFGNDRHQ292NUJLdU1qbDQ3TDJjX2FtTjhQZ2JKRE1zTzBhcUZYUnBrb2lHWWZxTWt5WVhMYmxtX1NpOUVyUWNHekh3WmtEY29KT1BJRTJYNFFtbXUyV3FHRVg1dDVRWnJ6VkkzRzItQVd2UDQ1OHZiazdzNnVfT0RLdEFZV1BDTXFqU3RXcmo4MGIzeEpndEVqdHpBUk5EaGhlVmFHUDg1eEg1a3F1bWNqSkVJLW96ak1icWs4bkxqbHhxbDdjWTlqSXYwT2U4anp2dl9KTU1iY3pUVkVRSkcxazZObHUwWUFpWU9QNHdwbE9kZjFMOFA2UFhQNWpBYkJSSmRkUEQ1cmRQMU5vZ2ZVM3cwV1luMmdtZU9MSW94SGJuYXBxdWV1MldxV3FHN1JMdDYzcU9aQy1lam15STNXUVJPcnRPQnFDSzU4M0JmU0lqdUo1cmJwbl9yMFVMeTRELTNjbUxXWW1jdnV6clEyVWljOUZNN0JsQTU4YkpWLXFETXRRblVZd2w1U2NKUVh3X1FxQUlMZ1l4NXJabmhtdnhMcFJqNndSeElrd0tiWnlNdnJ3eXh3M0tMcDdYemVWUm5kaWZ2c3JVY2pLSnFhYmRLR2pDQy1iODh6U2VkVVFzS0JCUGJnV2taRktzd3VZTUxPTzVOb2p2MnM0bEdQVkJJRjVwMjBWSnN2Y3FWTTFNcE5ma0JYVXRZMHZRRzFhZTVvSm00clRqOEl0SDBoZms0TjRyNTcxVjZIVWRNdkdhNWlMUS1KNF9ib2FCQnF5czZTSm9hRFkySXl0eWZTczdObml4TUZMaGZDb2pHRHNUTlptdDVfZ3BTLWhrbWl3N29aYTVYYjZPMFNtM2pvUEVjdzdYR3h5a0lBeWxCRTNtOTMwblFKenBPWDYzYmhwQXBUVHVUWGNfaUJ4ZlZYWkNIZmptbWs2dTdHOFlYY0J5VjNHRkMtSWJjU2hhLTVYMmZ5Q3hYMlZETjJZM0w3UUNZQm12My1ORFdOR3FwYXNtVjEtWVh3RkxGeFFKcXdaZkx0V2VJUmZ2czVhcmxDbVBMT0Npc0tDc25WZWtmNGIzTk9UYy1zT1FrazZmR3lVREhOMFp4SkluVWR0d2RBek5yZy1FQWlEYWRaSDFSNGtiTXppUmZxS1hKY3U0T0NxRG5uMDc4YW1LNDg3cVRJZDFMa0prY0wzOWprZk52QWY0ZVNYWldLTV90bmowbUJfNUNKWFpLbDJvT21qNF9iWWw0ejN4SjZNajd4UnQyaXJHMGMwejBjc3l6QWVBazBsN1F3aE9qclhOUzljeXc2SFNjX2c4TWtQRHE2WWRfSWZIY003d0VySVlZck56bURpOHBpS0kyMkRhRWdwR3hIWTg5bWhKc1dzOHhjazYwZDdNRXZEZHUxREtMd2w0WVRtY0RXQ0h5d20xTUpNMEljZldlVHZoODl2VmdRV2RkeTVWMm9BZExFTExIWklaYkhVc2p0UXBUeXBaQUk5RUFDREljUk5FNm03Rkd5VFV6T0FQR09FZFVhM2RXTENrNXMxQTY5azdJZUUwTzVtckR0a1VaUFNKQnJ2cTM0ZTBOdy5iaDNHTlFOWkJhLTJPcEd0VFZrN1hlVERKcGlVNWI1OFpXbGJUNHM2cjBn"}' + headers: + Accept: + - application/json + Content-Length: + - '5413' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=2016-10-01 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name54f31c5b/e81e5e0a4e7948339c29ad307106f728","attributes":{"enabled":true,"created":1618952915,"updated":1618952915,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '228' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:10:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/restore?api-version=2016-10-01 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_backup_restore_7_0.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_backup_restore_7_0.yaml new file mode 100644 index 000000000000..4cbc9329a905 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_backup_restore_7_0.yaml @@ -0,0 +1,516 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b61ad8?api-version=7.0 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:10:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name93b61ad8?api-version=7.0 +- request: + body: '{"value": "secret-value"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b61ad8?api-version=7.0 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b61ad8/8272b35b3cfa4b1c83dbfcca152e733a","attributes":{"enabled":true,"created":1618953011,"updated":1618953011,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '251' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:10:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name93b61ad8?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b61ad8/backup?api-version=7.0 + response: + body: + string: '{"value":"KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuRVFldFRaSEw2WE41bElFNWtDUXNsQUVaZGFadWs2SXp0LUVZbFFfcW1yMnhMS1VwbnEwaG5oOXRTaTFRZW4xTDY1ZldtWmpRMm5YZHpmUVp4OWU0dG9ULWtMSGlOZS1BZGczUlFxWjdPQ0Rab1J4eDBxYXNFQzZkRVQtS3N5NzBFYThsVTFvTmxyWE1mQUI3R3N5djB6Rk5XdFV1UU5VLUdVcEJIeWV0dmtNSTNBSGZGVF9MTUFEMFA0MzZCcFptQWl5S0I1al85R0xHVEU1NF9meEhWdFVpaE5xeTFtdzhzZ2dtaEI5S0dscGJyYU1lOFFtT0RzT0NBMDQxQXNfRjhoNEpxdjJjYXIwSy1JN1FDT25seEhLVmNUdDh3dWhNekktczJucWVMM0FOb0RoVmJuUG1QeVFiM1piVExHSUJscHZvNFprblVHV3VuTG9hSmk3V0VBLkFXaWdXWVVVSUhJTmhZMG5Rck84ZHcud2kyZ3hLSnk4REpaTFBoYldUSnlDelQ2VDEtWE1kSF9TZmV6NUxuc29yQWJhdVhVMUtTa3BkUU5ScElQSllmM0pIcGxTaUFpaTRHZ3ctcExJX2lKUHRXa2h5VURGVTBrVEtUNE9weEhIbmZNNkxqeHkwS2h2Skk3bEotZ2hiZnQtUW1zTXZjMkJURkVEU3IybmswQnJkVVl1eTdfdnZSTjBCc25mVG1JRGprRnQ0WHBPTHVHV0Z0d0VKRDJXaklxS01UREwxME1XVm1DakhndDlMYzZQWnFGaW1TbldUbFlyZnc4dER5LXZoZ0pTRnVSUVZYZHdvLVRqUWFfbGRhU1dKb3c2LXVuWHlLVl9sNWZIeFU4cHdoSFNJb0JaUU1na1ZoNHRoNXVzY1B2Z19mYTZkcU9WaHlYSWcydkRTeUlqUGh1cTlBc1FqMW5NS2c2OHpNWUptVjN6X0JKdlAxUFNRZEVBakFTZ25VVGllNXhjcVpQY3pOem1QbzdnbkdBRlZac25YNTJwUHkyd3c3LVpMNWZBSmJZSmV5S0h0LU1MS0Jzb0dEQWs2WjRIVUJIa3hlY2ZFSlNOdFAyRzgwYzl2cjVaZWtFZTByWEZFdWUyUDBqTTB3OTJNWFRBdEpSWUdKdXZORERUQjNUakNyc0xCa2ZIeHJtN3BqeUdKVUxUYkJqa2xFTTFGMi1NUTRWSDRoNGRCUEhfVmpkSkJmYXpDelQ5YkkzUGNzWE9BT3R1RkV1LTZ3OFFwVWFtM0ZWQTcxcU53OUJreEl6OWNzZEluMW42T1FpNE9BaVV4YkVJNVdsLUQtdTBsVDVQTlExeHFsODgwcUdjd2JwSFo5YVh4Vi10MWFka2JUU0k5RktGdVZidWhPSWZfWks5cnM1akNaVTJmbjB1NTRiVkc4c0FheUVlVWRoNHMxZE00Xzd1RVJqNklwTUpET2x5dW9aYzdIRDh5NmxWVzM0ZnA5U3hJdnIzWmd5OTdya292TG00TGd0TWxUemR1cDFkN0NETC1GcWxZd3c1d0dPM3FNZ3ExdFBhTUtMUTJJQmZCamxKLVhncHk1R2Y1Mldlal9nbndNUUhKeENlbHljUHd1aHpsR2tqYkY3QUJwSmx2aE9EakZzcUV5RnhkU1JRQzRqNnZrVG1SNW9TekR0T3hkOFR1U1BPbGQwa01MbHlkeTFnTkJwbURQSk9kMkpyVXhkV0V1Q0FRZnFHSDhmR0hRa0ZtOTZ1cmVCeFV1dVFJOTh6RmxWYW9IeXRqV01valktTGRHVktnUWR2NkNhX19vTl9mYVdSS1JFb2Z4U1FPeTlXWXdUbHZtaWl1VDliU0xRemEzTFBRaXRUSVZxVWFUd3pDWWhCUGFVU1Z3WTBIUFdoLV8zNzRuSmR4dExWckc2RHhXUV9SQUIzRW1VQVY3REVZc0R5WVlaMjcyMHpEYU9jSjhQYWprTXlrd2xua2FVTzcxbTM5MHRIeTJGUVBCNThMQ2F5NlNrS0NPeXpUa1BqanhWNEdUNDdwSW1CODk3dGNJQmpYNm85aTZEZEMyb1hDYVNqSkNkZ3VCX3p1aVhmWjZFZnBibFRFeFBVMzljNG8yd0tQZEhOWlJGWHgzSG1iRV8wM1B5YVE5cGkxNmdWMW4yR1JIa3Y3QXl0aFg5aVpVYVNha0REa2h6SGxkU2JienQwbGdMUUpaYUo3R1ZfT1IydTd4WXVOTUNWN1ZwTkY2SEdtTHZnOHdDZlQ0cVpwZDM5cmFzb3dHT29zb25xNzcxQVhCbWxmRjRlYnJnTTF1TUlwdkhVQW9Na1h0TmowZXNIWE5QU3o1bmNldkdjRVd1LWN2ZWVIRFJackI3S3BZNG1xemZ6YUVYckltenpqZXRkc3N1Zi1iLU1lTGFNMVFIM1NVU0N2bDJGSFZoTW9TXy1BVDdPN1BJOE83QlBmeUJSeTQxeGRsNUl5ZVc5eExvLTdLZUdDS3VIWFJkWkhURmVYeGpGT3dscUpUUm03RHg2aExFVnJPd3RiOXAxSkVyaVFGMUpwNVJlRmdwSjdlM01qbG9UdGFNRWcxZlBoMFhPWkVrQV8yTUQtZDNFWGZKamlaWkFGVUJpUzEwa0p6N24yN3h5dkNTa1Zmc3ZmZFdvWkdZQjhVTVdJVVhOUVBCaUhMUVNVUUtpYzMySzlRQ3hhRVRId0wzdXk4ZTFMZ3BTN2o2NWxkRDJPZm1DUC04VFlTQVBBUjV6UTZZWmFuVTZFdG5YbmdFNVB2Q1RNTlFkaHNrV0JkcnFiOHotSHdvS1VGQ003ZlZlZnp4SE9ZQmNVRVptQVByUEFQYmh4RnZNZUpLbE5LbTVEU18ycG9ELTluZjNLVnc4eTVhWThEcEZ4T0dHQW9RRnVQMmRqVUZoRnIzaFdJZ1l2dDg0QmRZQ2Z6bjZudXZZdDBWQzBwd1JtSUpWcVluYll6a2ROcEsyaUVnVm9SamVrWmVJbEc2TjI1TEI3RjFrMG9NYXpINUw4cWxFcDhlejc3YTlvbVh6R3VZR1F2VS1GQTZKY0pkdnhHcXBzT0U4MW91YklKRzQyM0h2WHlZSHhTcThXaDlKVnM5azd5dE1oMkFfTXF3RUJKcHE3TXJETERKWG4wZS1FZXhIaS1iU1JZQzFtTmZUcjJ1enJhT1lNNG8wMDBOLVd1VlROb1ZEWVV0RWZxTU5STEdsSXE5XzQ4SC0zSXVibXhoeTRWX0piT2xPWVZ1MEpaVVhXNE5Gem9VdDRLZ3lyLU9sd0tmZmNjYVlPZzM3WnVwQTY2WHNBdXR3UVA4eHpuTHZMbHY0UVZ0SzBVUmdCVUJVUTJyQW5DTXM4UVBJMUsyUVpEU2puZ3VqWWlEUkM0eXRmLTRmWnJjckloRlpSMFhSX21IS3dZMFNNY2V4dklLYXRJaXVDMWpScndWVVJfZDdTRzNUcUNCWUM1T2R2TWlIdTVVZ18wZE9abERINFJ4cjFETmx6QWFSZVJsU3lDLXc3ejc2ZVk3amJVdGtmYnJDTUYzcHpiOTNraTI2NUpjMnp4MkFsMkhIbzhkSlVaUUpoano3Uk53RmEtRUtncElmbXhzUXZlZ3pwaTFiajdyQ3VJXzBIQmRrTDhxcFdKQTBiWW8tY01OaElaN3lPUlVvUnJuRXowNER6QjV1elhzeExRRGxjdE1GRU51ZGhpREhhVloxalVRd3Foak80NkRZYWpTVWhZLXQzcnlha0JZSjBDb0o2UlNZUzlsWVdRX2cwa0ItY2RWRDVYeTdOSDRmTVVwdm1LWmJZTXFFdmpkak1vV291NHFFb2lnYkVTMnFva3lUUndxSlhkZTFkS2l0ZGFHbkktRGlWU3NZMzV0cGVDQWVMSFQ1VjdZTmJpQjQ2bUZwQ3dHLTJtSWFJR2RSSHBVYUdwVEhNWjk2WjYyU3NUbWdtYUJZV1BPUjdLWG1aZzNneXJlU2wtZ1h2TXhmcDZXeVhmV3FVdFJZU0Y4WW9TRlJVWWF4N0x6NVIxODV4UXRwQ3JqQkZSZHZUenFwNGFRSlZ1RDVYampWN0lBalJTeWg2VmhRMzhKUndnckZ2SlQzSk15WWVoSl9Qb2tEUTRGdzFvNjVkM3FfakZsNjBDaEY0bHE5NS1mUHpKNGlneWhMSG54dFJEdnp2dld5Wk45UWpqVDJMTk9ESU8tcE11enFZbk81Y3MwY3YzME1VNlZ4b3BJVmdZNUpDT2pXUTdIclItTXFUemNISHJEUzI0T3IxNmZZZk04Qk1VRk84N3hHLUdNZDl5TlFKcnZ3SHcyR0ZaSU01MG84V0NoVEJFWDRKWGNKT3V1ZnoxeVlUQUZ2VnFQY3FiSHZ4MXBQMHRmalJFdlR5NmxyekJ6bEVsWXhpWm9DZlRnaXU0Z2szd2FpSEhVTHJlcVE1aUgtR01DZW55b3k2X2EyWmplRUdfbGstczB3T2xPUmFremZCNGNkX0JDVzBHNEh4Rk5BT2VXSllTQUY4bVU4MExxTUEwdTd5Q1doU2F1V0U5WjR0RnIzR3FHdHgwM1hUdWdqdVBiSzU1WUhhbEFBSFdycEhkRDE4YU9HTFAzcVY1MXVnVDJTTDVMRmVvMFE3SlhDTEt1anpLQmJFeVlObXJyLVFiZEI0aDltUE9lYWtXTndlQTdoTmpZZGI5c1BSZEtPUktCd240RzlWQ2h0WWVJQWFacWtTb1F4YklKZUMyVG1vbWNEWEY0VW1KdUpyekhtTWE2eGVwMDBaeUROanFlN1g1MUV3eHRYYVNmTHFKZ0hRVTZBSGwtYV9ueVZoY2NKUWRsd2dQTmxmUHBtejRIcGNjVlV3WXBfLW5MZ1A2WExObmhCSW92ZWY3TWZBQWtqZWxZUkU5UGhkRDRPcEY1Q2ozcjdJYkZPN3BQSkM5OUVYeURteV9JdzJjRV96R1FscWFncmxiZWotbnBCU1hCV0NCbG5aYTNxbk4tcnNYMTN4cVM4cnk4RUM2TkY4S1QyNC1JT2VZemxGV2FoQlFfOENGWndzMU5naEh2dlM1Y3hoTFFyQTZ4eFZCNG5tVGJtcWtGVmdRMEJkc3Rpd0lOTUpkNmRMbzkxaGQyaVVZWlN3cmZkSk5YZHNGV2gyc3Faa1N0anNBVkx0d0I1QS5SSFQ0eUxDem5rMmFobWI0VVFUMXBnU1Mxdzd4cmk2X1pvU0V6MVczR3Rz"}' + headers: + cache-control: no-cache + content-length: '5412' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:10:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name93b61ad8/backup?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b61ad8?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8","deletedDate":1618953012,"scheduledPurgeDate":1626729012,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b61ad8/8272b35b3cfa4b1c83dbfcca152e733a","attributes":{"enabled":true,"created":1618953011,"updated":1618953011,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '382' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:10:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name93b61ad8?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b61ad8"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:10:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b61ad8"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:10:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b61ad8"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:10:17 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b61ad8"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:10:19 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b61ad8"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:10:21 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b61ad8"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:10:23 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b61ad8"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:10:25 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b61ad8"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:10:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b61ad8"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:10:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b61ad8"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:10:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8","deletedDate":1618953012,"scheduledPurgeDate":1626729012,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b61ad8/8272b35b3cfa4b1c83dbfcca152e733a","attributes":{"enabled":true,"created":1618953011,"updated":1618953011,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '382' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:10:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8?api-version=7.0 +- request: + body: null + headers: + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8?api-version=7.0 + response: + body: + string: '' + headers: + cache-control: no-cache + date: Tue, 20 Apr 2021 21:10:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 204 + message: No Content + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b61ad8?api-version=7.0 +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuRVFldFRaSEw2WE41bElFNWtDUXNsQUVaZGFadWs2SXp0LUVZbFFfcW1yMnhMS1VwbnEwaG5oOXRTaTFRZW4xTDY1ZldtWmpRMm5YZHpmUVp4OWU0dG9ULWtMSGlOZS1BZGczUlFxWjdPQ0Rab1J4eDBxYXNFQzZkRVQtS3N5NzBFYThsVTFvTmxyWE1mQUI3R3N5djB6Rk5XdFV1UU5VLUdVcEJIeWV0dmtNSTNBSGZGVF9MTUFEMFA0MzZCcFptQWl5S0I1al85R0xHVEU1NF9meEhWdFVpaE5xeTFtdzhzZ2dtaEI5S0dscGJyYU1lOFFtT0RzT0NBMDQxQXNfRjhoNEpxdjJjYXIwSy1JN1FDT25seEhLVmNUdDh3dWhNekktczJucWVMM0FOb0RoVmJuUG1QeVFiM1piVExHSUJscHZvNFprblVHV3VuTG9hSmk3V0VBLkFXaWdXWVVVSUhJTmhZMG5Rck84ZHcud2kyZ3hLSnk4REpaTFBoYldUSnlDelQ2VDEtWE1kSF9TZmV6NUxuc29yQWJhdVhVMUtTa3BkUU5ScElQSllmM0pIcGxTaUFpaTRHZ3ctcExJX2lKUHRXa2h5VURGVTBrVEtUNE9weEhIbmZNNkxqeHkwS2h2Skk3bEotZ2hiZnQtUW1zTXZjMkJURkVEU3IybmswQnJkVVl1eTdfdnZSTjBCc25mVG1JRGprRnQ0WHBPTHVHV0Z0d0VKRDJXaklxS01UREwxME1XVm1DakhndDlMYzZQWnFGaW1TbldUbFlyZnc4dER5LXZoZ0pTRnVSUVZYZHdvLVRqUWFfbGRhU1dKb3c2LXVuWHlLVl9sNWZIeFU4cHdoSFNJb0JaUU1na1ZoNHRoNXVzY1B2Z19mYTZkcU9WaHlYSWcydkRTeUlqUGh1cTlBc1FqMW5NS2c2OHpNWUptVjN6X0JKdlAxUFNRZEVBakFTZ25VVGllNXhjcVpQY3pOem1QbzdnbkdBRlZac25YNTJwUHkyd3c3LVpMNWZBSmJZSmV5S0h0LU1MS0Jzb0dEQWs2WjRIVUJIa3hlY2ZFSlNOdFAyRzgwYzl2cjVaZWtFZTByWEZFdWUyUDBqTTB3OTJNWFRBdEpSWUdKdXZORERUQjNUakNyc0xCa2ZIeHJtN3BqeUdKVUxUYkJqa2xFTTFGMi1NUTRWSDRoNGRCUEhfVmpkSkJmYXpDelQ5YkkzUGNzWE9BT3R1RkV1LTZ3OFFwVWFtM0ZWQTcxcU53OUJreEl6OWNzZEluMW42T1FpNE9BaVV4YkVJNVdsLUQtdTBsVDVQTlExeHFsODgwcUdjd2JwSFo5YVh4Vi10MWFka2JUU0k5RktGdVZidWhPSWZfWks5cnM1akNaVTJmbjB1NTRiVkc4c0FheUVlVWRoNHMxZE00Xzd1RVJqNklwTUpET2x5dW9aYzdIRDh5NmxWVzM0ZnA5U3hJdnIzWmd5OTdya292TG00TGd0TWxUemR1cDFkN0NETC1GcWxZd3c1d0dPM3FNZ3ExdFBhTUtMUTJJQmZCamxKLVhncHk1R2Y1Mldlal9nbndNUUhKeENlbHljUHd1aHpsR2tqYkY3QUJwSmx2aE9EakZzcUV5RnhkU1JRQzRqNnZrVG1SNW9TekR0T3hkOFR1U1BPbGQwa01MbHlkeTFnTkJwbURQSk9kMkpyVXhkV0V1Q0FRZnFHSDhmR0hRa0ZtOTZ1cmVCeFV1dVFJOTh6RmxWYW9IeXRqV01valktTGRHVktnUWR2NkNhX19vTl9mYVdSS1JFb2Z4U1FPeTlXWXdUbHZtaWl1VDliU0xRemEzTFBRaXRUSVZxVWFUd3pDWWhCUGFVU1Z3WTBIUFdoLV8zNzRuSmR4dExWckc2RHhXUV9SQUIzRW1VQVY3REVZc0R5WVlaMjcyMHpEYU9jSjhQYWprTXlrd2xua2FVTzcxbTM5MHRIeTJGUVBCNThMQ2F5NlNrS0NPeXpUa1BqanhWNEdUNDdwSW1CODk3dGNJQmpYNm85aTZEZEMyb1hDYVNqSkNkZ3VCX3p1aVhmWjZFZnBibFRFeFBVMzljNG8yd0tQZEhOWlJGWHgzSG1iRV8wM1B5YVE5cGkxNmdWMW4yR1JIa3Y3QXl0aFg5aVpVYVNha0REa2h6SGxkU2JienQwbGdMUUpaYUo3R1ZfT1IydTd4WXVOTUNWN1ZwTkY2SEdtTHZnOHdDZlQ0cVpwZDM5cmFzb3dHT29zb25xNzcxQVhCbWxmRjRlYnJnTTF1TUlwdkhVQW9Na1h0TmowZXNIWE5QU3o1bmNldkdjRVd1LWN2ZWVIRFJackI3S3BZNG1xemZ6YUVYckltenpqZXRkc3N1Zi1iLU1lTGFNMVFIM1NVU0N2bDJGSFZoTW9TXy1BVDdPN1BJOE83QlBmeUJSeTQxeGRsNUl5ZVc5eExvLTdLZUdDS3VIWFJkWkhURmVYeGpGT3dscUpUUm03RHg2aExFVnJPd3RiOXAxSkVyaVFGMUpwNVJlRmdwSjdlM01qbG9UdGFNRWcxZlBoMFhPWkVrQV8yTUQtZDNFWGZKamlaWkFGVUJpUzEwa0p6N24yN3h5dkNTa1Zmc3ZmZFdvWkdZQjhVTVdJVVhOUVBCaUhMUVNVUUtpYzMySzlRQ3hhRVRId0wzdXk4ZTFMZ3BTN2o2NWxkRDJPZm1DUC04VFlTQVBBUjV6UTZZWmFuVTZFdG5YbmdFNVB2Q1RNTlFkaHNrV0JkcnFiOHotSHdvS1VGQ003ZlZlZnp4SE9ZQmNVRVptQVByUEFQYmh4RnZNZUpLbE5LbTVEU18ycG9ELTluZjNLVnc4eTVhWThEcEZ4T0dHQW9RRnVQMmRqVUZoRnIzaFdJZ1l2dDg0QmRZQ2Z6bjZudXZZdDBWQzBwd1JtSUpWcVluYll6a2ROcEsyaUVnVm9SamVrWmVJbEc2TjI1TEI3RjFrMG9NYXpINUw4cWxFcDhlejc3YTlvbVh6R3VZR1F2VS1GQTZKY0pkdnhHcXBzT0U4MW91YklKRzQyM0h2WHlZSHhTcThXaDlKVnM5azd5dE1oMkFfTXF3RUJKcHE3TXJETERKWG4wZS1FZXhIaS1iU1JZQzFtTmZUcjJ1enJhT1lNNG8wMDBOLVd1VlROb1ZEWVV0RWZxTU5STEdsSXE5XzQ4SC0zSXVibXhoeTRWX0piT2xPWVZ1MEpaVVhXNE5Gem9VdDRLZ3lyLU9sd0tmZmNjYVlPZzM3WnVwQTY2WHNBdXR3UVA4eHpuTHZMbHY0UVZ0SzBVUmdCVUJVUTJyQW5DTXM4UVBJMUsyUVpEU2puZ3VqWWlEUkM0eXRmLTRmWnJjckloRlpSMFhSX21IS3dZMFNNY2V4dklLYXRJaXVDMWpScndWVVJfZDdTRzNUcUNCWUM1T2R2TWlIdTVVZ18wZE9abERINFJ4cjFETmx6QWFSZVJsU3lDLXc3ejc2ZVk3amJVdGtmYnJDTUYzcHpiOTNraTI2NUpjMnp4MkFsMkhIbzhkSlVaUUpoano3Uk53RmEtRUtncElmbXhzUXZlZ3pwaTFiajdyQ3VJXzBIQmRrTDhxcFdKQTBiWW8tY01OaElaN3lPUlVvUnJuRXowNER6QjV1elhzeExRRGxjdE1GRU51ZGhpREhhVloxalVRd3Foak80NkRZYWpTVWhZLXQzcnlha0JZSjBDb0o2UlNZUzlsWVdRX2cwa0ItY2RWRDVYeTdOSDRmTVVwdm1LWmJZTXFFdmpkak1vV291NHFFb2lnYkVTMnFva3lUUndxSlhkZTFkS2l0ZGFHbkktRGlWU3NZMzV0cGVDQWVMSFQ1VjdZTmJpQjQ2bUZwQ3dHLTJtSWFJR2RSSHBVYUdwVEhNWjk2WjYyU3NUbWdtYUJZV1BPUjdLWG1aZzNneXJlU2wtZ1h2TXhmcDZXeVhmV3FVdFJZU0Y4WW9TRlJVWWF4N0x6NVIxODV4UXRwQ3JqQkZSZHZUenFwNGFRSlZ1RDVYampWN0lBalJTeWg2VmhRMzhKUndnckZ2SlQzSk15WWVoSl9Qb2tEUTRGdzFvNjVkM3FfakZsNjBDaEY0bHE5NS1mUHpKNGlneWhMSG54dFJEdnp2dld5Wk45UWpqVDJMTk9ESU8tcE11enFZbk81Y3MwY3YzME1VNlZ4b3BJVmdZNUpDT2pXUTdIclItTXFUemNISHJEUzI0T3IxNmZZZk04Qk1VRk84N3hHLUdNZDl5TlFKcnZ3SHcyR0ZaSU01MG84V0NoVEJFWDRKWGNKT3V1ZnoxeVlUQUZ2VnFQY3FiSHZ4MXBQMHRmalJFdlR5NmxyekJ6bEVsWXhpWm9DZlRnaXU0Z2szd2FpSEhVTHJlcVE1aUgtR01DZW55b3k2X2EyWmplRUdfbGstczB3T2xPUmFremZCNGNkX0JDVzBHNEh4Rk5BT2VXSllTQUY4bVU4MExxTUEwdTd5Q1doU2F1V0U5WjR0RnIzR3FHdHgwM1hUdWdqdVBiSzU1WUhhbEFBSFdycEhkRDE4YU9HTFAzcVY1MXVnVDJTTDVMRmVvMFE3SlhDTEt1anpLQmJFeVlObXJyLVFiZEI0aDltUE9lYWtXTndlQTdoTmpZZGI5c1BSZEtPUktCd240RzlWQ2h0WWVJQWFacWtTb1F4YklKZUMyVG1vbWNEWEY0VW1KdUpyekhtTWE2eGVwMDBaeUROanFlN1g1MUV3eHRYYVNmTHFKZ0hRVTZBSGwtYV9ueVZoY2NKUWRsd2dQTmxmUHBtejRIcGNjVlV3WXBfLW5MZ1A2WExObmhCSW92ZWY3TWZBQWtqZWxZUkU5UGhkRDRPcEY1Q2ozcjdJYkZPN3BQSkM5OUVYeURteV9JdzJjRV96R1FscWFncmxiZWotbnBCU1hCV0NCbG5aYTNxbk4tcnNYMTN4cVM4cnk4RUM2TkY4S1QyNC1JT2VZemxGV2FoQlFfOENGWndzMU5naEh2dlM1Y3hoTFFyQTZ4eFZCNG5tVGJtcWtGVmdRMEJkc3Rpd0lOTUpkNmRMbzkxaGQyaVVZWlN3cmZkSk5YZHNGV2gyc3Faa1N0anNBVkx0d0I1QS5SSFQ0eUxDem5rMmFobWI0VVFUMXBnU1Mxdzd4cmk2X1pvU0V6MVczR3Rz"}' + headers: + Accept: + - application/json + Content-Length: + - '5413' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.0 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b61ad8/8272b35b3cfa4b1c83dbfcca152e733a","attributes":{"enabled":true,"created":1618953011,"updated":1618953011,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '228' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/restore?api-version=7.0 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_backup_restore_7_1.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_backup_restore_7_1.yaml new file mode 100644 index 000000000000..2a800e3fe818 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_backup_restore_7_1.yaml @@ -0,0 +1,696 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b71ad9?api-version=7.1 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name93b71ad9?api-version=7.1 +- request: + body: '{"value": "secret-value"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b71ad9?api-version=7.1 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b71ad9/a163e30ac403466db2b83f2d3cf41b43","attributes":{"enabled":true,"created":1618952953,"updated":1618952953,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '272' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name93b71ad9?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b71ad9/backup?api-version=7.1 + response: + body: + string: '{"value":"KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuYks5b190Y0wzRzRPeU8xa19iSFY4VE43eWRyYlJxc1N1eGRHenJGc2FOUzB0aGdCcWcxZzlwZDhJbzJiZlJKZHg3LXZ6UThMNWdPLXg2MVQwbURJOXN6b0NKc0Z1cFZMWThoak0wajkzU1piZ1ozbUliX1M2YVVZcVY3LTF4UEMtTHZDYkxuSUlSeHZpV3l2ZjZzNHp4bWxlNVpjLU1nZk1QaDljeW16c0RSUE93VzRlOHNkNVBPNTBhSFJyaklfR0wzQlQzUENCLTVqN21PQkIzLU5nb0ZLQWozZFplM0JCNURscGlDRmpONlNmWVljMU56eTY3dkRPNFJ3UDBwQlM4aGkzZkJhVlVhYnNabkphZEo5TVlULTBiNDN0SXR3cjREVmNaVmlWbi03SzVydXlhcS0wVGtNZGJLVUNjZmJmU0hjaG9QV0JQNzdoa0ZaemxMcXd3Lk45LUtqRkFmZnNPcGE1QV9TX3JtcUEuOGJkUU9nU3NmM2J4cElhcV9uNXdSYWx2MEpYRmhjcFV0Y3EyYy1FYzNZTHRnanlYZEw2eWwyMEhFRHJ5NXNqaEpENG1ZR2RXYWhlQVptNnRwTGVQY1hPUkRNQ0kzN01makxwajluMTlsRmwzYjVuVG1oQ2ozSjQzWWZmb1c5NFRkWXBIRDM1UFN4TzZNWWhyU3paVm9IN0ltNUp1WHp2VGd3TGRiTndBWndIMTlWWVlWdFpJUm9idXpVMmt6ck15NGlKWE56OVZaaUthNEFnb3dwM1hCdC1CbExCVmpFNnhHNW9wMlBWUnpaZFc2NGoyUmpKakprbWNEWGk0dE5JUXJ0ZWdTS3NFREJHQVFndFNFalB3TzVidUUwWTNYTXB3WUFaQzhSSlFWVHVybHFYcXU1dVl6a29iXzZ1dUZIYjBPbTNSWnFHd3NBU25nWU1OVDZvTG1NaVRoaE0zTVFJZWljR2J6dFE1bHo4VkNyYWV3ekxhbUNHVzRuTjdtWktaSkxhMkJPbFJBMzV3Nk5MVzRtYWY3ckFzVC1PWUlsbXdmSXEzOEFiV0lNNk5OMlhudkVrOFdvYTIzd3pydHBvODk2aGprRHZOM25Ia2pJeWRrYjk5V0VKU1Vlb2V0Sl93TGRBRll2MTNjMXF6NUJ4Z19USmROWU50ZXY2Sy00T1VuYU5LaVBONFpxLXNBN0ZQNU9SSXVaTGdaT09jd0YtX0pPNVRzZ1hDbXFQd1FjcFRTQ1RBVHF6RDJUd1RfUG1DRnlxNnV5ZHBCMmhTR1FRdmtRRjZlb1pWc08tNWR2N0FSekNXS044QUJ3cEZJWk9uZkk0RjdrWDhjNDlia0IydGFQM1lBUUs4NFFZQXB1UnhpanRqOG00SW12VXdnZGdHX3NidTFPMUNpaVZ6WllseDB6X2ktTTM1ZVh2QmczODQxVzVFVjk0UTFodEdGZFhWZDNGY1J6LWUyWGhwZWotTjYyWEpBbnMwSFdHZEtFRlVvNy1kaUNydW5rWkpCLU1ReWNGem0yeFFMa0c5cUp6Z3YwZ2lsVVAxNXRGT1J3UUREU0Rtd3Q1TzE3dXBTVV9NcWRQcmhPZU51OXBEVEZ3VmdUaHBLWnR4NU1JaUhoN2sxZTZMWDZhQ1N1emJ1czQ0cERVeGl3MUNyQ2UxTXRtcGVYb2t1SmdrcnhuNnZGbFhFWGVic3NMNVFVOHpXRC02clVLQ01JUlI4amNXaGpEU2FIcExVQlJfUUNRYzVENFU3R1c1U2N1LU5RLWlPN0p6czE1cU5nbnZna0NlS1BRVWJLLV9pb19TZksyY0x1dW4tZGZMYUo3Q2R0UE5NRVVKLTRfQTNZYzhRdldzZFpRWGRaS21oV2ZUZVZSUUJSN3dRUXZHUWViZWk4ZXZHandjQ2NWSkswczRmUGI3bFJpby0zTmZqOXpaVzZFUW96MW84NWk0OG9uQnlGcHJQVmt6b2lENVRPdS1MdmVuczJldjZKQ2pnYVpNZTZ1WENHZW5yX1MtSC1YeXBxNHQ5aTY1ZmNsU1dUVFluX1ZvbDBUWTd1QU1BZ1hSOWphOVAtNWkzTUJpRWJ5ZFlSM0ZraUFNbWtSdmRCeWZiYU9nN0dMMHMxVDVzMUp6emh1Zl8yZmtfMDFWdDlTR1o1RklPN2pteXZBN2x5Y2UxNmFJMlZyYmhZMjFLZzJWOEJ0MzhpMzdfNURVQkNETHhGZ3Yyb3FPcWR0V0UzSEVacUtGVXQ3VW51VzhydUZkb1B6M2pYLVFtYVJaUHBROHg3SkNCenlURHRJbE1GTzBnVXpOaGdZbHpUYUpuUXlfMlFIWWh2SmNTdm5JSDdkb2dfT3BmTnVJUk5KNUlCcWpZREY2aTl1TFRPMk8xOHRXc0dpeTNBVzVqd250alBnQUFKNGdBNC1nUkhEWm1TN3BrdVQwbWRCT3pqLXBQU3lkUkU0YXIzTFBldnRLSTNFek4wbmx2Y1pnS3BJTTZoS0ZKX3ZhOFBwM2lwWXBTVkJ5ZVBzQ1FYYzR0Y01BM3lzY092WE9jRkFWM1hDaG5RRFFQMDFaS3hfLTNaWFVwQTlERFNEWnlCMjFYQ2ZLUkduRGlaTHN2NFNSbFZwLU9nM2l4WnFWdWhfY3oxaEhoZmFHWlNKZHRCVG1nbU10dHczZlpoRVotV09jWWZxNHdtcGVJSU1iT1kwR3U5NUo2dXY4X1duZlMwRDcyMlF4V2ZZYXUyTFRGTFBvUlRUd1dEWFFQSmIzRmlsN1JvMW9Wb240Sjh4WFdjeEF3Ym1DVS00SkdfSTZHQlZBNGhlTEMyMThoVXBvbjlmQUpMUmhNc0JEZzBYMFdVVW9oZUluZjZMeGRkM2dLY2hLY0l3VnppS3NLaUt5VUFIbnA5UEw4STl4N3hWX1JMTDEzdjl2NHVKSzM1Q1Z6T0hrOWo4Q2owZTNyTmdtOTBPbnhzWnZIT1cwbmprbGRka2FmWDloQlp2dDU3N2prZy1FXzBEd19IaW1Qejk4VkNEdGhuRmtNaHpDNnhmaDh5Y3B5ZEtHc2Nwd3dBYmlNbWFxVmxsOVZiTW9hanNkYU9PNjFpRmU2MWVGYnhoXy1FOVRfMDZjUnB3Vk9mMThyQmFPXzBUR0pTTkhVN1k1T28xbFJwYVM4dndRdDNJM0tRVlJDVTRxNUVjcXBuSTFXRU1URU1aTllRajRFRUV5NXZaV3NqS2NSdHFuLXNjUHFzVXBLcXJUbFp6LUdnd1liMkFZcElWQzB4YzVDb2VpRjQ4ZWxNV3AyMDZCbVRvUXpDRk5RWUE2RlJodEZ0cjk3Rm9lYXgyTk1pVUkyRXlUemVBZWhlaXNSM3FObUNCWERxX19CLU1xSG9xWFVqNFNBWFVYV1lVdWZmQmdFMWhsZURzV25iRWgxWFdSTDlTcTZLdmJxZGQ3dEZaREJLMDBTWGpCS0tKZlI2cmlZd096cnpha1l0dTl1cGRJU3ByNjg4N193SldOUEJqX3ltSnRaazVyanVKOHI4eldwbERNZW42UlFFMlYzQlJXb1pMTEFPTUNIRFVsWV83cVE1b2R2Wl9UWUdwM3Y0aDdqSjR2R1BlaWlGTUp5Q1J4TURiaE5GYVB6LUZCdzJ2UEVpNGpWbE1nTWQ3SkFpdVhuZkJTNVp4TEoyUmJZb0xjQk85eEFWeTJ1VThHVnNuaDIteV9ITWxHS3N3TVZNYUtXZGJjSHVFX0g2Wk4wakszc0hGdEVJNmxKd19ydklqS0l5NUdQZ0VoOXhtdU1zblpkb3JuYUhpOUh4UVFFZFBiWlRiSjNwcWdCb0FSUlAyQncyWGFxd2dkZWl0OWtjbE1hYTBweUxEOFFaVXR0Z0RRQ094T19aeXJFX3owVWI4QlZzU2hLbHliRmd3SkJuNG9MUHloWXFSOEF5UUs0QWo2cngyWEdLNkQ2OXNjR1A0eFdsVUlxb0xRR3pGMERyVlN2SnV2VVJSdTBXVXgycnVhRnRKYk5nSFl2UHFjdTlKbldQS0tCN0RWWTZlRFJibkR6bUQ4Qk9sVWVPY3VXdGRsOXdyMlhvV0I0Q3o2NVMxWERzRnloeTVoVWRlaTVsTUg3eHpOb1I2X0E3RExVUG1uUlJwZW9tczNub3pBZEktVDBoQkpPQ0RnYnB2cllSSzRfS3E2RGIxZlp1Q1RKekN4ay1GNlFIMWh2NEFING55Y3pZcVVIUm81NzdhdFF4WEt3NEczeXJzWEdyRWZFSjIzYVlhS0lQY0dPS3o5alJ4akJaRWtRVmtBZFlmRGNvNlhNNDFQdEtNWHRLN0J1T1FhWFZhdWFPdWxjc3FxYWR6ZDhVUnNjM3lpaVhZTnNmZ0Z1Y1JhMHZpQXp2aWNQVl9SR1dZVWJ6aWI4MUFudUZNeTczdExGTVMxS1pkVHdsTG0zQlhKZWQyLTdhXzdmOFpiM1hHT1pOMVZyeFpZdkNHMzZ2QUlGRlBwa3NMMUJTQnVNWF94c08xZEtzZkZXZ0I4MmNFTDJsbFplaHJteGk1aFZGcXZ4VS1EdlJRaE5nbFdPMDBkaUpQVlVDdFZSNjlBZjNDRXZEVEhsZ2NHN1ctbGRKYWFub2YtMUlLWk1ZYjluZTZ3X3FTYmNROVl4emVQSEpqUUhEeGE1VjJPN3JONmtWYUVDSXJyRkxDNjBqZWJVamMyUWdPWHlUYjREV3dZWmJDU0I5SmZJS1dYb3RrenluYlhXQTBzSVFiVE1QaTQ5TWRwNzJieVpMeTVYalFCTThPaVVHX3o5eWpfMFVXV0hjcUdqVzYxcWxPaFBBZE05RDJLSEFVU0had2FmWFp2clZEU2lNVmxubFp4LVZzbTJ1V3NBZDBIVVk2Y2phZ3VBeXJzY2J0RWFKVWdyek9IWnkyU2tweURIYnIwVUJsZEwzdXZnc3lQWm56Ym1vZVREbXdoM2xHclNiaHhXVzAtNGhGQVZtd1NJcEZkSlBaNFE0UmpJOG9fMlE3eU1yUzBtVGUtSDJRYkk5QmVfTmpjb2kzZXhsUGRfLUt1X01JWlo4SE9ZS241X1laTXgteE1HOE5PdERocjVOdG45ZHJVVlBOMmNNaHFkU2NuVXFuRVE0MVBFN3pjQVVSUlRDR0MybmhWaVZ0ampWYk43QS5iVFY1cW51b0FFWEo1NElSb2dqd1d4dnVGZ05KdVVnVktIR3FRdkNYTEpr"}' + headers: + cache-control: no-cache + content-length: '5412' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name93b71ad9/backup?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b71ad9?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9","deletedDate":1618952954,"scheduledPurgeDate":1626728954,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b71ad9/a163e30ac403466db2b83f2d3cf41b43","attributes":{"enabled":true,"created":1618952953,"updated":1618952953,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '403' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name93b71ad9?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b71ad9"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b71ad9"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:16 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b71ad9"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:18 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b71ad9"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b71ad9"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b71ad9"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:24 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b71ad9"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b71ad9"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b71ad9"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b71ad9"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b71ad9"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b71ad9"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:37 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b71ad9"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:39 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b71ad9"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b71ad9"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:43 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name93b71ad9"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:45 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9","deletedDate":1618952954,"scheduledPurgeDate":1626728954,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b71ad9/a163e30ac403466db2b83f2d3cf41b43","attributes":{"enabled":true,"created":1618952953,"updated":1618952953,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '403' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:09:47 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 +- request: + body: null + headers: + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 + response: + body: + string: '' + headers: + cache-control: no-cache + date: Tue, 20 Apr 2021 21:09:47 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 204 + message: No Content + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name93b71ad9?api-version=7.1 +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuYks5b190Y0wzRzRPeU8xa19iSFY4VE43eWRyYlJxc1N1eGRHenJGc2FOUzB0aGdCcWcxZzlwZDhJbzJiZlJKZHg3LXZ6UThMNWdPLXg2MVQwbURJOXN6b0NKc0Z1cFZMWThoak0wajkzU1piZ1ozbUliX1M2YVVZcVY3LTF4UEMtTHZDYkxuSUlSeHZpV3l2ZjZzNHp4bWxlNVpjLU1nZk1QaDljeW16c0RSUE93VzRlOHNkNVBPNTBhSFJyaklfR0wzQlQzUENCLTVqN21PQkIzLU5nb0ZLQWozZFplM0JCNURscGlDRmpONlNmWVljMU56eTY3dkRPNFJ3UDBwQlM4aGkzZkJhVlVhYnNabkphZEo5TVlULTBiNDN0SXR3cjREVmNaVmlWbi03SzVydXlhcS0wVGtNZGJLVUNjZmJmU0hjaG9QV0JQNzdoa0ZaemxMcXd3Lk45LUtqRkFmZnNPcGE1QV9TX3JtcUEuOGJkUU9nU3NmM2J4cElhcV9uNXdSYWx2MEpYRmhjcFV0Y3EyYy1FYzNZTHRnanlYZEw2eWwyMEhFRHJ5NXNqaEpENG1ZR2RXYWhlQVptNnRwTGVQY1hPUkRNQ0kzN01makxwajluMTlsRmwzYjVuVG1oQ2ozSjQzWWZmb1c5NFRkWXBIRDM1UFN4TzZNWWhyU3paVm9IN0ltNUp1WHp2VGd3TGRiTndBWndIMTlWWVlWdFpJUm9idXpVMmt6ck15NGlKWE56OVZaaUthNEFnb3dwM1hCdC1CbExCVmpFNnhHNW9wMlBWUnpaZFc2NGoyUmpKakprbWNEWGk0dE5JUXJ0ZWdTS3NFREJHQVFndFNFalB3TzVidUUwWTNYTXB3WUFaQzhSSlFWVHVybHFYcXU1dVl6a29iXzZ1dUZIYjBPbTNSWnFHd3NBU25nWU1OVDZvTG1NaVRoaE0zTVFJZWljR2J6dFE1bHo4VkNyYWV3ekxhbUNHVzRuTjdtWktaSkxhMkJPbFJBMzV3Nk5MVzRtYWY3ckFzVC1PWUlsbXdmSXEzOEFiV0lNNk5OMlhudkVrOFdvYTIzd3pydHBvODk2aGprRHZOM25Ia2pJeWRrYjk5V0VKU1Vlb2V0Sl93TGRBRll2MTNjMXF6NUJ4Z19USmROWU50ZXY2Sy00T1VuYU5LaVBONFpxLXNBN0ZQNU9SSXVaTGdaT09jd0YtX0pPNVRzZ1hDbXFQd1FjcFRTQ1RBVHF6RDJUd1RfUG1DRnlxNnV5ZHBCMmhTR1FRdmtRRjZlb1pWc08tNWR2N0FSekNXS044QUJ3cEZJWk9uZkk0RjdrWDhjNDlia0IydGFQM1lBUUs4NFFZQXB1UnhpanRqOG00SW12VXdnZGdHX3NidTFPMUNpaVZ6WllseDB6X2ktTTM1ZVh2QmczODQxVzVFVjk0UTFodEdGZFhWZDNGY1J6LWUyWGhwZWotTjYyWEpBbnMwSFdHZEtFRlVvNy1kaUNydW5rWkpCLU1ReWNGem0yeFFMa0c5cUp6Z3YwZ2lsVVAxNXRGT1J3UUREU0Rtd3Q1TzE3dXBTVV9NcWRQcmhPZU51OXBEVEZ3VmdUaHBLWnR4NU1JaUhoN2sxZTZMWDZhQ1N1emJ1czQ0cERVeGl3MUNyQ2UxTXRtcGVYb2t1SmdrcnhuNnZGbFhFWGVic3NMNVFVOHpXRC02clVLQ01JUlI4amNXaGpEU2FIcExVQlJfUUNRYzVENFU3R1c1U2N1LU5RLWlPN0p6czE1cU5nbnZna0NlS1BRVWJLLV9pb19TZksyY0x1dW4tZGZMYUo3Q2R0UE5NRVVKLTRfQTNZYzhRdldzZFpRWGRaS21oV2ZUZVZSUUJSN3dRUXZHUWViZWk4ZXZHandjQ2NWSkswczRmUGI3bFJpby0zTmZqOXpaVzZFUW96MW84NWk0OG9uQnlGcHJQVmt6b2lENVRPdS1MdmVuczJldjZKQ2pnYVpNZTZ1WENHZW5yX1MtSC1YeXBxNHQ5aTY1ZmNsU1dUVFluX1ZvbDBUWTd1QU1BZ1hSOWphOVAtNWkzTUJpRWJ5ZFlSM0ZraUFNbWtSdmRCeWZiYU9nN0dMMHMxVDVzMUp6emh1Zl8yZmtfMDFWdDlTR1o1RklPN2pteXZBN2x5Y2UxNmFJMlZyYmhZMjFLZzJWOEJ0MzhpMzdfNURVQkNETHhGZ3Yyb3FPcWR0V0UzSEVacUtGVXQ3VW51VzhydUZkb1B6M2pYLVFtYVJaUHBROHg3SkNCenlURHRJbE1GTzBnVXpOaGdZbHpUYUpuUXlfMlFIWWh2SmNTdm5JSDdkb2dfT3BmTnVJUk5KNUlCcWpZREY2aTl1TFRPMk8xOHRXc0dpeTNBVzVqd250alBnQUFKNGdBNC1nUkhEWm1TN3BrdVQwbWRCT3pqLXBQU3lkUkU0YXIzTFBldnRLSTNFek4wbmx2Y1pnS3BJTTZoS0ZKX3ZhOFBwM2lwWXBTVkJ5ZVBzQ1FYYzR0Y01BM3lzY092WE9jRkFWM1hDaG5RRFFQMDFaS3hfLTNaWFVwQTlERFNEWnlCMjFYQ2ZLUkduRGlaTHN2NFNSbFZwLU9nM2l4WnFWdWhfY3oxaEhoZmFHWlNKZHRCVG1nbU10dHczZlpoRVotV09jWWZxNHdtcGVJSU1iT1kwR3U5NUo2dXY4X1duZlMwRDcyMlF4V2ZZYXUyTFRGTFBvUlRUd1dEWFFQSmIzRmlsN1JvMW9Wb240Sjh4WFdjeEF3Ym1DVS00SkdfSTZHQlZBNGhlTEMyMThoVXBvbjlmQUpMUmhNc0JEZzBYMFdVVW9oZUluZjZMeGRkM2dLY2hLY0l3VnppS3NLaUt5VUFIbnA5UEw4STl4N3hWX1JMTDEzdjl2NHVKSzM1Q1Z6T0hrOWo4Q2owZTNyTmdtOTBPbnhzWnZIT1cwbmprbGRka2FmWDloQlp2dDU3N2prZy1FXzBEd19IaW1Qejk4VkNEdGhuRmtNaHpDNnhmaDh5Y3B5ZEtHc2Nwd3dBYmlNbWFxVmxsOVZiTW9hanNkYU9PNjFpRmU2MWVGYnhoXy1FOVRfMDZjUnB3Vk9mMThyQmFPXzBUR0pTTkhVN1k1T28xbFJwYVM4dndRdDNJM0tRVlJDVTRxNUVjcXBuSTFXRU1URU1aTllRajRFRUV5NXZaV3NqS2NSdHFuLXNjUHFzVXBLcXJUbFp6LUdnd1liMkFZcElWQzB4YzVDb2VpRjQ4ZWxNV3AyMDZCbVRvUXpDRk5RWUE2RlJodEZ0cjk3Rm9lYXgyTk1pVUkyRXlUemVBZWhlaXNSM3FObUNCWERxX19CLU1xSG9xWFVqNFNBWFVYV1lVdWZmQmdFMWhsZURzV25iRWgxWFdSTDlTcTZLdmJxZGQ3dEZaREJLMDBTWGpCS0tKZlI2cmlZd096cnpha1l0dTl1cGRJU3ByNjg4N193SldOUEJqX3ltSnRaazVyanVKOHI4eldwbERNZW42UlFFMlYzQlJXb1pMTEFPTUNIRFVsWV83cVE1b2R2Wl9UWUdwM3Y0aDdqSjR2R1BlaWlGTUp5Q1J4TURiaE5GYVB6LUZCdzJ2UEVpNGpWbE1nTWQ3SkFpdVhuZkJTNVp4TEoyUmJZb0xjQk85eEFWeTJ1VThHVnNuaDIteV9ITWxHS3N3TVZNYUtXZGJjSHVFX0g2Wk4wakszc0hGdEVJNmxKd19ydklqS0l5NUdQZ0VoOXhtdU1zblpkb3JuYUhpOUh4UVFFZFBiWlRiSjNwcWdCb0FSUlAyQncyWGFxd2dkZWl0OWtjbE1hYTBweUxEOFFaVXR0Z0RRQ094T19aeXJFX3owVWI4QlZzU2hLbHliRmd3SkJuNG9MUHloWXFSOEF5UUs0QWo2cngyWEdLNkQ2OXNjR1A0eFdsVUlxb0xRR3pGMERyVlN2SnV2VVJSdTBXVXgycnVhRnRKYk5nSFl2UHFjdTlKbldQS0tCN0RWWTZlRFJibkR6bUQ4Qk9sVWVPY3VXdGRsOXdyMlhvV0I0Q3o2NVMxWERzRnloeTVoVWRlaTVsTUg3eHpOb1I2X0E3RExVUG1uUlJwZW9tczNub3pBZEktVDBoQkpPQ0RnYnB2cllSSzRfS3E2RGIxZlp1Q1RKekN4ay1GNlFIMWh2NEFING55Y3pZcVVIUm81NzdhdFF4WEt3NEczeXJzWEdyRWZFSjIzYVlhS0lQY0dPS3o5alJ4akJaRWtRVmtBZFlmRGNvNlhNNDFQdEtNWHRLN0J1T1FhWFZhdWFPdWxjc3FxYWR6ZDhVUnNjM3lpaVhZTnNmZ0Z1Y1JhMHZpQXp2aWNQVl9SR1dZVWJ6aWI4MUFudUZNeTczdExGTVMxS1pkVHdsTG0zQlhKZWQyLTdhXzdmOFpiM1hHT1pOMVZyeFpZdkNHMzZ2QUlGRlBwa3NMMUJTQnVNWF94c08xZEtzZkZXZ0I4MmNFTDJsbFplaHJteGk1aFZGcXZ4VS1EdlJRaE5nbFdPMDBkaUpQVlVDdFZSNjlBZjNDRXZEVEhsZ2NHN1ctbGRKYWFub2YtMUlLWk1ZYjluZTZ3X3FTYmNROVl4emVQSEpqUUhEeGE1VjJPN3JONmtWYUVDSXJyRkxDNjBqZWJVamMyUWdPWHlUYjREV3dZWmJDU0I5SmZJS1dYb3RrenluYlhXQTBzSVFiVE1QaTQ5TWRwNzJieVpMeTVYalFCTThPaVVHX3o5eWpfMFVXV0hjcUdqVzYxcWxPaFBBZE05RDJLSEFVU0had2FmWFp2clZEU2lNVmxubFp4LVZzbTJ1V3NBZDBIVVk2Y2phZ3VBeXJzY2J0RWFKVWdyek9IWnkyU2tweURIYnIwVUJsZEwzdXZnc3lQWm56Ym1vZVREbXdoM2xHclNiaHhXVzAtNGhGQVZtd1NJcEZkSlBaNFE0UmpJOG9fMlE3eU1yUzBtVGUtSDJRYkk5QmVfTmpjb2kzZXhsUGRfLUt1X01JWlo4SE9ZS241X1laTXgteE1HOE5PdERocjVOdG45ZHJVVlBOMmNNaHFkU2NuVXFuRVE0MVBFN3pjQVVSUlRDR0MybmhWaVZ0ampWYk43QS5iVFY1cW51b0FFWEo1NElSb2dqd1d4dnVGZ05KdVVnVktIR3FRdkNYTEpr"}' + headers: + Accept: + - application/json + Content-Length: + - '5413' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b71ad9/a163e30ac403466db2b83f2d3cf41b43","attributes":{"enabled":true,"created":1618952953,"updated":1618952953,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '249' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:10:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/restore?api-version=7.1 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_recover.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_recover.yaml deleted file mode 100644 index 1fe7aad76c5a..000000000000 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_recover.yaml +++ /dev/null @@ -1,616 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name7f7a16d0?api-version=7.1 - response: - body: - string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer - or PoP token."}}' - headers: - cache-control: no-cache - content-length: '87' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:41 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", - resource="https://vault.azure.net" - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret-name7f7a16d0?api-version=7.1 -- request: - body: '{"value": "secret-value"}' - headers: - Accept: - - application/json - Content-Length: - - '25' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name7f7a16d0?api-version=7.1 - response: - body: - string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name7f7a16d0/4deba1e26ef74b849745ce0af0e9c2d9","attributes":{"enabled":true,"created":1613671481,"updated":1613671481,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '270' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:41 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret-name7f7a16d0?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name7f7a16d0?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name7f7a16d0","deletedDate":1613671481,"scheduledPurgeDate":1621447481,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name7f7a16d0/4deba1e26ef74b849745ce0af0e9c2d9","attributes":{"enabled":true,"created":1613671481,"updated":1613671481,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '399' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:41 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret-name7f7a16d0?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name7f7a16d0?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name7f7a16d0"}}' - headers: - cache-control: no-cache - content-length: '103' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:41 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret-name7f7a16d0?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name7f7a16d0?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name7f7a16d0"}}' - headers: - cache-control: no-cache - content-length: '103' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:43 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret-name7f7a16d0?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name7f7a16d0?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name7f7a16d0"}}' - headers: - cache-control: no-cache - content-length: '103' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:45 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret-name7f7a16d0?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name7f7a16d0?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name7f7a16d0"}}' - headers: - cache-control: no-cache - content-length: '103' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:47 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret-name7f7a16d0?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name7f7a16d0?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name7f7a16d0"}}' - headers: - cache-control: no-cache - content-length: '103' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:49 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret-name7f7a16d0?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name7f7a16d0?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name7f7a16d0"}}' - headers: - cache-control: no-cache - content-length: '103' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:51 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret-name7f7a16d0?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name7f7a16d0?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name7f7a16d0"}}' - headers: - cache-control: no-cache - content-length: '103' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:53 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret-name7f7a16d0?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name7f7a16d0?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret-name7f7a16d0"}}' - headers: - cache-control: no-cache - content-length: '103' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:56 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret-name7f7a16d0?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name7f7a16d0?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name7f7a16d0","deletedDate":1613671481,"scheduledPurgeDate":1621447481,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name7f7a16d0/4deba1e26ef74b849745ce0af0e9c2d9","attributes":{"enabled":true,"created":1613671481,"updated":1613671481,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '399' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:58 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret-name7f7a16d0?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name7f7a16d0?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name7f7a16d0","deletedDate":1613671481,"scheduledPurgeDate":1621447481,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name7f7a16d0/4deba1e26ef74b849745ce0af0e9c2d9","attributes":{"enabled":true,"created":1613671481,"updated":1613671481,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '399' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:58 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret-name7f7a16d0?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name7f7a16d0/recover?api-version=7.1 - response: - body: - string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name7f7a16d0/4deba1e26ef74b849745ce0af0e9c2d9","attributes":{"enabled":true,"created":1613671481,"updated":1613671481,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '247' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:58 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret-name7f7a16d0/recover?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name7f7a16d0/?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret-name7f7a16d0 was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' - headers: - cache-control: no-cache - content-length: '326' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:04:58 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret-name7f7a16d0/?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name7f7a16d0/?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret-name7f7a16d0 was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' - headers: - cache-control: no-cache - content-length: '326' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:05:00 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret-name7f7a16d0/?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name7f7a16d0/?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret-name7f7a16d0 was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' - headers: - cache-control: no-cache - content-length: '326' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:05:02 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret-name7f7a16d0/?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name7f7a16d0/?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret-name7f7a16d0 was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' - headers: - cache-control: no-cache - content-length: '326' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:05:04 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret-name7f7a16d0/?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name7f7a16d0/?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret-name7f7a16d0 was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' - headers: - cache-control: no-cache - content-length: '326' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:05:06 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret-name7f7a16d0/?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name7f7a16d0/?api-version=7.1 - response: - body: - string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name7f7a16d0/4deba1e26ef74b849745ce0af0e9c2d9","attributes":{"enabled":true,"created":1613671481,"updated":1613671481,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '270' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:05:08 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret-name7f7a16d0/?api-version=7.1 -version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_recover_2016_10_01.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_recover_2016_10_01.yaml new file mode 100644 index 000000000000..9cecf5f5aa7f --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_recover_2016_10_01.yaml @@ -0,0 +1,1218 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:10:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 +- request: + body: '{"value": "secret-value"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/0570f055691045c792cda4f58104bb57","attributes":{"enabled":true,"created":1618953050,"updated":1618953050,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '251' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:10:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978","deletedDate":1618953050,"scheduledPurgeDate":1626729050,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/0570f055691045c792cda4f58104bb57","attributes":{"enabled":true,"created":1618953050,"updated":1618953050,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '382' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:10:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name8ad11978"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:10:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name8ad11978"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:10:52 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name8ad11978"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:10:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name8ad11978"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:10:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name8ad11978"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:10:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name8ad11978"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name8ad11978"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name8ad11978"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name8ad11978"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name8ad11978"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-name8ad11978"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978","deletedDate":1618953050,"scheduledPurgeDate":1626729050,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/0570f055691045c792cda4f58104bb57","attributes":{"enabled":true,"created":1618953050,"updated":1618953050,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '382' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978","deletedDate":1618953050,"scheduledPurgeDate":1626729050,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/0570f055691045c792cda4f58104bb57","attributes":{"enabled":true,"created":1618953050,"updated":1618953050,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '382' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978/recover?api-version=2016-10-01 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/0570f055691045c792cda4f58104bb57","attributes":{"enabled":true,"created":1618953050,"updated":1618953050,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '228' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-name8ad11978/recover?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name8ad11978 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name8ad11978 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:17 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name8ad11978 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:19 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name8ad11978 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:21 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name8ad11978 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:23 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name8ad11978 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:25 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name8ad11978 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name8ad11978 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name8ad11978 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name8ad11978 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name8ad11978 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name8ad11978 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:37 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name8ad11978 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:39 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name8ad11978 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name8ad11978 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name8ad11978 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:47 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name8ad11978 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name8ad11978 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:51 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name8ad11978 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:53 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name8ad11978 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-name8ad11978 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978/0570f055691045c792cda4f58104bb57","attributes":{"enabled":true,"created":1618953050,"updated":1618953050,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '251' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name8ad11978/?api-version=2016-10-01 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_recover_7_0.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_recover_7_0.yaml new file mode 100644 index 000000000000..bdfd7141fba8 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_recover_7_0.yaml @@ -0,0 +1,1090 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5?api-version=7.0 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddc917f5?api-version=7.0 +- request: + body: '{"value": "secret-value"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5?api-version=7.0 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/f778f211705e45a9a5d3ba1f514c0d3a","attributes":{"enabled":true,"created":1618953095,"updated":1618953095,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '251' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddc917f5?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5","deletedDate":1618953096,"scheduledPurgeDate":1626729096,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/f778f211705e45a9a5d3ba1f514c0d3a","attributes":{"enabled":true,"created":1618953095,"updated":1618953095,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '382' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddc917f5?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddc917f5"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddc917f5"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:37 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddc917f5"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddc917f5"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:42 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddc917f5"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddc917f5"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddc917f5"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddc917f5"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddc917f5"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:52 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddc917f5"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddc917f5"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5","deletedDate":1618953096,"scheduledPurgeDate":1626729096,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/f778f211705e45a9a5d3ba1f514c0d3a","attributes":{"enabled":true,"created":1618953095,"updated":1618953095,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '382' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5","deletedDate":1618953096,"scheduledPurgeDate":1626729096,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/f778f211705e45a9a5d3ba1f514c0d3a","attributes":{"enabled":true,"created":1618953095,"updated":1618953095,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '382' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5/recover?api-version=7.0 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/f778f211705e45a9a5d3ba1f514c0d3a","attributes":{"enabled":true,"created":1618953095,"updated":1618953095,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '228' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddc917f5/recover?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddc917f5 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:11:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddc917f5 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddc917f5 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddc917f5 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddc917f5 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddc917f5 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddc917f5 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddc917f5 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddc917f5 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:16 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddc917f5 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:18 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddc917f5 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddc917f5 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddc917f5 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:24 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddc917f5 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:26 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddc917f5 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddc917f5 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddc917f5 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/f778f211705e45a9a5d3ba1f514c0d3a","attributes":{"enabled":true,"created":1618953095,"updated":1618953095,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '251' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:36 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddc917f5/?api-version=7.0 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_recover_7_1.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_recover_7_1.yaml new file mode 100644 index 000000000000..7fcc856f5c03 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets_async.test_example_secrets_recover_7_1.yaml @@ -0,0 +1,1048 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6?api-version=7.1 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:00 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddca17f6?api-version=7.1 +- request: + body: '{"value": "secret-value"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6?api-version=7.1 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/e1e95e2898334d589669a10f788839e7","attributes":{"enabled":true,"created":1618953120,"updated":1618953120,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '272' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:00 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddca17f6?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6","deletedDate":1618953121,"scheduledPurgeDate":1626729121,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/e1e95e2898334d589669a10f788839e7","attributes":{"enabled":true,"created":1618953120,"updated":1618953120,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '403' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddca17f6?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddca17f6"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddca17f6"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddca17f6"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddca17f6"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddca17f6"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddca17f6"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddca17f6"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddca17f6"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddca17f6"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:17 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddca17f6"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:19 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddca17f6"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddca17f6"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:24 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddca17f6"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:26 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddca17f6"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddca17f6"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:30 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret-nameddca17f6"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:32 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6","deletedDate":1618953121,"scheduledPurgeDate":1626729121,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/e1e95e2898334d589669a10f788839e7","attributes":{"enabled":true,"created":1618953120,"updated":1618953120,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '403' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6","deletedDate":1618953121,"scheduledPurgeDate":1626729121,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/e1e95e2898334d589669a10f788839e7","attributes":{"enabled":true,"created":1618953120,"updated":1618953120,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '403' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6/recover?api-version=7.1 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/e1e95e2898334d589669a10f788839e7","attributes":{"enabled":true,"created":1618953120,"updated":1618953120,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '249' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret-nameddca17f6/recover?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddca17f6 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddca17f6 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:37 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddca17f6 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddca17f6 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:42 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddca17f6 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddca17f6 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddca17f6 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddca17f6 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddca17f6 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:52 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddca17f6 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret-nameddca17f6 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '326' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/?api-version=7.1 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/e1e95e2898334d589669a10f788839e7","attributes":{"enabled":true,"created":1618953120,"updated":1618953120,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '272' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:12:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-nameddca17f6/?api-version=7.1 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_backup_restore.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_backup_restore.yaml deleted file mode 100644 index b8a2f242a39c..000000000000 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_backup_restore.yaml +++ /dev/null @@ -1,526 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak32f60fbc?api-version=7.1 - response: - body: - string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer - or PoP token."}}' - headers: - cache-control: no-cache - content-length: '87' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:04 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", - resource="https://vault.azure.net" - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecbak32f60fbc?api-version=7.1 -- request: - body: '{"value": "secVal"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak32f60fbc?api-version=7.1 - response: - body: - string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak32f60fbc/5eca68784c304b8aa72fff71d83fe0ea","attributes":{"enabled":true,"created":1613673905,"updated":1613673905,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '259' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:05 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecbak32f60fbc?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak32f60fbc/backup?api-version=7.1 - response: - body: - string: '{"value":"KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuYk1JTEhFNGtpbFdWMjZnb3dBRjRPTlVSZk1SS2lkblBNZlktcklRWGkwUE5RS2pySTRxbzBNMUZmVmJsSzFnNlhCSHZjTjlIbS05LU85VUtVYTBrZG1rQzhZSWZqRWRYelp1bmRZTWtubUpYdFh6Nnc0UEthUHRPQ2I1VEVxZjRSUVBva0RzRHZJMGgxaXB4QkxWazJVTlZEN1ZlNzBlcUUtblAta3FDem5qUWFEc2lLT1hwTnNMRDlhcW5vZFVGc1pydzNHeFdObzdwSHEzUmVSTmJ6X0lFTDVteXdWVzMtVHpicVFTR29KQkdYb0xqdlEzMThlNmMyUGdyUC1wcGhoM1RFOHFJa182aFlTRm04YUg5Q09Zekh6NnQzR2tETW5hT1hMY2xRR09KMzIxamE1Q2hzLTEtWXVsRm1YRzFzMGZqSlpYNFptbHpUZ3lGbm5vWmRBLnB5Tl84NHhjdDJ0WS03QmFSdHRfZFEuT2ZLMDBxWldhQVdFOHR5R3RFRHBCb3ZtSHhseGREOHFuOUhaSmFhYVVEVHRQdVZKbjlyUjFYV1E0OGx2ZmN3b0ZrU1JIZGNtUE1GSDBvbFJFdFlwT1BIZEI4NkNGc256alZXZmtfLW9Oc0Y5S0d0RzlnVmVGMGNZT3I3b0stQl95VjRDWEoyTDdKWVJqLUx0TEp3a2JhbENZejFXM0FfYTBXZXE0ell2emJ0ZUpiZ3dhdllRNV94QWVEVTBBTEZWRnNINjdiUWFzdXI3bERRa2k4bmZoSXo4eWR0emVhUTY4Q3N6VVZpcDN4VjJ3TGNKSmtIcm1NR0VaZVpzZTAtbXRpYlZyNzdNUnk2bDhVS3drQVY5V0p6ZndfTUhJdmh2UUMzQ2FOOEFSOWdwaURzdGl0eDE1VHdnZUJ6dFRGOHo1aGdDZE5ONFY0a1Q2R1RsTEhXS0QzMThUS3d2STUybW5zY2lJRFNNQWMycEJSWHRKbDJ2eHkyaVZRYU5VWFBmYS1sTXlwaVduZWJ4Qlh3LXNHY0twMGJ0SS0zYVNCR0VHREh0UWxVem5fM2thajNsQ0FhRFlOZzQ4SzI3OFdhekhRdE5XbjYxUVB6V0ZCX0YtMFJmR1VGdDVjRjFZeUJVaWNJaVlnd2JoaXJ0clc4cEhDaHJySzI1R3BrNmFMOW1xdzlBQm1ZeVo5Y2hnMTZXUVRDWTRScEZrZUxTdzVHdUs0d2FFbTlOcW1fRHhfUFFYckNrZEF4UFBTT2t5SEg0alZJUXg1Tk9MQzFPaWYyai01WXdNMTlCcHB3T3JiaVUxaUVHemgzT3NvTGxFalpQSUpuVDdRUTB6Wk1LUUExSnh6VWR1U3ZZMHhOTXQzbzFSNW5zV2pDSDV6WS1aM1RfWkRiUGRoSXctSXFwckZlQmlvRkZKVmRDeUFLVldZczBRWU1SSnluQnZZbTIxNFB1YmZMUEdTa3ZQSWxvWFoyR2tPU3FIN2JrRVdCdDEzTHZUYUN1YlZVTDB3Qk1rSHAxT1NrYU51YXlVYUtrS05UVy1wQ3M1cmtGTUZrLVNEek95U2ZHeVJYYmNtQWdRQXdaTVFrOC1Ia291UVJyTHkzN21NcGJaWWZHSXA5eTNwYnpGYWVuT216SnZubUdicHY3cUtBbzVYSUdRbVlWRllEVGRUYzFEN19xQmlQUU90SkxDOTQ3LW5mMThtYW5SQWFsS1RmZ2I0bUhIcm5QMm9vZHFiSU5YT2dXRS1oU2x1QlNtQWxIVEE5UW1abERMc2R6d2FlU0ZuTnJueWFPWm1fUHJ4RVJhRGZSQjRJSEc2aVZkaWl3MWxwSWVhZkhITnMwdHctRzFuSUQ4Mkt1M2ZGQjJjcnVBODJ2YnRpR28xTk1RaUNzTm9YeWpGenBUY0FoTE5vMzZBZFpvRVNmZ1VQbkZOTV9MTE5FWHBhcEw2T2RKZzBmbTZFaFpNS1VKeFBuS21MNmh5ZENfSDJlaDE2am5SdlI1bjFtX0tja2pXT0k3T3hYbTQxNk1OTk00MVBDNmI1RFRmdWhPbnVLLUlXY3BJdXFyYWRIeW4ycHlCdEk4REcwLXU3Z2VHdXdNYjE5d2VnOGgzUlFxQ2pxNkc2eGZhS0traWJEUDYzMUpFUDBWa3NEVmFMb09ERjB1NlZydnF2Z29ZWmhGdHNpWTU4UW1DVXJERVFDWXA2R3g4U21BUGZ2NW1XYVp0MGRVQVhjMzlqWm0tM19mTlFuVU5hOWFZRGxrVmdfOS00Y1I2RmljcXZfUWlOYzdTZWR0T3hPZno0TXRZUmNCWkhtUnpjd0pZRGVuck42a0JWejFTdUt1cGhnZ2RzRk1oelprSE5OeWhFaXZ1bko5WVRfc0YxZDlFNGpIR2dGM1h4SXBFbktiazNBT1NMN2pUcXF4T2c1VTgxUWZ2clJZQTcyTUVBYVpCay11LW5yM283ZV9BZFF5V0Z1ZUNTakZPSzBENVZIclJHNHhSZ3EwZHRZTGtWYU0ydTlPYVB4Z2JKUGFDM3A0eUFxVnVtRGVKYXpRTkpseHQwNk5uMXVhdVFxNWwyRlVoUXA4MzA4OGxPWG9pUlJmbk5RTEVrMTJzb1UzU0h6eXlpTWRsVWZmY2hSRjNYelpEenRTb3JCVUN2X2p3MjVBUVpJaHdGcERiSVZfd1FlOHRvY08zdUlCVmthYmNsWmNhSzVhOTROQXNxdUVDcjZ6aXdmT0E5am02djRIbE5EVks3aXdWZy1udE5sZmEzcjFURHZjQ0UxZWRyTDRxQmo1NXNDWE1KdlpMb2htTGdnM0ZiTEgzNmJSRTFlaHc5WUxsd3lnNTRYRVlYSjd2dldzWjNscHpUaEdrSUdHYzNIVll2M1A1T1VQbklnd3JqTHUxZklUOGhnS1RneGJDU2JwOVZJa0xSTW5Zcm1XVnZjOE1POTdZMDhYTVNPVnQtQVcxNGNjTDdjZy1sWkJRSXFtVy10bGVib3o3N2xfWjQ4ek5LX1p5RFNRMDktY1ZxcE40R1dGYm8zMTR2TXQzZnc1TS1tWERrQUROSGhZemp6Uk5mcF93SWd3dmxTdC1PSjdNY0JpWlQ0d0N3Vk1ySExrWFlzVHRhekszdzlVTjEwRldVZFVReEFEVGpjcXU2UHVGejJZak9peUdBcUFqQjc4a3I1YWtoYnZ2R1RCYm93YkhMa19NNm9BWG5jV0ZjNk9QZXBqT2lWZnZpNUpNcmVMSlJKMHowa01YSXBJeGZSd09ia3hnWFRLbUU3WnRjcGlvQ2szWUQ5QmpiOGt6NjZoWmVHX2huNmYxUzluczlxUlJXdHE2RjRHNEJBdHZhM2RMWVJOS0RwWkVNZTBhbkZFRVNHT3RzMmNublNJT0NfejRMS2lnVjlBM3htVUdLMVY1blNmRmZBSi1IS0pXU0swTGhDUk50NUQwQTRzMVh5RngzVlBqOGdsZWhRQkQzSzl4QVl5NVN0Ukp3X25ZTDl0Y0U3V1dqa1pPWTBtRTFEbUR3SGZudDBSODhBXzE3eWhyUWszUlAzaHh4dEF5R0VtQmtWU19ueDJSMV9UcXdteEtCMzdueng3Ri12bWM1dWNrM1NkTWloaDhBTkpLcGlSSVM3TXV1N2p2MTFDaW10ZVRUOF9NbWg3bm1EbUZNSE5IVWRUSEtRbktOVWkyWm1ONW9oeGwtT2d0Yko0RGdTSWpFa1l1Q1JIUzdEZ2dBS2M5eW91anRGY2xhRXRveVNFMW1tWDNTeUYwd2xiSlRqY0pIa29pVjJPLTRQX1dKRHNhd2NZTUZ2akhoTG1sXzdOMW9TNjloUVZreDNLTGRBWG84WmpTVVNmWFZBNHM5UWNnVFF1X21MU2h4MFpJLXZJSzlBbGl2RzNWNmppbzlwcktLNkhHb3RuME1BdkxfRHhUS3R0YURpcW9ZYU44R0stYU5YNGQxVzB6S2dpTWRjOHRZdTNLYjFrLW5KYVZRX2VmOWIxcTVuZ2hCZ0o4X2ZmZU5nWDh4MkxMcjBXRnkyMUxmUGwzOGZtMi13Z09ON051RUF0TlBmMS1HUTJxZkVxd3lWczEtLWJxN1g4NjJEVWJ3QjJ3NmJTaS1wVk1vUVY3amM3ZFNnbENZQVJweUV2Y0NhdF9GZnpiZ2VRODBBYVNCUEtWMXAzWWtBRjZaa05NUkN1Tmhkc2tYRDgtb3pMNVFBUUQ1QWpqRTNtTFZRc3RQemU0cEtiSnctUnlhWlpyTnU5ZU1uV1lZSWZpQzAzYS1vMkZlbmNZR2M5dXk0ZjJyUkxvbG9JelZmQVhLNXF0UmdhMGx3TnkzZlg0YzJ6bGVHNHJYV1dQa0JlakxtbENOaE92ZlEwVHJLSF9TTTA1b1RpR1R0WTNnaThldmh1bld4OTNTdm9vOGZUSHl6M25ZSV9EZEJ6MTNza1cyN0NkLTRRMW1lUHBHVHJpUzJtNXctOU5UNXdocmYxUWMxUWJ3cnJqQzFKb3dYUUtRQnZGQnZWVkxLUEQ5cTVkcF9TSHRDV2FTOTY4aWNabVdSMzdMM212UGFBbXkzc243c1FqZGpkLTl1b1k0Sm04Xy04TG85Z0ZGOFdESlR6YXozUnNYaFJ5ZG1JOUVMMk9ZcEdPdTdUZjVIV1JPVlVfNi1IZVRGMEY4elBCaVR3TjVuOGhqSmJrN0k0aWxWa1NLNEdMT2I2OXFuNHhJeTdWLXVDR3Fud0lGSnZTekZSWFRkam5aQWg0MTNYUFNWU1FqM2x1NklpSU5OckxRYmJYQjNXeTJpR1Fjc0drSmJ2bE9RdktSYUhlX05PR0Z5REF0MEV1Yk9kN2dzVWphYWVZQ0NFcFUzS1FRQ1IyQ1BhYzJwOU1qRlBtS2U1aUJmc3dYSkxXbjBrbzhUbkl2dThsZkxNb0FJNExTS3g5X3R0T2xDRjA0U0ZTckJDZ25lWllsaUdIaFV2ZWdBV0x5TERvdXh1bjBJNkRhb0FMd1hjQW4za1I0d3lnOTdrU3VsNGtCY1hvbm01dDZhbFhPZkpza0lCNkpkOVZ0NWJQOHk4bEtkejFsMmlRRE9XWEZXMkxLcVBZb3VCaFNUVGNrX0g0aUJVMTI5bW9wNld4dmJoazNqZURIcXR1ckVSTWFlbTNrNXVyVEJPXzVPTkZTbi1GNS1rdjVVVzAzSlFwLVFYMHJkNnlEY1Y2VUltUklEeDdNTGEwZmVyNlUzdE1JSURaVmtjUmVDSTFJMDJiWlBRM2puR2RmVWxnMmxPc201M2p2RjdZS2lGMTZYRlgyZGJrdld1b2YyTEZfWnNhVWxFT3VMbGNQWDF0QjB1U180WmE4QmJUald4TmNEalFSQWpTNkJWOEFyaWJZclFoaEpHMFJjcE1RbGpOdG9JOXpmV0hremIzT0hhUE8tRU5jOHdHX0hOVjluVzJfcUU5NGVQM2k5Y2hESWRlTklTcnhkX0dZUGdrZUd4T1hxT2RHTmhCRG1Ec1lyMnBRRG5odUlhZzVhSXVFNGZ5YUpLRkgzX2VVY2FLSzRoSTZ6dTl4U3ZQWWV6eHR0Zk81MXRWZlJSckJ5ejRzVVNhXzhYZWk0d052NjlWdThDclE2X1JNaUtfZ2cwbHhhUC1qYk9pTGMxRFdlWVV4YTlIVmNCZ05fZDFSY1BmVlRFbFpXaWIxb25fT1NjaHJuQ3R5MExHSks5NldEX2MxQVpQaDBzNC1od09pSzJjaDJkOHlMSS0yM3BTUUFwVGRlZzFiQWlCTlFld2JzcVR4dGg3eUVNZktKQUxOcEE0WW5jUzBocWg4YjBVLVpjRTViZ3BTUnBHZW91dWIzbTQwZjJhbEpYU0pzWHpMQ1NZcVh3akdMTmJULV9PYVdCSWRVdkVpNXhjakVTcWVnc3VCelFOVDE2VXJxTzhMS0hTbHNIVHYybkpkMDY3OWFYUGhPb01SZVdTaUJKbTJrZ0ZNa3F4ZllvTjgzckpTYTZnUklFc3ZyY0I5YlBpVEU1RWpod3dZUEpYclg5aU1sMGFtc3lNRjlIeWFzNDlnbTF4YjVTMDFUcW1QTTlpNmhtSTFhYlBJVnhKUEltRlBaV2RkMUw3Zm52eWhpbWRBRUw1a19ucjNqeGU5enh5QzdmM2xiUWw1M2JRVGNCMXEtcngzR2lsdWFmNmV1djA2ZVIzYTk4VjBaLVZGNkdrdHlGdmhCbW8wQ2h4OGhzRmQzeFN1ZmcxcHg3UGt4ZlM2dnpKb1pVVTJ0TGlQdXl4cXdERDhLUXRNek9UaXB3ZEp2bE5Vb0RUaDhvMW0yMC01TzNtekFsVS15SGYtWGdZdE5HcjRsV0RrY0x4SnpseW5peGJUaHRaNnRYbUYzR0JId3ROaTZWN210bVU4WnpBak5xc2E2WHVuMFhUdm5HS29seTVDbW5IbHdwRUwwZzRSQmxvZTY3cVctcnpjTXAtaGl0d1AxRUdreVljaFlaaFd2YTROVDRRQzM3NW4zYTBLYzlEZ1hxa08wMVhkU2c0TnF4dHFwWm5xendmajZIWmdHT29qMHRBUFhVVmsuRmI0ZU9OZHRwLUgzWUowY1VfVHBkMHZkZk12VHhCdEU5QmotU1FKY0dQNA"}' - headers: - cache-control: no-cache - content-length: '6806' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:05 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecbak32f60fbc/backup?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak32f60fbc?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak32f60fbc","deletedDate":1613673905,"scheduledPurgeDate":1621449905,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak32f60fbc/5eca68784c304b8aa72fff71d83fe0ea","attributes":{"enabled":true,"created":1613673905,"updated":1613673905,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '389' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:05 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecbak32f60fbc?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak32f60fbc?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecbak32f60fbc"}}' - headers: - cache-control: no-cache - content-length: '98' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:05 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecbak32f60fbc?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak32f60fbc?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecbak32f60fbc"}}' - headers: - cache-control: no-cache - content-length: '98' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:07 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecbak32f60fbc?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak32f60fbc?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecbak32f60fbc"}}' - headers: - cache-control: no-cache - content-length: '98' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:09 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecbak32f60fbc?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak32f60fbc?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecbak32f60fbc"}}' - headers: - cache-control: no-cache - content-length: '98' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:11 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecbak32f60fbc?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak32f60fbc?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecbak32f60fbc"}}' - headers: - cache-control: no-cache - content-length: '98' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:13 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecbak32f60fbc?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak32f60fbc?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak32f60fbc","deletedDate":1613673905,"scheduledPurgeDate":1621449905,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak32f60fbc/5eca68784c304b8aa72fff71d83fe0ea","attributes":{"enabled":true,"created":1613673905,"updated":1613673905,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '389' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:15 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecbak32f60fbc?api-version=7.1 -- request: - body: null - headers: - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak32f60fbc?api-version=7.1 - response: - body: - string: '' - headers: - cache-control: no-cache - date: Thu, 18 Feb 2021 18:45:15 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 204 - message: No Content - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecbak32f60fbc?api-version=7.1 -- request: - body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuYk1JTEhFNGtpbFdWMjZnb3dBRjRPTlVSZk1SS2lkblBNZlktcklRWGkwUE5RS2pySTRxbzBNMUZmVmJsSzFnNlhCSHZjTjlIbS05LU85VUtVYTBrZG1rQzhZSWZqRWRYelp1bmRZTWtubUpYdFh6Nnc0UEthUHRPQ2I1VEVxZjRSUVBva0RzRHZJMGgxaXB4QkxWazJVTlZEN1ZlNzBlcUUtblAta3FDem5qUWFEc2lLT1hwTnNMRDlhcW5vZFVGc1pydzNHeFdObzdwSHEzUmVSTmJ6X0lFTDVteXdWVzMtVHpicVFTR29KQkdYb0xqdlEzMThlNmMyUGdyUC1wcGhoM1RFOHFJa182aFlTRm04YUg5Q09Zekh6NnQzR2tETW5hT1hMY2xRR09KMzIxamE1Q2hzLTEtWXVsRm1YRzFzMGZqSlpYNFptbHpUZ3lGbm5vWmRBLnB5Tl84NHhjdDJ0WS03QmFSdHRfZFEuT2ZLMDBxWldhQVdFOHR5R3RFRHBCb3ZtSHhseGREOHFuOUhaSmFhYVVEVHRQdVZKbjlyUjFYV1E0OGx2ZmN3b0ZrU1JIZGNtUE1GSDBvbFJFdFlwT1BIZEI4NkNGc256alZXZmtfLW9Oc0Y5S0d0RzlnVmVGMGNZT3I3b0stQl95VjRDWEoyTDdKWVJqLUx0TEp3a2JhbENZejFXM0FfYTBXZXE0ell2emJ0ZUpiZ3dhdllRNV94QWVEVTBBTEZWRnNINjdiUWFzdXI3bERRa2k4bmZoSXo4eWR0emVhUTY4Q3N6VVZpcDN4VjJ3TGNKSmtIcm1NR0VaZVpzZTAtbXRpYlZyNzdNUnk2bDhVS3drQVY5V0p6ZndfTUhJdmh2UUMzQ2FOOEFSOWdwaURzdGl0eDE1VHdnZUJ6dFRGOHo1aGdDZE5ONFY0a1Q2R1RsTEhXS0QzMThUS3d2STUybW5zY2lJRFNNQWMycEJSWHRKbDJ2eHkyaVZRYU5VWFBmYS1sTXlwaVduZWJ4Qlh3LXNHY0twMGJ0SS0zYVNCR0VHREh0UWxVem5fM2thajNsQ0FhRFlOZzQ4SzI3OFdhekhRdE5XbjYxUVB6V0ZCX0YtMFJmR1VGdDVjRjFZeUJVaWNJaVlnd2JoaXJ0clc4cEhDaHJySzI1R3BrNmFMOW1xdzlBQm1ZeVo5Y2hnMTZXUVRDWTRScEZrZUxTdzVHdUs0d2FFbTlOcW1fRHhfUFFYckNrZEF4UFBTT2t5SEg0alZJUXg1Tk9MQzFPaWYyai01WXdNMTlCcHB3T3JiaVUxaUVHemgzT3NvTGxFalpQSUpuVDdRUTB6Wk1LUUExSnh6VWR1U3ZZMHhOTXQzbzFSNW5zV2pDSDV6WS1aM1RfWkRiUGRoSXctSXFwckZlQmlvRkZKVmRDeUFLVldZczBRWU1SSnluQnZZbTIxNFB1YmZMUEdTa3ZQSWxvWFoyR2tPU3FIN2JrRVdCdDEzTHZUYUN1YlZVTDB3Qk1rSHAxT1NrYU51YXlVYUtrS05UVy1wQ3M1cmtGTUZrLVNEek95U2ZHeVJYYmNtQWdRQXdaTVFrOC1Ia291UVJyTHkzN21NcGJaWWZHSXA5eTNwYnpGYWVuT216SnZubUdicHY3cUtBbzVYSUdRbVlWRllEVGRUYzFEN19xQmlQUU90SkxDOTQ3LW5mMThtYW5SQWFsS1RmZ2I0bUhIcm5QMm9vZHFiSU5YT2dXRS1oU2x1QlNtQWxIVEE5UW1abERMc2R6d2FlU0ZuTnJueWFPWm1fUHJ4RVJhRGZSQjRJSEc2aVZkaWl3MWxwSWVhZkhITnMwdHctRzFuSUQ4Mkt1M2ZGQjJjcnVBODJ2YnRpR28xTk1RaUNzTm9YeWpGenBUY0FoTE5vMzZBZFpvRVNmZ1VQbkZOTV9MTE5FWHBhcEw2T2RKZzBmbTZFaFpNS1VKeFBuS21MNmh5ZENfSDJlaDE2am5SdlI1bjFtX0tja2pXT0k3T3hYbTQxNk1OTk00MVBDNmI1RFRmdWhPbnVLLUlXY3BJdXFyYWRIeW4ycHlCdEk4REcwLXU3Z2VHdXdNYjE5d2VnOGgzUlFxQ2pxNkc2eGZhS0traWJEUDYzMUpFUDBWa3NEVmFMb09ERjB1NlZydnF2Z29ZWmhGdHNpWTU4UW1DVXJERVFDWXA2R3g4U21BUGZ2NW1XYVp0MGRVQVhjMzlqWm0tM19mTlFuVU5hOWFZRGxrVmdfOS00Y1I2RmljcXZfUWlOYzdTZWR0T3hPZno0TXRZUmNCWkhtUnpjd0pZRGVuck42a0JWejFTdUt1cGhnZ2RzRk1oelprSE5OeWhFaXZ1bko5WVRfc0YxZDlFNGpIR2dGM1h4SXBFbktiazNBT1NMN2pUcXF4T2c1VTgxUWZ2clJZQTcyTUVBYVpCay11LW5yM283ZV9BZFF5V0Z1ZUNTakZPSzBENVZIclJHNHhSZ3EwZHRZTGtWYU0ydTlPYVB4Z2JKUGFDM3A0eUFxVnVtRGVKYXpRTkpseHQwNk5uMXVhdVFxNWwyRlVoUXA4MzA4OGxPWG9pUlJmbk5RTEVrMTJzb1UzU0h6eXlpTWRsVWZmY2hSRjNYelpEenRTb3JCVUN2X2p3MjVBUVpJaHdGcERiSVZfd1FlOHRvY08zdUlCVmthYmNsWmNhSzVhOTROQXNxdUVDcjZ6aXdmT0E5am02djRIbE5EVks3aXdWZy1udE5sZmEzcjFURHZjQ0UxZWRyTDRxQmo1NXNDWE1KdlpMb2htTGdnM0ZiTEgzNmJSRTFlaHc5WUxsd3lnNTRYRVlYSjd2dldzWjNscHpUaEdrSUdHYzNIVll2M1A1T1VQbklnd3JqTHUxZklUOGhnS1RneGJDU2JwOVZJa0xSTW5Zcm1XVnZjOE1POTdZMDhYTVNPVnQtQVcxNGNjTDdjZy1sWkJRSXFtVy10bGVib3o3N2xfWjQ4ek5LX1p5RFNRMDktY1ZxcE40R1dGYm8zMTR2TXQzZnc1TS1tWERrQUROSGhZemp6Uk5mcF93SWd3dmxTdC1PSjdNY0JpWlQ0d0N3Vk1ySExrWFlzVHRhekszdzlVTjEwRldVZFVReEFEVGpjcXU2UHVGejJZak9peUdBcUFqQjc4a3I1YWtoYnZ2R1RCYm93YkhMa19NNm9BWG5jV0ZjNk9QZXBqT2lWZnZpNUpNcmVMSlJKMHowa01YSXBJeGZSd09ia3hnWFRLbUU3WnRjcGlvQ2szWUQ5QmpiOGt6NjZoWmVHX2huNmYxUzluczlxUlJXdHE2RjRHNEJBdHZhM2RMWVJOS0RwWkVNZTBhbkZFRVNHT3RzMmNublNJT0NfejRMS2lnVjlBM3htVUdLMVY1blNmRmZBSi1IS0pXU0swTGhDUk50NUQwQTRzMVh5RngzVlBqOGdsZWhRQkQzSzl4QVl5NVN0Ukp3X25ZTDl0Y0U3V1dqa1pPWTBtRTFEbUR3SGZudDBSODhBXzE3eWhyUWszUlAzaHh4dEF5R0VtQmtWU19ueDJSMV9UcXdteEtCMzdueng3Ri12bWM1dWNrM1NkTWloaDhBTkpLcGlSSVM3TXV1N2p2MTFDaW10ZVRUOF9NbWg3bm1EbUZNSE5IVWRUSEtRbktOVWkyWm1ONW9oeGwtT2d0Yko0RGdTSWpFa1l1Q1JIUzdEZ2dBS2M5eW91anRGY2xhRXRveVNFMW1tWDNTeUYwd2xiSlRqY0pIa29pVjJPLTRQX1dKRHNhd2NZTUZ2akhoTG1sXzdOMW9TNjloUVZreDNLTGRBWG84WmpTVVNmWFZBNHM5UWNnVFF1X21MU2h4MFpJLXZJSzlBbGl2RzNWNmppbzlwcktLNkhHb3RuME1BdkxfRHhUS3R0YURpcW9ZYU44R0stYU5YNGQxVzB6S2dpTWRjOHRZdTNLYjFrLW5KYVZRX2VmOWIxcTVuZ2hCZ0o4X2ZmZU5nWDh4MkxMcjBXRnkyMUxmUGwzOGZtMi13Z09ON051RUF0TlBmMS1HUTJxZkVxd3lWczEtLWJxN1g4NjJEVWJ3QjJ3NmJTaS1wVk1vUVY3amM3ZFNnbENZQVJweUV2Y0NhdF9GZnpiZ2VRODBBYVNCUEtWMXAzWWtBRjZaa05NUkN1Tmhkc2tYRDgtb3pMNVFBUUQ1QWpqRTNtTFZRc3RQemU0cEtiSnctUnlhWlpyTnU5ZU1uV1lZSWZpQzAzYS1vMkZlbmNZR2M5dXk0ZjJyUkxvbG9JelZmQVhLNXF0UmdhMGx3TnkzZlg0YzJ6bGVHNHJYV1dQa0JlakxtbENOaE92ZlEwVHJLSF9TTTA1b1RpR1R0WTNnaThldmh1bld4OTNTdm9vOGZUSHl6M25ZSV9EZEJ6MTNza1cyN0NkLTRRMW1lUHBHVHJpUzJtNXctOU5UNXdocmYxUWMxUWJ3cnJqQzFKb3dYUUtRQnZGQnZWVkxLUEQ5cTVkcF9TSHRDV2FTOTY4aWNabVdSMzdMM212UGFBbXkzc243c1FqZGpkLTl1b1k0Sm04Xy04TG85Z0ZGOFdESlR6YXozUnNYaFJ5ZG1JOUVMMk9ZcEdPdTdUZjVIV1JPVlVfNi1IZVRGMEY4elBCaVR3TjVuOGhqSmJrN0k0aWxWa1NLNEdMT2I2OXFuNHhJeTdWLXVDR3Fud0lGSnZTekZSWFRkam5aQWg0MTNYUFNWU1FqM2x1NklpSU5OckxRYmJYQjNXeTJpR1Fjc0drSmJ2bE9RdktSYUhlX05PR0Z5REF0MEV1Yk9kN2dzVWphYWVZQ0NFcFUzS1FRQ1IyQ1BhYzJwOU1qRlBtS2U1aUJmc3dYSkxXbjBrbzhUbkl2dThsZkxNb0FJNExTS3g5X3R0T2xDRjA0U0ZTckJDZ25lWllsaUdIaFV2ZWdBV0x5TERvdXh1bjBJNkRhb0FMd1hjQW4za1I0d3lnOTdrU3VsNGtCY1hvbm01dDZhbFhPZkpza0lCNkpkOVZ0NWJQOHk4bEtkejFsMmlRRE9XWEZXMkxLcVBZb3VCaFNUVGNrX0g0aUJVMTI5bW9wNld4dmJoazNqZURIcXR1ckVSTWFlbTNrNXVyVEJPXzVPTkZTbi1GNS1rdjVVVzAzSlFwLVFYMHJkNnlEY1Y2VUltUklEeDdNTGEwZmVyNlUzdE1JSURaVmtjUmVDSTFJMDJiWlBRM2puR2RmVWxnMmxPc201M2p2RjdZS2lGMTZYRlgyZGJrdld1b2YyTEZfWnNhVWxFT3VMbGNQWDF0QjB1U180WmE4QmJUald4TmNEalFSQWpTNkJWOEFyaWJZclFoaEpHMFJjcE1RbGpOdG9JOXpmV0hremIzT0hhUE8tRU5jOHdHX0hOVjluVzJfcUU5NGVQM2k5Y2hESWRlTklTcnhkX0dZUGdrZUd4T1hxT2RHTmhCRG1Ec1lyMnBRRG5odUlhZzVhSXVFNGZ5YUpLRkgzX2VVY2FLSzRoSTZ6dTl4U3ZQWWV6eHR0Zk81MXRWZlJSckJ5ejRzVVNhXzhYZWk0d052NjlWdThDclE2X1JNaUtfZ2cwbHhhUC1qYk9pTGMxRFdlWVV4YTlIVmNCZ05fZDFSY1BmVlRFbFpXaWIxb25fT1NjaHJuQ3R5MExHSks5NldEX2MxQVpQaDBzNC1od09pSzJjaDJkOHlMSS0yM3BTUUFwVGRlZzFiQWlCTlFld2JzcVR4dGg3eUVNZktKQUxOcEE0WW5jUzBocWg4YjBVLVpjRTViZ3BTUnBHZW91dWIzbTQwZjJhbEpYU0pzWHpMQ1NZcVh3akdMTmJULV9PYVdCSWRVdkVpNXhjakVTcWVnc3VCelFOVDE2VXJxTzhMS0hTbHNIVHYybkpkMDY3OWFYUGhPb01SZVdTaUJKbTJrZ0ZNa3F4ZllvTjgzckpTYTZnUklFc3ZyY0I5YlBpVEU1RWpod3dZUEpYclg5aU1sMGFtc3lNRjlIeWFzNDlnbTF4YjVTMDFUcW1QTTlpNmhtSTFhYlBJVnhKUEltRlBaV2RkMUw3Zm52eWhpbWRBRUw1a19ucjNqeGU5enh5QzdmM2xiUWw1M2JRVGNCMXEtcngzR2lsdWFmNmV1djA2ZVIzYTk4VjBaLVZGNkdrdHlGdmhCbW8wQ2h4OGhzRmQzeFN1ZmcxcHg3UGt4ZlM2dnpKb1pVVTJ0TGlQdXl4cXdERDhLUXRNek9UaXB3ZEp2bE5Vb0RUaDhvMW0yMC01TzNtekFsVS15SGYtWGdZdE5HcjRsV0RrY0x4SnpseW5peGJUaHRaNnRYbUYzR0JId3ROaTZWN210bVU4WnpBak5xc2E2WHVuMFhUdm5HS29seTVDbW5IbHdwRUwwZzRSQmxvZTY3cVctcnpjTXAtaGl0d1AxRUdreVljaFlaaFd2YTROVDRRQzM3NW4zYTBLYzlEZ1hxa08wMVhkU2c0TnF4dHFwWm5xendmajZIWmdHT29qMHRBUFhVVmsuRmI0ZU9OZHRwLUgzWUowY1VfVHBkMHZkZk12VHhCdEU5QmotU1FKY0dQNA"}' - headers: - Accept: - - application/json - Content-Length: - - '6807' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 - response: - body: - string: '{"error":{"code":"Conflict","message":"There was a conflict restoring - the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak32f60fbc/5eca68784c304b8aa72fff71d83fe0ea''. - This can happen if either: a second secret with the same name was created - after the first secret was deleted; thus trying to restore a secret whose - name is already in use. To fix this, rename the second secret to something - else so that the restore works. The second probable cause of this exception - is when multiple operations are performed in parallel against the secret. - To avoid this error, perform operations against a secret in a sequential manner."}}' - headers: - cache-control: no-cache - content-length: '641' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:16 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 409 - message: Conflict - url: https://mcpatinokv.vault.azure.net/secrets/restore?api-version=7.1 -- request: - body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuYk1JTEhFNGtpbFdWMjZnb3dBRjRPTlVSZk1SS2lkblBNZlktcklRWGkwUE5RS2pySTRxbzBNMUZmVmJsSzFnNlhCSHZjTjlIbS05LU85VUtVYTBrZG1rQzhZSWZqRWRYelp1bmRZTWtubUpYdFh6Nnc0UEthUHRPQ2I1VEVxZjRSUVBva0RzRHZJMGgxaXB4QkxWazJVTlZEN1ZlNzBlcUUtblAta3FDem5qUWFEc2lLT1hwTnNMRDlhcW5vZFVGc1pydzNHeFdObzdwSHEzUmVSTmJ6X0lFTDVteXdWVzMtVHpicVFTR29KQkdYb0xqdlEzMThlNmMyUGdyUC1wcGhoM1RFOHFJa182aFlTRm04YUg5Q09Zekh6NnQzR2tETW5hT1hMY2xRR09KMzIxamE1Q2hzLTEtWXVsRm1YRzFzMGZqSlpYNFptbHpUZ3lGbm5vWmRBLnB5Tl84NHhjdDJ0WS03QmFSdHRfZFEuT2ZLMDBxWldhQVdFOHR5R3RFRHBCb3ZtSHhseGREOHFuOUhaSmFhYVVEVHRQdVZKbjlyUjFYV1E0OGx2ZmN3b0ZrU1JIZGNtUE1GSDBvbFJFdFlwT1BIZEI4NkNGc256alZXZmtfLW9Oc0Y5S0d0RzlnVmVGMGNZT3I3b0stQl95VjRDWEoyTDdKWVJqLUx0TEp3a2JhbENZejFXM0FfYTBXZXE0ell2emJ0ZUpiZ3dhdllRNV94QWVEVTBBTEZWRnNINjdiUWFzdXI3bERRa2k4bmZoSXo4eWR0emVhUTY4Q3N6VVZpcDN4VjJ3TGNKSmtIcm1NR0VaZVpzZTAtbXRpYlZyNzdNUnk2bDhVS3drQVY5V0p6ZndfTUhJdmh2UUMzQ2FOOEFSOWdwaURzdGl0eDE1VHdnZUJ6dFRGOHo1aGdDZE5ONFY0a1Q2R1RsTEhXS0QzMThUS3d2STUybW5zY2lJRFNNQWMycEJSWHRKbDJ2eHkyaVZRYU5VWFBmYS1sTXlwaVduZWJ4Qlh3LXNHY0twMGJ0SS0zYVNCR0VHREh0UWxVem5fM2thajNsQ0FhRFlOZzQ4SzI3OFdhekhRdE5XbjYxUVB6V0ZCX0YtMFJmR1VGdDVjRjFZeUJVaWNJaVlnd2JoaXJ0clc4cEhDaHJySzI1R3BrNmFMOW1xdzlBQm1ZeVo5Y2hnMTZXUVRDWTRScEZrZUxTdzVHdUs0d2FFbTlOcW1fRHhfUFFYckNrZEF4UFBTT2t5SEg0alZJUXg1Tk9MQzFPaWYyai01WXdNMTlCcHB3T3JiaVUxaUVHemgzT3NvTGxFalpQSUpuVDdRUTB6Wk1LUUExSnh6VWR1U3ZZMHhOTXQzbzFSNW5zV2pDSDV6WS1aM1RfWkRiUGRoSXctSXFwckZlQmlvRkZKVmRDeUFLVldZczBRWU1SSnluQnZZbTIxNFB1YmZMUEdTa3ZQSWxvWFoyR2tPU3FIN2JrRVdCdDEzTHZUYUN1YlZVTDB3Qk1rSHAxT1NrYU51YXlVYUtrS05UVy1wQ3M1cmtGTUZrLVNEek95U2ZHeVJYYmNtQWdRQXdaTVFrOC1Ia291UVJyTHkzN21NcGJaWWZHSXA5eTNwYnpGYWVuT216SnZubUdicHY3cUtBbzVYSUdRbVlWRllEVGRUYzFEN19xQmlQUU90SkxDOTQ3LW5mMThtYW5SQWFsS1RmZ2I0bUhIcm5QMm9vZHFiSU5YT2dXRS1oU2x1QlNtQWxIVEE5UW1abERMc2R6d2FlU0ZuTnJueWFPWm1fUHJ4RVJhRGZSQjRJSEc2aVZkaWl3MWxwSWVhZkhITnMwdHctRzFuSUQ4Mkt1M2ZGQjJjcnVBODJ2YnRpR28xTk1RaUNzTm9YeWpGenBUY0FoTE5vMzZBZFpvRVNmZ1VQbkZOTV9MTE5FWHBhcEw2T2RKZzBmbTZFaFpNS1VKeFBuS21MNmh5ZENfSDJlaDE2am5SdlI1bjFtX0tja2pXT0k3T3hYbTQxNk1OTk00MVBDNmI1RFRmdWhPbnVLLUlXY3BJdXFyYWRIeW4ycHlCdEk4REcwLXU3Z2VHdXdNYjE5d2VnOGgzUlFxQ2pxNkc2eGZhS0traWJEUDYzMUpFUDBWa3NEVmFMb09ERjB1NlZydnF2Z29ZWmhGdHNpWTU4UW1DVXJERVFDWXA2R3g4U21BUGZ2NW1XYVp0MGRVQVhjMzlqWm0tM19mTlFuVU5hOWFZRGxrVmdfOS00Y1I2RmljcXZfUWlOYzdTZWR0T3hPZno0TXRZUmNCWkhtUnpjd0pZRGVuck42a0JWejFTdUt1cGhnZ2RzRk1oelprSE5OeWhFaXZ1bko5WVRfc0YxZDlFNGpIR2dGM1h4SXBFbktiazNBT1NMN2pUcXF4T2c1VTgxUWZ2clJZQTcyTUVBYVpCay11LW5yM283ZV9BZFF5V0Z1ZUNTakZPSzBENVZIclJHNHhSZ3EwZHRZTGtWYU0ydTlPYVB4Z2JKUGFDM3A0eUFxVnVtRGVKYXpRTkpseHQwNk5uMXVhdVFxNWwyRlVoUXA4MzA4OGxPWG9pUlJmbk5RTEVrMTJzb1UzU0h6eXlpTWRsVWZmY2hSRjNYelpEenRTb3JCVUN2X2p3MjVBUVpJaHdGcERiSVZfd1FlOHRvY08zdUlCVmthYmNsWmNhSzVhOTROQXNxdUVDcjZ6aXdmT0E5am02djRIbE5EVks3aXdWZy1udE5sZmEzcjFURHZjQ0UxZWRyTDRxQmo1NXNDWE1KdlpMb2htTGdnM0ZiTEgzNmJSRTFlaHc5WUxsd3lnNTRYRVlYSjd2dldzWjNscHpUaEdrSUdHYzNIVll2M1A1T1VQbklnd3JqTHUxZklUOGhnS1RneGJDU2JwOVZJa0xSTW5Zcm1XVnZjOE1POTdZMDhYTVNPVnQtQVcxNGNjTDdjZy1sWkJRSXFtVy10bGVib3o3N2xfWjQ4ek5LX1p5RFNRMDktY1ZxcE40R1dGYm8zMTR2TXQzZnc1TS1tWERrQUROSGhZemp6Uk5mcF93SWd3dmxTdC1PSjdNY0JpWlQ0d0N3Vk1ySExrWFlzVHRhekszdzlVTjEwRldVZFVReEFEVGpjcXU2UHVGejJZak9peUdBcUFqQjc4a3I1YWtoYnZ2R1RCYm93YkhMa19NNm9BWG5jV0ZjNk9QZXBqT2lWZnZpNUpNcmVMSlJKMHowa01YSXBJeGZSd09ia3hnWFRLbUU3WnRjcGlvQ2szWUQ5QmpiOGt6NjZoWmVHX2huNmYxUzluczlxUlJXdHE2RjRHNEJBdHZhM2RMWVJOS0RwWkVNZTBhbkZFRVNHT3RzMmNublNJT0NfejRMS2lnVjlBM3htVUdLMVY1blNmRmZBSi1IS0pXU0swTGhDUk50NUQwQTRzMVh5RngzVlBqOGdsZWhRQkQzSzl4QVl5NVN0Ukp3X25ZTDl0Y0U3V1dqa1pPWTBtRTFEbUR3SGZudDBSODhBXzE3eWhyUWszUlAzaHh4dEF5R0VtQmtWU19ueDJSMV9UcXdteEtCMzdueng3Ri12bWM1dWNrM1NkTWloaDhBTkpLcGlSSVM3TXV1N2p2MTFDaW10ZVRUOF9NbWg3bm1EbUZNSE5IVWRUSEtRbktOVWkyWm1ONW9oeGwtT2d0Yko0RGdTSWpFa1l1Q1JIUzdEZ2dBS2M5eW91anRGY2xhRXRveVNFMW1tWDNTeUYwd2xiSlRqY0pIa29pVjJPLTRQX1dKRHNhd2NZTUZ2akhoTG1sXzdOMW9TNjloUVZreDNLTGRBWG84WmpTVVNmWFZBNHM5UWNnVFF1X21MU2h4MFpJLXZJSzlBbGl2RzNWNmppbzlwcktLNkhHb3RuME1BdkxfRHhUS3R0YURpcW9ZYU44R0stYU5YNGQxVzB6S2dpTWRjOHRZdTNLYjFrLW5KYVZRX2VmOWIxcTVuZ2hCZ0o4X2ZmZU5nWDh4MkxMcjBXRnkyMUxmUGwzOGZtMi13Z09ON051RUF0TlBmMS1HUTJxZkVxd3lWczEtLWJxN1g4NjJEVWJ3QjJ3NmJTaS1wVk1vUVY3amM3ZFNnbENZQVJweUV2Y0NhdF9GZnpiZ2VRODBBYVNCUEtWMXAzWWtBRjZaa05NUkN1Tmhkc2tYRDgtb3pMNVFBUUQ1QWpqRTNtTFZRc3RQemU0cEtiSnctUnlhWlpyTnU5ZU1uV1lZSWZpQzAzYS1vMkZlbmNZR2M5dXk0ZjJyUkxvbG9JelZmQVhLNXF0UmdhMGx3TnkzZlg0YzJ6bGVHNHJYV1dQa0JlakxtbENOaE92ZlEwVHJLSF9TTTA1b1RpR1R0WTNnaThldmh1bld4OTNTdm9vOGZUSHl6M25ZSV9EZEJ6MTNza1cyN0NkLTRRMW1lUHBHVHJpUzJtNXctOU5UNXdocmYxUWMxUWJ3cnJqQzFKb3dYUUtRQnZGQnZWVkxLUEQ5cTVkcF9TSHRDV2FTOTY4aWNabVdSMzdMM212UGFBbXkzc243c1FqZGpkLTl1b1k0Sm04Xy04TG85Z0ZGOFdESlR6YXozUnNYaFJ5ZG1JOUVMMk9ZcEdPdTdUZjVIV1JPVlVfNi1IZVRGMEY4elBCaVR3TjVuOGhqSmJrN0k0aWxWa1NLNEdMT2I2OXFuNHhJeTdWLXVDR3Fud0lGSnZTekZSWFRkam5aQWg0MTNYUFNWU1FqM2x1NklpSU5OckxRYmJYQjNXeTJpR1Fjc0drSmJ2bE9RdktSYUhlX05PR0Z5REF0MEV1Yk9kN2dzVWphYWVZQ0NFcFUzS1FRQ1IyQ1BhYzJwOU1qRlBtS2U1aUJmc3dYSkxXbjBrbzhUbkl2dThsZkxNb0FJNExTS3g5X3R0T2xDRjA0U0ZTckJDZ25lWllsaUdIaFV2ZWdBV0x5TERvdXh1bjBJNkRhb0FMd1hjQW4za1I0d3lnOTdrU3VsNGtCY1hvbm01dDZhbFhPZkpza0lCNkpkOVZ0NWJQOHk4bEtkejFsMmlRRE9XWEZXMkxLcVBZb3VCaFNUVGNrX0g0aUJVMTI5bW9wNld4dmJoazNqZURIcXR1ckVSTWFlbTNrNXVyVEJPXzVPTkZTbi1GNS1rdjVVVzAzSlFwLVFYMHJkNnlEY1Y2VUltUklEeDdNTGEwZmVyNlUzdE1JSURaVmtjUmVDSTFJMDJiWlBRM2puR2RmVWxnMmxPc201M2p2RjdZS2lGMTZYRlgyZGJrdld1b2YyTEZfWnNhVWxFT3VMbGNQWDF0QjB1U180WmE4QmJUald4TmNEalFSQWpTNkJWOEFyaWJZclFoaEpHMFJjcE1RbGpOdG9JOXpmV0hremIzT0hhUE8tRU5jOHdHX0hOVjluVzJfcUU5NGVQM2k5Y2hESWRlTklTcnhkX0dZUGdrZUd4T1hxT2RHTmhCRG1Ec1lyMnBRRG5odUlhZzVhSXVFNGZ5YUpLRkgzX2VVY2FLSzRoSTZ6dTl4U3ZQWWV6eHR0Zk81MXRWZlJSckJ5ejRzVVNhXzhYZWk0d052NjlWdThDclE2X1JNaUtfZ2cwbHhhUC1qYk9pTGMxRFdlWVV4YTlIVmNCZ05fZDFSY1BmVlRFbFpXaWIxb25fT1NjaHJuQ3R5MExHSks5NldEX2MxQVpQaDBzNC1od09pSzJjaDJkOHlMSS0yM3BTUUFwVGRlZzFiQWlCTlFld2JzcVR4dGg3eUVNZktKQUxOcEE0WW5jUzBocWg4YjBVLVpjRTViZ3BTUnBHZW91dWIzbTQwZjJhbEpYU0pzWHpMQ1NZcVh3akdMTmJULV9PYVdCSWRVdkVpNXhjakVTcWVnc3VCelFOVDE2VXJxTzhMS0hTbHNIVHYybkpkMDY3OWFYUGhPb01SZVdTaUJKbTJrZ0ZNa3F4ZllvTjgzckpTYTZnUklFc3ZyY0I5YlBpVEU1RWpod3dZUEpYclg5aU1sMGFtc3lNRjlIeWFzNDlnbTF4YjVTMDFUcW1QTTlpNmhtSTFhYlBJVnhKUEltRlBaV2RkMUw3Zm52eWhpbWRBRUw1a19ucjNqeGU5enh5QzdmM2xiUWw1M2JRVGNCMXEtcngzR2lsdWFmNmV1djA2ZVIzYTk4VjBaLVZGNkdrdHlGdmhCbW8wQ2h4OGhzRmQzeFN1ZmcxcHg3UGt4ZlM2dnpKb1pVVTJ0TGlQdXl4cXdERDhLUXRNek9UaXB3ZEp2bE5Vb0RUaDhvMW0yMC01TzNtekFsVS15SGYtWGdZdE5HcjRsV0RrY0x4SnpseW5peGJUaHRaNnRYbUYzR0JId3ROaTZWN210bVU4WnpBak5xc2E2WHVuMFhUdm5HS29seTVDbW5IbHdwRUwwZzRSQmxvZTY3cVctcnpjTXAtaGl0d1AxRUdreVljaFlaaFd2YTROVDRRQzM3NW4zYTBLYzlEZ1hxa08wMVhkU2c0TnF4dHFwWm5xendmajZIWmdHT29qMHRBUFhVVmsuRmI0ZU9OZHRwLUgzWUowY1VfVHBkMHZkZk12VHhCdEU5QmotU1FKY0dQNA"}' - headers: - Accept: - - application/json - Content-Length: - - '6807' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 - response: - body: - string: '{"error":{"code":"Conflict","message":"There was a conflict restoring - the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak32f60fbc/5eca68784c304b8aa72fff71d83fe0ea''. - This can happen if either: a second secret with the same name was created - after the first secret was deleted; thus trying to restore a secret whose - name is already in use. To fix this, rename the second secret to something - else so that the restore works. The second probable cause of this exception - is when multiple operations are performed in parallel against the secret. - To avoid this error, perform operations against a secret in a sequential manner."}}' - headers: - cache-control: no-cache - content-length: '641' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:18 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 409 - message: Conflict - url: https://mcpatinokv.vault.azure.net/secrets/restore?api-version=7.1 -- request: - body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuYk1JTEhFNGtpbFdWMjZnb3dBRjRPTlVSZk1SS2lkblBNZlktcklRWGkwUE5RS2pySTRxbzBNMUZmVmJsSzFnNlhCSHZjTjlIbS05LU85VUtVYTBrZG1rQzhZSWZqRWRYelp1bmRZTWtubUpYdFh6Nnc0UEthUHRPQ2I1VEVxZjRSUVBva0RzRHZJMGgxaXB4QkxWazJVTlZEN1ZlNzBlcUUtblAta3FDem5qUWFEc2lLT1hwTnNMRDlhcW5vZFVGc1pydzNHeFdObzdwSHEzUmVSTmJ6X0lFTDVteXdWVzMtVHpicVFTR29KQkdYb0xqdlEzMThlNmMyUGdyUC1wcGhoM1RFOHFJa182aFlTRm04YUg5Q09Zekh6NnQzR2tETW5hT1hMY2xRR09KMzIxamE1Q2hzLTEtWXVsRm1YRzFzMGZqSlpYNFptbHpUZ3lGbm5vWmRBLnB5Tl84NHhjdDJ0WS03QmFSdHRfZFEuT2ZLMDBxWldhQVdFOHR5R3RFRHBCb3ZtSHhseGREOHFuOUhaSmFhYVVEVHRQdVZKbjlyUjFYV1E0OGx2ZmN3b0ZrU1JIZGNtUE1GSDBvbFJFdFlwT1BIZEI4NkNGc256alZXZmtfLW9Oc0Y5S0d0RzlnVmVGMGNZT3I3b0stQl95VjRDWEoyTDdKWVJqLUx0TEp3a2JhbENZejFXM0FfYTBXZXE0ell2emJ0ZUpiZ3dhdllRNV94QWVEVTBBTEZWRnNINjdiUWFzdXI3bERRa2k4bmZoSXo4eWR0emVhUTY4Q3N6VVZpcDN4VjJ3TGNKSmtIcm1NR0VaZVpzZTAtbXRpYlZyNzdNUnk2bDhVS3drQVY5V0p6ZndfTUhJdmh2UUMzQ2FOOEFSOWdwaURzdGl0eDE1VHdnZUJ6dFRGOHo1aGdDZE5ONFY0a1Q2R1RsTEhXS0QzMThUS3d2STUybW5zY2lJRFNNQWMycEJSWHRKbDJ2eHkyaVZRYU5VWFBmYS1sTXlwaVduZWJ4Qlh3LXNHY0twMGJ0SS0zYVNCR0VHREh0UWxVem5fM2thajNsQ0FhRFlOZzQ4SzI3OFdhekhRdE5XbjYxUVB6V0ZCX0YtMFJmR1VGdDVjRjFZeUJVaWNJaVlnd2JoaXJ0clc4cEhDaHJySzI1R3BrNmFMOW1xdzlBQm1ZeVo5Y2hnMTZXUVRDWTRScEZrZUxTdzVHdUs0d2FFbTlOcW1fRHhfUFFYckNrZEF4UFBTT2t5SEg0alZJUXg1Tk9MQzFPaWYyai01WXdNMTlCcHB3T3JiaVUxaUVHemgzT3NvTGxFalpQSUpuVDdRUTB6Wk1LUUExSnh6VWR1U3ZZMHhOTXQzbzFSNW5zV2pDSDV6WS1aM1RfWkRiUGRoSXctSXFwckZlQmlvRkZKVmRDeUFLVldZczBRWU1SSnluQnZZbTIxNFB1YmZMUEdTa3ZQSWxvWFoyR2tPU3FIN2JrRVdCdDEzTHZUYUN1YlZVTDB3Qk1rSHAxT1NrYU51YXlVYUtrS05UVy1wQ3M1cmtGTUZrLVNEek95U2ZHeVJYYmNtQWdRQXdaTVFrOC1Ia291UVJyTHkzN21NcGJaWWZHSXA5eTNwYnpGYWVuT216SnZubUdicHY3cUtBbzVYSUdRbVlWRllEVGRUYzFEN19xQmlQUU90SkxDOTQ3LW5mMThtYW5SQWFsS1RmZ2I0bUhIcm5QMm9vZHFiSU5YT2dXRS1oU2x1QlNtQWxIVEE5UW1abERMc2R6d2FlU0ZuTnJueWFPWm1fUHJ4RVJhRGZSQjRJSEc2aVZkaWl3MWxwSWVhZkhITnMwdHctRzFuSUQ4Mkt1M2ZGQjJjcnVBODJ2YnRpR28xTk1RaUNzTm9YeWpGenBUY0FoTE5vMzZBZFpvRVNmZ1VQbkZOTV9MTE5FWHBhcEw2T2RKZzBmbTZFaFpNS1VKeFBuS21MNmh5ZENfSDJlaDE2am5SdlI1bjFtX0tja2pXT0k3T3hYbTQxNk1OTk00MVBDNmI1RFRmdWhPbnVLLUlXY3BJdXFyYWRIeW4ycHlCdEk4REcwLXU3Z2VHdXdNYjE5d2VnOGgzUlFxQ2pxNkc2eGZhS0traWJEUDYzMUpFUDBWa3NEVmFMb09ERjB1NlZydnF2Z29ZWmhGdHNpWTU4UW1DVXJERVFDWXA2R3g4U21BUGZ2NW1XYVp0MGRVQVhjMzlqWm0tM19mTlFuVU5hOWFZRGxrVmdfOS00Y1I2RmljcXZfUWlOYzdTZWR0T3hPZno0TXRZUmNCWkhtUnpjd0pZRGVuck42a0JWejFTdUt1cGhnZ2RzRk1oelprSE5OeWhFaXZ1bko5WVRfc0YxZDlFNGpIR2dGM1h4SXBFbktiazNBT1NMN2pUcXF4T2c1VTgxUWZ2clJZQTcyTUVBYVpCay11LW5yM283ZV9BZFF5V0Z1ZUNTakZPSzBENVZIclJHNHhSZ3EwZHRZTGtWYU0ydTlPYVB4Z2JKUGFDM3A0eUFxVnVtRGVKYXpRTkpseHQwNk5uMXVhdVFxNWwyRlVoUXA4MzA4OGxPWG9pUlJmbk5RTEVrMTJzb1UzU0h6eXlpTWRsVWZmY2hSRjNYelpEenRTb3JCVUN2X2p3MjVBUVpJaHdGcERiSVZfd1FlOHRvY08zdUlCVmthYmNsWmNhSzVhOTROQXNxdUVDcjZ6aXdmT0E5am02djRIbE5EVks3aXdWZy1udE5sZmEzcjFURHZjQ0UxZWRyTDRxQmo1NXNDWE1KdlpMb2htTGdnM0ZiTEgzNmJSRTFlaHc5WUxsd3lnNTRYRVlYSjd2dldzWjNscHpUaEdrSUdHYzNIVll2M1A1T1VQbklnd3JqTHUxZklUOGhnS1RneGJDU2JwOVZJa0xSTW5Zcm1XVnZjOE1POTdZMDhYTVNPVnQtQVcxNGNjTDdjZy1sWkJRSXFtVy10bGVib3o3N2xfWjQ4ek5LX1p5RFNRMDktY1ZxcE40R1dGYm8zMTR2TXQzZnc1TS1tWERrQUROSGhZemp6Uk5mcF93SWd3dmxTdC1PSjdNY0JpWlQ0d0N3Vk1ySExrWFlzVHRhekszdzlVTjEwRldVZFVReEFEVGpjcXU2UHVGejJZak9peUdBcUFqQjc4a3I1YWtoYnZ2R1RCYm93YkhMa19NNm9BWG5jV0ZjNk9QZXBqT2lWZnZpNUpNcmVMSlJKMHowa01YSXBJeGZSd09ia3hnWFRLbUU3WnRjcGlvQ2szWUQ5QmpiOGt6NjZoWmVHX2huNmYxUzluczlxUlJXdHE2RjRHNEJBdHZhM2RMWVJOS0RwWkVNZTBhbkZFRVNHT3RzMmNublNJT0NfejRMS2lnVjlBM3htVUdLMVY1blNmRmZBSi1IS0pXU0swTGhDUk50NUQwQTRzMVh5RngzVlBqOGdsZWhRQkQzSzl4QVl5NVN0Ukp3X25ZTDl0Y0U3V1dqa1pPWTBtRTFEbUR3SGZudDBSODhBXzE3eWhyUWszUlAzaHh4dEF5R0VtQmtWU19ueDJSMV9UcXdteEtCMzdueng3Ri12bWM1dWNrM1NkTWloaDhBTkpLcGlSSVM3TXV1N2p2MTFDaW10ZVRUOF9NbWg3bm1EbUZNSE5IVWRUSEtRbktOVWkyWm1ONW9oeGwtT2d0Yko0RGdTSWpFa1l1Q1JIUzdEZ2dBS2M5eW91anRGY2xhRXRveVNFMW1tWDNTeUYwd2xiSlRqY0pIa29pVjJPLTRQX1dKRHNhd2NZTUZ2akhoTG1sXzdOMW9TNjloUVZreDNLTGRBWG84WmpTVVNmWFZBNHM5UWNnVFF1X21MU2h4MFpJLXZJSzlBbGl2RzNWNmppbzlwcktLNkhHb3RuME1BdkxfRHhUS3R0YURpcW9ZYU44R0stYU5YNGQxVzB6S2dpTWRjOHRZdTNLYjFrLW5KYVZRX2VmOWIxcTVuZ2hCZ0o4X2ZmZU5nWDh4MkxMcjBXRnkyMUxmUGwzOGZtMi13Z09ON051RUF0TlBmMS1HUTJxZkVxd3lWczEtLWJxN1g4NjJEVWJ3QjJ3NmJTaS1wVk1vUVY3amM3ZFNnbENZQVJweUV2Y0NhdF9GZnpiZ2VRODBBYVNCUEtWMXAzWWtBRjZaa05NUkN1Tmhkc2tYRDgtb3pMNVFBUUQ1QWpqRTNtTFZRc3RQemU0cEtiSnctUnlhWlpyTnU5ZU1uV1lZSWZpQzAzYS1vMkZlbmNZR2M5dXk0ZjJyUkxvbG9JelZmQVhLNXF0UmdhMGx3TnkzZlg0YzJ6bGVHNHJYV1dQa0JlakxtbENOaE92ZlEwVHJLSF9TTTA1b1RpR1R0WTNnaThldmh1bld4OTNTdm9vOGZUSHl6M25ZSV9EZEJ6MTNza1cyN0NkLTRRMW1lUHBHVHJpUzJtNXctOU5UNXdocmYxUWMxUWJ3cnJqQzFKb3dYUUtRQnZGQnZWVkxLUEQ5cTVkcF9TSHRDV2FTOTY4aWNabVdSMzdMM212UGFBbXkzc243c1FqZGpkLTl1b1k0Sm04Xy04TG85Z0ZGOFdESlR6YXozUnNYaFJ5ZG1JOUVMMk9ZcEdPdTdUZjVIV1JPVlVfNi1IZVRGMEY4elBCaVR3TjVuOGhqSmJrN0k0aWxWa1NLNEdMT2I2OXFuNHhJeTdWLXVDR3Fud0lGSnZTekZSWFRkam5aQWg0MTNYUFNWU1FqM2x1NklpSU5OckxRYmJYQjNXeTJpR1Fjc0drSmJ2bE9RdktSYUhlX05PR0Z5REF0MEV1Yk9kN2dzVWphYWVZQ0NFcFUzS1FRQ1IyQ1BhYzJwOU1qRlBtS2U1aUJmc3dYSkxXbjBrbzhUbkl2dThsZkxNb0FJNExTS3g5X3R0T2xDRjA0U0ZTckJDZ25lWllsaUdIaFV2ZWdBV0x5TERvdXh1bjBJNkRhb0FMd1hjQW4za1I0d3lnOTdrU3VsNGtCY1hvbm01dDZhbFhPZkpza0lCNkpkOVZ0NWJQOHk4bEtkejFsMmlRRE9XWEZXMkxLcVBZb3VCaFNUVGNrX0g0aUJVMTI5bW9wNld4dmJoazNqZURIcXR1ckVSTWFlbTNrNXVyVEJPXzVPTkZTbi1GNS1rdjVVVzAzSlFwLVFYMHJkNnlEY1Y2VUltUklEeDdNTGEwZmVyNlUzdE1JSURaVmtjUmVDSTFJMDJiWlBRM2puR2RmVWxnMmxPc201M2p2RjdZS2lGMTZYRlgyZGJrdld1b2YyTEZfWnNhVWxFT3VMbGNQWDF0QjB1U180WmE4QmJUald4TmNEalFSQWpTNkJWOEFyaWJZclFoaEpHMFJjcE1RbGpOdG9JOXpmV0hremIzT0hhUE8tRU5jOHdHX0hOVjluVzJfcUU5NGVQM2k5Y2hESWRlTklTcnhkX0dZUGdrZUd4T1hxT2RHTmhCRG1Ec1lyMnBRRG5odUlhZzVhSXVFNGZ5YUpLRkgzX2VVY2FLSzRoSTZ6dTl4U3ZQWWV6eHR0Zk81MXRWZlJSckJ5ejRzVVNhXzhYZWk0d052NjlWdThDclE2X1JNaUtfZ2cwbHhhUC1qYk9pTGMxRFdlWVV4YTlIVmNCZ05fZDFSY1BmVlRFbFpXaWIxb25fT1NjaHJuQ3R5MExHSks5NldEX2MxQVpQaDBzNC1od09pSzJjaDJkOHlMSS0yM3BTUUFwVGRlZzFiQWlCTlFld2JzcVR4dGg3eUVNZktKQUxOcEE0WW5jUzBocWg4YjBVLVpjRTViZ3BTUnBHZW91dWIzbTQwZjJhbEpYU0pzWHpMQ1NZcVh3akdMTmJULV9PYVdCSWRVdkVpNXhjakVTcWVnc3VCelFOVDE2VXJxTzhMS0hTbHNIVHYybkpkMDY3OWFYUGhPb01SZVdTaUJKbTJrZ0ZNa3F4ZllvTjgzckpTYTZnUklFc3ZyY0I5YlBpVEU1RWpod3dZUEpYclg5aU1sMGFtc3lNRjlIeWFzNDlnbTF4YjVTMDFUcW1QTTlpNmhtSTFhYlBJVnhKUEltRlBaV2RkMUw3Zm52eWhpbWRBRUw1a19ucjNqeGU5enh5QzdmM2xiUWw1M2JRVGNCMXEtcngzR2lsdWFmNmV1djA2ZVIzYTk4VjBaLVZGNkdrdHlGdmhCbW8wQ2h4OGhzRmQzeFN1ZmcxcHg3UGt4ZlM2dnpKb1pVVTJ0TGlQdXl4cXdERDhLUXRNek9UaXB3ZEp2bE5Vb0RUaDhvMW0yMC01TzNtekFsVS15SGYtWGdZdE5HcjRsV0RrY0x4SnpseW5peGJUaHRaNnRYbUYzR0JId3ROaTZWN210bVU4WnpBak5xc2E2WHVuMFhUdm5HS29seTVDbW5IbHdwRUwwZzRSQmxvZTY3cVctcnpjTXAtaGl0d1AxRUdreVljaFlaaFd2YTROVDRRQzM3NW4zYTBLYzlEZ1hxa08wMVhkU2c0TnF4dHFwWm5xendmajZIWmdHT29qMHRBUFhVVmsuRmI0ZU9OZHRwLUgzWUowY1VfVHBkMHZkZk12VHhCdEU5QmotU1FKY0dQNA"}' - headers: - Accept: - - application/json - Content-Length: - - '6807' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 - response: - body: - string: '{"error":{"code":"Conflict","message":"There was a conflict restoring - the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak32f60fbc/5eca68784c304b8aa72fff71d83fe0ea''. - This can happen if either: a second secret with the same name was created - after the first secret was deleted; thus trying to restore a secret whose - name is already in use. To fix this, rename the second secret to something - else so that the restore works. The second probable cause of this exception - is when multiple operations are performed in parallel against the secret. - To avoid this error, perform operations against a secret in a sequential manner."}}' - headers: - cache-control: no-cache - content-length: '641' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:21 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 409 - message: Conflict - url: https://mcpatinokv.vault.azure.net/secrets/restore?api-version=7.1 -- request: - body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuYk1JTEhFNGtpbFdWMjZnb3dBRjRPTlVSZk1SS2lkblBNZlktcklRWGkwUE5RS2pySTRxbzBNMUZmVmJsSzFnNlhCSHZjTjlIbS05LU85VUtVYTBrZG1rQzhZSWZqRWRYelp1bmRZTWtubUpYdFh6Nnc0UEthUHRPQ2I1VEVxZjRSUVBva0RzRHZJMGgxaXB4QkxWazJVTlZEN1ZlNzBlcUUtblAta3FDem5qUWFEc2lLT1hwTnNMRDlhcW5vZFVGc1pydzNHeFdObzdwSHEzUmVSTmJ6X0lFTDVteXdWVzMtVHpicVFTR29KQkdYb0xqdlEzMThlNmMyUGdyUC1wcGhoM1RFOHFJa182aFlTRm04YUg5Q09Zekh6NnQzR2tETW5hT1hMY2xRR09KMzIxamE1Q2hzLTEtWXVsRm1YRzFzMGZqSlpYNFptbHpUZ3lGbm5vWmRBLnB5Tl84NHhjdDJ0WS03QmFSdHRfZFEuT2ZLMDBxWldhQVdFOHR5R3RFRHBCb3ZtSHhseGREOHFuOUhaSmFhYVVEVHRQdVZKbjlyUjFYV1E0OGx2ZmN3b0ZrU1JIZGNtUE1GSDBvbFJFdFlwT1BIZEI4NkNGc256alZXZmtfLW9Oc0Y5S0d0RzlnVmVGMGNZT3I3b0stQl95VjRDWEoyTDdKWVJqLUx0TEp3a2JhbENZejFXM0FfYTBXZXE0ell2emJ0ZUpiZ3dhdllRNV94QWVEVTBBTEZWRnNINjdiUWFzdXI3bERRa2k4bmZoSXo4eWR0emVhUTY4Q3N6VVZpcDN4VjJ3TGNKSmtIcm1NR0VaZVpzZTAtbXRpYlZyNzdNUnk2bDhVS3drQVY5V0p6ZndfTUhJdmh2UUMzQ2FOOEFSOWdwaURzdGl0eDE1VHdnZUJ6dFRGOHo1aGdDZE5ONFY0a1Q2R1RsTEhXS0QzMThUS3d2STUybW5zY2lJRFNNQWMycEJSWHRKbDJ2eHkyaVZRYU5VWFBmYS1sTXlwaVduZWJ4Qlh3LXNHY0twMGJ0SS0zYVNCR0VHREh0UWxVem5fM2thajNsQ0FhRFlOZzQ4SzI3OFdhekhRdE5XbjYxUVB6V0ZCX0YtMFJmR1VGdDVjRjFZeUJVaWNJaVlnd2JoaXJ0clc4cEhDaHJySzI1R3BrNmFMOW1xdzlBQm1ZeVo5Y2hnMTZXUVRDWTRScEZrZUxTdzVHdUs0d2FFbTlOcW1fRHhfUFFYckNrZEF4UFBTT2t5SEg0alZJUXg1Tk9MQzFPaWYyai01WXdNMTlCcHB3T3JiaVUxaUVHemgzT3NvTGxFalpQSUpuVDdRUTB6Wk1LUUExSnh6VWR1U3ZZMHhOTXQzbzFSNW5zV2pDSDV6WS1aM1RfWkRiUGRoSXctSXFwckZlQmlvRkZKVmRDeUFLVldZczBRWU1SSnluQnZZbTIxNFB1YmZMUEdTa3ZQSWxvWFoyR2tPU3FIN2JrRVdCdDEzTHZUYUN1YlZVTDB3Qk1rSHAxT1NrYU51YXlVYUtrS05UVy1wQ3M1cmtGTUZrLVNEek95U2ZHeVJYYmNtQWdRQXdaTVFrOC1Ia291UVJyTHkzN21NcGJaWWZHSXA5eTNwYnpGYWVuT216SnZubUdicHY3cUtBbzVYSUdRbVlWRllEVGRUYzFEN19xQmlQUU90SkxDOTQ3LW5mMThtYW5SQWFsS1RmZ2I0bUhIcm5QMm9vZHFiSU5YT2dXRS1oU2x1QlNtQWxIVEE5UW1abERMc2R6d2FlU0ZuTnJueWFPWm1fUHJ4RVJhRGZSQjRJSEc2aVZkaWl3MWxwSWVhZkhITnMwdHctRzFuSUQ4Mkt1M2ZGQjJjcnVBODJ2YnRpR28xTk1RaUNzTm9YeWpGenBUY0FoTE5vMzZBZFpvRVNmZ1VQbkZOTV9MTE5FWHBhcEw2T2RKZzBmbTZFaFpNS1VKeFBuS21MNmh5ZENfSDJlaDE2am5SdlI1bjFtX0tja2pXT0k3T3hYbTQxNk1OTk00MVBDNmI1RFRmdWhPbnVLLUlXY3BJdXFyYWRIeW4ycHlCdEk4REcwLXU3Z2VHdXdNYjE5d2VnOGgzUlFxQ2pxNkc2eGZhS0traWJEUDYzMUpFUDBWa3NEVmFMb09ERjB1NlZydnF2Z29ZWmhGdHNpWTU4UW1DVXJERVFDWXA2R3g4U21BUGZ2NW1XYVp0MGRVQVhjMzlqWm0tM19mTlFuVU5hOWFZRGxrVmdfOS00Y1I2RmljcXZfUWlOYzdTZWR0T3hPZno0TXRZUmNCWkhtUnpjd0pZRGVuck42a0JWejFTdUt1cGhnZ2RzRk1oelprSE5OeWhFaXZ1bko5WVRfc0YxZDlFNGpIR2dGM1h4SXBFbktiazNBT1NMN2pUcXF4T2c1VTgxUWZ2clJZQTcyTUVBYVpCay11LW5yM283ZV9BZFF5V0Z1ZUNTakZPSzBENVZIclJHNHhSZ3EwZHRZTGtWYU0ydTlPYVB4Z2JKUGFDM3A0eUFxVnVtRGVKYXpRTkpseHQwNk5uMXVhdVFxNWwyRlVoUXA4MzA4OGxPWG9pUlJmbk5RTEVrMTJzb1UzU0h6eXlpTWRsVWZmY2hSRjNYelpEenRTb3JCVUN2X2p3MjVBUVpJaHdGcERiSVZfd1FlOHRvY08zdUlCVmthYmNsWmNhSzVhOTROQXNxdUVDcjZ6aXdmT0E5am02djRIbE5EVks3aXdWZy1udE5sZmEzcjFURHZjQ0UxZWRyTDRxQmo1NXNDWE1KdlpMb2htTGdnM0ZiTEgzNmJSRTFlaHc5WUxsd3lnNTRYRVlYSjd2dldzWjNscHpUaEdrSUdHYzNIVll2M1A1T1VQbklnd3JqTHUxZklUOGhnS1RneGJDU2JwOVZJa0xSTW5Zcm1XVnZjOE1POTdZMDhYTVNPVnQtQVcxNGNjTDdjZy1sWkJRSXFtVy10bGVib3o3N2xfWjQ4ek5LX1p5RFNRMDktY1ZxcE40R1dGYm8zMTR2TXQzZnc1TS1tWERrQUROSGhZemp6Uk5mcF93SWd3dmxTdC1PSjdNY0JpWlQ0d0N3Vk1ySExrWFlzVHRhekszdzlVTjEwRldVZFVReEFEVGpjcXU2UHVGejJZak9peUdBcUFqQjc4a3I1YWtoYnZ2R1RCYm93YkhMa19NNm9BWG5jV0ZjNk9QZXBqT2lWZnZpNUpNcmVMSlJKMHowa01YSXBJeGZSd09ia3hnWFRLbUU3WnRjcGlvQ2szWUQ5QmpiOGt6NjZoWmVHX2huNmYxUzluczlxUlJXdHE2RjRHNEJBdHZhM2RMWVJOS0RwWkVNZTBhbkZFRVNHT3RzMmNublNJT0NfejRMS2lnVjlBM3htVUdLMVY1blNmRmZBSi1IS0pXU0swTGhDUk50NUQwQTRzMVh5RngzVlBqOGdsZWhRQkQzSzl4QVl5NVN0Ukp3X25ZTDl0Y0U3V1dqa1pPWTBtRTFEbUR3SGZudDBSODhBXzE3eWhyUWszUlAzaHh4dEF5R0VtQmtWU19ueDJSMV9UcXdteEtCMzdueng3Ri12bWM1dWNrM1NkTWloaDhBTkpLcGlSSVM3TXV1N2p2MTFDaW10ZVRUOF9NbWg3bm1EbUZNSE5IVWRUSEtRbktOVWkyWm1ONW9oeGwtT2d0Yko0RGdTSWpFa1l1Q1JIUzdEZ2dBS2M5eW91anRGY2xhRXRveVNFMW1tWDNTeUYwd2xiSlRqY0pIa29pVjJPLTRQX1dKRHNhd2NZTUZ2akhoTG1sXzdOMW9TNjloUVZreDNLTGRBWG84WmpTVVNmWFZBNHM5UWNnVFF1X21MU2h4MFpJLXZJSzlBbGl2RzNWNmppbzlwcktLNkhHb3RuME1BdkxfRHhUS3R0YURpcW9ZYU44R0stYU5YNGQxVzB6S2dpTWRjOHRZdTNLYjFrLW5KYVZRX2VmOWIxcTVuZ2hCZ0o4X2ZmZU5nWDh4MkxMcjBXRnkyMUxmUGwzOGZtMi13Z09ON051RUF0TlBmMS1HUTJxZkVxd3lWczEtLWJxN1g4NjJEVWJ3QjJ3NmJTaS1wVk1vUVY3amM3ZFNnbENZQVJweUV2Y0NhdF9GZnpiZ2VRODBBYVNCUEtWMXAzWWtBRjZaa05NUkN1Tmhkc2tYRDgtb3pMNVFBUUQ1QWpqRTNtTFZRc3RQemU0cEtiSnctUnlhWlpyTnU5ZU1uV1lZSWZpQzAzYS1vMkZlbmNZR2M5dXk0ZjJyUkxvbG9JelZmQVhLNXF0UmdhMGx3TnkzZlg0YzJ6bGVHNHJYV1dQa0JlakxtbENOaE92ZlEwVHJLSF9TTTA1b1RpR1R0WTNnaThldmh1bld4OTNTdm9vOGZUSHl6M25ZSV9EZEJ6MTNza1cyN0NkLTRRMW1lUHBHVHJpUzJtNXctOU5UNXdocmYxUWMxUWJ3cnJqQzFKb3dYUUtRQnZGQnZWVkxLUEQ5cTVkcF9TSHRDV2FTOTY4aWNabVdSMzdMM212UGFBbXkzc243c1FqZGpkLTl1b1k0Sm04Xy04TG85Z0ZGOFdESlR6YXozUnNYaFJ5ZG1JOUVMMk9ZcEdPdTdUZjVIV1JPVlVfNi1IZVRGMEY4elBCaVR3TjVuOGhqSmJrN0k0aWxWa1NLNEdMT2I2OXFuNHhJeTdWLXVDR3Fud0lGSnZTekZSWFRkam5aQWg0MTNYUFNWU1FqM2x1NklpSU5OckxRYmJYQjNXeTJpR1Fjc0drSmJ2bE9RdktSYUhlX05PR0Z5REF0MEV1Yk9kN2dzVWphYWVZQ0NFcFUzS1FRQ1IyQ1BhYzJwOU1qRlBtS2U1aUJmc3dYSkxXbjBrbzhUbkl2dThsZkxNb0FJNExTS3g5X3R0T2xDRjA0U0ZTckJDZ25lWllsaUdIaFV2ZWdBV0x5TERvdXh1bjBJNkRhb0FMd1hjQW4za1I0d3lnOTdrU3VsNGtCY1hvbm01dDZhbFhPZkpza0lCNkpkOVZ0NWJQOHk4bEtkejFsMmlRRE9XWEZXMkxLcVBZb3VCaFNUVGNrX0g0aUJVMTI5bW9wNld4dmJoazNqZURIcXR1ckVSTWFlbTNrNXVyVEJPXzVPTkZTbi1GNS1rdjVVVzAzSlFwLVFYMHJkNnlEY1Y2VUltUklEeDdNTGEwZmVyNlUzdE1JSURaVmtjUmVDSTFJMDJiWlBRM2puR2RmVWxnMmxPc201M2p2RjdZS2lGMTZYRlgyZGJrdld1b2YyTEZfWnNhVWxFT3VMbGNQWDF0QjB1U180WmE4QmJUald4TmNEalFSQWpTNkJWOEFyaWJZclFoaEpHMFJjcE1RbGpOdG9JOXpmV0hremIzT0hhUE8tRU5jOHdHX0hOVjluVzJfcUU5NGVQM2k5Y2hESWRlTklTcnhkX0dZUGdrZUd4T1hxT2RHTmhCRG1Ec1lyMnBRRG5odUlhZzVhSXVFNGZ5YUpLRkgzX2VVY2FLSzRoSTZ6dTl4U3ZQWWV6eHR0Zk81MXRWZlJSckJ5ejRzVVNhXzhYZWk0d052NjlWdThDclE2X1JNaUtfZ2cwbHhhUC1qYk9pTGMxRFdlWVV4YTlIVmNCZ05fZDFSY1BmVlRFbFpXaWIxb25fT1NjaHJuQ3R5MExHSks5NldEX2MxQVpQaDBzNC1od09pSzJjaDJkOHlMSS0yM3BTUUFwVGRlZzFiQWlCTlFld2JzcVR4dGg3eUVNZktKQUxOcEE0WW5jUzBocWg4YjBVLVpjRTViZ3BTUnBHZW91dWIzbTQwZjJhbEpYU0pzWHpMQ1NZcVh3akdMTmJULV9PYVdCSWRVdkVpNXhjakVTcWVnc3VCelFOVDE2VXJxTzhMS0hTbHNIVHYybkpkMDY3OWFYUGhPb01SZVdTaUJKbTJrZ0ZNa3F4ZllvTjgzckpTYTZnUklFc3ZyY0I5YlBpVEU1RWpod3dZUEpYclg5aU1sMGFtc3lNRjlIeWFzNDlnbTF4YjVTMDFUcW1QTTlpNmhtSTFhYlBJVnhKUEltRlBaV2RkMUw3Zm52eWhpbWRBRUw1a19ucjNqeGU5enh5QzdmM2xiUWw1M2JRVGNCMXEtcngzR2lsdWFmNmV1djA2ZVIzYTk4VjBaLVZGNkdrdHlGdmhCbW8wQ2h4OGhzRmQzeFN1ZmcxcHg3UGt4ZlM2dnpKb1pVVTJ0TGlQdXl4cXdERDhLUXRNek9UaXB3ZEp2bE5Vb0RUaDhvMW0yMC01TzNtekFsVS15SGYtWGdZdE5HcjRsV0RrY0x4SnpseW5peGJUaHRaNnRYbUYzR0JId3ROaTZWN210bVU4WnpBak5xc2E2WHVuMFhUdm5HS29seTVDbW5IbHdwRUwwZzRSQmxvZTY3cVctcnpjTXAtaGl0d1AxRUdreVljaFlaaFd2YTROVDRRQzM3NW4zYTBLYzlEZ1hxa08wMVhkU2c0TnF4dHFwWm5xendmajZIWmdHT29qMHRBUFhVVmsuRmI0ZU9OZHRwLUgzWUowY1VfVHBkMHZkZk12VHhCdEU5QmotU1FKY0dQNA"}' - headers: - Accept: - - application/json - Content-Length: - - '6807' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 - response: - body: - string: '{"error":{"code":"Conflict","message":"There was a conflict restoring - the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak32f60fbc/5eca68784c304b8aa72fff71d83fe0ea''. - This can happen if either: a second secret with the same name was created - after the first secret was deleted; thus trying to restore a secret whose - name is already in use. To fix this, rename the second secret to something - else so that the restore works. The second probable cause of this exception - is when multiple operations are performed in parallel against the secret. - To avoid this error, perform operations against a secret in a sequential manner."}}' - headers: - cache-control: no-cache - content-length: '641' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:25 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 409 - message: Conflict - url: https://mcpatinokv.vault.azure.net/secrets/restore?api-version=7.1 -- request: - body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuYk1JTEhFNGtpbFdWMjZnb3dBRjRPTlVSZk1SS2lkblBNZlktcklRWGkwUE5RS2pySTRxbzBNMUZmVmJsSzFnNlhCSHZjTjlIbS05LU85VUtVYTBrZG1rQzhZSWZqRWRYelp1bmRZTWtubUpYdFh6Nnc0UEthUHRPQ2I1VEVxZjRSUVBva0RzRHZJMGgxaXB4QkxWazJVTlZEN1ZlNzBlcUUtblAta3FDem5qUWFEc2lLT1hwTnNMRDlhcW5vZFVGc1pydzNHeFdObzdwSHEzUmVSTmJ6X0lFTDVteXdWVzMtVHpicVFTR29KQkdYb0xqdlEzMThlNmMyUGdyUC1wcGhoM1RFOHFJa182aFlTRm04YUg5Q09Zekh6NnQzR2tETW5hT1hMY2xRR09KMzIxamE1Q2hzLTEtWXVsRm1YRzFzMGZqSlpYNFptbHpUZ3lGbm5vWmRBLnB5Tl84NHhjdDJ0WS03QmFSdHRfZFEuT2ZLMDBxWldhQVdFOHR5R3RFRHBCb3ZtSHhseGREOHFuOUhaSmFhYVVEVHRQdVZKbjlyUjFYV1E0OGx2ZmN3b0ZrU1JIZGNtUE1GSDBvbFJFdFlwT1BIZEI4NkNGc256alZXZmtfLW9Oc0Y5S0d0RzlnVmVGMGNZT3I3b0stQl95VjRDWEoyTDdKWVJqLUx0TEp3a2JhbENZejFXM0FfYTBXZXE0ell2emJ0ZUpiZ3dhdllRNV94QWVEVTBBTEZWRnNINjdiUWFzdXI3bERRa2k4bmZoSXo4eWR0emVhUTY4Q3N6VVZpcDN4VjJ3TGNKSmtIcm1NR0VaZVpzZTAtbXRpYlZyNzdNUnk2bDhVS3drQVY5V0p6ZndfTUhJdmh2UUMzQ2FOOEFSOWdwaURzdGl0eDE1VHdnZUJ6dFRGOHo1aGdDZE5ONFY0a1Q2R1RsTEhXS0QzMThUS3d2STUybW5zY2lJRFNNQWMycEJSWHRKbDJ2eHkyaVZRYU5VWFBmYS1sTXlwaVduZWJ4Qlh3LXNHY0twMGJ0SS0zYVNCR0VHREh0UWxVem5fM2thajNsQ0FhRFlOZzQ4SzI3OFdhekhRdE5XbjYxUVB6V0ZCX0YtMFJmR1VGdDVjRjFZeUJVaWNJaVlnd2JoaXJ0clc4cEhDaHJySzI1R3BrNmFMOW1xdzlBQm1ZeVo5Y2hnMTZXUVRDWTRScEZrZUxTdzVHdUs0d2FFbTlOcW1fRHhfUFFYckNrZEF4UFBTT2t5SEg0alZJUXg1Tk9MQzFPaWYyai01WXdNMTlCcHB3T3JiaVUxaUVHemgzT3NvTGxFalpQSUpuVDdRUTB6Wk1LUUExSnh6VWR1U3ZZMHhOTXQzbzFSNW5zV2pDSDV6WS1aM1RfWkRiUGRoSXctSXFwckZlQmlvRkZKVmRDeUFLVldZczBRWU1SSnluQnZZbTIxNFB1YmZMUEdTa3ZQSWxvWFoyR2tPU3FIN2JrRVdCdDEzTHZUYUN1YlZVTDB3Qk1rSHAxT1NrYU51YXlVYUtrS05UVy1wQ3M1cmtGTUZrLVNEek95U2ZHeVJYYmNtQWdRQXdaTVFrOC1Ia291UVJyTHkzN21NcGJaWWZHSXA5eTNwYnpGYWVuT216SnZubUdicHY3cUtBbzVYSUdRbVlWRllEVGRUYzFEN19xQmlQUU90SkxDOTQ3LW5mMThtYW5SQWFsS1RmZ2I0bUhIcm5QMm9vZHFiSU5YT2dXRS1oU2x1QlNtQWxIVEE5UW1abERMc2R6d2FlU0ZuTnJueWFPWm1fUHJ4RVJhRGZSQjRJSEc2aVZkaWl3MWxwSWVhZkhITnMwdHctRzFuSUQ4Mkt1M2ZGQjJjcnVBODJ2YnRpR28xTk1RaUNzTm9YeWpGenBUY0FoTE5vMzZBZFpvRVNmZ1VQbkZOTV9MTE5FWHBhcEw2T2RKZzBmbTZFaFpNS1VKeFBuS21MNmh5ZENfSDJlaDE2am5SdlI1bjFtX0tja2pXT0k3T3hYbTQxNk1OTk00MVBDNmI1RFRmdWhPbnVLLUlXY3BJdXFyYWRIeW4ycHlCdEk4REcwLXU3Z2VHdXdNYjE5d2VnOGgzUlFxQ2pxNkc2eGZhS0traWJEUDYzMUpFUDBWa3NEVmFMb09ERjB1NlZydnF2Z29ZWmhGdHNpWTU4UW1DVXJERVFDWXA2R3g4U21BUGZ2NW1XYVp0MGRVQVhjMzlqWm0tM19mTlFuVU5hOWFZRGxrVmdfOS00Y1I2RmljcXZfUWlOYzdTZWR0T3hPZno0TXRZUmNCWkhtUnpjd0pZRGVuck42a0JWejFTdUt1cGhnZ2RzRk1oelprSE5OeWhFaXZ1bko5WVRfc0YxZDlFNGpIR2dGM1h4SXBFbktiazNBT1NMN2pUcXF4T2c1VTgxUWZ2clJZQTcyTUVBYVpCay11LW5yM283ZV9BZFF5V0Z1ZUNTakZPSzBENVZIclJHNHhSZ3EwZHRZTGtWYU0ydTlPYVB4Z2JKUGFDM3A0eUFxVnVtRGVKYXpRTkpseHQwNk5uMXVhdVFxNWwyRlVoUXA4MzA4OGxPWG9pUlJmbk5RTEVrMTJzb1UzU0h6eXlpTWRsVWZmY2hSRjNYelpEenRTb3JCVUN2X2p3MjVBUVpJaHdGcERiSVZfd1FlOHRvY08zdUlCVmthYmNsWmNhSzVhOTROQXNxdUVDcjZ6aXdmT0E5am02djRIbE5EVks3aXdWZy1udE5sZmEzcjFURHZjQ0UxZWRyTDRxQmo1NXNDWE1KdlpMb2htTGdnM0ZiTEgzNmJSRTFlaHc5WUxsd3lnNTRYRVlYSjd2dldzWjNscHpUaEdrSUdHYzNIVll2M1A1T1VQbklnd3JqTHUxZklUOGhnS1RneGJDU2JwOVZJa0xSTW5Zcm1XVnZjOE1POTdZMDhYTVNPVnQtQVcxNGNjTDdjZy1sWkJRSXFtVy10bGVib3o3N2xfWjQ4ek5LX1p5RFNRMDktY1ZxcE40R1dGYm8zMTR2TXQzZnc1TS1tWERrQUROSGhZemp6Uk5mcF93SWd3dmxTdC1PSjdNY0JpWlQ0d0N3Vk1ySExrWFlzVHRhekszdzlVTjEwRldVZFVReEFEVGpjcXU2UHVGejJZak9peUdBcUFqQjc4a3I1YWtoYnZ2R1RCYm93YkhMa19NNm9BWG5jV0ZjNk9QZXBqT2lWZnZpNUpNcmVMSlJKMHowa01YSXBJeGZSd09ia3hnWFRLbUU3WnRjcGlvQ2szWUQ5QmpiOGt6NjZoWmVHX2huNmYxUzluczlxUlJXdHE2RjRHNEJBdHZhM2RMWVJOS0RwWkVNZTBhbkZFRVNHT3RzMmNublNJT0NfejRMS2lnVjlBM3htVUdLMVY1blNmRmZBSi1IS0pXU0swTGhDUk50NUQwQTRzMVh5RngzVlBqOGdsZWhRQkQzSzl4QVl5NVN0Ukp3X25ZTDl0Y0U3V1dqa1pPWTBtRTFEbUR3SGZudDBSODhBXzE3eWhyUWszUlAzaHh4dEF5R0VtQmtWU19ueDJSMV9UcXdteEtCMzdueng3Ri12bWM1dWNrM1NkTWloaDhBTkpLcGlSSVM3TXV1N2p2MTFDaW10ZVRUOF9NbWg3bm1EbUZNSE5IVWRUSEtRbktOVWkyWm1ONW9oeGwtT2d0Yko0RGdTSWpFa1l1Q1JIUzdEZ2dBS2M5eW91anRGY2xhRXRveVNFMW1tWDNTeUYwd2xiSlRqY0pIa29pVjJPLTRQX1dKRHNhd2NZTUZ2akhoTG1sXzdOMW9TNjloUVZreDNLTGRBWG84WmpTVVNmWFZBNHM5UWNnVFF1X21MU2h4MFpJLXZJSzlBbGl2RzNWNmppbzlwcktLNkhHb3RuME1BdkxfRHhUS3R0YURpcW9ZYU44R0stYU5YNGQxVzB6S2dpTWRjOHRZdTNLYjFrLW5KYVZRX2VmOWIxcTVuZ2hCZ0o4X2ZmZU5nWDh4MkxMcjBXRnkyMUxmUGwzOGZtMi13Z09ON051RUF0TlBmMS1HUTJxZkVxd3lWczEtLWJxN1g4NjJEVWJ3QjJ3NmJTaS1wVk1vUVY3amM3ZFNnbENZQVJweUV2Y0NhdF9GZnpiZ2VRODBBYVNCUEtWMXAzWWtBRjZaa05NUkN1Tmhkc2tYRDgtb3pMNVFBUUQ1QWpqRTNtTFZRc3RQemU0cEtiSnctUnlhWlpyTnU5ZU1uV1lZSWZpQzAzYS1vMkZlbmNZR2M5dXk0ZjJyUkxvbG9JelZmQVhLNXF0UmdhMGx3TnkzZlg0YzJ6bGVHNHJYV1dQa0JlakxtbENOaE92ZlEwVHJLSF9TTTA1b1RpR1R0WTNnaThldmh1bld4OTNTdm9vOGZUSHl6M25ZSV9EZEJ6MTNza1cyN0NkLTRRMW1lUHBHVHJpUzJtNXctOU5UNXdocmYxUWMxUWJ3cnJqQzFKb3dYUUtRQnZGQnZWVkxLUEQ5cTVkcF9TSHRDV2FTOTY4aWNabVdSMzdMM212UGFBbXkzc243c1FqZGpkLTl1b1k0Sm04Xy04TG85Z0ZGOFdESlR6YXozUnNYaFJ5ZG1JOUVMMk9ZcEdPdTdUZjVIV1JPVlVfNi1IZVRGMEY4elBCaVR3TjVuOGhqSmJrN0k0aWxWa1NLNEdMT2I2OXFuNHhJeTdWLXVDR3Fud0lGSnZTekZSWFRkam5aQWg0MTNYUFNWU1FqM2x1NklpSU5OckxRYmJYQjNXeTJpR1Fjc0drSmJ2bE9RdktSYUhlX05PR0Z5REF0MEV1Yk9kN2dzVWphYWVZQ0NFcFUzS1FRQ1IyQ1BhYzJwOU1qRlBtS2U1aUJmc3dYSkxXbjBrbzhUbkl2dThsZkxNb0FJNExTS3g5X3R0T2xDRjA0U0ZTckJDZ25lWllsaUdIaFV2ZWdBV0x5TERvdXh1bjBJNkRhb0FMd1hjQW4za1I0d3lnOTdrU3VsNGtCY1hvbm01dDZhbFhPZkpza0lCNkpkOVZ0NWJQOHk4bEtkejFsMmlRRE9XWEZXMkxLcVBZb3VCaFNUVGNrX0g0aUJVMTI5bW9wNld4dmJoazNqZURIcXR1ckVSTWFlbTNrNXVyVEJPXzVPTkZTbi1GNS1rdjVVVzAzSlFwLVFYMHJkNnlEY1Y2VUltUklEeDdNTGEwZmVyNlUzdE1JSURaVmtjUmVDSTFJMDJiWlBRM2puR2RmVWxnMmxPc201M2p2RjdZS2lGMTZYRlgyZGJrdld1b2YyTEZfWnNhVWxFT3VMbGNQWDF0QjB1U180WmE4QmJUald4TmNEalFSQWpTNkJWOEFyaWJZclFoaEpHMFJjcE1RbGpOdG9JOXpmV0hremIzT0hhUE8tRU5jOHdHX0hOVjluVzJfcUU5NGVQM2k5Y2hESWRlTklTcnhkX0dZUGdrZUd4T1hxT2RHTmhCRG1Ec1lyMnBRRG5odUlhZzVhSXVFNGZ5YUpLRkgzX2VVY2FLSzRoSTZ6dTl4U3ZQWWV6eHR0Zk81MXRWZlJSckJ5ejRzVVNhXzhYZWk0d052NjlWdThDclE2X1JNaUtfZ2cwbHhhUC1qYk9pTGMxRFdlWVV4YTlIVmNCZ05fZDFSY1BmVlRFbFpXaWIxb25fT1NjaHJuQ3R5MExHSks5NldEX2MxQVpQaDBzNC1od09pSzJjaDJkOHlMSS0yM3BTUUFwVGRlZzFiQWlCTlFld2JzcVR4dGg3eUVNZktKQUxOcEE0WW5jUzBocWg4YjBVLVpjRTViZ3BTUnBHZW91dWIzbTQwZjJhbEpYU0pzWHpMQ1NZcVh3akdMTmJULV9PYVdCSWRVdkVpNXhjakVTcWVnc3VCelFOVDE2VXJxTzhMS0hTbHNIVHYybkpkMDY3OWFYUGhPb01SZVdTaUJKbTJrZ0ZNa3F4ZllvTjgzckpTYTZnUklFc3ZyY0I5YlBpVEU1RWpod3dZUEpYclg5aU1sMGFtc3lNRjlIeWFzNDlnbTF4YjVTMDFUcW1QTTlpNmhtSTFhYlBJVnhKUEltRlBaV2RkMUw3Zm52eWhpbWRBRUw1a19ucjNqeGU5enh5QzdmM2xiUWw1M2JRVGNCMXEtcngzR2lsdWFmNmV1djA2ZVIzYTk4VjBaLVZGNkdrdHlGdmhCbW8wQ2h4OGhzRmQzeFN1ZmcxcHg3UGt4ZlM2dnpKb1pVVTJ0TGlQdXl4cXdERDhLUXRNek9UaXB3ZEp2bE5Vb0RUaDhvMW0yMC01TzNtekFsVS15SGYtWGdZdE5HcjRsV0RrY0x4SnpseW5peGJUaHRaNnRYbUYzR0JId3ROaTZWN210bVU4WnpBak5xc2E2WHVuMFhUdm5HS29seTVDbW5IbHdwRUwwZzRSQmxvZTY3cVctcnpjTXAtaGl0d1AxRUdreVljaFlaaFd2YTROVDRRQzM3NW4zYTBLYzlEZ1hxa08wMVhkU2c0TnF4dHFwWm5xendmajZIWmdHT29qMHRBUFhVVmsuRmI0ZU9OZHRwLUgzWUowY1VfVHBkMHZkZk12VHhCdEU5QmotU1FKY0dQNA"}' - headers: - Accept: - - application/json - Content-Length: - - '6807' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 - response: - body: - string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak32f60fbc/5eca68784c304b8aa72fff71d83fe0ea","attributes":{"enabled":true,"created":1613673905,"updated":1613673905,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '242' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:28 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/restore?api-version=7.1 -version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_backup_restore_2016_10_01.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_backup_restore_2016_10_01.yaml new file mode 100644 index 000000000000..d3b96506adb4 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_backup_restore_2016_10_01.yaml @@ -0,0 +1,796 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbakf0621264?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:19:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecbakf0621264?api-version=2016-10-01 +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbakf0621264?api-version=2016-10-01 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbakf0621264/3ded6fad51764cdb9fe360f8d5b85703","attributes":{"enabled":true,"created":1618953589,"updated":1618953589,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '240' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:19:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecbakf0621264?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbakf0621264/backup?api-version=2016-10-01 + response: + body: + string: '{"value":"KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuUFUzNXpCV25IRzRQUXMtRVViODNqZExlNVBlYmtKX2ZhbFdiWFR5QU53LTdldVVJZVp1aDRkYnRHaXN6MGlXT1liY21vOURDUnRtd3JoMFljWkNGTGVpcTRMZERKVmJuT2lHcVR4ZTc0NThoS2E3N0kwUHhzbjFUZGJ2MEkzaFRKSGJOWmJ4TUhTT3I0UV9hWlhXY2Rpa0ZUQUtwOGJLeF9DUGZKTWtaSGhta0hCeGY1LXZFSWpqd1NFMmVsMWtqc0ZKc2JXRERMZEVzWDYyZWdmbGl2ZTRYOG5qelNLdzh5TmVhcER2bTBuSGhZaFA1Rl9nbFBENVpYYThlY09BTndWRnFnVm5GX2YtZHZDcHpxeXYzTHhmSWpGM1RMMjFVT08xRHM2eTlNcHJmSndBLUlJM01UMVVQWEVRaU9xbE1YUEI4cDdOMC1EcXRUNG8yNEh5Tl9nLllOeXFfUHRGXzhnR2N1U3Z1SzlmYXcuOWxRanZxenJfTWxqbDZwUmVoTTFMa2dwT3FySzl4RlJmS3M3d3RhX2hVTG9CS0gwQUhMZTVBYVpEcGxDN0RSamhrbUkyeTh3akgxUjFLamIteXR5QzVrZUJaa1BUOUxSbUhVRkxMbWxfVkZpeXdqb2kteHRQQVhCdUhTNmo0aDljcng1NnBSU09ESHN1bThrWG1wV0duN1JGRTFIS1kweE9CSVhnZDB0bTN4QzhiaUlhbmpGOUpPdTRqT1hpQ1JoRXdmd05rMFpOWDgweTZuVzVleHMzSzRVVHFCd3lfWEZGRlUzbEhKT0VtYjA4UFVuM2VXbUxxbHBQQ09MaW9zSmFUTkM3MC1CbDU0T0pCZTdfRHZCbzVfVWk1dFpyRWtTUGhYZ0kxVjFra1dodzZ1UnVsVzB3M3B3Zl96MGJ6U004dzlmNC13WTY4MDM1UXdsTW94NTQwQUE1eXQ0STdISFVKVVJJaERrV2VCaDVHWWtQZWQ2aUp5Zm9WWGlNSmJxeW4tUzVTYlQxWUsxYmRkS2dBOFBTTkNFemxLWjhWd0wxRUxYTEppbl9yRDZCcUJwRWIyRUxSU01lMDZ4Z3hsaFJlOXozbWhEOGdUdzU4T2VEYmNMRjQwWF9acTgxbFhCOE96VnZmQmJiR0NFRy1RR28xczhTYk1OX2lwcUQ1cmxCa2JhM3pSOFZQcWY4NUNQRDlwTEllUDFOUnM5eVpHaDdkSGVESWRRNC1LeHFNYlVJWk51NVN6Q3gxYWQ2SkZITUVqY1I2LVpGcnlHWmxvY2JYR2ZQMVJYaC1ZZXpOVkJQbDdMUm80M01JXzVoaHRPVWl0eGJ3SF9pZmZ3aTlOSHROZ2trZzBSajFuQ0ZPMF9DSFBjU1ZkTGhicEhTQVExMzVUZXlIWjFLM0JOS3EzeGNQM1VNclUyNUFwRmxuV2t5OGF2cTR3MF9iZGdrcDF2dXB6X0NJWmpHWDV6SldyaXZWNno0ajY0dHZCNWVHQTh5Y2VHWVNnVFBFZGRUSmhGeEVCZURRUmczemt3d0hLb2tEZ1hMb0dIYTVYVTZQY0tac0ZoNGNtT1FNVTN2bDJFVGVBcjlQaThoRDRJLXU5UzhJU3FDSWstOEZIeWZGS3FGNW5ibnBsbEl1cktmYmJXZGJJRzRSci0tRHVPQ000S21ORHM1RzMtXzZWWWstbjhyX1U2bWVySktRNzJLREV5TmhYczN5M2dtZWxqRFJLSFVnUVI2RktDSDBRUmVCUzdQXzRfaXFTakhvVjg4M0YtM2N0dnExbzJzYUlZR2U3UnhlaENKUzNUQTJONTYzNkx6eDZRaTd2dTRzV0hhbVdpcF93UTRJeE5VaDAwZ1J6YndzUjNhclRTNVIzYXFtbUN5UkM4amNQT3RMYjM1NlA3c1h6RlJ2OVVpSUltWnBRS0hGcVdiV1I1bjBIWFdYRkRkRThSeXB5U1VGbW1ZOUFGOFhMNWtrNUR3ZDVrVm1tQmwtUHZiTWlmR0ZzQUpiV1FPWVFYc05FbVFUZldwalpBSDA5TndtaUpBTVNBNURhVDIwZWdLM25OM0lZQUcwZzlxMllIbFU3M3VKcWVhS09oT3Z3cDMzQjhsRGI2QTE0MjR1VmN0a1pveHExWjM2UzNUdUdTZlI0OWxtMjJsMjVpOTF1VV9lanU4eTdia19mWXZUdk9zSzZlYnFEZ0RKa1VnTmlKTHFXaFlCb1pKT3ZVMkRMd1N1YUllWXg2alJFMTZIWTNUYVlLY09nNjhWaWJEMUw0REFpcDk1UjFuSmVVMDJ6TnRmQ0ZqQWhHUWhUUVJlMm9kYUZLTHRVeG9zeVNkR2FlSnhkWHoySUROd3l0aXUzdkVFdzRxQVFYUWw4dGMya2xxLWdIdW1adnZQQXh3N1lSRzQ1aXp1ZmJUeHh2OXhqS0tnVFhidVNCVGFDakFaUmF3MzRKdF9yVmxMOV9xdDl6SjFKV3VRMjE5VFJOWklfT0w3a1I3VF9vdjFwaU54VU5KMXNCR2JaM0NBU3hteTZ2VXZxMF91eGpzWHo0YUdZM1Fod1hvZUM2Z1BzZWZCLXZ3bW04Q1dUdlJPVlFnTlVEdUFjQXZRM3ZEUGxuR21qWldOYkhCMVpqeDlTYjFfeEtHSWFJSlc0alBOdjRheTVTYkRJc1JBcWNMS1d4Y2JGaVU5OVQ5NGVVSWlqZW02VmVCZ2kxS2g0VTZyNGltOWdtaWx2YVZyRnNWWWtoSmNkMThLajJYaDVYSXBVelVEUXd6M1NaY3hLLXVic2ZtM0JLRVVQSWVuMmtXU2J6R3NnLW4zNUI2OE01Y2JhVzNETjBESEZWZDkzWjZFdmJmQUZTWG5oT1c0cDhrZ2VQT2wxTHAzQTN6MDJ2Mk5qSlMyMmpIN3BuYkIzRkx1by1UY0hVN3RaMUhKTXZyZEhod0d0eER3MGxvdEN6QjNtYzVTWWlwc20wTFQwM1VSaDhxTHRsNHNjaWFZb1Nqbzk0aGtJOXV5by0tT2pnZ25YQ3ZXdGw0UTFDU2xTdWk4ZXAwdi1oMjU3UHQtTDg2NXd0MEtUeVRsNV9JaTdCWjJUWTRER1RDcS0yZklFdGlGMHlNdDRKQlYtb21iVFVuVllqajFfcVVoMXp0WUYwM3VHUnFDbXdJa25sSHV5X2RzVnpKOWk1OGJneHVqQ3J6XzN5UFF5dDBOc3U3cmFudGpUYmtCSWhSeTFYYUdTanQ2NEw3MmcwaW9sTDJnX2pIMTltaTJVNkoxM0pmeXRPaUI5NWVzRW9PbmlZN0NrR0FVcWdyRWx4VkFmdE10UnBPeThFaGlOaTdCMXdBb1gtZ2M4ZUc0UTVLbUtWNjNIZFc4RDBTM0VyUE96S0JJd0lYd1U3QXpaajVvSmtnR0ZVV291blNFN2pkRGl5WWVaQ2NwTmVYMGJ6TEVtUTh6aEpNRGJKZUxzTTQ1eWtaZkVud1oxU05YZVJGbm9MTS1ETTZXbF9BWWswOGdrM2FJRkJJU1l1TmpvWWU3LTlyN3Z0SndqY0VObEZDaEdLcXV3V1V6SzV5Y3pObkllQXlKSjV6REwyTjZySzgzYmMzWWNJVmdiVXQ1UkRoTXdJQzNpWlo3TkVWS1gtWXlKOW5CMkVuTDc3dFBZYTlHaU1ubGtTX292QnViRGowV3N4eE8zM21yUjI1R1QyLTNJLTJjU1J2dEs3b0dqSkhxUGJpZjd4U04yYjgxSmF4aUI4NVI1QmJBRUY0RWpCUGhMa0hjOFZHNWh5RV9YTXpKX2Y4MXR0SVRtLW5MQ3VhaHpUZHhLWURibnRkUWVLc0d3NGNfZkFKc0RRSWNBQjlIQWtNblE0bXp3VVNjTWZWNV9adWxUSWFTWGF1T1JlUXpVLVZZWmlrZXhodGJnYnlJWEdva3RNRHBLWXZGeVpCVC05dHA0Y21kMGgydmxnbkFBalNJenVhd3VqNE5VRXdKbnlGSmhnc3hQeUxtTkJUX3NtbDQ0WTk3Q2ZaVW9vMGY4TXlXWmd3Qll3UnJQNUNKOGVMbGxtdDd0dklQZVU2Tm5leEhqQXR3bTlRRHlwbTA1ZmZUNEFjX2hkekNuTWppQTdHcnZtb1VzQkxXMzFsemZDVktGdnR6dnppRW9vdDdOaGwzM3VrM1R5ajN2YTFFQ0tjczNOa0ZXLW5PeVkwY05tSjJISjRNSE1yV3pxczh5RVBJSzV4X0Ywc2hTeXk5OGdtUE4zcTRxckJ4Q0tTeGNyNEdUQlJKQXhlVFdMQWYwR3ZDTGxBam5pVFhOMGtINlcyX0QzTU9rRi12OVpqTjhpUmYxdW5LR0dwTjBVWld5dFotRFRtVGt5aTlTTGNPekhrYy1iaW43NzFTU1cwSGx4VTdOOHZlaDJ2clNEamlNZ2lud3pvLTJYMmg4VnhjOWlRNUlHSEFBT3NWODRReThCOHJjaDJTVXU5NEVCOVpGYnMySGFVVlNWUHdlckd6bnRHQzlGdUxCbGZJMnNlb2tjNXVwZTVkQVNrc2ZIWS1yX0NsME5kazhUMGR2VGpjcWY1a0NBNUZaOHhjYmNKV0toWkJWMHI4a0dUQWJtQ2w3SldHZ2toUGZ5TGVjMGpXRmVQa0ZHTEd3LTJPbVUzVE9qMmEtaDJIUWtXZE5pQ2lBZm16bXJmcU1vdGhYZmxvNllxelA0OWhPeS5YZzg3dmp4TDcxSTJTaVdnYnAyLWl4X2hHSTRrTjN4SWs3V0pUUGdDd21r"}' + headers: + cache-control: no-cache + content-length: '4956' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:19:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecbakf0621264/backup?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbakf0621264?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264","deletedDate":1618953590,"scheduledPurgeDate":1626729590,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbakf0621264/3ded6fad51764cdb9fe360f8d5b85703","attributes":{"enabled":true,"created":1618953589,"updated":1618953589,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '372' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:19:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecbakf0621264?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbakf0621264"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:19:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbakf0621264"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:19:52 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbakf0621264"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:19:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbakf0621264"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:19:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbakf0621264"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:19:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbakf0621264"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:00 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbakf0621264"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:02 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbakf0621264"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:04 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbakf0621264"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:06 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbakf0621264"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:08 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbakf0621264"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbakf0621264"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbakf0621264"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbakf0621264"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:17 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264","deletedDate":1618953590,"scheduledPurgeDate":1626729590,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbakf0621264/3ded6fad51764cdb9fe360f8d5b85703","attributes":{"enabled":true,"created":1618953589,"updated":1618953589,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '372' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:19 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 +- request: + body: null + headers: + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 + response: + body: + string: '' + headers: + cache-control: no-cache + date: Tue, 20 Apr 2021 21:20:19 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 204 + message: No Content + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbakf0621264?api-version=2016-10-01 +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuUFUzNXpCV25IRzRQUXMtRVViODNqZExlNVBlYmtKX2ZhbFdiWFR5QU53LTdldVVJZVp1aDRkYnRHaXN6MGlXT1liY21vOURDUnRtd3JoMFljWkNGTGVpcTRMZERKVmJuT2lHcVR4ZTc0NThoS2E3N0kwUHhzbjFUZGJ2MEkzaFRKSGJOWmJ4TUhTT3I0UV9hWlhXY2Rpa0ZUQUtwOGJLeF9DUGZKTWtaSGhta0hCeGY1LXZFSWpqd1NFMmVsMWtqc0ZKc2JXRERMZEVzWDYyZWdmbGl2ZTRYOG5qelNLdzh5TmVhcER2bTBuSGhZaFA1Rl9nbFBENVpYYThlY09BTndWRnFnVm5GX2YtZHZDcHpxeXYzTHhmSWpGM1RMMjFVT08xRHM2eTlNcHJmSndBLUlJM01UMVVQWEVRaU9xbE1YUEI4cDdOMC1EcXRUNG8yNEh5Tl9nLllOeXFfUHRGXzhnR2N1U3Z1SzlmYXcuOWxRanZxenJfTWxqbDZwUmVoTTFMa2dwT3FySzl4RlJmS3M3d3RhX2hVTG9CS0gwQUhMZTVBYVpEcGxDN0RSamhrbUkyeTh3akgxUjFLamIteXR5QzVrZUJaa1BUOUxSbUhVRkxMbWxfVkZpeXdqb2kteHRQQVhCdUhTNmo0aDljcng1NnBSU09ESHN1bThrWG1wV0duN1JGRTFIS1kweE9CSVhnZDB0bTN4QzhiaUlhbmpGOUpPdTRqT1hpQ1JoRXdmd05rMFpOWDgweTZuVzVleHMzSzRVVHFCd3lfWEZGRlUzbEhKT0VtYjA4UFVuM2VXbUxxbHBQQ09MaW9zSmFUTkM3MC1CbDU0T0pCZTdfRHZCbzVfVWk1dFpyRWtTUGhYZ0kxVjFra1dodzZ1UnVsVzB3M3B3Zl96MGJ6U004dzlmNC13WTY4MDM1UXdsTW94NTQwQUE1eXQ0STdISFVKVVJJaERrV2VCaDVHWWtQZWQ2aUp5Zm9WWGlNSmJxeW4tUzVTYlQxWUsxYmRkS2dBOFBTTkNFemxLWjhWd0wxRUxYTEppbl9yRDZCcUJwRWIyRUxSU01lMDZ4Z3hsaFJlOXozbWhEOGdUdzU4T2VEYmNMRjQwWF9acTgxbFhCOE96VnZmQmJiR0NFRy1RR28xczhTYk1OX2lwcUQ1cmxCa2JhM3pSOFZQcWY4NUNQRDlwTEllUDFOUnM5eVpHaDdkSGVESWRRNC1LeHFNYlVJWk51NVN6Q3gxYWQ2SkZITUVqY1I2LVpGcnlHWmxvY2JYR2ZQMVJYaC1ZZXpOVkJQbDdMUm80M01JXzVoaHRPVWl0eGJ3SF9pZmZ3aTlOSHROZ2trZzBSajFuQ0ZPMF9DSFBjU1ZkTGhicEhTQVExMzVUZXlIWjFLM0JOS3EzeGNQM1VNclUyNUFwRmxuV2t5OGF2cTR3MF9iZGdrcDF2dXB6X0NJWmpHWDV6SldyaXZWNno0ajY0dHZCNWVHQTh5Y2VHWVNnVFBFZGRUSmhGeEVCZURRUmczemt3d0hLb2tEZ1hMb0dIYTVYVTZQY0tac0ZoNGNtT1FNVTN2bDJFVGVBcjlQaThoRDRJLXU5UzhJU3FDSWstOEZIeWZGS3FGNW5ibnBsbEl1cktmYmJXZGJJRzRSci0tRHVPQ000S21ORHM1RzMtXzZWWWstbjhyX1U2bWVySktRNzJLREV5TmhYczN5M2dtZWxqRFJLSFVnUVI2RktDSDBRUmVCUzdQXzRfaXFTakhvVjg4M0YtM2N0dnExbzJzYUlZR2U3UnhlaENKUzNUQTJONTYzNkx6eDZRaTd2dTRzV0hhbVdpcF93UTRJeE5VaDAwZ1J6YndzUjNhclRTNVIzYXFtbUN5UkM4amNQT3RMYjM1NlA3c1h6RlJ2OVVpSUltWnBRS0hGcVdiV1I1bjBIWFdYRkRkRThSeXB5U1VGbW1ZOUFGOFhMNWtrNUR3ZDVrVm1tQmwtUHZiTWlmR0ZzQUpiV1FPWVFYc05FbVFUZldwalpBSDA5TndtaUpBTVNBNURhVDIwZWdLM25OM0lZQUcwZzlxMllIbFU3M3VKcWVhS09oT3Z3cDMzQjhsRGI2QTE0MjR1VmN0a1pveHExWjM2UzNUdUdTZlI0OWxtMjJsMjVpOTF1VV9lanU4eTdia19mWXZUdk9zSzZlYnFEZ0RKa1VnTmlKTHFXaFlCb1pKT3ZVMkRMd1N1YUllWXg2alJFMTZIWTNUYVlLY09nNjhWaWJEMUw0REFpcDk1UjFuSmVVMDJ6TnRmQ0ZqQWhHUWhUUVJlMm9kYUZLTHRVeG9zeVNkR2FlSnhkWHoySUROd3l0aXUzdkVFdzRxQVFYUWw4dGMya2xxLWdIdW1adnZQQXh3N1lSRzQ1aXp1ZmJUeHh2OXhqS0tnVFhidVNCVGFDakFaUmF3MzRKdF9yVmxMOV9xdDl6SjFKV3VRMjE5VFJOWklfT0w3a1I3VF9vdjFwaU54VU5KMXNCR2JaM0NBU3hteTZ2VXZxMF91eGpzWHo0YUdZM1Fod1hvZUM2Z1BzZWZCLXZ3bW04Q1dUdlJPVlFnTlVEdUFjQXZRM3ZEUGxuR21qWldOYkhCMVpqeDlTYjFfeEtHSWFJSlc0alBOdjRheTVTYkRJc1JBcWNMS1d4Y2JGaVU5OVQ5NGVVSWlqZW02VmVCZ2kxS2g0VTZyNGltOWdtaWx2YVZyRnNWWWtoSmNkMThLajJYaDVYSXBVelVEUXd6M1NaY3hLLXVic2ZtM0JLRVVQSWVuMmtXU2J6R3NnLW4zNUI2OE01Y2JhVzNETjBESEZWZDkzWjZFdmJmQUZTWG5oT1c0cDhrZ2VQT2wxTHAzQTN6MDJ2Mk5qSlMyMmpIN3BuYkIzRkx1by1UY0hVN3RaMUhKTXZyZEhod0d0eER3MGxvdEN6QjNtYzVTWWlwc20wTFQwM1VSaDhxTHRsNHNjaWFZb1Nqbzk0aGtJOXV5by0tT2pnZ25YQ3ZXdGw0UTFDU2xTdWk4ZXAwdi1oMjU3UHQtTDg2NXd0MEtUeVRsNV9JaTdCWjJUWTRER1RDcS0yZklFdGlGMHlNdDRKQlYtb21iVFVuVllqajFfcVVoMXp0WUYwM3VHUnFDbXdJa25sSHV5X2RzVnpKOWk1OGJneHVqQ3J6XzN5UFF5dDBOc3U3cmFudGpUYmtCSWhSeTFYYUdTanQ2NEw3MmcwaW9sTDJnX2pIMTltaTJVNkoxM0pmeXRPaUI5NWVzRW9PbmlZN0NrR0FVcWdyRWx4VkFmdE10UnBPeThFaGlOaTdCMXdBb1gtZ2M4ZUc0UTVLbUtWNjNIZFc4RDBTM0VyUE96S0JJd0lYd1U3QXpaajVvSmtnR0ZVV291blNFN2pkRGl5WWVaQ2NwTmVYMGJ6TEVtUTh6aEpNRGJKZUxzTTQ1eWtaZkVud1oxU05YZVJGbm9MTS1ETTZXbF9BWWswOGdrM2FJRkJJU1l1TmpvWWU3LTlyN3Z0SndqY0VObEZDaEdLcXV3V1V6SzV5Y3pObkllQXlKSjV6REwyTjZySzgzYmMzWWNJVmdiVXQ1UkRoTXdJQzNpWlo3TkVWS1gtWXlKOW5CMkVuTDc3dFBZYTlHaU1ubGtTX292QnViRGowV3N4eE8zM21yUjI1R1QyLTNJLTJjU1J2dEs3b0dqSkhxUGJpZjd4U04yYjgxSmF4aUI4NVI1QmJBRUY0RWpCUGhMa0hjOFZHNWh5RV9YTXpKX2Y4MXR0SVRtLW5MQ3VhaHpUZHhLWURibnRkUWVLc0d3NGNfZkFKc0RRSWNBQjlIQWtNblE0bXp3VVNjTWZWNV9adWxUSWFTWGF1T1JlUXpVLVZZWmlrZXhodGJnYnlJWEdva3RNRHBLWXZGeVpCVC05dHA0Y21kMGgydmxnbkFBalNJenVhd3VqNE5VRXdKbnlGSmhnc3hQeUxtTkJUX3NtbDQ0WTk3Q2ZaVW9vMGY4TXlXWmd3Qll3UnJQNUNKOGVMbGxtdDd0dklQZVU2Tm5leEhqQXR3bTlRRHlwbTA1ZmZUNEFjX2hkekNuTWppQTdHcnZtb1VzQkxXMzFsemZDVktGdnR6dnppRW9vdDdOaGwzM3VrM1R5ajN2YTFFQ0tjczNOa0ZXLW5PeVkwY05tSjJISjRNSE1yV3pxczh5RVBJSzV4X0Ywc2hTeXk5OGdtUE4zcTRxckJ4Q0tTeGNyNEdUQlJKQXhlVFdMQWYwR3ZDTGxBam5pVFhOMGtINlcyX0QzTU9rRi12OVpqTjhpUmYxdW5LR0dwTjBVWld5dFotRFRtVGt5aTlTTGNPekhrYy1iaW43NzFTU1cwSGx4VTdOOHZlaDJ2clNEamlNZ2lud3pvLTJYMmg4VnhjOWlRNUlHSEFBT3NWODRReThCOHJjaDJTVXU5NEVCOVpGYnMySGFVVlNWUHdlckd6bnRHQzlGdUxCbGZJMnNlb2tjNXVwZTVkQVNrc2ZIWS1yX0NsME5kazhUMGR2VGpjcWY1a0NBNUZaOHhjYmNKV0toWkJWMHI4a0dUQWJtQ2w3SldHZ2toUGZ5TGVjMGpXRmVQa0ZHTEd3LTJPbVUzVE9qMmEtaDJIUWtXZE5pQ2lBZm16bXJmcU1vdGhYZmxvNllxelA0OWhPeS5YZzg3dmp4TDcxSTJTaVdnYnAyLWl4X2hHSTRrTjN4SWs3V0pUUGdDd21r"}' + headers: + Accept: + - application/json + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbakf0621264/3ded6fad51764cdb9fe360f8d5b85703''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: no-cache + content-length: '643' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 409 + message: Conflict + url: https://mcpatinotest.vault.azure.net/secrets/restore?api-version=2016-10-01 +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuUFUzNXpCV25IRzRQUXMtRVViODNqZExlNVBlYmtKX2ZhbFdiWFR5QU53LTdldVVJZVp1aDRkYnRHaXN6MGlXT1liY21vOURDUnRtd3JoMFljWkNGTGVpcTRMZERKVmJuT2lHcVR4ZTc0NThoS2E3N0kwUHhzbjFUZGJ2MEkzaFRKSGJOWmJ4TUhTT3I0UV9hWlhXY2Rpa0ZUQUtwOGJLeF9DUGZKTWtaSGhta0hCeGY1LXZFSWpqd1NFMmVsMWtqc0ZKc2JXRERMZEVzWDYyZWdmbGl2ZTRYOG5qelNLdzh5TmVhcER2bTBuSGhZaFA1Rl9nbFBENVpYYThlY09BTndWRnFnVm5GX2YtZHZDcHpxeXYzTHhmSWpGM1RMMjFVT08xRHM2eTlNcHJmSndBLUlJM01UMVVQWEVRaU9xbE1YUEI4cDdOMC1EcXRUNG8yNEh5Tl9nLllOeXFfUHRGXzhnR2N1U3Z1SzlmYXcuOWxRanZxenJfTWxqbDZwUmVoTTFMa2dwT3FySzl4RlJmS3M3d3RhX2hVTG9CS0gwQUhMZTVBYVpEcGxDN0RSamhrbUkyeTh3akgxUjFLamIteXR5QzVrZUJaa1BUOUxSbUhVRkxMbWxfVkZpeXdqb2kteHRQQVhCdUhTNmo0aDljcng1NnBSU09ESHN1bThrWG1wV0duN1JGRTFIS1kweE9CSVhnZDB0bTN4QzhiaUlhbmpGOUpPdTRqT1hpQ1JoRXdmd05rMFpOWDgweTZuVzVleHMzSzRVVHFCd3lfWEZGRlUzbEhKT0VtYjA4UFVuM2VXbUxxbHBQQ09MaW9zSmFUTkM3MC1CbDU0T0pCZTdfRHZCbzVfVWk1dFpyRWtTUGhYZ0kxVjFra1dodzZ1UnVsVzB3M3B3Zl96MGJ6U004dzlmNC13WTY4MDM1UXdsTW94NTQwQUE1eXQ0STdISFVKVVJJaERrV2VCaDVHWWtQZWQ2aUp5Zm9WWGlNSmJxeW4tUzVTYlQxWUsxYmRkS2dBOFBTTkNFemxLWjhWd0wxRUxYTEppbl9yRDZCcUJwRWIyRUxSU01lMDZ4Z3hsaFJlOXozbWhEOGdUdzU4T2VEYmNMRjQwWF9acTgxbFhCOE96VnZmQmJiR0NFRy1RR28xczhTYk1OX2lwcUQ1cmxCa2JhM3pSOFZQcWY4NUNQRDlwTEllUDFOUnM5eVpHaDdkSGVESWRRNC1LeHFNYlVJWk51NVN6Q3gxYWQ2SkZITUVqY1I2LVpGcnlHWmxvY2JYR2ZQMVJYaC1ZZXpOVkJQbDdMUm80M01JXzVoaHRPVWl0eGJ3SF9pZmZ3aTlOSHROZ2trZzBSajFuQ0ZPMF9DSFBjU1ZkTGhicEhTQVExMzVUZXlIWjFLM0JOS3EzeGNQM1VNclUyNUFwRmxuV2t5OGF2cTR3MF9iZGdrcDF2dXB6X0NJWmpHWDV6SldyaXZWNno0ajY0dHZCNWVHQTh5Y2VHWVNnVFBFZGRUSmhGeEVCZURRUmczemt3d0hLb2tEZ1hMb0dIYTVYVTZQY0tac0ZoNGNtT1FNVTN2bDJFVGVBcjlQaThoRDRJLXU5UzhJU3FDSWstOEZIeWZGS3FGNW5ibnBsbEl1cktmYmJXZGJJRzRSci0tRHVPQ000S21ORHM1RzMtXzZWWWstbjhyX1U2bWVySktRNzJLREV5TmhYczN5M2dtZWxqRFJLSFVnUVI2RktDSDBRUmVCUzdQXzRfaXFTakhvVjg4M0YtM2N0dnExbzJzYUlZR2U3UnhlaENKUzNUQTJONTYzNkx6eDZRaTd2dTRzV0hhbVdpcF93UTRJeE5VaDAwZ1J6YndzUjNhclRTNVIzYXFtbUN5UkM4amNQT3RMYjM1NlA3c1h6RlJ2OVVpSUltWnBRS0hGcVdiV1I1bjBIWFdYRkRkRThSeXB5U1VGbW1ZOUFGOFhMNWtrNUR3ZDVrVm1tQmwtUHZiTWlmR0ZzQUpiV1FPWVFYc05FbVFUZldwalpBSDA5TndtaUpBTVNBNURhVDIwZWdLM25OM0lZQUcwZzlxMllIbFU3M3VKcWVhS09oT3Z3cDMzQjhsRGI2QTE0MjR1VmN0a1pveHExWjM2UzNUdUdTZlI0OWxtMjJsMjVpOTF1VV9lanU4eTdia19mWXZUdk9zSzZlYnFEZ0RKa1VnTmlKTHFXaFlCb1pKT3ZVMkRMd1N1YUllWXg2alJFMTZIWTNUYVlLY09nNjhWaWJEMUw0REFpcDk1UjFuSmVVMDJ6TnRmQ0ZqQWhHUWhUUVJlMm9kYUZLTHRVeG9zeVNkR2FlSnhkWHoySUROd3l0aXUzdkVFdzRxQVFYUWw4dGMya2xxLWdIdW1adnZQQXh3N1lSRzQ1aXp1ZmJUeHh2OXhqS0tnVFhidVNCVGFDakFaUmF3MzRKdF9yVmxMOV9xdDl6SjFKV3VRMjE5VFJOWklfT0w3a1I3VF9vdjFwaU54VU5KMXNCR2JaM0NBU3hteTZ2VXZxMF91eGpzWHo0YUdZM1Fod1hvZUM2Z1BzZWZCLXZ3bW04Q1dUdlJPVlFnTlVEdUFjQXZRM3ZEUGxuR21qWldOYkhCMVpqeDlTYjFfeEtHSWFJSlc0alBOdjRheTVTYkRJc1JBcWNMS1d4Y2JGaVU5OVQ5NGVVSWlqZW02VmVCZ2kxS2g0VTZyNGltOWdtaWx2YVZyRnNWWWtoSmNkMThLajJYaDVYSXBVelVEUXd6M1NaY3hLLXVic2ZtM0JLRVVQSWVuMmtXU2J6R3NnLW4zNUI2OE01Y2JhVzNETjBESEZWZDkzWjZFdmJmQUZTWG5oT1c0cDhrZ2VQT2wxTHAzQTN6MDJ2Mk5qSlMyMmpIN3BuYkIzRkx1by1UY0hVN3RaMUhKTXZyZEhod0d0eER3MGxvdEN6QjNtYzVTWWlwc20wTFQwM1VSaDhxTHRsNHNjaWFZb1Nqbzk0aGtJOXV5by0tT2pnZ25YQ3ZXdGw0UTFDU2xTdWk4ZXAwdi1oMjU3UHQtTDg2NXd0MEtUeVRsNV9JaTdCWjJUWTRER1RDcS0yZklFdGlGMHlNdDRKQlYtb21iVFVuVllqajFfcVVoMXp0WUYwM3VHUnFDbXdJa25sSHV5X2RzVnpKOWk1OGJneHVqQ3J6XzN5UFF5dDBOc3U3cmFudGpUYmtCSWhSeTFYYUdTanQ2NEw3MmcwaW9sTDJnX2pIMTltaTJVNkoxM0pmeXRPaUI5NWVzRW9PbmlZN0NrR0FVcWdyRWx4VkFmdE10UnBPeThFaGlOaTdCMXdBb1gtZ2M4ZUc0UTVLbUtWNjNIZFc4RDBTM0VyUE96S0JJd0lYd1U3QXpaajVvSmtnR0ZVV291blNFN2pkRGl5WWVaQ2NwTmVYMGJ6TEVtUTh6aEpNRGJKZUxzTTQ1eWtaZkVud1oxU05YZVJGbm9MTS1ETTZXbF9BWWswOGdrM2FJRkJJU1l1TmpvWWU3LTlyN3Z0SndqY0VObEZDaEdLcXV3V1V6SzV5Y3pObkllQXlKSjV6REwyTjZySzgzYmMzWWNJVmdiVXQ1UkRoTXdJQzNpWlo3TkVWS1gtWXlKOW5CMkVuTDc3dFBZYTlHaU1ubGtTX292QnViRGowV3N4eE8zM21yUjI1R1QyLTNJLTJjU1J2dEs3b0dqSkhxUGJpZjd4U04yYjgxSmF4aUI4NVI1QmJBRUY0RWpCUGhMa0hjOFZHNWh5RV9YTXpKX2Y4MXR0SVRtLW5MQ3VhaHpUZHhLWURibnRkUWVLc0d3NGNfZkFKc0RRSWNBQjlIQWtNblE0bXp3VVNjTWZWNV9adWxUSWFTWGF1T1JlUXpVLVZZWmlrZXhodGJnYnlJWEdva3RNRHBLWXZGeVpCVC05dHA0Y21kMGgydmxnbkFBalNJenVhd3VqNE5VRXdKbnlGSmhnc3hQeUxtTkJUX3NtbDQ0WTk3Q2ZaVW9vMGY4TXlXWmd3Qll3UnJQNUNKOGVMbGxtdDd0dklQZVU2Tm5leEhqQXR3bTlRRHlwbTA1ZmZUNEFjX2hkekNuTWppQTdHcnZtb1VzQkxXMzFsemZDVktGdnR6dnppRW9vdDdOaGwzM3VrM1R5ajN2YTFFQ0tjczNOa0ZXLW5PeVkwY05tSjJISjRNSE1yV3pxczh5RVBJSzV4X0Ywc2hTeXk5OGdtUE4zcTRxckJ4Q0tTeGNyNEdUQlJKQXhlVFdMQWYwR3ZDTGxBam5pVFhOMGtINlcyX0QzTU9rRi12OVpqTjhpUmYxdW5LR0dwTjBVWld5dFotRFRtVGt5aTlTTGNPekhrYy1iaW43NzFTU1cwSGx4VTdOOHZlaDJ2clNEamlNZ2lud3pvLTJYMmg4VnhjOWlRNUlHSEFBT3NWODRReThCOHJjaDJTVXU5NEVCOVpGYnMySGFVVlNWUHdlckd6bnRHQzlGdUxCbGZJMnNlb2tjNXVwZTVkQVNrc2ZIWS1yX0NsME5kazhUMGR2VGpjcWY1a0NBNUZaOHhjYmNKV0toWkJWMHI4a0dUQWJtQ2w3SldHZ2toUGZ5TGVjMGpXRmVQa0ZHTEd3LTJPbVUzVE9qMmEtaDJIUWtXZE5pQ2lBZm16bXJmcU1vdGhYZmxvNllxelA0OWhPeS5YZzg3dmp4TDcxSTJTaVdnYnAyLWl4X2hHSTRrTjN4SWs3V0pUUGdDd21r"}' + headers: + Accept: + - application/json + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbakf0621264/3ded6fad51764cdb9fe360f8d5b85703''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: no-cache + content-length: '643' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:23 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 409 + message: Conflict + url: https://mcpatinotest.vault.azure.net/secrets/restore?api-version=2016-10-01 +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuUFUzNXpCV25IRzRQUXMtRVViODNqZExlNVBlYmtKX2ZhbFdiWFR5QU53LTdldVVJZVp1aDRkYnRHaXN6MGlXT1liY21vOURDUnRtd3JoMFljWkNGTGVpcTRMZERKVmJuT2lHcVR4ZTc0NThoS2E3N0kwUHhzbjFUZGJ2MEkzaFRKSGJOWmJ4TUhTT3I0UV9hWlhXY2Rpa0ZUQUtwOGJLeF9DUGZKTWtaSGhta0hCeGY1LXZFSWpqd1NFMmVsMWtqc0ZKc2JXRERMZEVzWDYyZWdmbGl2ZTRYOG5qelNLdzh5TmVhcER2bTBuSGhZaFA1Rl9nbFBENVpYYThlY09BTndWRnFnVm5GX2YtZHZDcHpxeXYzTHhmSWpGM1RMMjFVT08xRHM2eTlNcHJmSndBLUlJM01UMVVQWEVRaU9xbE1YUEI4cDdOMC1EcXRUNG8yNEh5Tl9nLllOeXFfUHRGXzhnR2N1U3Z1SzlmYXcuOWxRanZxenJfTWxqbDZwUmVoTTFMa2dwT3FySzl4RlJmS3M3d3RhX2hVTG9CS0gwQUhMZTVBYVpEcGxDN0RSamhrbUkyeTh3akgxUjFLamIteXR5QzVrZUJaa1BUOUxSbUhVRkxMbWxfVkZpeXdqb2kteHRQQVhCdUhTNmo0aDljcng1NnBSU09ESHN1bThrWG1wV0duN1JGRTFIS1kweE9CSVhnZDB0bTN4QzhiaUlhbmpGOUpPdTRqT1hpQ1JoRXdmd05rMFpOWDgweTZuVzVleHMzSzRVVHFCd3lfWEZGRlUzbEhKT0VtYjA4UFVuM2VXbUxxbHBQQ09MaW9zSmFUTkM3MC1CbDU0T0pCZTdfRHZCbzVfVWk1dFpyRWtTUGhYZ0kxVjFra1dodzZ1UnVsVzB3M3B3Zl96MGJ6U004dzlmNC13WTY4MDM1UXdsTW94NTQwQUE1eXQ0STdISFVKVVJJaERrV2VCaDVHWWtQZWQ2aUp5Zm9WWGlNSmJxeW4tUzVTYlQxWUsxYmRkS2dBOFBTTkNFemxLWjhWd0wxRUxYTEppbl9yRDZCcUJwRWIyRUxSU01lMDZ4Z3hsaFJlOXozbWhEOGdUdzU4T2VEYmNMRjQwWF9acTgxbFhCOE96VnZmQmJiR0NFRy1RR28xczhTYk1OX2lwcUQ1cmxCa2JhM3pSOFZQcWY4NUNQRDlwTEllUDFOUnM5eVpHaDdkSGVESWRRNC1LeHFNYlVJWk51NVN6Q3gxYWQ2SkZITUVqY1I2LVpGcnlHWmxvY2JYR2ZQMVJYaC1ZZXpOVkJQbDdMUm80M01JXzVoaHRPVWl0eGJ3SF9pZmZ3aTlOSHROZ2trZzBSajFuQ0ZPMF9DSFBjU1ZkTGhicEhTQVExMzVUZXlIWjFLM0JOS3EzeGNQM1VNclUyNUFwRmxuV2t5OGF2cTR3MF9iZGdrcDF2dXB6X0NJWmpHWDV6SldyaXZWNno0ajY0dHZCNWVHQTh5Y2VHWVNnVFBFZGRUSmhGeEVCZURRUmczemt3d0hLb2tEZ1hMb0dIYTVYVTZQY0tac0ZoNGNtT1FNVTN2bDJFVGVBcjlQaThoRDRJLXU5UzhJU3FDSWstOEZIeWZGS3FGNW5ibnBsbEl1cktmYmJXZGJJRzRSci0tRHVPQ000S21ORHM1RzMtXzZWWWstbjhyX1U2bWVySktRNzJLREV5TmhYczN5M2dtZWxqRFJLSFVnUVI2RktDSDBRUmVCUzdQXzRfaXFTakhvVjg4M0YtM2N0dnExbzJzYUlZR2U3UnhlaENKUzNUQTJONTYzNkx6eDZRaTd2dTRzV0hhbVdpcF93UTRJeE5VaDAwZ1J6YndzUjNhclRTNVIzYXFtbUN5UkM4amNQT3RMYjM1NlA3c1h6RlJ2OVVpSUltWnBRS0hGcVdiV1I1bjBIWFdYRkRkRThSeXB5U1VGbW1ZOUFGOFhMNWtrNUR3ZDVrVm1tQmwtUHZiTWlmR0ZzQUpiV1FPWVFYc05FbVFUZldwalpBSDA5TndtaUpBTVNBNURhVDIwZWdLM25OM0lZQUcwZzlxMllIbFU3M3VKcWVhS09oT3Z3cDMzQjhsRGI2QTE0MjR1VmN0a1pveHExWjM2UzNUdUdTZlI0OWxtMjJsMjVpOTF1VV9lanU4eTdia19mWXZUdk9zSzZlYnFEZ0RKa1VnTmlKTHFXaFlCb1pKT3ZVMkRMd1N1YUllWXg2alJFMTZIWTNUYVlLY09nNjhWaWJEMUw0REFpcDk1UjFuSmVVMDJ6TnRmQ0ZqQWhHUWhUUVJlMm9kYUZLTHRVeG9zeVNkR2FlSnhkWHoySUROd3l0aXUzdkVFdzRxQVFYUWw4dGMya2xxLWdIdW1adnZQQXh3N1lSRzQ1aXp1ZmJUeHh2OXhqS0tnVFhidVNCVGFDakFaUmF3MzRKdF9yVmxMOV9xdDl6SjFKV3VRMjE5VFJOWklfT0w3a1I3VF9vdjFwaU54VU5KMXNCR2JaM0NBU3hteTZ2VXZxMF91eGpzWHo0YUdZM1Fod1hvZUM2Z1BzZWZCLXZ3bW04Q1dUdlJPVlFnTlVEdUFjQXZRM3ZEUGxuR21qWldOYkhCMVpqeDlTYjFfeEtHSWFJSlc0alBOdjRheTVTYkRJc1JBcWNMS1d4Y2JGaVU5OVQ5NGVVSWlqZW02VmVCZ2kxS2g0VTZyNGltOWdtaWx2YVZyRnNWWWtoSmNkMThLajJYaDVYSXBVelVEUXd6M1NaY3hLLXVic2ZtM0JLRVVQSWVuMmtXU2J6R3NnLW4zNUI2OE01Y2JhVzNETjBESEZWZDkzWjZFdmJmQUZTWG5oT1c0cDhrZ2VQT2wxTHAzQTN6MDJ2Mk5qSlMyMmpIN3BuYkIzRkx1by1UY0hVN3RaMUhKTXZyZEhod0d0eER3MGxvdEN6QjNtYzVTWWlwc20wTFQwM1VSaDhxTHRsNHNjaWFZb1Nqbzk0aGtJOXV5by0tT2pnZ25YQ3ZXdGw0UTFDU2xTdWk4ZXAwdi1oMjU3UHQtTDg2NXd0MEtUeVRsNV9JaTdCWjJUWTRER1RDcS0yZklFdGlGMHlNdDRKQlYtb21iVFVuVllqajFfcVVoMXp0WUYwM3VHUnFDbXdJa25sSHV5X2RzVnpKOWk1OGJneHVqQ3J6XzN5UFF5dDBOc3U3cmFudGpUYmtCSWhSeTFYYUdTanQ2NEw3MmcwaW9sTDJnX2pIMTltaTJVNkoxM0pmeXRPaUI5NWVzRW9PbmlZN0NrR0FVcWdyRWx4VkFmdE10UnBPeThFaGlOaTdCMXdBb1gtZ2M4ZUc0UTVLbUtWNjNIZFc4RDBTM0VyUE96S0JJd0lYd1U3QXpaajVvSmtnR0ZVV291blNFN2pkRGl5WWVaQ2NwTmVYMGJ6TEVtUTh6aEpNRGJKZUxzTTQ1eWtaZkVud1oxU05YZVJGbm9MTS1ETTZXbF9BWWswOGdrM2FJRkJJU1l1TmpvWWU3LTlyN3Z0SndqY0VObEZDaEdLcXV3V1V6SzV5Y3pObkllQXlKSjV6REwyTjZySzgzYmMzWWNJVmdiVXQ1UkRoTXdJQzNpWlo3TkVWS1gtWXlKOW5CMkVuTDc3dFBZYTlHaU1ubGtTX292QnViRGowV3N4eE8zM21yUjI1R1QyLTNJLTJjU1J2dEs3b0dqSkhxUGJpZjd4U04yYjgxSmF4aUI4NVI1QmJBRUY0RWpCUGhMa0hjOFZHNWh5RV9YTXpKX2Y4MXR0SVRtLW5MQ3VhaHpUZHhLWURibnRkUWVLc0d3NGNfZkFKc0RRSWNBQjlIQWtNblE0bXp3VVNjTWZWNV9adWxUSWFTWGF1T1JlUXpVLVZZWmlrZXhodGJnYnlJWEdva3RNRHBLWXZGeVpCVC05dHA0Y21kMGgydmxnbkFBalNJenVhd3VqNE5VRXdKbnlGSmhnc3hQeUxtTkJUX3NtbDQ0WTk3Q2ZaVW9vMGY4TXlXWmd3Qll3UnJQNUNKOGVMbGxtdDd0dklQZVU2Tm5leEhqQXR3bTlRRHlwbTA1ZmZUNEFjX2hkekNuTWppQTdHcnZtb1VzQkxXMzFsemZDVktGdnR6dnppRW9vdDdOaGwzM3VrM1R5ajN2YTFFQ0tjczNOa0ZXLW5PeVkwY05tSjJISjRNSE1yV3pxczh5RVBJSzV4X0Ywc2hTeXk5OGdtUE4zcTRxckJ4Q0tTeGNyNEdUQlJKQXhlVFdMQWYwR3ZDTGxBam5pVFhOMGtINlcyX0QzTU9rRi12OVpqTjhpUmYxdW5LR0dwTjBVWld5dFotRFRtVGt5aTlTTGNPekhrYy1iaW43NzFTU1cwSGx4VTdOOHZlaDJ2clNEamlNZ2lud3pvLTJYMmg4VnhjOWlRNUlHSEFBT3NWODRReThCOHJjaDJTVXU5NEVCOVpGYnMySGFVVlNWUHdlckd6bnRHQzlGdUxCbGZJMnNlb2tjNXVwZTVkQVNrc2ZIWS1yX0NsME5kazhUMGR2VGpjcWY1a0NBNUZaOHhjYmNKV0toWkJWMHI4a0dUQWJtQ2w3SldHZ2toUGZ5TGVjMGpXRmVQa0ZHTEd3LTJPbVUzVE9qMmEtaDJIUWtXZE5pQ2lBZm16bXJmcU1vdGhYZmxvNllxelA0OWhPeS5YZzg3dmp4TDcxSTJTaVdnYnAyLWl4X2hHSTRrTjN4SWs3V0pUUGdDd21r"}' + headers: + Accept: + - application/json + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbakf0621264/3ded6fad51764cdb9fe360f8d5b85703''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: no-cache + content-length: '643' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:26 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 409 + message: Conflict + url: https://mcpatinotest.vault.azure.net/secrets/restore?api-version=2016-10-01 +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuUFUzNXpCV25IRzRQUXMtRVViODNqZExlNVBlYmtKX2ZhbFdiWFR5QU53LTdldVVJZVp1aDRkYnRHaXN6MGlXT1liY21vOURDUnRtd3JoMFljWkNGTGVpcTRMZERKVmJuT2lHcVR4ZTc0NThoS2E3N0kwUHhzbjFUZGJ2MEkzaFRKSGJOWmJ4TUhTT3I0UV9hWlhXY2Rpa0ZUQUtwOGJLeF9DUGZKTWtaSGhta0hCeGY1LXZFSWpqd1NFMmVsMWtqc0ZKc2JXRERMZEVzWDYyZWdmbGl2ZTRYOG5qelNLdzh5TmVhcER2bTBuSGhZaFA1Rl9nbFBENVpYYThlY09BTndWRnFnVm5GX2YtZHZDcHpxeXYzTHhmSWpGM1RMMjFVT08xRHM2eTlNcHJmSndBLUlJM01UMVVQWEVRaU9xbE1YUEI4cDdOMC1EcXRUNG8yNEh5Tl9nLllOeXFfUHRGXzhnR2N1U3Z1SzlmYXcuOWxRanZxenJfTWxqbDZwUmVoTTFMa2dwT3FySzl4RlJmS3M3d3RhX2hVTG9CS0gwQUhMZTVBYVpEcGxDN0RSamhrbUkyeTh3akgxUjFLamIteXR5QzVrZUJaa1BUOUxSbUhVRkxMbWxfVkZpeXdqb2kteHRQQVhCdUhTNmo0aDljcng1NnBSU09ESHN1bThrWG1wV0duN1JGRTFIS1kweE9CSVhnZDB0bTN4QzhiaUlhbmpGOUpPdTRqT1hpQ1JoRXdmd05rMFpOWDgweTZuVzVleHMzSzRVVHFCd3lfWEZGRlUzbEhKT0VtYjA4UFVuM2VXbUxxbHBQQ09MaW9zSmFUTkM3MC1CbDU0T0pCZTdfRHZCbzVfVWk1dFpyRWtTUGhYZ0kxVjFra1dodzZ1UnVsVzB3M3B3Zl96MGJ6U004dzlmNC13WTY4MDM1UXdsTW94NTQwQUE1eXQ0STdISFVKVVJJaERrV2VCaDVHWWtQZWQ2aUp5Zm9WWGlNSmJxeW4tUzVTYlQxWUsxYmRkS2dBOFBTTkNFemxLWjhWd0wxRUxYTEppbl9yRDZCcUJwRWIyRUxSU01lMDZ4Z3hsaFJlOXozbWhEOGdUdzU4T2VEYmNMRjQwWF9acTgxbFhCOE96VnZmQmJiR0NFRy1RR28xczhTYk1OX2lwcUQ1cmxCa2JhM3pSOFZQcWY4NUNQRDlwTEllUDFOUnM5eVpHaDdkSGVESWRRNC1LeHFNYlVJWk51NVN6Q3gxYWQ2SkZITUVqY1I2LVpGcnlHWmxvY2JYR2ZQMVJYaC1ZZXpOVkJQbDdMUm80M01JXzVoaHRPVWl0eGJ3SF9pZmZ3aTlOSHROZ2trZzBSajFuQ0ZPMF9DSFBjU1ZkTGhicEhTQVExMzVUZXlIWjFLM0JOS3EzeGNQM1VNclUyNUFwRmxuV2t5OGF2cTR3MF9iZGdrcDF2dXB6X0NJWmpHWDV6SldyaXZWNno0ajY0dHZCNWVHQTh5Y2VHWVNnVFBFZGRUSmhGeEVCZURRUmczemt3d0hLb2tEZ1hMb0dIYTVYVTZQY0tac0ZoNGNtT1FNVTN2bDJFVGVBcjlQaThoRDRJLXU5UzhJU3FDSWstOEZIeWZGS3FGNW5ibnBsbEl1cktmYmJXZGJJRzRSci0tRHVPQ000S21ORHM1RzMtXzZWWWstbjhyX1U2bWVySktRNzJLREV5TmhYczN5M2dtZWxqRFJLSFVnUVI2RktDSDBRUmVCUzdQXzRfaXFTakhvVjg4M0YtM2N0dnExbzJzYUlZR2U3UnhlaENKUzNUQTJONTYzNkx6eDZRaTd2dTRzV0hhbVdpcF93UTRJeE5VaDAwZ1J6YndzUjNhclRTNVIzYXFtbUN5UkM4amNQT3RMYjM1NlA3c1h6RlJ2OVVpSUltWnBRS0hGcVdiV1I1bjBIWFdYRkRkRThSeXB5U1VGbW1ZOUFGOFhMNWtrNUR3ZDVrVm1tQmwtUHZiTWlmR0ZzQUpiV1FPWVFYc05FbVFUZldwalpBSDA5TndtaUpBTVNBNURhVDIwZWdLM25OM0lZQUcwZzlxMllIbFU3M3VKcWVhS09oT3Z3cDMzQjhsRGI2QTE0MjR1VmN0a1pveHExWjM2UzNUdUdTZlI0OWxtMjJsMjVpOTF1VV9lanU4eTdia19mWXZUdk9zSzZlYnFEZ0RKa1VnTmlKTHFXaFlCb1pKT3ZVMkRMd1N1YUllWXg2alJFMTZIWTNUYVlLY09nNjhWaWJEMUw0REFpcDk1UjFuSmVVMDJ6TnRmQ0ZqQWhHUWhUUVJlMm9kYUZLTHRVeG9zeVNkR2FlSnhkWHoySUROd3l0aXUzdkVFdzRxQVFYUWw4dGMya2xxLWdIdW1adnZQQXh3N1lSRzQ1aXp1ZmJUeHh2OXhqS0tnVFhidVNCVGFDakFaUmF3MzRKdF9yVmxMOV9xdDl6SjFKV3VRMjE5VFJOWklfT0w3a1I3VF9vdjFwaU54VU5KMXNCR2JaM0NBU3hteTZ2VXZxMF91eGpzWHo0YUdZM1Fod1hvZUM2Z1BzZWZCLXZ3bW04Q1dUdlJPVlFnTlVEdUFjQXZRM3ZEUGxuR21qWldOYkhCMVpqeDlTYjFfeEtHSWFJSlc0alBOdjRheTVTYkRJc1JBcWNMS1d4Y2JGaVU5OVQ5NGVVSWlqZW02VmVCZ2kxS2g0VTZyNGltOWdtaWx2YVZyRnNWWWtoSmNkMThLajJYaDVYSXBVelVEUXd6M1NaY3hLLXVic2ZtM0JLRVVQSWVuMmtXU2J6R3NnLW4zNUI2OE01Y2JhVzNETjBESEZWZDkzWjZFdmJmQUZTWG5oT1c0cDhrZ2VQT2wxTHAzQTN6MDJ2Mk5qSlMyMmpIN3BuYkIzRkx1by1UY0hVN3RaMUhKTXZyZEhod0d0eER3MGxvdEN6QjNtYzVTWWlwc20wTFQwM1VSaDhxTHRsNHNjaWFZb1Nqbzk0aGtJOXV5by0tT2pnZ25YQ3ZXdGw0UTFDU2xTdWk4ZXAwdi1oMjU3UHQtTDg2NXd0MEtUeVRsNV9JaTdCWjJUWTRER1RDcS0yZklFdGlGMHlNdDRKQlYtb21iVFVuVllqajFfcVVoMXp0WUYwM3VHUnFDbXdJa25sSHV5X2RzVnpKOWk1OGJneHVqQ3J6XzN5UFF5dDBOc3U3cmFudGpUYmtCSWhSeTFYYUdTanQ2NEw3MmcwaW9sTDJnX2pIMTltaTJVNkoxM0pmeXRPaUI5NWVzRW9PbmlZN0NrR0FVcWdyRWx4VkFmdE10UnBPeThFaGlOaTdCMXdBb1gtZ2M4ZUc0UTVLbUtWNjNIZFc4RDBTM0VyUE96S0JJd0lYd1U3QXpaajVvSmtnR0ZVV291blNFN2pkRGl5WWVaQ2NwTmVYMGJ6TEVtUTh6aEpNRGJKZUxzTTQ1eWtaZkVud1oxU05YZVJGbm9MTS1ETTZXbF9BWWswOGdrM2FJRkJJU1l1TmpvWWU3LTlyN3Z0SndqY0VObEZDaEdLcXV3V1V6SzV5Y3pObkllQXlKSjV6REwyTjZySzgzYmMzWWNJVmdiVXQ1UkRoTXdJQzNpWlo3TkVWS1gtWXlKOW5CMkVuTDc3dFBZYTlHaU1ubGtTX292QnViRGowV3N4eE8zM21yUjI1R1QyLTNJLTJjU1J2dEs3b0dqSkhxUGJpZjd4U04yYjgxSmF4aUI4NVI1QmJBRUY0RWpCUGhMa0hjOFZHNWh5RV9YTXpKX2Y4MXR0SVRtLW5MQ3VhaHpUZHhLWURibnRkUWVLc0d3NGNfZkFKc0RRSWNBQjlIQWtNblE0bXp3VVNjTWZWNV9adWxUSWFTWGF1T1JlUXpVLVZZWmlrZXhodGJnYnlJWEdva3RNRHBLWXZGeVpCVC05dHA0Y21kMGgydmxnbkFBalNJenVhd3VqNE5VRXdKbnlGSmhnc3hQeUxtTkJUX3NtbDQ0WTk3Q2ZaVW9vMGY4TXlXWmd3Qll3UnJQNUNKOGVMbGxtdDd0dklQZVU2Tm5leEhqQXR3bTlRRHlwbTA1ZmZUNEFjX2hkekNuTWppQTdHcnZtb1VzQkxXMzFsemZDVktGdnR6dnppRW9vdDdOaGwzM3VrM1R5ajN2YTFFQ0tjczNOa0ZXLW5PeVkwY05tSjJISjRNSE1yV3pxczh5RVBJSzV4X0Ywc2hTeXk5OGdtUE4zcTRxckJ4Q0tTeGNyNEdUQlJKQXhlVFdMQWYwR3ZDTGxBam5pVFhOMGtINlcyX0QzTU9rRi12OVpqTjhpUmYxdW5LR0dwTjBVWld5dFotRFRtVGt5aTlTTGNPekhrYy1iaW43NzFTU1cwSGx4VTdOOHZlaDJ2clNEamlNZ2lud3pvLTJYMmg4VnhjOWlRNUlHSEFBT3NWODRReThCOHJjaDJTVXU5NEVCOVpGYnMySGFVVlNWUHdlckd6bnRHQzlGdUxCbGZJMnNlb2tjNXVwZTVkQVNrc2ZIWS1yX0NsME5kazhUMGR2VGpjcWY1a0NBNUZaOHhjYmNKV0toWkJWMHI4a0dUQWJtQ2w3SldHZ2toUGZ5TGVjMGpXRmVQa0ZHTEd3LTJPbVUzVE9qMmEtaDJIUWtXZE5pQ2lBZm16bXJmcU1vdGhYZmxvNllxelA0OWhPeS5YZzg3dmp4TDcxSTJTaVdnYnAyLWl4X2hHSTRrTjN4SWs3V0pUUGdDd21r"}' + headers: + Accept: + - application/json + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbakf0621264/3ded6fad51764cdb9fe360f8d5b85703''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: no-cache + content-length: '643' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 409 + message: Conflict + url: https://mcpatinotest.vault.azure.net/secrets/restore?api-version=2016-10-01 +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuUFUzNXpCV25IRzRQUXMtRVViODNqZExlNVBlYmtKX2ZhbFdiWFR5QU53LTdldVVJZVp1aDRkYnRHaXN6MGlXT1liY21vOURDUnRtd3JoMFljWkNGTGVpcTRMZERKVmJuT2lHcVR4ZTc0NThoS2E3N0kwUHhzbjFUZGJ2MEkzaFRKSGJOWmJ4TUhTT3I0UV9hWlhXY2Rpa0ZUQUtwOGJLeF9DUGZKTWtaSGhta0hCeGY1LXZFSWpqd1NFMmVsMWtqc0ZKc2JXRERMZEVzWDYyZWdmbGl2ZTRYOG5qelNLdzh5TmVhcER2bTBuSGhZaFA1Rl9nbFBENVpYYThlY09BTndWRnFnVm5GX2YtZHZDcHpxeXYzTHhmSWpGM1RMMjFVT08xRHM2eTlNcHJmSndBLUlJM01UMVVQWEVRaU9xbE1YUEI4cDdOMC1EcXRUNG8yNEh5Tl9nLllOeXFfUHRGXzhnR2N1U3Z1SzlmYXcuOWxRanZxenJfTWxqbDZwUmVoTTFMa2dwT3FySzl4RlJmS3M3d3RhX2hVTG9CS0gwQUhMZTVBYVpEcGxDN0RSamhrbUkyeTh3akgxUjFLamIteXR5QzVrZUJaa1BUOUxSbUhVRkxMbWxfVkZpeXdqb2kteHRQQVhCdUhTNmo0aDljcng1NnBSU09ESHN1bThrWG1wV0duN1JGRTFIS1kweE9CSVhnZDB0bTN4QzhiaUlhbmpGOUpPdTRqT1hpQ1JoRXdmd05rMFpOWDgweTZuVzVleHMzSzRVVHFCd3lfWEZGRlUzbEhKT0VtYjA4UFVuM2VXbUxxbHBQQ09MaW9zSmFUTkM3MC1CbDU0T0pCZTdfRHZCbzVfVWk1dFpyRWtTUGhYZ0kxVjFra1dodzZ1UnVsVzB3M3B3Zl96MGJ6U004dzlmNC13WTY4MDM1UXdsTW94NTQwQUE1eXQ0STdISFVKVVJJaERrV2VCaDVHWWtQZWQ2aUp5Zm9WWGlNSmJxeW4tUzVTYlQxWUsxYmRkS2dBOFBTTkNFemxLWjhWd0wxRUxYTEppbl9yRDZCcUJwRWIyRUxSU01lMDZ4Z3hsaFJlOXozbWhEOGdUdzU4T2VEYmNMRjQwWF9acTgxbFhCOE96VnZmQmJiR0NFRy1RR28xczhTYk1OX2lwcUQ1cmxCa2JhM3pSOFZQcWY4NUNQRDlwTEllUDFOUnM5eVpHaDdkSGVESWRRNC1LeHFNYlVJWk51NVN6Q3gxYWQ2SkZITUVqY1I2LVpGcnlHWmxvY2JYR2ZQMVJYaC1ZZXpOVkJQbDdMUm80M01JXzVoaHRPVWl0eGJ3SF9pZmZ3aTlOSHROZ2trZzBSajFuQ0ZPMF9DSFBjU1ZkTGhicEhTQVExMzVUZXlIWjFLM0JOS3EzeGNQM1VNclUyNUFwRmxuV2t5OGF2cTR3MF9iZGdrcDF2dXB6X0NJWmpHWDV6SldyaXZWNno0ajY0dHZCNWVHQTh5Y2VHWVNnVFBFZGRUSmhGeEVCZURRUmczemt3d0hLb2tEZ1hMb0dIYTVYVTZQY0tac0ZoNGNtT1FNVTN2bDJFVGVBcjlQaThoRDRJLXU5UzhJU3FDSWstOEZIeWZGS3FGNW5ibnBsbEl1cktmYmJXZGJJRzRSci0tRHVPQ000S21ORHM1RzMtXzZWWWstbjhyX1U2bWVySktRNzJLREV5TmhYczN5M2dtZWxqRFJLSFVnUVI2RktDSDBRUmVCUzdQXzRfaXFTakhvVjg4M0YtM2N0dnExbzJzYUlZR2U3UnhlaENKUzNUQTJONTYzNkx6eDZRaTd2dTRzV0hhbVdpcF93UTRJeE5VaDAwZ1J6YndzUjNhclRTNVIzYXFtbUN5UkM4amNQT3RMYjM1NlA3c1h6RlJ2OVVpSUltWnBRS0hGcVdiV1I1bjBIWFdYRkRkRThSeXB5U1VGbW1ZOUFGOFhMNWtrNUR3ZDVrVm1tQmwtUHZiTWlmR0ZzQUpiV1FPWVFYc05FbVFUZldwalpBSDA5TndtaUpBTVNBNURhVDIwZWdLM25OM0lZQUcwZzlxMllIbFU3M3VKcWVhS09oT3Z3cDMzQjhsRGI2QTE0MjR1VmN0a1pveHExWjM2UzNUdUdTZlI0OWxtMjJsMjVpOTF1VV9lanU4eTdia19mWXZUdk9zSzZlYnFEZ0RKa1VnTmlKTHFXaFlCb1pKT3ZVMkRMd1N1YUllWXg2alJFMTZIWTNUYVlLY09nNjhWaWJEMUw0REFpcDk1UjFuSmVVMDJ6TnRmQ0ZqQWhHUWhUUVJlMm9kYUZLTHRVeG9zeVNkR2FlSnhkWHoySUROd3l0aXUzdkVFdzRxQVFYUWw4dGMya2xxLWdIdW1adnZQQXh3N1lSRzQ1aXp1ZmJUeHh2OXhqS0tnVFhidVNCVGFDakFaUmF3MzRKdF9yVmxMOV9xdDl6SjFKV3VRMjE5VFJOWklfT0w3a1I3VF9vdjFwaU54VU5KMXNCR2JaM0NBU3hteTZ2VXZxMF91eGpzWHo0YUdZM1Fod1hvZUM2Z1BzZWZCLXZ3bW04Q1dUdlJPVlFnTlVEdUFjQXZRM3ZEUGxuR21qWldOYkhCMVpqeDlTYjFfeEtHSWFJSlc0alBOdjRheTVTYkRJc1JBcWNMS1d4Y2JGaVU5OVQ5NGVVSWlqZW02VmVCZ2kxS2g0VTZyNGltOWdtaWx2YVZyRnNWWWtoSmNkMThLajJYaDVYSXBVelVEUXd6M1NaY3hLLXVic2ZtM0JLRVVQSWVuMmtXU2J6R3NnLW4zNUI2OE01Y2JhVzNETjBESEZWZDkzWjZFdmJmQUZTWG5oT1c0cDhrZ2VQT2wxTHAzQTN6MDJ2Mk5qSlMyMmpIN3BuYkIzRkx1by1UY0hVN3RaMUhKTXZyZEhod0d0eER3MGxvdEN6QjNtYzVTWWlwc20wTFQwM1VSaDhxTHRsNHNjaWFZb1Nqbzk0aGtJOXV5by0tT2pnZ25YQ3ZXdGw0UTFDU2xTdWk4ZXAwdi1oMjU3UHQtTDg2NXd0MEtUeVRsNV9JaTdCWjJUWTRER1RDcS0yZklFdGlGMHlNdDRKQlYtb21iVFVuVllqajFfcVVoMXp0WUYwM3VHUnFDbXdJa25sSHV5X2RzVnpKOWk1OGJneHVqQ3J6XzN5UFF5dDBOc3U3cmFudGpUYmtCSWhSeTFYYUdTanQ2NEw3MmcwaW9sTDJnX2pIMTltaTJVNkoxM0pmeXRPaUI5NWVzRW9PbmlZN0NrR0FVcWdyRWx4VkFmdE10UnBPeThFaGlOaTdCMXdBb1gtZ2M4ZUc0UTVLbUtWNjNIZFc4RDBTM0VyUE96S0JJd0lYd1U3QXpaajVvSmtnR0ZVV291blNFN2pkRGl5WWVaQ2NwTmVYMGJ6TEVtUTh6aEpNRGJKZUxzTTQ1eWtaZkVud1oxU05YZVJGbm9MTS1ETTZXbF9BWWswOGdrM2FJRkJJU1l1TmpvWWU3LTlyN3Z0SndqY0VObEZDaEdLcXV3V1V6SzV5Y3pObkllQXlKSjV6REwyTjZySzgzYmMzWWNJVmdiVXQ1UkRoTXdJQzNpWlo3TkVWS1gtWXlKOW5CMkVuTDc3dFBZYTlHaU1ubGtTX292QnViRGowV3N4eE8zM21yUjI1R1QyLTNJLTJjU1J2dEs3b0dqSkhxUGJpZjd4U04yYjgxSmF4aUI4NVI1QmJBRUY0RWpCUGhMa0hjOFZHNWh5RV9YTXpKX2Y4MXR0SVRtLW5MQ3VhaHpUZHhLWURibnRkUWVLc0d3NGNfZkFKc0RRSWNBQjlIQWtNblE0bXp3VVNjTWZWNV9adWxUSWFTWGF1T1JlUXpVLVZZWmlrZXhodGJnYnlJWEdva3RNRHBLWXZGeVpCVC05dHA0Y21kMGgydmxnbkFBalNJenVhd3VqNE5VRXdKbnlGSmhnc3hQeUxtTkJUX3NtbDQ0WTk3Q2ZaVW9vMGY4TXlXWmd3Qll3UnJQNUNKOGVMbGxtdDd0dklQZVU2Tm5leEhqQXR3bTlRRHlwbTA1ZmZUNEFjX2hkekNuTWppQTdHcnZtb1VzQkxXMzFsemZDVktGdnR6dnppRW9vdDdOaGwzM3VrM1R5ajN2YTFFQ0tjczNOa0ZXLW5PeVkwY05tSjJISjRNSE1yV3pxczh5RVBJSzV4X0Ywc2hTeXk5OGdtUE4zcTRxckJ4Q0tTeGNyNEdUQlJKQXhlVFdMQWYwR3ZDTGxBam5pVFhOMGtINlcyX0QzTU9rRi12OVpqTjhpUmYxdW5LR0dwTjBVWld5dFotRFRtVGt5aTlTTGNPekhrYy1iaW43NzFTU1cwSGx4VTdOOHZlaDJ2clNEamlNZ2lud3pvLTJYMmg4VnhjOWlRNUlHSEFBT3NWODRReThCOHJjaDJTVXU5NEVCOVpGYnMySGFVVlNWUHdlckd6bnRHQzlGdUxCbGZJMnNlb2tjNXVwZTVkQVNrc2ZIWS1yX0NsME5kazhUMGR2VGpjcWY1a0NBNUZaOHhjYmNKV0toWkJWMHI4a0dUQWJtQ2w3SldHZ2toUGZ5TGVjMGpXRmVQa0ZHTEd3LTJPbVUzVE9qMmEtaDJIUWtXZE5pQ2lBZm16bXJmcU1vdGhYZmxvNllxelA0OWhPeS5YZzg3dmp4TDcxSTJTaVdnYnAyLWl4X2hHSTRrTjN4SWs3V0pUUGdDd21r"}' + headers: + Accept: + - application/json + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=2016-10-01 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbakf0621264/3ded6fad51764cdb9fe360f8d5b85703","attributes":{"enabled":true,"created":1618953589,"updated":1618953589,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '223' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:32 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/restore?api-version=2016-10-01 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_backup_restore_7_0.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_backup_restore_7_0.yaml new file mode 100644 index 000000000000..f1d2ed1f0dae --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_backup_restore_7_0.yaml @@ -0,0 +1,796 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f510e1?api-version=7.0 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:19:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecbak74f510e1?api-version=7.0 +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f510e1?api-version=7.0 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f510e1/d93a15d6b3214e74bd01ea0abb7cf32d","attributes":{"enabled":true,"created":1618953589,"updated":1618953589,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '240' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:19:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecbak74f510e1?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f510e1/backup?api-version=7.0 + response: + body: + string: '{"value":"KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuSVdhYUdKcXphd1hDRzhKTUdyU0RCYzBEai1faUlXRmNBTHliTXVnNXZpbEJaQWJ3b3BQbjMyWDhwOGFoZkpxdEdoOHQwOGlCNzVYSnJzQ3lLdW4wWFRWcFJTcjRxek9EemxwRG91MHhrR3ZGQzVYZmxxenJScUJfdXh4aldtTi04MGpsdDh2emVZSkJ2Mkx1Z04xR3F3WVZjS1ZOZnFic3dEWTkxM083UFZaNktObk91ZEl4eDF6MWo3UXRScW9jWFpQSWJveXRJTTNSUTMzYVFwMFpEU3ZRNjk5UnllRElqWGtFaGw1Wm5fM0JBdjNWQW5nSVdVdmNTUm96cXdtel9PX01TU3ZRT2FMa3ZkOGdtcjlPQ0pCWWxIVXB6MHUzWlotRldIR2Z6ZmJuS2VGcm1lcjhhOUhOWGw0bnJ0UGtkTE5uOGhWdkZKcnkwdzZRMFd1YTBRLnhVMXdVR3B5cU9mUk9XMUlDTVNJYUEuVXF1SHVES3g1LXZiTWRpZHJOdDRyelY0cUQxVmdRaWZOZFV1T0JyUzBlT0R1U05oVC1rOWZMaHlSeDYwS0p3RHhMdEtJZktzNEhWdXdFRk1MdGRmMHhvTUpsa2Q4OXJfQjJxaHFJaFlBWkVrSnVYTzRvSVdMUkxoem9pZHVBaXdxU3NFRGNHUTROTFZ2Q2oxOWktM0hvYllPMzM3dE50NWMzR1JsOGloNDlwWWxYTk9xX0NSM1RWanB6VW1sejludWswVjlfUHZ1al9rZW1YNnpQNkZZblFaRkVQNV94bUxOeFJhbkt4ZTBGem9NbVFPZVNRRV9hMGpCdmhWOXNDRXhBMUE4VmpQV1M5WkNlcDNzS0RkWlJUSU91ZEhGb193ZC12TmhadE1wSUR0M2ZzZlRzU3A2OXlDY24xY2xOSWI0bTBBeHdNMllOTXl5WENVX2dnWWVtTDh5dExGMHU0UUdXSEZTLU1JQXVxMUpUa3JucjF1WDd2Vk55THlnLXBHUmJ6UDNXMWQ3SVZMamRjQXhXSUktbGowS1psMTB6bGRSQ0s3OGpIaV9SWFNrMVN0NUNCakdjVHBCMzlMMzlGQTBubEdxRDdFWEExam9jZkNUaVYtVGV4NGdQUHBGdEpyeExmbFBtLTZrME1neERqTE5Zcjd4aXZhQUZBVXZVeVNOT0hvbkpCR0Zub3N3cDZORVZ5UnVkdjF4OXZnSHZtOVpkU1VEcmRrd2doWEFON0Vja1JVUHh4ZXRaS1lpczduQkJ6RUdacG9OWFl2Qm80Ymlnc2RCOW5KSjB4QnBKWC14dkVyYkdma3ItTmtQdkoycjlCZVJyQ3BIN20zczNEUkdzTkJoME9VU2NabDRvWGhabm1yYjg3STAwUFQta3BGbF8tRGpBcFhRWHBDT0ZnTnJsMzFKekdoLWxvZjlCMW9oR21vUDdHcG5hWjVLRGYzbVlYSHhna0x1cU9RMjRabmwxSmFqc083Z1QyX1VIeUJjTFpJRkdnZ19UaEJhQWd1dnJoOGVGbmlab3BIbXZ2a0wwbVFJMmo2YnNRdk1HRndYakJ0VTNpU2E3MHUxdnhWVDItUFZwclVwWkNDVGM3MHhEY1BZZjllMXEyRy1iWVd5azhHM0JSQXptUmM3QWFoLUlJMmhhVms1QjRCc0FHS1hkVlNFNnphZGpLY3V1NERlS2U2bGFxQ0ltbWlqa0cyc2lSbFFoYTgzbzZXc2E4emZ6SlpxQVpza0tHQXgyYlVMUDhRaTN0d0pRLTFjQU5nT1FmRUplY3JMemRzUlpLOXNOWHoyWC1NZW45dWVaOWNTRGlRb1RQX2xOazBuZTZKdUItZlBsa3hEQW5ka2FGQS1MU21tUk5SLVhQSFh2UGpDVmxqd3VYUnJEMWFIajNtajFMN0pJTU9BeHZ5ejBiVWEtOS05SkFGb09LYnJVYWhob2pvSUZrYXZLOGZCOWQ2X1VyVEYtWHhILWhmemFvVnExZ25SYXJlMVRVSVlVa3UzQ0NrWHBZUWhSNGIzWmRyeVQwMkROekFxOVQxanJtZlJ2VGtlM3ExMFQ1dkxMbEFyUmxDRGw5NlRQd3pfZDdOa096Tkk4Tm1zeGtkZkcyS3FkaUlHajJ5YWl5dWRuYzRtNWVOSV9YaVl3eEJ2Y1EyQlUtLXVqZHpTM1hfaVIxb2Vmd3BWaUV3NXIzYU5USVVuM2pUajB2d2JFUlkxc0cxeWJQTm96S1JJcjVFUHh4RmEtYVVCX1NQQ2x1Q0FlUGZxLVFBNWtJdXR2MTkxOFktUEJESUpZaFo5d2RmVHhHd1ZxMXgtWFlCNV9aTnRsNUpVUHdEQ0gweUg2cmVFVmNRblRFNzZTaUkyMjlJSWFTN1VDQlp5aDljWkNRSUFVWFZ5cVlvQVUtYTVVX3IzVnl1SF9TU1VEU0U3dUZ0c0gxM1Z4T0tFWndGQURsbm1BaEd2LWs5c0RqdXNjazVLalEyRVZBRXk0alNkWS1XMHpNTjRpdmtyVjRfaEw1Y3EyMTJUcHhsZlF5N1lUakNmQU9SYWVjeWVfWllRYy1EakVaQUZQMWcyelhyejZUTURDUHVhQzBlM25xRjNMSTBIVXFreUFFSVJ3VkhWVUx2TS1YQWg4Y3dfbWdkSzJzeGx6N3QwVjBjVUl1cGRDVVF1Qk16bUNFa05BUjREMExOS1M5Y0wxVUplNTZ6TlY5ZUk0SkFJZUpaa0djRWR0cWtuNTR2TWJMTDhoZmx2dWFzdXpVSmYwWmdiS1ZsaEh3bC1EMVVOYlFBM2xMaFdrY3ZLYXVqZlc0VkVndnNaS1VFQzRQOTJTOTlUcEE2cmN5Q0JtVi1ENUpaX3hXaEFINUpvdGVlY3E0RE1KVXBYQnUwUzc1OTBFTDBrX0tKbzVUbDFaOFoySXZKbUhmUkJHWXlKLU5qQ05mM0FTNWh3NDE0X25Ya2F3SHU0cjNONUFOT0doNGtLRjl2WXJpQmhEMk9wc2tsRHE5WWxYNFZFb0thdkRTV2xNalNpLVd0UHlSWnhqdm1kNWNjMEl0eHBXUmNQaEFucUM4bHI1X1RxbVVhd1lPM2VheEZRcEtHV0p6NUtSY0NKZlhsUFlMbVMyNFpITXNseHV5VWhyamFDSmU1bF9kNkNrUVdOU0o5amkxVXNXM1NCVnZCaDJRS2RPRGpaTHhwS2ZFckdteTZJTWZIb1plNjRPbENUNFN1S0JxTmtnWWNrUFJJV0FOUTFRcXNyQzVzNkZhalRNRWE3MjBmTDVVQnJWOWxtU3ZoLVRjTURFZXZfeldyTEFYVl9LR3F6dks4NFRXQkgtb0JaancycTI2cVZHV1FqUUU4SGhfVVZYUmVYU2ZJSV9nOHFzSDZWSDhfalNyZlVLaTZ4eW56ejgyclZ5TUNYMFZLY0wxZ0NpaUwxbjlLb0RkbU1QZngzT3AwYWplb2p5RFZKNVZkWnQ3eVVxVFVoX3didDJrZ2w3UXlpbl9Va1UtRHBEOTdBMWk0cV8yVUY1cVRWeHZzYXhYSXZQUmJFUnRLbEgxQWprcFd5U194czRETE1SVnI2NmNzblZURzRzSlhuLUI5c2J0RklwVDNYTTNYZjFwa1ltQnM1Z2FXdy1zR1B2c29nal9ROWNvUk9uRi1yUDR4M29Kb0drU0l4YU12a0xhU1NpTmdBbzF1S1RLek1XYjFNT1pQRnlsVkdVSXh0bTZtbmN5Zzdob0NaaHhPTGIzLVdCeGgyQ0NrM0dzTEFsNTJWZmNHd2VYWlRMQUxwTnFOc0EyVWh0T1RkQXZXZjAwcFV6UFJfTVRZRkZjazdBOEsxZXdqRVEwbjE2YjZBajRjdnlxNWx0YXZUMG9qbzZXZm5zbUNfM0FaM1Z4REN6cEwtNGplc0NEcjd1Z00tS3pyTlN2MktHQVVPeG43TXpaeUljVHZBbFprRmZCQjU1VDhCZTY4c3dXQ3NaNVJGak52OW1Qc0JhVjVXUi1GeWNhc3NIZHlpUktxTXBqbi1rSkViQU90UTZ4ci1XbXpPR1Y5M3BhVHRMcnBJT29HaVdzN0JJX01SMHdUbHNkZGxtYlEtV0NNNXBKVEJScHRLZXZJRlBVNkpvYVhOdXpkUjdrX2NFdi1Ya19oOTJVRkZKNks1UFJOZG1WcXNHSGVhNDQ1S3ZnY2ZYbGdjR1dUQW4ybGtERlhCa3h1MWQ4OVlkc0pJczZOVmdHNi1sVENfN1ZRQjhRX1kwRzhIQWdqVmhZLXMzT2hXSW5NZWZJNnFBMkZhNVVMOUJ0UDBzQWZuYjljUFJBNXEwRmpsMENwUXRkcnFNNzFHeXl6Mko5T2ZiUkNxNmU1Qm9xeWs1T1M3b0ljMnU3bHY0TXVmcGFWVk5yeVFaRkRxR01aQVlON1ZKcHJ2cDdINjlFNFNyTlpUVVlwMzJWaC1KUFB4VEJIUXpZeWticWo3NG5BUUxiZS1XYURseDFyTm9fMEVIZ0NFU2VfeHEwc2x2QjdDWFNqUnpucmNpRVRfb0dzanBaZFBjTEs1bko2V1pLV0xsVDN1TV9pc2hfNENWNk12OVlCdllucmdFR2s0cGZqTFNlaUlFVEZ3dG1SdWJ4QlZRNVNqSWd5TTJzdWswd2NUc1RfRi04RnVyZXp0eEY0M3ZUcFNQT3JRYWZNU25JWHFyZ0ZmWXRVZm1LZi5hSl90NXJJR0tySXhRSkxwQ0Q0aUlVYzFGSEUzclFhd2RveFRvbl9EZHk0"}' + headers: + cache-control: no-cache + content-length: '4956' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:19:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecbak74f510e1/backup?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f510e1?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1","deletedDate":1618953590,"scheduledPurgeDate":1626729590,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f510e1/d93a15d6b3214e74bd01ea0abb7cf32d","attributes":{"enabled":true,"created":1618953589,"updated":1618953589,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '372' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:19:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecbak74f510e1?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak74f510e1"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:19:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak74f510e1"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:19:51 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak74f510e1"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:19:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak74f510e1"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:19:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak74f510e1"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:19:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak74f510e1"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:00 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak74f510e1"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:02 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak74f510e1"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:04 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak74f510e1"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:06 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak74f510e1"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:08 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak74f510e1"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak74f510e1"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak74f510e1"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak74f510e1"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:17 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1","deletedDate":1618953590,"scheduledPurgeDate":1626729590,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f510e1/d93a15d6b3214e74bd01ea0abb7cf32d","attributes":{"enabled":true,"created":1618953589,"updated":1618953589,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '372' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:19 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 +- request: + body: null + headers: + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 + response: + body: + string: '' + headers: + cache-control: no-cache + date: Tue, 20 Apr 2021 21:20:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 204 + message: No Content + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f510e1?api-version=7.0 +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuSVdhYUdKcXphd1hDRzhKTUdyU0RCYzBEai1faUlXRmNBTHliTXVnNXZpbEJaQWJ3b3BQbjMyWDhwOGFoZkpxdEdoOHQwOGlCNzVYSnJzQ3lLdW4wWFRWcFJTcjRxek9EemxwRG91MHhrR3ZGQzVYZmxxenJScUJfdXh4aldtTi04MGpsdDh2emVZSkJ2Mkx1Z04xR3F3WVZjS1ZOZnFic3dEWTkxM083UFZaNktObk91ZEl4eDF6MWo3UXRScW9jWFpQSWJveXRJTTNSUTMzYVFwMFpEU3ZRNjk5UnllRElqWGtFaGw1Wm5fM0JBdjNWQW5nSVdVdmNTUm96cXdtel9PX01TU3ZRT2FMa3ZkOGdtcjlPQ0pCWWxIVXB6MHUzWlotRldIR2Z6ZmJuS2VGcm1lcjhhOUhOWGw0bnJ0UGtkTE5uOGhWdkZKcnkwdzZRMFd1YTBRLnhVMXdVR3B5cU9mUk9XMUlDTVNJYUEuVXF1SHVES3g1LXZiTWRpZHJOdDRyelY0cUQxVmdRaWZOZFV1T0JyUzBlT0R1U05oVC1rOWZMaHlSeDYwS0p3RHhMdEtJZktzNEhWdXdFRk1MdGRmMHhvTUpsa2Q4OXJfQjJxaHFJaFlBWkVrSnVYTzRvSVdMUkxoem9pZHVBaXdxU3NFRGNHUTROTFZ2Q2oxOWktM0hvYllPMzM3dE50NWMzR1JsOGloNDlwWWxYTk9xX0NSM1RWanB6VW1sejludWswVjlfUHZ1al9rZW1YNnpQNkZZblFaRkVQNV94bUxOeFJhbkt4ZTBGem9NbVFPZVNRRV9hMGpCdmhWOXNDRXhBMUE4VmpQV1M5WkNlcDNzS0RkWlJUSU91ZEhGb193ZC12TmhadE1wSUR0M2ZzZlRzU3A2OXlDY24xY2xOSWI0bTBBeHdNMllOTXl5WENVX2dnWWVtTDh5dExGMHU0UUdXSEZTLU1JQXVxMUpUa3JucjF1WDd2Vk55THlnLXBHUmJ6UDNXMWQ3SVZMamRjQXhXSUktbGowS1psMTB6bGRSQ0s3OGpIaV9SWFNrMVN0NUNCakdjVHBCMzlMMzlGQTBubEdxRDdFWEExam9jZkNUaVYtVGV4NGdQUHBGdEpyeExmbFBtLTZrME1neERqTE5Zcjd4aXZhQUZBVXZVeVNOT0hvbkpCR0Zub3N3cDZORVZ5UnVkdjF4OXZnSHZtOVpkU1VEcmRrd2doWEFON0Vja1JVUHh4ZXRaS1lpczduQkJ6RUdacG9OWFl2Qm80Ymlnc2RCOW5KSjB4QnBKWC14dkVyYkdma3ItTmtQdkoycjlCZVJyQ3BIN20zczNEUkdzTkJoME9VU2NabDRvWGhabm1yYjg3STAwUFQta3BGbF8tRGpBcFhRWHBDT0ZnTnJsMzFKekdoLWxvZjlCMW9oR21vUDdHcG5hWjVLRGYzbVlYSHhna0x1cU9RMjRabmwxSmFqc083Z1QyX1VIeUJjTFpJRkdnZ19UaEJhQWd1dnJoOGVGbmlab3BIbXZ2a0wwbVFJMmo2YnNRdk1HRndYakJ0VTNpU2E3MHUxdnhWVDItUFZwclVwWkNDVGM3MHhEY1BZZjllMXEyRy1iWVd5azhHM0JSQXptUmM3QWFoLUlJMmhhVms1QjRCc0FHS1hkVlNFNnphZGpLY3V1NERlS2U2bGFxQ0ltbWlqa0cyc2lSbFFoYTgzbzZXc2E4emZ6SlpxQVpza0tHQXgyYlVMUDhRaTN0d0pRLTFjQU5nT1FmRUplY3JMemRzUlpLOXNOWHoyWC1NZW45dWVaOWNTRGlRb1RQX2xOazBuZTZKdUItZlBsa3hEQW5ka2FGQS1MU21tUk5SLVhQSFh2UGpDVmxqd3VYUnJEMWFIajNtajFMN0pJTU9BeHZ5ejBiVWEtOS05SkFGb09LYnJVYWhob2pvSUZrYXZLOGZCOWQ2X1VyVEYtWHhILWhmemFvVnExZ25SYXJlMVRVSVlVa3UzQ0NrWHBZUWhSNGIzWmRyeVQwMkROekFxOVQxanJtZlJ2VGtlM3ExMFQ1dkxMbEFyUmxDRGw5NlRQd3pfZDdOa096Tkk4Tm1zeGtkZkcyS3FkaUlHajJ5YWl5dWRuYzRtNWVOSV9YaVl3eEJ2Y1EyQlUtLXVqZHpTM1hfaVIxb2Vmd3BWaUV3NXIzYU5USVVuM2pUajB2d2JFUlkxc0cxeWJQTm96S1JJcjVFUHh4RmEtYVVCX1NQQ2x1Q0FlUGZxLVFBNWtJdXR2MTkxOFktUEJESUpZaFo5d2RmVHhHd1ZxMXgtWFlCNV9aTnRsNUpVUHdEQ0gweUg2cmVFVmNRblRFNzZTaUkyMjlJSWFTN1VDQlp5aDljWkNRSUFVWFZ5cVlvQVUtYTVVX3IzVnl1SF9TU1VEU0U3dUZ0c0gxM1Z4T0tFWndGQURsbm1BaEd2LWs5c0RqdXNjazVLalEyRVZBRXk0alNkWS1XMHpNTjRpdmtyVjRfaEw1Y3EyMTJUcHhsZlF5N1lUakNmQU9SYWVjeWVfWllRYy1EakVaQUZQMWcyelhyejZUTURDUHVhQzBlM25xRjNMSTBIVXFreUFFSVJ3VkhWVUx2TS1YQWg4Y3dfbWdkSzJzeGx6N3QwVjBjVUl1cGRDVVF1Qk16bUNFa05BUjREMExOS1M5Y0wxVUplNTZ6TlY5ZUk0SkFJZUpaa0djRWR0cWtuNTR2TWJMTDhoZmx2dWFzdXpVSmYwWmdiS1ZsaEh3bC1EMVVOYlFBM2xMaFdrY3ZLYXVqZlc0VkVndnNaS1VFQzRQOTJTOTlUcEE2cmN5Q0JtVi1ENUpaX3hXaEFINUpvdGVlY3E0RE1KVXBYQnUwUzc1OTBFTDBrX0tKbzVUbDFaOFoySXZKbUhmUkJHWXlKLU5qQ05mM0FTNWh3NDE0X25Ya2F3SHU0cjNONUFOT0doNGtLRjl2WXJpQmhEMk9wc2tsRHE5WWxYNFZFb0thdkRTV2xNalNpLVd0UHlSWnhqdm1kNWNjMEl0eHBXUmNQaEFucUM4bHI1X1RxbVVhd1lPM2VheEZRcEtHV0p6NUtSY0NKZlhsUFlMbVMyNFpITXNseHV5VWhyamFDSmU1bF9kNkNrUVdOU0o5amkxVXNXM1NCVnZCaDJRS2RPRGpaTHhwS2ZFckdteTZJTWZIb1plNjRPbENUNFN1S0JxTmtnWWNrUFJJV0FOUTFRcXNyQzVzNkZhalRNRWE3MjBmTDVVQnJWOWxtU3ZoLVRjTURFZXZfeldyTEFYVl9LR3F6dks4NFRXQkgtb0JaancycTI2cVZHV1FqUUU4SGhfVVZYUmVYU2ZJSV9nOHFzSDZWSDhfalNyZlVLaTZ4eW56ejgyclZ5TUNYMFZLY0wxZ0NpaUwxbjlLb0RkbU1QZngzT3AwYWplb2p5RFZKNVZkWnQ3eVVxVFVoX3didDJrZ2w3UXlpbl9Va1UtRHBEOTdBMWk0cV8yVUY1cVRWeHZzYXhYSXZQUmJFUnRLbEgxQWprcFd5U194czRETE1SVnI2NmNzblZURzRzSlhuLUI5c2J0RklwVDNYTTNYZjFwa1ltQnM1Z2FXdy1zR1B2c29nal9ROWNvUk9uRi1yUDR4M29Kb0drU0l4YU12a0xhU1NpTmdBbzF1S1RLek1XYjFNT1pQRnlsVkdVSXh0bTZtbmN5Zzdob0NaaHhPTGIzLVdCeGgyQ0NrM0dzTEFsNTJWZmNHd2VYWlRMQUxwTnFOc0EyVWh0T1RkQXZXZjAwcFV6UFJfTVRZRkZjazdBOEsxZXdqRVEwbjE2YjZBajRjdnlxNWx0YXZUMG9qbzZXZm5zbUNfM0FaM1Z4REN6cEwtNGplc0NEcjd1Z00tS3pyTlN2MktHQVVPeG43TXpaeUljVHZBbFprRmZCQjU1VDhCZTY4c3dXQ3NaNVJGak52OW1Qc0JhVjVXUi1GeWNhc3NIZHlpUktxTXBqbi1rSkViQU90UTZ4ci1XbXpPR1Y5M3BhVHRMcnBJT29HaVdzN0JJX01SMHdUbHNkZGxtYlEtV0NNNXBKVEJScHRLZXZJRlBVNkpvYVhOdXpkUjdrX2NFdi1Ya19oOTJVRkZKNks1UFJOZG1WcXNHSGVhNDQ1S3ZnY2ZYbGdjR1dUQW4ybGtERlhCa3h1MWQ4OVlkc0pJczZOVmdHNi1sVENfN1ZRQjhRX1kwRzhIQWdqVmhZLXMzT2hXSW5NZWZJNnFBMkZhNVVMOUJ0UDBzQWZuYjljUFJBNXEwRmpsMENwUXRkcnFNNzFHeXl6Mko5T2ZiUkNxNmU1Qm9xeWs1T1M3b0ljMnU3bHY0TXVmcGFWVk5yeVFaRkRxR01aQVlON1ZKcHJ2cDdINjlFNFNyTlpUVVlwMzJWaC1KUFB4VEJIUXpZeWticWo3NG5BUUxiZS1XYURseDFyTm9fMEVIZ0NFU2VfeHEwc2x2QjdDWFNqUnpucmNpRVRfb0dzanBaZFBjTEs1bko2V1pLV0xsVDN1TV9pc2hfNENWNk12OVlCdllucmdFR2s0cGZqTFNlaUlFVEZ3dG1SdWJ4QlZRNVNqSWd5TTJzdWswd2NUc1RfRi04RnVyZXp0eEY0M3ZUcFNQT3JRYWZNU25JWHFyZ0ZmWXRVZm1LZi5hSl90NXJJR0tySXhRSkxwQ0Q0aUlVYzFGSEUzclFhd2RveFRvbl9EZHk0"}' + headers: + Accept: + - application/json + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.0 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f510e1/d93a15d6b3214e74bd01ea0abb7cf32d''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: no-cache + content-length: '643' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:19 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 409 + message: Conflict + url: https://mcpatinotest.vault.azure.net/secrets/restore?api-version=7.0 +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuSVdhYUdKcXphd1hDRzhKTUdyU0RCYzBEai1faUlXRmNBTHliTXVnNXZpbEJaQWJ3b3BQbjMyWDhwOGFoZkpxdEdoOHQwOGlCNzVYSnJzQ3lLdW4wWFRWcFJTcjRxek9EemxwRG91MHhrR3ZGQzVYZmxxenJScUJfdXh4aldtTi04MGpsdDh2emVZSkJ2Mkx1Z04xR3F3WVZjS1ZOZnFic3dEWTkxM083UFZaNktObk91ZEl4eDF6MWo3UXRScW9jWFpQSWJveXRJTTNSUTMzYVFwMFpEU3ZRNjk5UnllRElqWGtFaGw1Wm5fM0JBdjNWQW5nSVdVdmNTUm96cXdtel9PX01TU3ZRT2FMa3ZkOGdtcjlPQ0pCWWxIVXB6MHUzWlotRldIR2Z6ZmJuS2VGcm1lcjhhOUhOWGw0bnJ0UGtkTE5uOGhWdkZKcnkwdzZRMFd1YTBRLnhVMXdVR3B5cU9mUk9XMUlDTVNJYUEuVXF1SHVES3g1LXZiTWRpZHJOdDRyelY0cUQxVmdRaWZOZFV1T0JyUzBlT0R1U05oVC1rOWZMaHlSeDYwS0p3RHhMdEtJZktzNEhWdXdFRk1MdGRmMHhvTUpsa2Q4OXJfQjJxaHFJaFlBWkVrSnVYTzRvSVdMUkxoem9pZHVBaXdxU3NFRGNHUTROTFZ2Q2oxOWktM0hvYllPMzM3dE50NWMzR1JsOGloNDlwWWxYTk9xX0NSM1RWanB6VW1sejludWswVjlfUHZ1al9rZW1YNnpQNkZZblFaRkVQNV94bUxOeFJhbkt4ZTBGem9NbVFPZVNRRV9hMGpCdmhWOXNDRXhBMUE4VmpQV1M5WkNlcDNzS0RkWlJUSU91ZEhGb193ZC12TmhadE1wSUR0M2ZzZlRzU3A2OXlDY24xY2xOSWI0bTBBeHdNMllOTXl5WENVX2dnWWVtTDh5dExGMHU0UUdXSEZTLU1JQXVxMUpUa3JucjF1WDd2Vk55THlnLXBHUmJ6UDNXMWQ3SVZMamRjQXhXSUktbGowS1psMTB6bGRSQ0s3OGpIaV9SWFNrMVN0NUNCakdjVHBCMzlMMzlGQTBubEdxRDdFWEExam9jZkNUaVYtVGV4NGdQUHBGdEpyeExmbFBtLTZrME1neERqTE5Zcjd4aXZhQUZBVXZVeVNOT0hvbkpCR0Zub3N3cDZORVZ5UnVkdjF4OXZnSHZtOVpkU1VEcmRrd2doWEFON0Vja1JVUHh4ZXRaS1lpczduQkJ6RUdacG9OWFl2Qm80Ymlnc2RCOW5KSjB4QnBKWC14dkVyYkdma3ItTmtQdkoycjlCZVJyQ3BIN20zczNEUkdzTkJoME9VU2NabDRvWGhabm1yYjg3STAwUFQta3BGbF8tRGpBcFhRWHBDT0ZnTnJsMzFKekdoLWxvZjlCMW9oR21vUDdHcG5hWjVLRGYzbVlYSHhna0x1cU9RMjRabmwxSmFqc083Z1QyX1VIeUJjTFpJRkdnZ19UaEJhQWd1dnJoOGVGbmlab3BIbXZ2a0wwbVFJMmo2YnNRdk1HRndYakJ0VTNpU2E3MHUxdnhWVDItUFZwclVwWkNDVGM3MHhEY1BZZjllMXEyRy1iWVd5azhHM0JSQXptUmM3QWFoLUlJMmhhVms1QjRCc0FHS1hkVlNFNnphZGpLY3V1NERlS2U2bGFxQ0ltbWlqa0cyc2lSbFFoYTgzbzZXc2E4emZ6SlpxQVpza0tHQXgyYlVMUDhRaTN0d0pRLTFjQU5nT1FmRUplY3JMemRzUlpLOXNOWHoyWC1NZW45dWVaOWNTRGlRb1RQX2xOazBuZTZKdUItZlBsa3hEQW5ka2FGQS1MU21tUk5SLVhQSFh2UGpDVmxqd3VYUnJEMWFIajNtajFMN0pJTU9BeHZ5ejBiVWEtOS05SkFGb09LYnJVYWhob2pvSUZrYXZLOGZCOWQ2X1VyVEYtWHhILWhmemFvVnExZ25SYXJlMVRVSVlVa3UzQ0NrWHBZUWhSNGIzWmRyeVQwMkROekFxOVQxanJtZlJ2VGtlM3ExMFQ1dkxMbEFyUmxDRGw5NlRQd3pfZDdOa096Tkk4Tm1zeGtkZkcyS3FkaUlHajJ5YWl5dWRuYzRtNWVOSV9YaVl3eEJ2Y1EyQlUtLXVqZHpTM1hfaVIxb2Vmd3BWaUV3NXIzYU5USVVuM2pUajB2d2JFUlkxc0cxeWJQTm96S1JJcjVFUHh4RmEtYVVCX1NQQ2x1Q0FlUGZxLVFBNWtJdXR2MTkxOFktUEJESUpZaFo5d2RmVHhHd1ZxMXgtWFlCNV9aTnRsNUpVUHdEQ0gweUg2cmVFVmNRblRFNzZTaUkyMjlJSWFTN1VDQlp5aDljWkNRSUFVWFZ5cVlvQVUtYTVVX3IzVnl1SF9TU1VEU0U3dUZ0c0gxM1Z4T0tFWndGQURsbm1BaEd2LWs5c0RqdXNjazVLalEyRVZBRXk0alNkWS1XMHpNTjRpdmtyVjRfaEw1Y3EyMTJUcHhsZlF5N1lUakNmQU9SYWVjeWVfWllRYy1EakVaQUZQMWcyelhyejZUTURDUHVhQzBlM25xRjNMSTBIVXFreUFFSVJ3VkhWVUx2TS1YQWg4Y3dfbWdkSzJzeGx6N3QwVjBjVUl1cGRDVVF1Qk16bUNFa05BUjREMExOS1M5Y0wxVUplNTZ6TlY5ZUk0SkFJZUpaa0djRWR0cWtuNTR2TWJMTDhoZmx2dWFzdXpVSmYwWmdiS1ZsaEh3bC1EMVVOYlFBM2xMaFdrY3ZLYXVqZlc0VkVndnNaS1VFQzRQOTJTOTlUcEE2cmN5Q0JtVi1ENUpaX3hXaEFINUpvdGVlY3E0RE1KVXBYQnUwUzc1OTBFTDBrX0tKbzVUbDFaOFoySXZKbUhmUkJHWXlKLU5qQ05mM0FTNWh3NDE0X25Ya2F3SHU0cjNONUFOT0doNGtLRjl2WXJpQmhEMk9wc2tsRHE5WWxYNFZFb0thdkRTV2xNalNpLVd0UHlSWnhqdm1kNWNjMEl0eHBXUmNQaEFucUM4bHI1X1RxbVVhd1lPM2VheEZRcEtHV0p6NUtSY0NKZlhsUFlMbVMyNFpITXNseHV5VWhyamFDSmU1bF9kNkNrUVdOU0o5amkxVXNXM1NCVnZCaDJRS2RPRGpaTHhwS2ZFckdteTZJTWZIb1plNjRPbENUNFN1S0JxTmtnWWNrUFJJV0FOUTFRcXNyQzVzNkZhalRNRWE3MjBmTDVVQnJWOWxtU3ZoLVRjTURFZXZfeldyTEFYVl9LR3F6dks4NFRXQkgtb0JaancycTI2cVZHV1FqUUU4SGhfVVZYUmVYU2ZJSV9nOHFzSDZWSDhfalNyZlVLaTZ4eW56ejgyclZ5TUNYMFZLY0wxZ0NpaUwxbjlLb0RkbU1QZngzT3AwYWplb2p5RFZKNVZkWnQ3eVVxVFVoX3didDJrZ2w3UXlpbl9Va1UtRHBEOTdBMWk0cV8yVUY1cVRWeHZzYXhYSXZQUmJFUnRLbEgxQWprcFd5U194czRETE1SVnI2NmNzblZURzRzSlhuLUI5c2J0RklwVDNYTTNYZjFwa1ltQnM1Z2FXdy1zR1B2c29nal9ROWNvUk9uRi1yUDR4M29Kb0drU0l4YU12a0xhU1NpTmdBbzF1S1RLek1XYjFNT1pQRnlsVkdVSXh0bTZtbmN5Zzdob0NaaHhPTGIzLVdCeGgyQ0NrM0dzTEFsNTJWZmNHd2VYWlRMQUxwTnFOc0EyVWh0T1RkQXZXZjAwcFV6UFJfTVRZRkZjazdBOEsxZXdqRVEwbjE2YjZBajRjdnlxNWx0YXZUMG9qbzZXZm5zbUNfM0FaM1Z4REN6cEwtNGplc0NEcjd1Z00tS3pyTlN2MktHQVVPeG43TXpaeUljVHZBbFprRmZCQjU1VDhCZTY4c3dXQ3NaNVJGak52OW1Qc0JhVjVXUi1GeWNhc3NIZHlpUktxTXBqbi1rSkViQU90UTZ4ci1XbXpPR1Y5M3BhVHRMcnBJT29HaVdzN0JJX01SMHdUbHNkZGxtYlEtV0NNNXBKVEJScHRLZXZJRlBVNkpvYVhOdXpkUjdrX2NFdi1Ya19oOTJVRkZKNks1UFJOZG1WcXNHSGVhNDQ1S3ZnY2ZYbGdjR1dUQW4ybGtERlhCa3h1MWQ4OVlkc0pJczZOVmdHNi1sVENfN1ZRQjhRX1kwRzhIQWdqVmhZLXMzT2hXSW5NZWZJNnFBMkZhNVVMOUJ0UDBzQWZuYjljUFJBNXEwRmpsMENwUXRkcnFNNzFHeXl6Mko5T2ZiUkNxNmU1Qm9xeWs1T1M3b0ljMnU3bHY0TXVmcGFWVk5yeVFaRkRxR01aQVlON1ZKcHJ2cDdINjlFNFNyTlpUVVlwMzJWaC1KUFB4VEJIUXpZeWticWo3NG5BUUxiZS1XYURseDFyTm9fMEVIZ0NFU2VfeHEwc2x2QjdDWFNqUnpucmNpRVRfb0dzanBaZFBjTEs1bko2V1pLV0xsVDN1TV9pc2hfNENWNk12OVlCdllucmdFR2s0cGZqTFNlaUlFVEZ3dG1SdWJ4QlZRNVNqSWd5TTJzdWswd2NUc1RfRi04RnVyZXp0eEY0M3ZUcFNQT3JRYWZNU25JWHFyZ0ZmWXRVZm1LZi5hSl90NXJJR0tySXhRSkxwQ0Q0aUlVYzFGSEUzclFhd2RveFRvbl9EZHk0"}' + headers: + Accept: + - application/json + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.0 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f510e1/d93a15d6b3214e74bd01ea0abb7cf32d''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: no-cache + content-length: '643' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 409 + message: Conflict + url: https://mcpatinotest.vault.azure.net/secrets/restore?api-version=7.0 +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuSVdhYUdKcXphd1hDRzhKTUdyU0RCYzBEai1faUlXRmNBTHliTXVnNXZpbEJaQWJ3b3BQbjMyWDhwOGFoZkpxdEdoOHQwOGlCNzVYSnJzQ3lLdW4wWFRWcFJTcjRxek9EemxwRG91MHhrR3ZGQzVYZmxxenJScUJfdXh4aldtTi04MGpsdDh2emVZSkJ2Mkx1Z04xR3F3WVZjS1ZOZnFic3dEWTkxM083UFZaNktObk91ZEl4eDF6MWo3UXRScW9jWFpQSWJveXRJTTNSUTMzYVFwMFpEU3ZRNjk5UnllRElqWGtFaGw1Wm5fM0JBdjNWQW5nSVdVdmNTUm96cXdtel9PX01TU3ZRT2FMa3ZkOGdtcjlPQ0pCWWxIVXB6MHUzWlotRldIR2Z6ZmJuS2VGcm1lcjhhOUhOWGw0bnJ0UGtkTE5uOGhWdkZKcnkwdzZRMFd1YTBRLnhVMXdVR3B5cU9mUk9XMUlDTVNJYUEuVXF1SHVES3g1LXZiTWRpZHJOdDRyelY0cUQxVmdRaWZOZFV1T0JyUzBlT0R1U05oVC1rOWZMaHlSeDYwS0p3RHhMdEtJZktzNEhWdXdFRk1MdGRmMHhvTUpsa2Q4OXJfQjJxaHFJaFlBWkVrSnVYTzRvSVdMUkxoem9pZHVBaXdxU3NFRGNHUTROTFZ2Q2oxOWktM0hvYllPMzM3dE50NWMzR1JsOGloNDlwWWxYTk9xX0NSM1RWanB6VW1sejludWswVjlfUHZ1al9rZW1YNnpQNkZZblFaRkVQNV94bUxOeFJhbkt4ZTBGem9NbVFPZVNRRV9hMGpCdmhWOXNDRXhBMUE4VmpQV1M5WkNlcDNzS0RkWlJUSU91ZEhGb193ZC12TmhadE1wSUR0M2ZzZlRzU3A2OXlDY24xY2xOSWI0bTBBeHdNMllOTXl5WENVX2dnWWVtTDh5dExGMHU0UUdXSEZTLU1JQXVxMUpUa3JucjF1WDd2Vk55THlnLXBHUmJ6UDNXMWQ3SVZMamRjQXhXSUktbGowS1psMTB6bGRSQ0s3OGpIaV9SWFNrMVN0NUNCakdjVHBCMzlMMzlGQTBubEdxRDdFWEExam9jZkNUaVYtVGV4NGdQUHBGdEpyeExmbFBtLTZrME1neERqTE5Zcjd4aXZhQUZBVXZVeVNOT0hvbkpCR0Zub3N3cDZORVZ5UnVkdjF4OXZnSHZtOVpkU1VEcmRrd2doWEFON0Vja1JVUHh4ZXRaS1lpczduQkJ6RUdacG9OWFl2Qm80Ymlnc2RCOW5KSjB4QnBKWC14dkVyYkdma3ItTmtQdkoycjlCZVJyQ3BIN20zczNEUkdzTkJoME9VU2NabDRvWGhabm1yYjg3STAwUFQta3BGbF8tRGpBcFhRWHBDT0ZnTnJsMzFKekdoLWxvZjlCMW9oR21vUDdHcG5hWjVLRGYzbVlYSHhna0x1cU9RMjRabmwxSmFqc083Z1QyX1VIeUJjTFpJRkdnZ19UaEJhQWd1dnJoOGVGbmlab3BIbXZ2a0wwbVFJMmo2YnNRdk1HRndYakJ0VTNpU2E3MHUxdnhWVDItUFZwclVwWkNDVGM3MHhEY1BZZjllMXEyRy1iWVd5azhHM0JSQXptUmM3QWFoLUlJMmhhVms1QjRCc0FHS1hkVlNFNnphZGpLY3V1NERlS2U2bGFxQ0ltbWlqa0cyc2lSbFFoYTgzbzZXc2E4emZ6SlpxQVpza0tHQXgyYlVMUDhRaTN0d0pRLTFjQU5nT1FmRUplY3JMemRzUlpLOXNOWHoyWC1NZW45dWVaOWNTRGlRb1RQX2xOazBuZTZKdUItZlBsa3hEQW5ka2FGQS1MU21tUk5SLVhQSFh2UGpDVmxqd3VYUnJEMWFIajNtajFMN0pJTU9BeHZ5ejBiVWEtOS05SkFGb09LYnJVYWhob2pvSUZrYXZLOGZCOWQ2X1VyVEYtWHhILWhmemFvVnExZ25SYXJlMVRVSVlVa3UzQ0NrWHBZUWhSNGIzWmRyeVQwMkROekFxOVQxanJtZlJ2VGtlM3ExMFQ1dkxMbEFyUmxDRGw5NlRQd3pfZDdOa096Tkk4Tm1zeGtkZkcyS3FkaUlHajJ5YWl5dWRuYzRtNWVOSV9YaVl3eEJ2Y1EyQlUtLXVqZHpTM1hfaVIxb2Vmd3BWaUV3NXIzYU5USVVuM2pUajB2d2JFUlkxc0cxeWJQTm96S1JJcjVFUHh4RmEtYVVCX1NQQ2x1Q0FlUGZxLVFBNWtJdXR2MTkxOFktUEJESUpZaFo5d2RmVHhHd1ZxMXgtWFlCNV9aTnRsNUpVUHdEQ0gweUg2cmVFVmNRblRFNzZTaUkyMjlJSWFTN1VDQlp5aDljWkNRSUFVWFZ5cVlvQVUtYTVVX3IzVnl1SF9TU1VEU0U3dUZ0c0gxM1Z4T0tFWndGQURsbm1BaEd2LWs5c0RqdXNjazVLalEyRVZBRXk0alNkWS1XMHpNTjRpdmtyVjRfaEw1Y3EyMTJUcHhsZlF5N1lUakNmQU9SYWVjeWVfWllRYy1EakVaQUZQMWcyelhyejZUTURDUHVhQzBlM25xRjNMSTBIVXFreUFFSVJ3VkhWVUx2TS1YQWg4Y3dfbWdkSzJzeGx6N3QwVjBjVUl1cGRDVVF1Qk16bUNFa05BUjREMExOS1M5Y0wxVUplNTZ6TlY5ZUk0SkFJZUpaa0djRWR0cWtuNTR2TWJMTDhoZmx2dWFzdXpVSmYwWmdiS1ZsaEh3bC1EMVVOYlFBM2xMaFdrY3ZLYXVqZlc0VkVndnNaS1VFQzRQOTJTOTlUcEE2cmN5Q0JtVi1ENUpaX3hXaEFINUpvdGVlY3E0RE1KVXBYQnUwUzc1OTBFTDBrX0tKbzVUbDFaOFoySXZKbUhmUkJHWXlKLU5qQ05mM0FTNWh3NDE0X25Ya2F3SHU0cjNONUFOT0doNGtLRjl2WXJpQmhEMk9wc2tsRHE5WWxYNFZFb0thdkRTV2xNalNpLVd0UHlSWnhqdm1kNWNjMEl0eHBXUmNQaEFucUM4bHI1X1RxbVVhd1lPM2VheEZRcEtHV0p6NUtSY0NKZlhsUFlMbVMyNFpITXNseHV5VWhyamFDSmU1bF9kNkNrUVdOU0o5amkxVXNXM1NCVnZCaDJRS2RPRGpaTHhwS2ZFckdteTZJTWZIb1plNjRPbENUNFN1S0JxTmtnWWNrUFJJV0FOUTFRcXNyQzVzNkZhalRNRWE3MjBmTDVVQnJWOWxtU3ZoLVRjTURFZXZfeldyTEFYVl9LR3F6dks4NFRXQkgtb0JaancycTI2cVZHV1FqUUU4SGhfVVZYUmVYU2ZJSV9nOHFzSDZWSDhfalNyZlVLaTZ4eW56ejgyclZ5TUNYMFZLY0wxZ0NpaUwxbjlLb0RkbU1QZngzT3AwYWplb2p5RFZKNVZkWnQ3eVVxVFVoX3didDJrZ2w3UXlpbl9Va1UtRHBEOTdBMWk0cV8yVUY1cVRWeHZzYXhYSXZQUmJFUnRLbEgxQWprcFd5U194czRETE1SVnI2NmNzblZURzRzSlhuLUI5c2J0RklwVDNYTTNYZjFwa1ltQnM1Z2FXdy1zR1B2c29nal9ROWNvUk9uRi1yUDR4M29Kb0drU0l4YU12a0xhU1NpTmdBbzF1S1RLek1XYjFNT1pQRnlsVkdVSXh0bTZtbmN5Zzdob0NaaHhPTGIzLVdCeGgyQ0NrM0dzTEFsNTJWZmNHd2VYWlRMQUxwTnFOc0EyVWh0T1RkQXZXZjAwcFV6UFJfTVRZRkZjazdBOEsxZXdqRVEwbjE2YjZBajRjdnlxNWx0YXZUMG9qbzZXZm5zbUNfM0FaM1Z4REN6cEwtNGplc0NEcjd1Z00tS3pyTlN2MktHQVVPeG43TXpaeUljVHZBbFprRmZCQjU1VDhCZTY4c3dXQ3NaNVJGak52OW1Qc0JhVjVXUi1GeWNhc3NIZHlpUktxTXBqbi1rSkViQU90UTZ4ci1XbXpPR1Y5M3BhVHRMcnBJT29HaVdzN0JJX01SMHdUbHNkZGxtYlEtV0NNNXBKVEJScHRLZXZJRlBVNkpvYVhOdXpkUjdrX2NFdi1Ya19oOTJVRkZKNks1UFJOZG1WcXNHSGVhNDQ1S3ZnY2ZYbGdjR1dUQW4ybGtERlhCa3h1MWQ4OVlkc0pJczZOVmdHNi1sVENfN1ZRQjhRX1kwRzhIQWdqVmhZLXMzT2hXSW5NZWZJNnFBMkZhNVVMOUJ0UDBzQWZuYjljUFJBNXEwRmpsMENwUXRkcnFNNzFHeXl6Mko5T2ZiUkNxNmU1Qm9xeWs1T1M3b0ljMnU3bHY0TXVmcGFWVk5yeVFaRkRxR01aQVlON1ZKcHJ2cDdINjlFNFNyTlpUVVlwMzJWaC1KUFB4VEJIUXpZeWticWo3NG5BUUxiZS1XYURseDFyTm9fMEVIZ0NFU2VfeHEwc2x2QjdDWFNqUnpucmNpRVRfb0dzanBaZFBjTEs1bko2V1pLV0xsVDN1TV9pc2hfNENWNk12OVlCdllucmdFR2s0cGZqTFNlaUlFVEZ3dG1SdWJ4QlZRNVNqSWd5TTJzdWswd2NUc1RfRi04RnVyZXp0eEY0M3ZUcFNQT3JRYWZNU25JWHFyZ0ZmWXRVZm1LZi5hSl90NXJJR0tySXhRSkxwQ0Q0aUlVYzFGSEUzclFhd2RveFRvbl9EZHk0"}' + headers: + Accept: + - application/json + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.0 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f510e1/d93a15d6b3214e74bd01ea0abb7cf32d''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: no-cache + content-length: '643' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:26 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 409 + message: Conflict + url: https://mcpatinotest.vault.azure.net/secrets/restore?api-version=7.0 +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuSVdhYUdKcXphd1hDRzhKTUdyU0RCYzBEai1faUlXRmNBTHliTXVnNXZpbEJaQWJ3b3BQbjMyWDhwOGFoZkpxdEdoOHQwOGlCNzVYSnJzQ3lLdW4wWFRWcFJTcjRxek9EemxwRG91MHhrR3ZGQzVYZmxxenJScUJfdXh4aldtTi04MGpsdDh2emVZSkJ2Mkx1Z04xR3F3WVZjS1ZOZnFic3dEWTkxM083UFZaNktObk91ZEl4eDF6MWo3UXRScW9jWFpQSWJveXRJTTNSUTMzYVFwMFpEU3ZRNjk5UnllRElqWGtFaGw1Wm5fM0JBdjNWQW5nSVdVdmNTUm96cXdtel9PX01TU3ZRT2FMa3ZkOGdtcjlPQ0pCWWxIVXB6MHUzWlotRldIR2Z6ZmJuS2VGcm1lcjhhOUhOWGw0bnJ0UGtkTE5uOGhWdkZKcnkwdzZRMFd1YTBRLnhVMXdVR3B5cU9mUk9XMUlDTVNJYUEuVXF1SHVES3g1LXZiTWRpZHJOdDRyelY0cUQxVmdRaWZOZFV1T0JyUzBlT0R1U05oVC1rOWZMaHlSeDYwS0p3RHhMdEtJZktzNEhWdXdFRk1MdGRmMHhvTUpsa2Q4OXJfQjJxaHFJaFlBWkVrSnVYTzRvSVdMUkxoem9pZHVBaXdxU3NFRGNHUTROTFZ2Q2oxOWktM0hvYllPMzM3dE50NWMzR1JsOGloNDlwWWxYTk9xX0NSM1RWanB6VW1sejludWswVjlfUHZ1al9rZW1YNnpQNkZZblFaRkVQNV94bUxOeFJhbkt4ZTBGem9NbVFPZVNRRV9hMGpCdmhWOXNDRXhBMUE4VmpQV1M5WkNlcDNzS0RkWlJUSU91ZEhGb193ZC12TmhadE1wSUR0M2ZzZlRzU3A2OXlDY24xY2xOSWI0bTBBeHdNMllOTXl5WENVX2dnWWVtTDh5dExGMHU0UUdXSEZTLU1JQXVxMUpUa3JucjF1WDd2Vk55THlnLXBHUmJ6UDNXMWQ3SVZMamRjQXhXSUktbGowS1psMTB6bGRSQ0s3OGpIaV9SWFNrMVN0NUNCakdjVHBCMzlMMzlGQTBubEdxRDdFWEExam9jZkNUaVYtVGV4NGdQUHBGdEpyeExmbFBtLTZrME1neERqTE5Zcjd4aXZhQUZBVXZVeVNOT0hvbkpCR0Zub3N3cDZORVZ5UnVkdjF4OXZnSHZtOVpkU1VEcmRrd2doWEFON0Vja1JVUHh4ZXRaS1lpczduQkJ6RUdacG9OWFl2Qm80Ymlnc2RCOW5KSjB4QnBKWC14dkVyYkdma3ItTmtQdkoycjlCZVJyQ3BIN20zczNEUkdzTkJoME9VU2NabDRvWGhabm1yYjg3STAwUFQta3BGbF8tRGpBcFhRWHBDT0ZnTnJsMzFKekdoLWxvZjlCMW9oR21vUDdHcG5hWjVLRGYzbVlYSHhna0x1cU9RMjRabmwxSmFqc083Z1QyX1VIeUJjTFpJRkdnZ19UaEJhQWd1dnJoOGVGbmlab3BIbXZ2a0wwbVFJMmo2YnNRdk1HRndYakJ0VTNpU2E3MHUxdnhWVDItUFZwclVwWkNDVGM3MHhEY1BZZjllMXEyRy1iWVd5azhHM0JSQXptUmM3QWFoLUlJMmhhVms1QjRCc0FHS1hkVlNFNnphZGpLY3V1NERlS2U2bGFxQ0ltbWlqa0cyc2lSbFFoYTgzbzZXc2E4emZ6SlpxQVpza0tHQXgyYlVMUDhRaTN0d0pRLTFjQU5nT1FmRUplY3JMemRzUlpLOXNOWHoyWC1NZW45dWVaOWNTRGlRb1RQX2xOazBuZTZKdUItZlBsa3hEQW5ka2FGQS1MU21tUk5SLVhQSFh2UGpDVmxqd3VYUnJEMWFIajNtajFMN0pJTU9BeHZ5ejBiVWEtOS05SkFGb09LYnJVYWhob2pvSUZrYXZLOGZCOWQ2X1VyVEYtWHhILWhmemFvVnExZ25SYXJlMVRVSVlVa3UzQ0NrWHBZUWhSNGIzWmRyeVQwMkROekFxOVQxanJtZlJ2VGtlM3ExMFQ1dkxMbEFyUmxDRGw5NlRQd3pfZDdOa096Tkk4Tm1zeGtkZkcyS3FkaUlHajJ5YWl5dWRuYzRtNWVOSV9YaVl3eEJ2Y1EyQlUtLXVqZHpTM1hfaVIxb2Vmd3BWaUV3NXIzYU5USVVuM2pUajB2d2JFUlkxc0cxeWJQTm96S1JJcjVFUHh4RmEtYVVCX1NQQ2x1Q0FlUGZxLVFBNWtJdXR2MTkxOFktUEJESUpZaFo5d2RmVHhHd1ZxMXgtWFlCNV9aTnRsNUpVUHdEQ0gweUg2cmVFVmNRblRFNzZTaUkyMjlJSWFTN1VDQlp5aDljWkNRSUFVWFZ5cVlvQVUtYTVVX3IzVnl1SF9TU1VEU0U3dUZ0c0gxM1Z4T0tFWndGQURsbm1BaEd2LWs5c0RqdXNjazVLalEyRVZBRXk0alNkWS1XMHpNTjRpdmtyVjRfaEw1Y3EyMTJUcHhsZlF5N1lUakNmQU9SYWVjeWVfWllRYy1EakVaQUZQMWcyelhyejZUTURDUHVhQzBlM25xRjNMSTBIVXFreUFFSVJ3VkhWVUx2TS1YQWg4Y3dfbWdkSzJzeGx6N3QwVjBjVUl1cGRDVVF1Qk16bUNFa05BUjREMExOS1M5Y0wxVUplNTZ6TlY5ZUk0SkFJZUpaa0djRWR0cWtuNTR2TWJMTDhoZmx2dWFzdXpVSmYwWmdiS1ZsaEh3bC1EMVVOYlFBM2xMaFdrY3ZLYXVqZlc0VkVndnNaS1VFQzRQOTJTOTlUcEE2cmN5Q0JtVi1ENUpaX3hXaEFINUpvdGVlY3E0RE1KVXBYQnUwUzc1OTBFTDBrX0tKbzVUbDFaOFoySXZKbUhmUkJHWXlKLU5qQ05mM0FTNWh3NDE0X25Ya2F3SHU0cjNONUFOT0doNGtLRjl2WXJpQmhEMk9wc2tsRHE5WWxYNFZFb0thdkRTV2xNalNpLVd0UHlSWnhqdm1kNWNjMEl0eHBXUmNQaEFucUM4bHI1X1RxbVVhd1lPM2VheEZRcEtHV0p6NUtSY0NKZlhsUFlMbVMyNFpITXNseHV5VWhyamFDSmU1bF9kNkNrUVdOU0o5amkxVXNXM1NCVnZCaDJRS2RPRGpaTHhwS2ZFckdteTZJTWZIb1plNjRPbENUNFN1S0JxTmtnWWNrUFJJV0FOUTFRcXNyQzVzNkZhalRNRWE3MjBmTDVVQnJWOWxtU3ZoLVRjTURFZXZfeldyTEFYVl9LR3F6dks4NFRXQkgtb0JaancycTI2cVZHV1FqUUU4SGhfVVZYUmVYU2ZJSV9nOHFzSDZWSDhfalNyZlVLaTZ4eW56ejgyclZ5TUNYMFZLY0wxZ0NpaUwxbjlLb0RkbU1QZngzT3AwYWplb2p5RFZKNVZkWnQ3eVVxVFVoX3didDJrZ2w3UXlpbl9Va1UtRHBEOTdBMWk0cV8yVUY1cVRWeHZzYXhYSXZQUmJFUnRLbEgxQWprcFd5U194czRETE1SVnI2NmNzblZURzRzSlhuLUI5c2J0RklwVDNYTTNYZjFwa1ltQnM1Z2FXdy1zR1B2c29nal9ROWNvUk9uRi1yUDR4M29Kb0drU0l4YU12a0xhU1NpTmdBbzF1S1RLek1XYjFNT1pQRnlsVkdVSXh0bTZtbmN5Zzdob0NaaHhPTGIzLVdCeGgyQ0NrM0dzTEFsNTJWZmNHd2VYWlRMQUxwTnFOc0EyVWh0T1RkQXZXZjAwcFV6UFJfTVRZRkZjazdBOEsxZXdqRVEwbjE2YjZBajRjdnlxNWx0YXZUMG9qbzZXZm5zbUNfM0FaM1Z4REN6cEwtNGplc0NEcjd1Z00tS3pyTlN2MktHQVVPeG43TXpaeUljVHZBbFprRmZCQjU1VDhCZTY4c3dXQ3NaNVJGak52OW1Qc0JhVjVXUi1GeWNhc3NIZHlpUktxTXBqbi1rSkViQU90UTZ4ci1XbXpPR1Y5M3BhVHRMcnBJT29HaVdzN0JJX01SMHdUbHNkZGxtYlEtV0NNNXBKVEJScHRLZXZJRlBVNkpvYVhOdXpkUjdrX2NFdi1Ya19oOTJVRkZKNks1UFJOZG1WcXNHSGVhNDQ1S3ZnY2ZYbGdjR1dUQW4ybGtERlhCa3h1MWQ4OVlkc0pJczZOVmdHNi1sVENfN1ZRQjhRX1kwRzhIQWdqVmhZLXMzT2hXSW5NZWZJNnFBMkZhNVVMOUJ0UDBzQWZuYjljUFJBNXEwRmpsMENwUXRkcnFNNzFHeXl6Mko5T2ZiUkNxNmU1Qm9xeWs1T1M3b0ljMnU3bHY0TXVmcGFWVk5yeVFaRkRxR01aQVlON1ZKcHJ2cDdINjlFNFNyTlpUVVlwMzJWaC1KUFB4VEJIUXpZeWticWo3NG5BUUxiZS1XYURseDFyTm9fMEVIZ0NFU2VfeHEwc2x2QjdDWFNqUnpucmNpRVRfb0dzanBaZFBjTEs1bko2V1pLV0xsVDN1TV9pc2hfNENWNk12OVlCdllucmdFR2s0cGZqTFNlaUlFVEZ3dG1SdWJ4QlZRNVNqSWd5TTJzdWswd2NUc1RfRi04RnVyZXp0eEY0M3ZUcFNQT3JRYWZNU25JWHFyZ0ZmWXRVZm1LZi5hSl90NXJJR0tySXhRSkxwQ0Q0aUlVYzFGSEUzclFhd2RveFRvbl9EZHk0"}' + headers: + Accept: + - application/json + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.0 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f510e1/d93a15d6b3214e74bd01ea0abb7cf32d''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: no-cache + content-length: '643' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 409 + message: Conflict + url: https://mcpatinotest.vault.azure.net/secrets/restore?api-version=7.0 +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuSVdhYUdKcXphd1hDRzhKTUdyU0RCYzBEai1faUlXRmNBTHliTXVnNXZpbEJaQWJ3b3BQbjMyWDhwOGFoZkpxdEdoOHQwOGlCNzVYSnJzQ3lLdW4wWFRWcFJTcjRxek9EemxwRG91MHhrR3ZGQzVYZmxxenJScUJfdXh4aldtTi04MGpsdDh2emVZSkJ2Mkx1Z04xR3F3WVZjS1ZOZnFic3dEWTkxM083UFZaNktObk91ZEl4eDF6MWo3UXRScW9jWFpQSWJveXRJTTNSUTMzYVFwMFpEU3ZRNjk5UnllRElqWGtFaGw1Wm5fM0JBdjNWQW5nSVdVdmNTUm96cXdtel9PX01TU3ZRT2FMa3ZkOGdtcjlPQ0pCWWxIVXB6MHUzWlotRldIR2Z6ZmJuS2VGcm1lcjhhOUhOWGw0bnJ0UGtkTE5uOGhWdkZKcnkwdzZRMFd1YTBRLnhVMXdVR3B5cU9mUk9XMUlDTVNJYUEuVXF1SHVES3g1LXZiTWRpZHJOdDRyelY0cUQxVmdRaWZOZFV1T0JyUzBlT0R1U05oVC1rOWZMaHlSeDYwS0p3RHhMdEtJZktzNEhWdXdFRk1MdGRmMHhvTUpsa2Q4OXJfQjJxaHFJaFlBWkVrSnVYTzRvSVdMUkxoem9pZHVBaXdxU3NFRGNHUTROTFZ2Q2oxOWktM0hvYllPMzM3dE50NWMzR1JsOGloNDlwWWxYTk9xX0NSM1RWanB6VW1sejludWswVjlfUHZ1al9rZW1YNnpQNkZZblFaRkVQNV94bUxOeFJhbkt4ZTBGem9NbVFPZVNRRV9hMGpCdmhWOXNDRXhBMUE4VmpQV1M5WkNlcDNzS0RkWlJUSU91ZEhGb193ZC12TmhadE1wSUR0M2ZzZlRzU3A2OXlDY24xY2xOSWI0bTBBeHdNMllOTXl5WENVX2dnWWVtTDh5dExGMHU0UUdXSEZTLU1JQXVxMUpUa3JucjF1WDd2Vk55THlnLXBHUmJ6UDNXMWQ3SVZMamRjQXhXSUktbGowS1psMTB6bGRSQ0s3OGpIaV9SWFNrMVN0NUNCakdjVHBCMzlMMzlGQTBubEdxRDdFWEExam9jZkNUaVYtVGV4NGdQUHBGdEpyeExmbFBtLTZrME1neERqTE5Zcjd4aXZhQUZBVXZVeVNOT0hvbkpCR0Zub3N3cDZORVZ5UnVkdjF4OXZnSHZtOVpkU1VEcmRrd2doWEFON0Vja1JVUHh4ZXRaS1lpczduQkJ6RUdacG9OWFl2Qm80Ymlnc2RCOW5KSjB4QnBKWC14dkVyYkdma3ItTmtQdkoycjlCZVJyQ3BIN20zczNEUkdzTkJoME9VU2NabDRvWGhabm1yYjg3STAwUFQta3BGbF8tRGpBcFhRWHBDT0ZnTnJsMzFKekdoLWxvZjlCMW9oR21vUDdHcG5hWjVLRGYzbVlYSHhna0x1cU9RMjRabmwxSmFqc083Z1QyX1VIeUJjTFpJRkdnZ19UaEJhQWd1dnJoOGVGbmlab3BIbXZ2a0wwbVFJMmo2YnNRdk1HRndYakJ0VTNpU2E3MHUxdnhWVDItUFZwclVwWkNDVGM3MHhEY1BZZjllMXEyRy1iWVd5azhHM0JSQXptUmM3QWFoLUlJMmhhVms1QjRCc0FHS1hkVlNFNnphZGpLY3V1NERlS2U2bGFxQ0ltbWlqa0cyc2lSbFFoYTgzbzZXc2E4emZ6SlpxQVpza0tHQXgyYlVMUDhRaTN0d0pRLTFjQU5nT1FmRUplY3JMemRzUlpLOXNOWHoyWC1NZW45dWVaOWNTRGlRb1RQX2xOazBuZTZKdUItZlBsa3hEQW5ka2FGQS1MU21tUk5SLVhQSFh2UGpDVmxqd3VYUnJEMWFIajNtajFMN0pJTU9BeHZ5ejBiVWEtOS05SkFGb09LYnJVYWhob2pvSUZrYXZLOGZCOWQ2X1VyVEYtWHhILWhmemFvVnExZ25SYXJlMVRVSVlVa3UzQ0NrWHBZUWhSNGIzWmRyeVQwMkROekFxOVQxanJtZlJ2VGtlM3ExMFQ1dkxMbEFyUmxDRGw5NlRQd3pfZDdOa096Tkk4Tm1zeGtkZkcyS3FkaUlHajJ5YWl5dWRuYzRtNWVOSV9YaVl3eEJ2Y1EyQlUtLXVqZHpTM1hfaVIxb2Vmd3BWaUV3NXIzYU5USVVuM2pUajB2d2JFUlkxc0cxeWJQTm96S1JJcjVFUHh4RmEtYVVCX1NQQ2x1Q0FlUGZxLVFBNWtJdXR2MTkxOFktUEJESUpZaFo5d2RmVHhHd1ZxMXgtWFlCNV9aTnRsNUpVUHdEQ0gweUg2cmVFVmNRblRFNzZTaUkyMjlJSWFTN1VDQlp5aDljWkNRSUFVWFZ5cVlvQVUtYTVVX3IzVnl1SF9TU1VEU0U3dUZ0c0gxM1Z4T0tFWndGQURsbm1BaEd2LWs5c0RqdXNjazVLalEyRVZBRXk0alNkWS1XMHpNTjRpdmtyVjRfaEw1Y3EyMTJUcHhsZlF5N1lUakNmQU9SYWVjeWVfWllRYy1EakVaQUZQMWcyelhyejZUTURDUHVhQzBlM25xRjNMSTBIVXFreUFFSVJ3VkhWVUx2TS1YQWg4Y3dfbWdkSzJzeGx6N3QwVjBjVUl1cGRDVVF1Qk16bUNFa05BUjREMExOS1M5Y0wxVUplNTZ6TlY5ZUk0SkFJZUpaa0djRWR0cWtuNTR2TWJMTDhoZmx2dWFzdXpVSmYwWmdiS1ZsaEh3bC1EMVVOYlFBM2xMaFdrY3ZLYXVqZlc0VkVndnNaS1VFQzRQOTJTOTlUcEE2cmN5Q0JtVi1ENUpaX3hXaEFINUpvdGVlY3E0RE1KVXBYQnUwUzc1OTBFTDBrX0tKbzVUbDFaOFoySXZKbUhmUkJHWXlKLU5qQ05mM0FTNWh3NDE0X25Ya2F3SHU0cjNONUFOT0doNGtLRjl2WXJpQmhEMk9wc2tsRHE5WWxYNFZFb0thdkRTV2xNalNpLVd0UHlSWnhqdm1kNWNjMEl0eHBXUmNQaEFucUM4bHI1X1RxbVVhd1lPM2VheEZRcEtHV0p6NUtSY0NKZlhsUFlMbVMyNFpITXNseHV5VWhyamFDSmU1bF9kNkNrUVdOU0o5amkxVXNXM1NCVnZCaDJRS2RPRGpaTHhwS2ZFckdteTZJTWZIb1plNjRPbENUNFN1S0JxTmtnWWNrUFJJV0FOUTFRcXNyQzVzNkZhalRNRWE3MjBmTDVVQnJWOWxtU3ZoLVRjTURFZXZfeldyTEFYVl9LR3F6dks4NFRXQkgtb0JaancycTI2cVZHV1FqUUU4SGhfVVZYUmVYU2ZJSV9nOHFzSDZWSDhfalNyZlVLaTZ4eW56ejgyclZ5TUNYMFZLY0wxZ0NpaUwxbjlLb0RkbU1QZngzT3AwYWplb2p5RFZKNVZkWnQ3eVVxVFVoX3didDJrZ2w3UXlpbl9Va1UtRHBEOTdBMWk0cV8yVUY1cVRWeHZzYXhYSXZQUmJFUnRLbEgxQWprcFd5U194czRETE1SVnI2NmNzblZURzRzSlhuLUI5c2J0RklwVDNYTTNYZjFwa1ltQnM1Z2FXdy1zR1B2c29nal9ROWNvUk9uRi1yUDR4M29Kb0drU0l4YU12a0xhU1NpTmdBbzF1S1RLek1XYjFNT1pQRnlsVkdVSXh0bTZtbmN5Zzdob0NaaHhPTGIzLVdCeGgyQ0NrM0dzTEFsNTJWZmNHd2VYWlRMQUxwTnFOc0EyVWh0T1RkQXZXZjAwcFV6UFJfTVRZRkZjazdBOEsxZXdqRVEwbjE2YjZBajRjdnlxNWx0YXZUMG9qbzZXZm5zbUNfM0FaM1Z4REN6cEwtNGplc0NEcjd1Z00tS3pyTlN2MktHQVVPeG43TXpaeUljVHZBbFprRmZCQjU1VDhCZTY4c3dXQ3NaNVJGak52OW1Qc0JhVjVXUi1GeWNhc3NIZHlpUktxTXBqbi1rSkViQU90UTZ4ci1XbXpPR1Y5M3BhVHRMcnBJT29HaVdzN0JJX01SMHdUbHNkZGxtYlEtV0NNNXBKVEJScHRLZXZJRlBVNkpvYVhOdXpkUjdrX2NFdi1Ya19oOTJVRkZKNks1UFJOZG1WcXNHSGVhNDQ1S3ZnY2ZYbGdjR1dUQW4ybGtERlhCa3h1MWQ4OVlkc0pJczZOVmdHNi1sVENfN1ZRQjhRX1kwRzhIQWdqVmhZLXMzT2hXSW5NZWZJNnFBMkZhNVVMOUJ0UDBzQWZuYjljUFJBNXEwRmpsMENwUXRkcnFNNzFHeXl6Mko5T2ZiUkNxNmU1Qm9xeWs1T1M3b0ljMnU3bHY0TXVmcGFWVk5yeVFaRkRxR01aQVlON1ZKcHJ2cDdINjlFNFNyTlpUVVlwMzJWaC1KUFB4VEJIUXpZeWticWo3NG5BUUxiZS1XYURseDFyTm9fMEVIZ0NFU2VfeHEwc2x2QjdDWFNqUnpucmNpRVRfb0dzanBaZFBjTEs1bko2V1pLV0xsVDN1TV9pc2hfNENWNk12OVlCdllucmdFR2s0cGZqTFNlaUlFVEZ3dG1SdWJ4QlZRNVNqSWd5TTJzdWswd2NUc1RfRi04RnVyZXp0eEY0M3ZUcFNQT3JRYWZNU25JWHFyZ0ZmWXRVZm1LZi5hSl90NXJJR0tySXhRSkxwQ0Q0aUlVYzFGSEUzclFhd2RveFRvbl9EZHk0"}' + headers: + Accept: + - application/json + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.0 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f510e1/d93a15d6b3214e74bd01ea0abb7cf32d","attributes":{"enabled":true,"created":1618953589,"updated":1618953589,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '223' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/restore?api-version=7.0 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_backup_restore_7_1.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_backup_restore_7_1.yaml new file mode 100644 index 000000000000..c69e56a623d2 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_backup_restore_7_1.yaml @@ -0,0 +1,696 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f610e2?api-version=7.1 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:32 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecbak74f610e2?api-version=7.1 +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f610e2?api-version=7.1 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f610e2/fe6eb20ab4bc45a6bde5f4076950e552","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '261' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecbak74f610e2?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f610e2/backup?api-version=7.1 + response: + body: + string: '{"value":"KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuT1pMb2JHeXpMRllKQXM2VEp2OVNmdllSNlVhUFhkY3o2MjBPd1FHWlR6M0o3bXR3aGVaWnlLNDJDajBLTlNPRi1EQjc5cFhWa0E4TnZSOV9YeVlwLVcxYW1WaVJQOGl4VElMakN6Mm1ldjZLb1laZU5La2hOZERWczFMWDBmSXJFUU9sT3BHbzZnd2hNa0dzeE5ucjdzZzRfVDRmQnFsNm5wVUpUMXBmeUU0SjVYRGF4c0tZOHJWNC1oUzJ2TUFwTmNXRUNoR045NXA1TldvaXBnSktNN01xbW1kTkY5SHVRU0ZDZWx0TXdvZjRHcEM3cE5zSEh0T25EU0Q5cjB2N1M1RUU3eE9DSTZ1Yk9DczlPZXRJR1d4ZEd0RHN6RjZMekZ3NHlHNlZjeERsR0ZfR0tHQjRvbVNQWllzdHVabjVCY0NVYzlOYm5Fc1RaVlR2STZaY3hBLlJLYlljbGpEdk4ya1BrTXJtVkZnUHcuejgySWdXYjFNMUptUXIwWWYzNzJldmdVWHdFcmx5eV9GTE1SQTRuQmd2WWsyU20yd3VNd3VfYkFxYVh3LUZBU2JYSl9BOXBPejhybXY0Tl9NaE9jOE1nSVE3WVBwMWNMYW42TmRNWThwdWIzQUtjYmJqUGhPaVNCTzVwREVPQmEyZWQ5dDNLU0hXVVRPaklVenlEOUYxcHJ4X0F1d3JFS3dVWm5lQVRaLU5iZlZ1dlcya2kyMEJyS1JiQ01YYUNjenJjVTlGb0RiNUdXUVhkeF9xekJhdHNkM0kxenlPNjlmTllIeGxEekVNd0tSZ1NXTnJXSE1vTHJWZmdCUm4tU0ZkR1R4LXZuMklvV1hkazcxdEV5YTMxMTNBeVlwYjJKcnoyLXlEVDhXRXBLRlQ0d2pwbmZBcWZRNnhZbGtzVTBBVWliSm05MFh0SG4xaml3aVE2WmZTSGlyeG9Zc2lPVld5OFFybzlHQXJ0VUpUbEl1aldpc21DQzBBVGRQTldQNjhmUW9VWnl0UDZhWHdCakNmYnE1Z3VkcDhZc2xNSHdGTW1TOUlkUVQ1ajBHNDZuUFE4TXg0TGdmZEhCRFQ4akJicUJiYUs1UlF2NXh2dDJyOHNGTGwwQ2IyWGI1N1h5QzViMEpFalF2eTM5NThxNnRmOWNhMXFVdVhiTmdSY2FHWnIwd0ppY0tCM1F6aFBOanhBeFBSbEQ3YXlFTVYtcnNxdWl3TXJjTTREaWNUbnZZbEY1OU1vRXpEbTNTLUpLSDNUbUstMVUzUHE5SHZpSkRNV0JyNkVpZldkc0hYcDlmV2JUT2hRdk9uZ1NYc0d4TFpvUFdWdmw2VEhEZ0dObTNPMS1OTG42THhTeVpEamJxS3JMT01FXy0zcUxhMFZOTUNpQ2VmX1JRQnZKNzhlNENsb1EyYjhydkUwUkRRa0JBckFkVXgyNVV3VXZWY1dyVlJDSVM4MnVRaVhxazZ3aDA1QXdqYnlDQmFUMGRkVjJ0NG8zOHUxZ00yMlFEeEpKd01ObXQ0Q21VLW05UFNuLW5wWFhrZTlkcXlpSnI2WUl5OFFGQWNLaTJnQ0h2M29mYW5DT1Y4N203akRBTVhnLXI0OXJzamk0SU5BRElZdHNGQkQ4MmJyc00tS3ZRTWZFSzJ5OElnY2VvaDEwNTJUc2NkYm5QN2gzeGRxWHM1X3JWUVhBYzVudmdsLWtNWXlPVTFvV3NCbTRKRWZpNVFnS0t2cE44QnM5STVnWmdoZ0ctTjJSOVdLNDNmNU1ocmJkOGJQcXF0MDRSMTBxM21ueVpKakJVUXZiMWp6a1JNQjhCU25qYXhCb05sbGt1RWlDbE9KRVo0Ri1JamJYZXM5WXBZUkd0eVNZQklfeDhkcWt1NEROTFlyUkIzYWJCMnR2dDBDVzVWMVFpRjBVU015Ti1hTjFQM09pMTVWWldOMUt4ZHIxUnh0VGJLa1AwQS1sc3gzMlVWN3BhZ3I2X3NjQXFYTTFGaVB0cF80b2FzSHp5NGFvcnBMY0g1a2ZELV9VMDlWM3I1UkJyRDkwT3lLUTdNSmJ3SGtCS2RYNGQzTDV6SUMzM3NBVEJOV0RKeEhQcURYVG1Dc1JOY012SjM4WGVwWmNJY01fYkY2OHdON0JXVklMWVlPX3ZWa2NlYjZPcElsYzlIX2dSU3dUMy16NE9IaVFRWlItLUtTM25DNUVDYlJtYmJEVFhrUGx0NWUxT0VieFNCR0ZXU0VZNGpsRVJqV3lJaWg0UHhnOGtnQ0NtNEdtMHpFS29HOGtla2JMV1p2UEFFZ2VuMzZabm50RDROb19xWWtBcmF1SVBtaHFSa2dqM19tMnZRa0Z3ZVNpcHdrR0NxSG5mTHBrRzFEQXVPUDBpUVlHNkNBbzV0M2IyMG9nU1ZKb0hOeDJESUJFZGpSeHdJY096N090RURBaWY2NC02NFZCU0RLbHBfSVhiM2NnMDJQbXVJbFNGNHdUWnRtRFJ6WnRMNFZ5aU82c0VfS3VfTjNFLTlqTE8wMFdVVFpDQTl0VDNSd2JJVHM1LVF6cWNjWEpNNzdoVmFfbkF1c2ZjdmpTYm9rZlNpdFVSVGk1OHA5UFlxUUxjbTlIdDJESHZWakhtRWZYX3Vhd21rSWhnenM4bmhMMVJ2NHF1UEFtVnJ0cUJwc0Y5R2tmc1VybWdrelNoYzZxb1AyelBXdUl2eTljSkdHTmZBbUFJVWN5Njc3Qm9VbWJUX2UyM0RaNFZmaGYzUU16LVFKMG0zUzZQa090SVh0Z0tyWXFYdzI3VHBIUHNoM2xPdHZDamtkdkpqV0t5bWhlUXdkUENRS3lrVF91YU9ZYVpjUzRiVVRzY1JRTTZGdTdyMEVQVEsxYXpoTURnY1JWYzJVQjBQNDZ0aU9qaXVzVl92bURLdDlOVDdkdUNOTFkzSngzSGVVVnFlWmZWaDZFcks3a0Z2MVJ1UHBIa0YwcWVDclZHYWQ4T0Q2czc4R0lDWVQxWE1SbGxOcl85aUdvcU5IbHU2cTZDRnpneW1pWF9qdXh5Mkg5VUtwVGQ5b0JfRkxHMjBlY2dIcjlFNjlvdUNxQlpkdldrVEhfbURGbGpMRTVweE0yZ3VYTENNeU4xbmM5cU5qVTJQRTFoeVNRZ1BIRnVFX1dkUmdvdXZmcE9fRWE4djVob2JXYld6My1oc0h6V1BUeUZLOHhNdDVfUXEtYnRHU0ZwQU92V2ttRG1MejNHUE9RM2FTS0dWQTBqM1Bmd1dyc1FQSURCMGRSWDMtZU1OQXhZUEVwWWwyNmF6eS0wc1pvRWlkN0J6dnFVMzdfczVYOTdydllDNGdvcXdlUERyR1AzNGZjTVBnbmZUaVJTckdtSU5QblZjZkhYTkR2SlZBNHQ5ODFvNHVsZFZLdFVpYnI5UlVqbHlKb2lpb1RBT2FadWFZdGw1VWhMRzVNaWJXclJTWVJLRTBSNUVpM1FsMnY5VTQ0RVNrY0RIYWxIOEd1SXJ2WDBsMll5TXM2eC1NWlg0aU1ZcEJQVFZwa0x1a2k0V0VMQ08tSngyRi1ZOGhyNzBHUThxa01kU1duRldpejlTQWRLR0lKUHlIUy1XLUx0RVZ2cTg5ZFEyVGpnN1lxUFUxTkU4NXpGSkxiRTZwU2puT3hPWThkeUVDN0hMVkduNEIyT2tRc096RGRxaFBtNlVneHQ1aFY3YjE0anpnWkUtZkF3R19VSlpBU25EWEd3Tm5SMHE4cjNSWTVieHdydkI2SWxYYzlyVS1tUk1pRGR1NlllY0lDWnFHQUxjb3VVYXp4RlRmNVlDVVREZlMzaDdxVTZIVmlaY3ZPUzJEOEUtZ09zekxlYlA1U3FjS1VySVJkUVNKa0NSOVJ4a0JXVzNoeF9uX3Zva3hFUHdtZnVHYlpoWm5mWVVZcWdtVDFkNmNRcTBUQmpTVFk3NF9yUWVwZTdaWEpVaFctUGRzcWRiWUtGZkp0YlNyaGpQN3g0ZjJaODZ0UDFPOHdQSFYwOVlEZWZ0YmI2TUljZk1RWFVnWkVuS05EX2dra0tVaU5iNTQxZVBNQS1jRVJuVVUwTHB1U3I4S1owT0dVOFBvb21uY2paQWQ0MDdxS3FJNmRScjZZd3VCeEZ2TnJNdk1HSWwtWUdLUk12ZWs5d1A3NTMyM21UUjl6VVdrZzlWWmMxaldmZ2ktUFl6dDJwZEFPTENjd3lIUWpmZUxlTzdoQk5Mak9CbUNvOTJIZUM3Q1dQSm9hSUx2VzdEd1ZtLTBsQUJ4aGJKaVdpWWRlZGVxekg2aXRobHd6N1FIbDdaQjZybUNKcHpkSnZDVnJ3UnhrQnpfVlNXYWp5Z2lYU2RBT29TWVg1M0Y4THAyb3R5a0FYdndsYmF6T1pWZVVSR2VlLU1sMkE3OFppMDRQOUdQaXd4NURlWkZhdTRaYnYwNTZIZ182QVE1QkJOYVdxbTJBNXIwTEdpNWtMenlTNVVGc3RGZlpVRUh2eXVkdkdiWE9nMkxQZnJEaFU5YktGVU1FMzZwZkxPR05nYUkzei1tYmRCTTZCNkg1alNFM3JNYkp6MXpVV25NX0ExaHUtTjBYMEpKbWh0TW5uR2l5OW1ZMG5yenJ2cGJNU2hBNmFlWE1PcFNnTmFRLXpySWxiT1VUZlZvTHFseXJ0UXhQSG5ZUy1rVjFyNjdXbk9VRy5sWVQyVGpOQnJ4ZTlYUlRkZjRXcVJmWnpXeHdKa0dhYVhpczh0NUhjX0Rn"}' + headers: + cache-control: no-cache + content-length: '4956' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecbak74f610e2/backup?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f610e2?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f610e2","deletedDate":1618953634,"scheduledPurgeDate":1626729634,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f610e2/fe6eb20ab4bc45a6bde5f4076950e552","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '393' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecbak74f610e2?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f610e2?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak74f610e2"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f610e2?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f610e2?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak74f610e2"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:36 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f610e2?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f610e2?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak74f610e2"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:38 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f610e2?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f610e2?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak74f610e2"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f610e2?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f610e2?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak74f610e2"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:42 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f610e2?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f610e2?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak74f610e2"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f610e2?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f610e2?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak74f610e2"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f610e2?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f610e2?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak74f610e2"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f610e2?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f610e2?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f610e2","deletedDate":1618953634,"scheduledPurgeDate":1626729634,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f610e2/fe6eb20ab4bc45a6bde5f4076950e552","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '393' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f610e2?api-version=7.1 +- request: + body: null + headers: + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak74f610e2?api-version=7.1 + response: + body: + string: '' + headers: + cache-control: no-cache + date: Tue, 20 Apr 2021 21:20:51 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 204 + message: No Content + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecbak74f610e2?api-version=7.1 +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuT1pMb2JHeXpMRllKQXM2VEp2OVNmdllSNlVhUFhkY3o2MjBPd1FHWlR6M0o3bXR3aGVaWnlLNDJDajBLTlNPRi1EQjc5cFhWa0E4TnZSOV9YeVlwLVcxYW1WaVJQOGl4VElMakN6Mm1ldjZLb1laZU5La2hOZERWczFMWDBmSXJFUU9sT3BHbzZnd2hNa0dzeE5ucjdzZzRfVDRmQnFsNm5wVUpUMXBmeUU0SjVYRGF4c0tZOHJWNC1oUzJ2TUFwTmNXRUNoR045NXA1TldvaXBnSktNN01xbW1kTkY5SHVRU0ZDZWx0TXdvZjRHcEM3cE5zSEh0T25EU0Q5cjB2N1M1RUU3eE9DSTZ1Yk9DczlPZXRJR1d4ZEd0RHN6RjZMekZ3NHlHNlZjeERsR0ZfR0tHQjRvbVNQWllzdHVabjVCY0NVYzlOYm5Fc1RaVlR2STZaY3hBLlJLYlljbGpEdk4ya1BrTXJtVkZnUHcuejgySWdXYjFNMUptUXIwWWYzNzJldmdVWHdFcmx5eV9GTE1SQTRuQmd2WWsyU20yd3VNd3VfYkFxYVh3LUZBU2JYSl9BOXBPejhybXY0Tl9NaE9jOE1nSVE3WVBwMWNMYW42TmRNWThwdWIzQUtjYmJqUGhPaVNCTzVwREVPQmEyZWQ5dDNLU0hXVVRPaklVenlEOUYxcHJ4X0F1d3JFS3dVWm5lQVRaLU5iZlZ1dlcya2kyMEJyS1JiQ01YYUNjenJjVTlGb0RiNUdXUVhkeF9xekJhdHNkM0kxenlPNjlmTllIeGxEekVNd0tSZ1NXTnJXSE1vTHJWZmdCUm4tU0ZkR1R4LXZuMklvV1hkazcxdEV5YTMxMTNBeVlwYjJKcnoyLXlEVDhXRXBLRlQ0d2pwbmZBcWZRNnhZbGtzVTBBVWliSm05MFh0SG4xaml3aVE2WmZTSGlyeG9Zc2lPVld5OFFybzlHQXJ0VUpUbEl1aldpc21DQzBBVGRQTldQNjhmUW9VWnl0UDZhWHdCakNmYnE1Z3VkcDhZc2xNSHdGTW1TOUlkUVQ1ajBHNDZuUFE4TXg0TGdmZEhCRFQ4akJicUJiYUs1UlF2NXh2dDJyOHNGTGwwQ2IyWGI1N1h5QzViMEpFalF2eTM5NThxNnRmOWNhMXFVdVhiTmdSY2FHWnIwd0ppY0tCM1F6aFBOanhBeFBSbEQ3YXlFTVYtcnNxdWl3TXJjTTREaWNUbnZZbEY1OU1vRXpEbTNTLUpLSDNUbUstMVUzUHE5SHZpSkRNV0JyNkVpZldkc0hYcDlmV2JUT2hRdk9uZ1NYc0d4TFpvUFdWdmw2VEhEZ0dObTNPMS1OTG42THhTeVpEamJxS3JMT01FXy0zcUxhMFZOTUNpQ2VmX1JRQnZKNzhlNENsb1EyYjhydkUwUkRRa0JBckFkVXgyNVV3VXZWY1dyVlJDSVM4MnVRaVhxazZ3aDA1QXdqYnlDQmFUMGRkVjJ0NG8zOHUxZ00yMlFEeEpKd01ObXQ0Q21VLW05UFNuLW5wWFhrZTlkcXlpSnI2WUl5OFFGQWNLaTJnQ0h2M29mYW5DT1Y4N203akRBTVhnLXI0OXJzamk0SU5BRElZdHNGQkQ4MmJyc00tS3ZRTWZFSzJ5OElnY2VvaDEwNTJUc2NkYm5QN2gzeGRxWHM1X3JWUVhBYzVudmdsLWtNWXlPVTFvV3NCbTRKRWZpNVFnS0t2cE44QnM5STVnWmdoZ0ctTjJSOVdLNDNmNU1ocmJkOGJQcXF0MDRSMTBxM21ueVpKakJVUXZiMWp6a1JNQjhCU25qYXhCb05sbGt1RWlDbE9KRVo0Ri1JamJYZXM5WXBZUkd0eVNZQklfeDhkcWt1NEROTFlyUkIzYWJCMnR2dDBDVzVWMVFpRjBVU015Ti1hTjFQM09pMTVWWldOMUt4ZHIxUnh0VGJLa1AwQS1sc3gzMlVWN3BhZ3I2X3NjQXFYTTFGaVB0cF80b2FzSHp5NGFvcnBMY0g1a2ZELV9VMDlWM3I1UkJyRDkwT3lLUTdNSmJ3SGtCS2RYNGQzTDV6SUMzM3NBVEJOV0RKeEhQcURYVG1Dc1JOY012SjM4WGVwWmNJY01fYkY2OHdON0JXVklMWVlPX3ZWa2NlYjZPcElsYzlIX2dSU3dUMy16NE9IaVFRWlItLUtTM25DNUVDYlJtYmJEVFhrUGx0NWUxT0VieFNCR0ZXU0VZNGpsRVJqV3lJaWg0UHhnOGtnQ0NtNEdtMHpFS29HOGtla2JMV1p2UEFFZ2VuMzZabm50RDROb19xWWtBcmF1SVBtaHFSa2dqM19tMnZRa0Z3ZVNpcHdrR0NxSG5mTHBrRzFEQXVPUDBpUVlHNkNBbzV0M2IyMG9nU1ZKb0hOeDJESUJFZGpSeHdJY096N090RURBaWY2NC02NFZCU0RLbHBfSVhiM2NnMDJQbXVJbFNGNHdUWnRtRFJ6WnRMNFZ5aU82c0VfS3VfTjNFLTlqTE8wMFdVVFpDQTl0VDNSd2JJVHM1LVF6cWNjWEpNNzdoVmFfbkF1c2ZjdmpTYm9rZlNpdFVSVGk1OHA5UFlxUUxjbTlIdDJESHZWakhtRWZYX3Vhd21rSWhnenM4bmhMMVJ2NHF1UEFtVnJ0cUJwc0Y5R2tmc1VybWdrelNoYzZxb1AyelBXdUl2eTljSkdHTmZBbUFJVWN5Njc3Qm9VbWJUX2UyM0RaNFZmaGYzUU16LVFKMG0zUzZQa090SVh0Z0tyWXFYdzI3VHBIUHNoM2xPdHZDamtkdkpqV0t5bWhlUXdkUENRS3lrVF91YU9ZYVpjUzRiVVRzY1JRTTZGdTdyMEVQVEsxYXpoTURnY1JWYzJVQjBQNDZ0aU9qaXVzVl92bURLdDlOVDdkdUNOTFkzSngzSGVVVnFlWmZWaDZFcks3a0Z2MVJ1UHBIa0YwcWVDclZHYWQ4T0Q2czc4R0lDWVQxWE1SbGxOcl85aUdvcU5IbHU2cTZDRnpneW1pWF9qdXh5Mkg5VUtwVGQ5b0JfRkxHMjBlY2dIcjlFNjlvdUNxQlpkdldrVEhfbURGbGpMRTVweE0yZ3VYTENNeU4xbmM5cU5qVTJQRTFoeVNRZ1BIRnVFX1dkUmdvdXZmcE9fRWE4djVob2JXYld6My1oc0h6V1BUeUZLOHhNdDVfUXEtYnRHU0ZwQU92V2ttRG1MejNHUE9RM2FTS0dWQTBqM1Bmd1dyc1FQSURCMGRSWDMtZU1OQXhZUEVwWWwyNmF6eS0wc1pvRWlkN0J6dnFVMzdfczVYOTdydllDNGdvcXdlUERyR1AzNGZjTVBnbmZUaVJTckdtSU5QblZjZkhYTkR2SlZBNHQ5ODFvNHVsZFZLdFVpYnI5UlVqbHlKb2lpb1RBT2FadWFZdGw1VWhMRzVNaWJXclJTWVJLRTBSNUVpM1FsMnY5VTQ0RVNrY0RIYWxIOEd1SXJ2WDBsMll5TXM2eC1NWlg0aU1ZcEJQVFZwa0x1a2k0V0VMQ08tSngyRi1ZOGhyNzBHUThxa01kU1duRldpejlTQWRLR0lKUHlIUy1XLUx0RVZ2cTg5ZFEyVGpnN1lxUFUxTkU4NXpGSkxiRTZwU2puT3hPWThkeUVDN0hMVkduNEIyT2tRc096RGRxaFBtNlVneHQ1aFY3YjE0anpnWkUtZkF3R19VSlpBU25EWEd3Tm5SMHE4cjNSWTVieHdydkI2SWxYYzlyVS1tUk1pRGR1NlllY0lDWnFHQUxjb3VVYXp4RlRmNVlDVVREZlMzaDdxVTZIVmlaY3ZPUzJEOEUtZ09zekxlYlA1U3FjS1VySVJkUVNKa0NSOVJ4a0JXVzNoeF9uX3Zva3hFUHdtZnVHYlpoWm5mWVVZcWdtVDFkNmNRcTBUQmpTVFk3NF9yUWVwZTdaWEpVaFctUGRzcWRiWUtGZkp0YlNyaGpQN3g0ZjJaODZ0UDFPOHdQSFYwOVlEZWZ0YmI2TUljZk1RWFVnWkVuS05EX2dra0tVaU5iNTQxZVBNQS1jRVJuVVUwTHB1U3I4S1owT0dVOFBvb21uY2paQWQ0MDdxS3FJNmRScjZZd3VCeEZ2TnJNdk1HSWwtWUdLUk12ZWs5d1A3NTMyM21UUjl6VVdrZzlWWmMxaldmZ2ktUFl6dDJwZEFPTENjd3lIUWpmZUxlTzdoQk5Mak9CbUNvOTJIZUM3Q1dQSm9hSUx2VzdEd1ZtLTBsQUJ4aGJKaVdpWWRlZGVxekg2aXRobHd6N1FIbDdaQjZybUNKcHpkSnZDVnJ3UnhrQnpfVlNXYWp5Z2lYU2RBT29TWVg1M0Y4THAyb3R5a0FYdndsYmF6T1pWZVVSR2VlLU1sMkE3OFppMDRQOUdQaXd4NURlWkZhdTRaYnYwNTZIZ182QVE1QkJOYVdxbTJBNXIwTEdpNWtMenlTNVVGc3RGZlpVRUh2eXVkdkdiWE9nMkxQZnJEaFU5YktGVU1FMzZwZkxPR05nYUkzei1tYmRCTTZCNkg1alNFM3JNYkp6MXpVV25NX0ExaHUtTjBYMEpKbWh0TW5uR2l5OW1ZMG5yenJ2cGJNU2hBNmFlWE1PcFNnTmFRLXpySWxiT1VUZlZvTHFseXJ0UXhQSG5ZUy1rVjFyNjdXbk9VRy5sWVQyVGpOQnJ4ZTlYUlRkZjRXcVJmWnpXeHdKa0dhYVhpczh0NUhjX0Rn"}' + headers: + Accept: + - application/json + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f610e2/fe6eb20ab4bc45a6bde5f4076950e552''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: no-cache + content-length: '643' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:51 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 409 + message: Conflict + url: https://mcpatinotest.vault.azure.net/secrets/restore?api-version=7.1 +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuT1pMb2JHeXpMRllKQXM2VEp2OVNmdllSNlVhUFhkY3o2MjBPd1FHWlR6M0o3bXR3aGVaWnlLNDJDajBLTlNPRi1EQjc5cFhWa0E4TnZSOV9YeVlwLVcxYW1WaVJQOGl4VElMakN6Mm1ldjZLb1laZU5La2hOZERWczFMWDBmSXJFUU9sT3BHbzZnd2hNa0dzeE5ucjdzZzRfVDRmQnFsNm5wVUpUMXBmeUU0SjVYRGF4c0tZOHJWNC1oUzJ2TUFwTmNXRUNoR045NXA1TldvaXBnSktNN01xbW1kTkY5SHVRU0ZDZWx0TXdvZjRHcEM3cE5zSEh0T25EU0Q5cjB2N1M1RUU3eE9DSTZ1Yk9DczlPZXRJR1d4ZEd0RHN6RjZMekZ3NHlHNlZjeERsR0ZfR0tHQjRvbVNQWllzdHVabjVCY0NVYzlOYm5Fc1RaVlR2STZaY3hBLlJLYlljbGpEdk4ya1BrTXJtVkZnUHcuejgySWdXYjFNMUptUXIwWWYzNzJldmdVWHdFcmx5eV9GTE1SQTRuQmd2WWsyU20yd3VNd3VfYkFxYVh3LUZBU2JYSl9BOXBPejhybXY0Tl9NaE9jOE1nSVE3WVBwMWNMYW42TmRNWThwdWIzQUtjYmJqUGhPaVNCTzVwREVPQmEyZWQ5dDNLU0hXVVRPaklVenlEOUYxcHJ4X0F1d3JFS3dVWm5lQVRaLU5iZlZ1dlcya2kyMEJyS1JiQ01YYUNjenJjVTlGb0RiNUdXUVhkeF9xekJhdHNkM0kxenlPNjlmTllIeGxEekVNd0tSZ1NXTnJXSE1vTHJWZmdCUm4tU0ZkR1R4LXZuMklvV1hkazcxdEV5YTMxMTNBeVlwYjJKcnoyLXlEVDhXRXBLRlQ0d2pwbmZBcWZRNnhZbGtzVTBBVWliSm05MFh0SG4xaml3aVE2WmZTSGlyeG9Zc2lPVld5OFFybzlHQXJ0VUpUbEl1aldpc21DQzBBVGRQTldQNjhmUW9VWnl0UDZhWHdCakNmYnE1Z3VkcDhZc2xNSHdGTW1TOUlkUVQ1ajBHNDZuUFE4TXg0TGdmZEhCRFQ4akJicUJiYUs1UlF2NXh2dDJyOHNGTGwwQ2IyWGI1N1h5QzViMEpFalF2eTM5NThxNnRmOWNhMXFVdVhiTmdSY2FHWnIwd0ppY0tCM1F6aFBOanhBeFBSbEQ3YXlFTVYtcnNxdWl3TXJjTTREaWNUbnZZbEY1OU1vRXpEbTNTLUpLSDNUbUstMVUzUHE5SHZpSkRNV0JyNkVpZldkc0hYcDlmV2JUT2hRdk9uZ1NYc0d4TFpvUFdWdmw2VEhEZ0dObTNPMS1OTG42THhTeVpEamJxS3JMT01FXy0zcUxhMFZOTUNpQ2VmX1JRQnZKNzhlNENsb1EyYjhydkUwUkRRa0JBckFkVXgyNVV3VXZWY1dyVlJDSVM4MnVRaVhxazZ3aDA1QXdqYnlDQmFUMGRkVjJ0NG8zOHUxZ00yMlFEeEpKd01ObXQ0Q21VLW05UFNuLW5wWFhrZTlkcXlpSnI2WUl5OFFGQWNLaTJnQ0h2M29mYW5DT1Y4N203akRBTVhnLXI0OXJzamk0SU5BRElZdHNGQkQ4MmJyc00tS3ZRTWZFSzJ5OElnY2VvaDEwNTJUc2NkYm5QN2gzeGRxWHM1X3JWUVhBYzVudmdsLWtNWXlPVTFvV3NCbTRKRWZpNVFnS0t2cE44QnM5STVnWmdoZ0ctTjJSOVdLNDNmNU1ocmJkOGJQcXF0MDRSMTBxM21ueVpKakJVUXZiMWp6a1JNQjhCU25qYXhCb05sbGt1RWlDbE9KRVo0Ri1JamJYZXM5WXBZUkd0eVNZQklfeDhkcWt1NEROTFlyUkIzYWJCMnR2dDBDVzVWMVFpRjBVU015Ti1hTjFQM09pMTVWWldOMUt4ZHIxUnh0VGJLa1AwQS1sc3gzMlVWN3BhZ3I2X3NjQXFYTTFGaVB0cF80b2FzSHp5NGFvcnBMY0g1a2ZELV9VMDlWM3I1UkJyRDkwT3lLUTdNSmJ3SGtCS2RYNGQzTDV6SUMzM3NBVEJOV0RKeEhQcURYVG1Dc1JOY012SjM4WGVwWmNJY01fYkY2OHdON0JXVklMWVlPX3ZWa2NlYjZPcElsYzlIX2dSU3dUMy16NE9IaVFRWlItLUtTM25DNUVDYlJtYmJEVFhrUGx0NWUxT0VieFNCR0ZXU0VZNGpsRVJqV3lJaWg0UHhnOGtnQ0NtNEdtMHpFS29HOGtla2JMV1p2UEFFZ2VuMzZabm50RDROb19xWWtBcmF1SVBtaHFSa2dqM19tMnZRa0Z3ZVNpcHdrR0NxSG5mTHBrRzFEQXVPUDBpUVlHNkNBbzV0M2IyMG9nU1ZKb0hOeDJESUJFZGpSeHdJY096N090RURBaWY2NC02NFZCU0RLbHBfSVhiM2NnMDJQbXVJbFNGNHdUWnRtRFJ6WnRMNFZ5aU82c0VfS3VfTjNFLTlqTE8wMFdVVFpDQTl0VDNSd2JJVHM1LVF6cWNjWEpNNzdoVmFfbkF1c2ZjdmpTYm9rZlNpdFVSVGk1OHA5UFlxUUxjbTlIdDJESHZWakhtRWZYX3Vhd21rSWhnenM4bmhMMVJ2NHF1UEFtVnJ0cUJwc0Y5R2tmc1VybWdrelNoYzZxb1AyelBXdUl2eTljSkdHTmZBbUFJVWN5Njc3Qm9VbWJUX2UyM0RaNFZmaGYzUU16LVFKMG0zUzZQa090SVh0Z0tyWXFYdzI3VHBIUHNoM2xPdHZDamtkdkpqV0t5bWhlUXdkUENRS3lrVF91YU9ZYVpjUzRiVVRzY1JRTTZGdTdyMEVQVEsxYXpoTURnY1JWYzJVQjBQNDZ0aU9qaXVzVl92bURLdDlOVDdkdUNOTFkzSngzSGVVVnFlWmZWaDZFcks3a0Z2MVJ1UHBIa0YwcWVDclZHYWQ4T0Q2czc4R0lDWVQxWE1SbGxOcl85aUdvcU5IbHU2cTZDRnpneW1pWF9qdXh5Mkg5VUtwVGQ5b0JfRkxHMjBlY2dIcjlFNjlvdUNxQlpkdldrVEhfbURGbGpMRTVweE0yZ3VYTENNeU4xbmM5cU5qVTJQRTFoeVNRZ1BIRnVFX1dkUmdvdXZmcE9fRWE4djVob2JXYld6My1oc0h6V1BUeUZLOHhNdDVfUXEtYnRHU0ZwQU92V2ttRG1MejNHUE9RM2FTS0dWQTBqM1Bmd1dyc1FQSURCMGRSWDMtZU1OQXhZUEVwWWwyNmF6eS0wc1pvRWlkN0J6dnFVMzdfczVYOTdydllDNGdvcXdlUERyR1AzNGZjTVBnbmZUaVJTckdtSU5QblZjZkhYTkR2SlZBNHQ5ODFvNHVsZFZLdFVpYnI5UlVqbHlKb2lpb1RBT2FadWFZdGw1VWhMRzVNaWJXclJTWVJLRTBSNUVpM1FsMnY5VTQ0RVNrY0RIYWxIOEd1SXJ2WDBsMll5TXM2eC1NWlg0aU1ZcEJQVFZwa0x1a2k0V0VMQ08tSngyRi1ZOGhyNzBHUThxa01kU1duRldpejlTQWRLR0lKUHlIUy1XLUx0RVZ2cTg5ZFEyVGpnN1lxUFUxTkU4NXpGSkxiRTZwU2puT3hPWThkeUVDN0hMVkduNEIyT2tRc096RGRxaFBtNlVneHQ1aFY3YjE0anpnWkUtZkF3R19VSlpBU25EWEd3Tm5SMHE4cjNSWTVieHdydkI2SWxYYzlyVS1tUk1pRGR1NlllY0lDWnFHQUxjb3VVYXp4RlRmNVlDVVREZlMzaDdxVTZIVmlaY3ZPUzJEOEUtZ09zekxlYlA1U3FjS1VySVJkUVNKa0NSOVJ4a0JXVzNoeF9uX3Zva3hFUHdtZnVHYlpoWm5mWVVZcWdtVDFkNmNRcTBUQmpTVFk3NF9yUWVwZTdaWEpVaFctUGRzcWRiWUtGZkp0YlNyaGpQN3g0ZjJaODZ0UDFPOHdQSFYwOVlEZWZ0YmI2TUljZk1RWFVnWkVuS05EX2dra0tVaU5iNTQxZVBNQS1jRVJuVVUwTHB1U3I4S1owT0dVOFBvb21uY2paQWQ0MDdxS3FJNmRScjZZd3VCeEZ2TnJNdk1HSWwtWUdLUk12ZWs5d1A3NTMyM21UUjl6VVdrZzlWWmMxaldmZ2ktUFl6dDJwZEFPTENjd3lIUWpmZUxlTzdoQk5Mak9CbUNvOTJIZUM3Q1dQSm9hSUx2VzdEd1ZtLTBsQUJ4aGJKaVdpWWRlZGVxekg2aXRobHd6N1FIbDdaQjZybUNKcHpkSnZDVnJ3UnhrQnpfVlNXYWp5Z2lYU2RBT29TWVg1M0Y4THAyb3R5a0FYdndsYmF6T1pWZVVSR2VlLU1sMkE3OFppMDRQOUdQaXd4NURlWkZhdTRaYnYwNTZIZ182QVE1QkJOYVdxbTJBNXIwTEdpNWtMenlTNVVGc3RGZlpVRUh2eXVkdkdiWE9nMkxQZnJEaFU5YktGVU1FMzZwZkxPR05nYUkzei1tYmRCTTZCNkg1alNFM3JNYkp6MXpVV25NX0ExaHUtTjBYMEpKbWh0TW5uR2l5OW1ZMG5yenJ2cGJNU2hBNmFlWE1PcFNnTmFRLXpySWxiT1VUZlZvTHFseXJ0UXhQSG5ZUy1rVjFyNjdXbk9VRy5sWVQyVGpOQnJ4ZTlYUlRkZjRXcVJmWnpXeHdKa0dhYVhpczh0NUhjX0Rn"}' + headers: + Accept: + - application/json + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f610e2/fe6eb20ab4bc45a6bde5f4076950e552''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: no-cache + content-length: '643' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 409 + message: Conflict + url: https://mcpatinotest.vault.azure.net/secrets/restore?api-version=7.1 +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuT1pMb2JHeXpMRllKQXM2VEp2OVNmdllSNlVhUFhkY3o2MjBPd1FHWlR6M0o3bXR3aGVaWnlLNDJDajBLTlNPRi1EQjc5cFhWa0E4TnZSOV9YeVlwLVcxYW1WaVJQOGl4VElMakN6Mm1ldjZLb1laZU5La2hOZERWczFMWDBmSXJFUU9sT3BHbzZnd2hNa0dzeE5ucjdzZzRfVDRmQnFsNm5wVUpUMXBmeUU0SjVYRGF4c0tZOHJWNC1oUzJ2TUFwTmNXRUNoR045NXA1TldvaXBnSktNN01xbW1kTkY5SHVRU0ZDZWx0TXdvZjRHcEM3cE5zSEh0T25EU0Q5cjB2N1M1RUU3eE9DSTZ1Yk9DczlPZXRJR1d4ZEd0RHN6RjZMekZ3NHlHNlZjeERsR0ZfR0tHQjRvbVNQWllzdHVabjVCY0NVYzlOYm5Fc1RaVlR2STZaY3hBLlJLYlljbGpEdk4ya1BrTXJtVkZnUHcuejgySWdXYjFNMUptUXIwWWYzNzJldmdVWHdFcmx5eV9GTE1SQTRuQmd2WWsyU20yd3VNd3VfYkFxYVh3LUZBU2JYSl9BOXBPejhybXY0Tl9NaE9jOE1nSVE3WVBwMWNMYW42TmRNWThwdWIzQUtjYmJqUGhPaVNCTzVwREVPQmEyZWQ5dDNLU0hXVVRPaklVenlEOUYxcHJ4X0F1d3JFS3dVWm5lQVRaLU5iZlZ1dlcya2kyMEJyS1JiQ01YYUNjenJjVTlGb0RiNUdXUVhkeF9xekJhdHNkM0kxenlPNjlmTllIeGxEekVNd0tSZ1NXTnJXSE1vTHJWZmdCUm4tU0ZkR1R4LXZuMklvV1hkazcxdEV5YTMxMTNBeVlwYjJKcnoyLXlEVDhXRXBLRlQ0d2pwbmZBcWZRNnhZbGtzVTBBVWliSm05MFh0SG4xaml3aVE2WmZTSGlyeG9Zc2lPVld5OFFybzlHQXJ0VUpUbEl1aldpc21DQzBBVGRQTldQNjhmUW9VWnl0UDZhWHdCakNmYnE1Z3VkcDhZc2xNSHdGTW1TOUlkUVQ1ajBHNDZuUFE4TXg0TGdmZEhCRFQ4akJicUJiYUs1UlF2NXh2dDJyOHNGTGwwQ2IyWGI1N1h5QzViMEpFalF2eTM5NThxNnRmOWNhMXFVdVhiTmdSY2FHWnIwd0ppY0tCM1F6aFBOanhBeFBSbEQ3YXlFTVYtcnNxdWl3TXJjTTREaWNUbnZZbEY1OU1vRXpEbTNTLUpLSDNUbUstMVUzUHE5SHZpSkRNV0JyNkVpZldkc0hYcDlmV2JUT2hRdk9uZ1NYc0d4TFpvUFdWdmw2VEhEZ0dObTNPMS1OTG42THhTeVpEamJxS3JMT01FXy0zcUxhMFZOTUNpQ2VmX1JRQnZKNzhlNENsb1EyYjhydkUwUkRRa0JBckFkVXgyNVV3VXZWY1dyVlJDSVM4MnVRaVhxazZ3aDA1QXdqYnlDQmFUMGRkVjJ0NG8zOHUxZ00yMlFEeEpKd01ObXQ0Q21VLW05UFNuLW5wWFhrZTlkcXlpSnI2WUl5OFFGQWNLaTJnQ0h2M29mYW5DT1Y4N203akRBTVhnLXI0OXJzamk0SU5BRElZdHNGQkQ4MmJyc00tS3ZRTWZFSzJ5OElnY2VvaDEwNTJUc2NkYm5QN2gzeGRxWHM1X3JWUVhBYzVudmdsLWtNWXlPVTFvV3NCbTRKRWZpNVFnS0t2cE44QnM5STVnWmdoZ0ctTjJSOVdLNDNmNU1ocmJkOGJQcXF0MDRSMTBxM21ueVpKakJVUXZiMWp6a1JNQjhCU25qYXhCb05sbGt1RWlDbE9KRVo0Ri1JamJYZXM5WXBZUkd0eVNZQklfeDhkcWt1NEROTFlyUkIzYWJCMnR2dDBDVzVWMVFpRjBVU015Ti1hTjFQM09pMTVWWldOMUt4ZHIxUnh0VGJLa1AwQS1sc3gzMlVWN3BhZ3I2X3NjQXFYTTFGaVB0cF80b2FzSHp5NGFvcnBMY0g1a2ZELV9VMDlWM3I1UkJyRDkwT3lLUTdNSmJ3SGtCS2RYNGQzTDV6SUMzM3NBVEJOV0RKeEhQcURYVG1Dc1JOY012SjM4WGVwWmNJY01fYkY2OHdON0JXVklMWVlPX3ZWa2NlYjZPcElsYzlIX2dSU3dUMy16NE9IaVFRWlItLUtTM25DNUVDYlJtYmJEVFhrUGx0NWUxT0VieFNCR0ZXU0VZNGpsRVJqV3lJaWg0UHhnOGtnQ0NtNEdtMHpFS29HOGtla2JMV1p2UEFFZ2VuMzZabm50RDROb19xWWtBcmF1SVBtaHFSa2dqM19tMnZRa0Z3ZVNpcHdrR0NxSG5mTHBrRzFEQXVPUDBpUVlHNkNBbzV0M2IyMG9nU1ZKb0hOeDJESUJFZGpSeHdJY096N090RURBaWY2NC02NFZCU0RLbHBfSVhiM2NnMDJQbXVJbFNGNHdUWnRtRFJ6WnRMNFZ5aU82c0VfS3VfTjNFLTlqTE8wMFdVVFpDQTl0VDNSd2JJVHM1LVF6cWNjWEpNNzdoVmFfbkF1c2ZjdmpTYm9rZlNpdFVSVGk1OHA5UFlxUUxjbTlIdDJESHZWakhtRWZYX3Vhd21rSWhnenM4bmhMMVJ2NHF1UEFtVnJ0cUJwc0Y5R2tmc1VybWdrelNoYzZxb1AyelBXdUl2eTljSkdHTmZBbUFJVWN5Njc3Qm9VbWJUX2UyM0RaNFZmaGYzUU16LVFKMG0zUzZQa090SVh0Z0tyWXFYdzI3VHBIUHNoM2xPdHZDamtkdkpqV0t5bWhlUXdkUENRS3lrVF91YU9ZYVpjUzRiVVRzY1JRTTZGdTdyMEVQVEsxYXpoTURnY1JWYzJVQjBQNDZ0aU9qaXVzVl92bURLdDlOVDdkdUNOTFkzSngzSGVVVnFlWmZWaDZFcks3a0Z2MVJ1UHBIa0YwcWVDclZHYWQ4T0Q2czc4R0lDWVQxWE1SbGxOcl85aUdvcU5IbHU2cTZDRnpneW1pWF9qdXh5Mkg5VUtwVGQ5b0JfRkxHMjBlY2dIcjlFNjlvdUNxQlpkdldrVEhfbURGbGpMRTVweE0yZ3VYTENNeU4xbmM5cU5qVTJQRTFoeVNRZ1BIRnVFX1dkUmdvdXZmcE9fRWE4djVob2JXYld6My1oc0h6V1BUeUZLOHhNdDVfUXEtYnRHU0ZwQU92V2ttRG1MejNHUE9RM2FTS0dWQTBqM1Bmd1dyc1FQSURCMGRSWDMtZU1OQXhZUEVwWWwyNmF6eS0wc1pvRWlkN0J6dnFVMzdfczVYOTdydllDNGdvcXdlUERyR1AzNGZjTVBnbmZUaVJTckdtSU5QblZjZkhYTkR2SlZBNHQ5ODFvNHVsZFZLdFVpYnI5UlVqbHlKb2lpb1RBT2FadWFZdGw1VWhMRzVNaWJXclJTWVJLRTBSNUVpM1FsMnY5VTQ0RVNrY0RIYWxIOEd1SXJ2WDBsMll5TXM2eC1NWlg0aU1ZcEJQVFZwa0x1a2k0V0VMQ08tSngyRi1ZOGhyNzBHUThxa01kU1duRldpejlTQWRLR0lKUHlIUy1XLUx0RVZ2cTg5ZFEyVGpnN1lxUFUxTkU4NXpGSkxiRTZwU2puT3hPWThkeUVDN0hMVkduNEIyT2tRc096RGRxaFBtNlVneHQ1aFY3YjE0anpnWkUtZkF3R19VSlpBU25EWEd3Tm5SMHE4cjNSWTVieHdydkI2SWxYYzlyVS1tUk1pRGR1NlllY0lDWnFHQUxjb3VVYXp4RlRmNVlDVVREZlMzaDdxVTZIVmlaY3ZPUzJEOEUtZ09zekxlYlA1U3FjS1VySVJkUVNKa0NSOVJ4a0JXVzNoeF9uX3Zva3hFUHdtZnVHYlpoWm5mWVVZcWdtVDFkNmNRcTBUQmpTVFk3NF9yUWVwZTdaWEpVaFctUGRzcWRiWUtGZkp0YlNyaGpQN3g0ZjJaODZ0UDFPOHdQSFYwOVlEZWZ0YmI2TUljZk1RWFVnWkVuS05EX2dra0tVaU5iNTQxZVBNQS1jRVJuVVUwTHB1U3I4S1owT0dVOFBvb21uY2paQWQ0MDdxS3FJNmRScjZZd3VCeEZ2TnJNdk1HSWwtWUdLUk12ZWs5d1A3NTMyM21UUjl6VVdrZzlWWmMxaldmZ2ktUFl6dDJwZEFPTENjd3lIUWpmZUxlTzdoQk5Mak9CbUNvOTJIZUM3Q1dQSm9hSUx2VzdEd1ZtLTBsQUJ4aGJKaVdpWWRlZGVxekg2aXRobHd6N1FIbDdaQjZybUNKcHpkSnZDVnJ3UnhrQnpfVlNXYWp5Z2lYU2RBT29TWVg1M0Y4THAyb3R5a0FYdndsYmF6T1pWZVVSR2VlLU1sMkE3OFppMDRQOUdQaXd4NURlWkZhdTRaYnYwNTZIZ182QVE1QkJOYVdxbTJBNXIwTEdpNWtMenlTNVVGc3RGZlpVRUh2eXVkdkdiWE9nMkxQZnJEaFU5YktGVU1FMzZwZkxPR05nYUkzei1tYmRCTTZCNkg1alNFM3JNYkp6MXpVV25NX0ExaHUtTjBYMEpKbWh0TW5uR2l5OW1ZMG5yenJ2cGJNU2hBNmFlWE1PcFNnTmFRLXpySWxiT1VUZlZvTHFseXJ0UXhQSG5ZUy1rVjFyNjdXbk9VRy5sWVQyVGpOQnJ4ZTlYUlRkZjRXcVJmWnpXeHdKa0dhYVhpczh0NUhjX0Rn"}' + headers: + Accept: + - application/json + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f610e2/fe6eb20ab4bc45a6bde5f4076950e552''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: no-cache + content-length: '643' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 409 + message: Conflict + url: https://mcpatinotest.vault.azure.net/secrets/restore?api-version=7.1 +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuT1pMb2JHeXpMRllKQXM2VEp2OVNmdllSNlVhUFhkY3o2MjBPd1FHWlR6M0o3bXR3aGVaWnlLNDJDajBLTlNPRi1EQjc5cFhWa0E4TnZSOV9YeVlwLVcxYW1WaVJQOGl4VElMakN6Mm1ldjZLb1laZU5La2hOZERWczFMWDBmSXJFUU9sT3BHbzZnd2hNa0dzeE5ucjdzZzRfVDRmQnFsNm5wVUpUMXBmeUU0SjVYRGF4c0tZOHJWNC1oUzJ2TUFwTmNXRUNoR045NXA1TldvaXBnSktNN01xbW1kTkY5SHVRU0ZDZWx0TXdvZjRHcEM3cE5zSEh0T25EU0Q5cjB2N1M1RUU3eE9DSTZ1Yk9DczlPZXRJR1d4ZEd0RHN6RjZMekZ3NHlHNlZjeERsR0ZfR0tHQjRvbVNQWllzdHVabjVCY0NVYzlOYm5Fc1RaVlR2STZaY3hBLlJLYlljbGpEdk4ya1BrTXJtVkZnUHcuejgySWdXYjFNMUptUXIwWWYzNzJldmdVWHdFcmx5eV9GTE1SQTRuQmd2WWsyU20yd3VNd3VfYkFxYVh3LUZBU2JYSl9BOXBPejhybXY0Tl9NaE9jOE1nSVE3WVBwMWNMYW42TmRNWThwdWIzQUtjYmJqUGhPaVNCTzVwREVPQmEyZWQ5dDNLU0hXVVRPaklVenlEOUYxcHJ4X0F1d3JFS3dVWm5lQVRaLU5iZlZ1dlcya2kyMEJyS1JiQ01YYUNjenJjVTlGb0RiNUdXUVhkeF9xekJhdHNkM0kxenlPNjlmTllIeGxEekVNd0tSZ1NXTnJXSE1vTHJWZmdCUm4tU0ZkR1R4LXZuMklvV1hkazcxdEV5YTMxMTNBeVlwYjJKcnoyLXlEVDhXRXBLRlQ0d2pwbmZBcWZRNnhZbGtzVTBBVWliSm05MFh0SG4xaml3aVE2WmZTSGlyeG9Zc2lPVld5OFFybzlHQXJ0VUpUbEl1aldpc21DQzBBVGRQTldQNjhmUW9VWnl0UDZhWHdCakNmYnE1Z3VkcDhZc2xNSHdGTW1TOUlkUVQ1ajBHNDZuUFE4TXg0TGdmZEhCRFQ4akJicUJiYUs1UlF2NXh2dDJyOHNGTGwwQ2IyWGI1N1h5QzViMEpFalF2eTM5NThxNnRmOWNhMXFVdVhiTmdSY2FHWnIwd0ppY0tCM1F6aFBOanhBeFBSbEQ3YXlFTVYtcnNxdWl3TXJjTTREaWNUbnZZbEY1OU1vRXpEbTNTLUpLSDNUbUstMVUzUHE5SHZpSkRNV0JyNkVpZldkc0hYcDlmV2JUT2hRdk9uZ1NYc0d4TFpvUFdWdmw2VEhEZ0dObTNPMS1OTG42THhTeVpEamJxS3JMT01FXy0zcUxhMFZOTUNpQ2VmX1JRQnZKNzhlNENsb1EyYjhydkUwUkRRa0JBckFkVXgyNVV3VXZWY1dyVlJDSVM4MnVRaVhxazZ3aDA1QXdqYnlDQmFUMGRkVjJ0NG8zOHUxZ00yMlFEeEpKd01ObXQ0Q21VLW05UFNuLW5wWFhrZTlkcXlpSnI2WUl5OFFGQWNLaTJnQ0h2M29mYW5DT1Y4N203akRBTVhnLXI0OXJzamk0SU5BRElZdHNGQkQ4MmJyc00tS3ZRTWZFSzJ5OElnY2VvaDEwNTJUc2NkYm5QN2gzeGRxWHM1X3JWUVhBYzVudmdsLWtNWXlPVTFvV3NCbTRKRWZpNVFnS0t2cE44QnM5STVnWmdoZ0ctTjJSOVdLNDNmNU1ocmJkOGJQcXF0MDRSMTBxM21ueVpKakJVUXZiMWp6a1JNQjhCU25qYXhCb05sbGt1RWlDbE9KRVo0Ri1JamJYZXM5WXBZUkd0eVNZQklfeDhkcWt1NEROTFlyUkIzYWJCMnR2dDBDVzVWMVFpRjBVU015Ti1hTjFQM09pMTVWWldOMUt4ZHIxUnh0VGJLa1AwQS1sc3gzMlVWN3BhZ3I2X3NjQXFYTTFGaVB0cF80b2FzSHp5NGFvcnBMY0g1a2ZELV9VMDlWM3I1UkJyRDkwT3lLUTdNSmJ3SGtCS2RYNGQzTDV6SUMzM3NBVEJOV0RKeEhQcURYVG1Dc1JOY012SjM4WGVwWmNJY01fYkY2OHdON0JXVklMWVlPX3ZWa2NlYjZPcElsYzlIX2dSU3dUMy16NE9IaVFRWlItLUtTM25DNUVDYlJtYmJEVFhrUGx0NWUxT0VieFNCR0ZXU0VZNGpsRVJqV3lJaWg0UHhnOGtnQ0NtNEdtMHpFS29HOGtla2JMV1p2UEFFZ2VuMzZabm50RDROb19xWWtBcmF1SVBtaHFSa2dqM19tMnZRa0Z3ZVNpcHdrR0NxSG5mTHBrRzFEQXVPUDBpUVlHNkNBbzV0M2IyMG9nU1ZKb0hOeDJESUJFZGpSeHdJY096N090RURBaWY2NC02NFZCU0RLbHBfSVhiM2NnMDJQbXVJbFNGNHdUWnRtRFJ6WnRMNFZ5aU82c0VfS3VfTjNFLTlqTE8wMFdVVFpDQTl0VDNSd2JJVHM1LVF6cWNjWEpNNzdoVmFfbkF1c2ZjdmpTYm9rZlNpdFVSVGk1OHA5UFlxUUxjbTlIdDJESHZWakhtRWZYX3Vhd21rSWhnenM4bmhMMVJ2NHF1UEFtVnJ0cUJwc0Y5R2tmc1VybWdrelNoYzZxb1AyelBXdUl2eTljSkdHTmZBbUFJVWN5Njc3Qm9VbWJUX2UyM0RaNFZmaGYzUU16LVFKMG0zUzZQa090SVh0Z0tyWXFYdzI3VHBIUHNoM2xPdHZDamtkdkpqV0t5bWhlUXdkUENRS3lrVF91YU9ZYVpjUzRiVVRzY1JRTTZGdTdyMEVQVEsxYXpoTURnY1JWYzJVQjBQNDZ0aU9qaXVzVl92bURLdDlOVDdkdUNOTFkzSngzSGVVVnFlWmZWaDZFcks3a0Z2MVJ1UHBIa0YwcWVDclZHYWQ4T0Q2czc4R0lDWVQxWE1SbGxOcl85aUdvcU5IbHU2cTZDRnpneW1pWF9qdXh5Mkg5VUtwVGQ5b0JfRkxHMjBlY2dIcjlFNjlvdUNxQlpkdldrVEhfbURGbGpMRTVweE0yZ3VYTENNeU4xbmM5cU5qVTJQRTFoeVNRZ1BIRnVFX1dkUmdvdXZmcE9fRWE4djVob2JXYld6My1oc0h6V1BUeUZLOHhNdDVfUXEtYnRHU0ZwQU92V2ttRG1MejNHUE9RM2FTS0dWQTBqM1Bmd1dyc1FQSURCMGRSWDMtZU1OQXhZUEVwWWwyNmF6eS0wc1pvRWlkN0J6dnFVMzdfczVYOTdydllDNGdvcXdlUERyR1AzNGZjTVBnbmZUaVJTckdtSU5QblZjZkhYTkR2SlZBNHQ5ODFvNHVsZFZLdFVpYnI5UlVqbHlKb2lpb1RBT2FadWFZdGw1VWhMRzVNaWJXclJTWVJLRTBSNUVpM1FsMnY5VTQ0RVNrY0RIYWxIOEd1SXJ2WDBsMll5TXM2eC1NWlg0aU1ZcEJQVFZwa0x1a2k0V0VMQ08tSngyRi1ZOGhyNzBHUThxa01kU1duRldpejlTQWRLR0lKUHlIUy1XLUx0RVZ2cTg5ZFEyVGpnN1lxUFUxTkU4NXpGSkxiRTZwU2puT3hPWThkeUVDN0hMVkduNEIyT2tRc096RGRxaFBtNlVneHQ1aFY3YjE0anpnWkUtZkF3R19VSlpBU25EWEd3Tm5SMHE4cjNSWTVieHdydkI2SWxYYzlyVS1tUk1pRGR1NlllY0lDWnFHQUxjb3VVYXp4RlRmNVlDVVREZlMzaDdxVTZIVmlaY3ZPUzJEOEUtZ09zekxlYlA1U3FjS1VySVJkUVNKa0NSOVJ4a0JXVzNoeF9uX3Zva3hFUHdtZnVHYlpoWm5mWVVZcWdtVDFkNmNRcTBUQmpTVFk3NF9yUWVwZTdaWEpVaFctUGRzcWRiWUtGZkp0YlNyaGpQN3g0ZjJaODZ0UDFPOHdQSFYwOVlEZWZ0YmI2TUljZk1RWFVnWkVuS05EX2dra0tVaU5iNTQxZVBNQS1jRVJuVVUwTHB1U3I4S1owT0dVOFBvb21uY2paQWQ0MDdxS3FJNmRScjZZd3VCeEZ2TnJNdk1HSWwtWUdLUk12ZWs5d1A3NTMyM21UUjl6VVdrZzlWWmMxaldmZ2ktUFl6dDJwZEFPTENjd3lIUWpmZUxlTzdoQk5Mak9CbUNvOTJIZUM3Q1dQSm9hSUx2VzdEd1ZtLTBsQUJ4aGJKaVdpWWRlZGVxekg2aXRobHd6N1FIbDdaQjZybUNKcHpkSnZDVnJ3UnhrQnpfVlNXYWp5Z2lYU2RBT29TWVg1M0Y4THAyb3R5a0FYdndsYmF6T1pWZVVSR2VlLU1sMkE3OFppMDRQOUdQaXd4NURlWkZhdTRaYnYwNTZIZ182QVE1QkJOYVdxbTJBNXIwTEdpNWtMenlTNVVGc3RGZlpVRUh2eXVkdkdiWE9nMkxQZnJEaFU5YktGVU1FMzZwZkxPR05nYUkzei1tYmRCTTZCNkg1alNFM3JNYkp6MXpVV25NX0ExaHUtTjBYMEpKbWh0TW5uR2l5OW1ZMG5yenJ2cGJNU2hBNmFlWE1PcFNnTmFRLXpySWxiT1VUZlZvTHFseXJ0UXhQSG5ZUy1rVjFyNjdXbk9VRy5sWVQyVGpOQnJ4ZTlYUlRkZjRXcVJmWnpXeHdKa0dhYVhpczh0NUhjX0Rn"}' + headers: + Accept: + - application/json + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f610e2/fe6eb20ab4bc45a6bde5f4076950e552''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: no-cache + content-length: '643' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 409 + message: Conflict + url: https://mcpatinotest.vault.azure.net/secrets/restore?api-version=7.1 +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuT1pMb2JHeXpMRllKQXM2VEp2OVNmdllSNlVhUFhkY3o2MjBPd1FHWlR6M0o3bXR3aGVaWnlLNDJDajBLTlNPRi1EQjc5cFhWa0E4TnZSOV9YeVlwLVcxYW1WaVJQOGl4VElMakN6Mm1ldjZLb1laZU5La2hOZERWczFMWDBmSXJFUU9sT3BHbzZnd2hNa0dzeE5ucjdzZzRfVDRmQnFsNm5wVUpUMXBmeUU0SjVYRGF4c0tZOHJWNC1oUzJ2TUFwTmNXRUNoR045NXA1TldvaXBnSktNN01xbW1kTkY5SHVRU0ZDZWx0TXdvZjRHcEM3cE5zSEh0T25EU0Q5cjB2N1M1RUU3eE9DSTZ1Yk9DczlPZXRJR1d4ZEd0RHN6RjZMekZ3NHlHNlZjeERsR0ZfR0tHQjRvbVNQWllzdHVabjVCY0NVYzlOYm5Fc1RaVlR2STZaY3hBLlJLYlljbGpEdk4ya1BrTXJtVkZnUHcuejgySWdXYjFNMUptUXIwWWYzNzJldmdVWHdFcmx5eV9GTE1SQTRuQmd2WWsyU20yd3VNd3VfYkFxYVh3LUZBU2JYSl9BOXBPejhybXY0Tl9NaE9jOE1nSVE3WVBwMWNMYW42TmRNWThwdWIzQUtjYmJqUGhPaVNCTzVwREVPQmEyZWQ5dDNLU0hXVVRPaklVenlEOUYxcHJ4X0F1d3JFS3dVWm5lQVRaLU5iZlZ1dlcya2kyMEJyS1JiQ01YYUNjenJjVTlGb0RiNUdXUVhkeF9xekJhdHNkM0kxenlPNjlmTllIeGxEekVNd0tSZ1NXTnJXSE1vTHJWZmdCUm4tU0ZkR1R4LXZuMklvV1hkazcxdEV5YTMxMTNBeVlwYjJKcnoyLXlEVDhXRXBLRlQ0d2pwbmZBcWZRNnhZbGtzVTBBVWliSm05MFh0SG4xaml3aVE2WmZTSGlyeG9Zc2lPVld5OFFybzlHQXJ0VUpUbEl1aldpc21DQzBBVGRQTldQNjhmUW9VWnl0UDZhWHdCakNmYnE1Z3VkcDhZc2xNSHdGTW1TOUlkUVQ1ajBHNDZuUFE4TXg0TGdmZEhCRFQ4akJicUJiYUs1UlF2NXh2dDJyOHNGTGwwQ2IyWGI1N1h5QzViMEpFalF2eTM5NThxNnRmOWNhMXFVdVhiTmdSY2FHWnIwd0ppY0tCM1F6aFBOanhBeFBSbEQ3YXlFTVYtcnNxdWl3TXJjTTREaWNUbnZZbEY1OU1vRXpEbTNTLUpLSDNUbUstMVUzUHE5SHZpSkRNV0JyNkVpZldkc0hYcDlmV2JUT2hRdk9uZ1NYc0d4TFpvUFdWdmw2VEhEZ0dObTNPMS1OTG42THhTeVpEamJxS3JMT01FXy0zcUxhMFZOTUNpQ2VmX1JRQnZKNzhlNENsb1EyYjhydkUwUkRRa0JBckFkVXgyNVV3VXZWY1dyVlJDSVM4MnVRaVhxazZ3aDA1QXdqYnlDQmFUMGRkVjJ0NG8zOHUxZ00yMlFEeEpKd01ObXQ0Q21VLW05UFNuLW5wWFhrZTlkcXlpSnI2WUl5OFFGQWNLaTJnQ0h2M29mYW5DT1Y4N203akRBTVhnLXI0OXJzamk0SU5BRElZdHNGQkQ4MmJyc00tS3ZRTWZFSzJ5OElnY2VvaDEwNTJUc2NkYm5QN2gzeGRxWHM1X3JWUVhBYzVudmdsLWtNWXlPVTFvV3NCbTRKRWZpNVFnS0t2cE44QnM5STVnWmdoZ0ctTjJSOVdLNDNmNU1ocmJkOGJQcXF0MDRSMTBxM21ueVpKakJVUXZiMWp6a1JNQjhCU25qYXhCb05sbGt1RWlDbE9KRVo0Ri1JamJYZXM5WXBZUkd0eVNZQklfeDhkcWt1NEROTFlyUkIzYWJCMnR2dDBDVzVWMVFpRjBVU015Ti1hTjFQM09pMTVWWldOMUt4ZHIxUnh0VGJLa1AwQS1sc3gzMlVWN3BhZ3I2X3NjQXFYTTFGaVB0cF80b2FzSHp5NGFvcnBMY0g1a2ZELV9VMDlWM3I1UkJyRDkwT3lLUTdNSmJ3SGtCS2RYNGQzTDV6SUMzM3NBVEJOV0RKeEhQcURYVG1Dc1JOY012SjM4WGVwWmNJY01fYkY2OHdON0JXVklMWVlPX3ZWa2NlYjZPcElsYzlIX2dSU3dUMy16NE9IaVFRWlItLUtTM25DNUVDYlJtYmJEVFhrUGx0NWUxT0VieFNCR0ZXU0VZNGpsRVJqV3lJaWg0UHhnOGtnQ0NtNEdtMHpFS29HOGtla2JMV1p2UEFFZ2VuMzZabm50RDROb19xWWtBcmF1SVBtaHFSa2dqM19tMnZRa0Z3ZVNpcHdrR0NxSG5mTHBrRzFEQXVPUDBpUVlHNkNBbzV0M2IyMG9nU1ZKb0hOeDJESUJFZGpSeHdJY096N090RURBaWY2NC02NFZCU0RLbHBfSVhiM2NnMDJQbXVJbFNGNHdUWnRtRFJ6WnRMNFZ5aU82c0VfS3VfTjNFLTlqTE8wMFdVVFpDQTl0VDNSd2JJVHM1LVF6cWNjWEpNNzdoVmFfbkF1c2ZjdmpTYm9rZlNpdFVSVGk1OHA5UFlxUUxjbTlIdDJESHZWakhtRWZYX3Vhd21rSWhnenM4bmhMMVJ2NHF1UEFtVnJ0cUJwc0Y5R2tmc1VybWdrelNoYzZxb1AyelBXdUl2eTljSkdHTmZBbUFJVWN5Njc3Qm9VbWJUX2UyM0RaNFZmaGYzUU16LVFKMG0zUzZQa090SVh0Z0tyWXFYdzI3VHBIUHNoM2xPdHZDamtkdkpqV0t5bWhlUXdkUENRS3lrVF91YU9ZYVpjUzRiVVRzY1JRTTZGdTdyMEVQVEsxYXpoTURnY1JWYzJVQjBQNDZ0aU9qaXVzVl92bURLdDlOVDdkdUNOTFkzSngzSGVVVnFlWmZWaDZFcks3a0Z2MVJ1UHBIa0YwcWVDclZHYWQ4T0Q2czc4R0lDWVQxWE1SbGxOcl85aUdvcU5IbHU2cTZDRnpneW1pWF9qdXh5Mkg5VUtwVGQ5b0JfRkxHMjBlY2dIcjlFNjlvdUNxQlpkdldrVEhfbURGbGpMRTVweE0yZ3VYTENNeU4xbmM5cU5qVTJQRTFoeVNRZ1BIRnVFX1dkUmdvdXZmcE9fRWE4djVob2JXYld6My1oc0h6V1BUeUZLOHhNdDVfUXEtYnRHU0ZwQU92V2ttRG1MejNHUE9RM2FTS0dWQTBqM1Bmd1dyc1FQSURCMGRSWDMtZU1OQXhZUEVwWWwyNmF6eS0wc1pvRWlkN0J6dnFVMzdfczVYOTdydllDNGdvcXdlUERyR1AzNGZjTVBnbmZUaVJTckdtSU5QblZjZkhYTkR2SlZBNHQ5ODFvNHVsZFZLdFVpYnI5UlVqbHlKb2lpb1RBT2FadWFZdGw1VWhMRzVNaWJXclJTWVJLRTBSNUVpM1FsMnY5VTQ0RVNrY0RIYWxIOEd1SXJ2WDBsMll5TXM2eC1NWlg0aU1ZcEJQVFZwa0x1a2k0V0VMQ08tSngyRi1ZOGhyNzBHUThxa01kU1duRldpejlTQWRLR0lKUHlIUy1XLUx0RVZ2cTg5ZFEyVGpnN1lxUFUxTkU4NXpGSkxiRTZwU2puT3hPWThkeUVDN0hMVkduNEIyT2tRc096RGRxaFBtNlVneHQ1aFY3YjE0anpnWkUtZkF3R19VSlpBU25EWEd3Tm5SMHE4cjNSWTVieHdydkI2SWxYYzlyVS1tUk1pRGR1NlllY0lDWnFHQUxjb3VVYXp4RlRmNVlDVVREZlMzaDdxVTZIVmlaY3ZPUzJEOEUtZ09zekxlYlA1U3FjS1VySVJkUVNKa0NSOVJ4a0JXVzNoeF9uX3Zva3hFUHdtZnVHYlpoWm5mWVVZcWdtVDFkNmNRcTBUQmpTVFk3NF9yUWVwZTdaWEpVaFctUGRzcWRiWUtGZkp0YlNyaGpQN3g0ZjJaODZ0UDFPOHdQSFYwOVlEZWZ0YmI2TUljZk1RWFVnWkVuS05EX2dra0tVaU5iNTQxZVBNQS1jRVJuVVUwTHB1U3I4S1owT0dVOFBvb21uY2paQWQ0MDdxS3FJNmRScjZZd3VCeEZ2TnJNdk1HSWwtWUdLUk12ZWs5d1A3NTMyM21UUjl6VVdrZzlWWmMxaldmZ2ktUFl6dDJwZEFPTENjd3lIUWpmZUxlTzdoQk5Mak9CbUNvOTJIZUM3Q1dQSm9hSUx2VzdEd1ZtLTBsQUJ4aGJKaVdpWWRlZGVxekg2aXRobHd6N1FIbDdaQjZybUNKcHpkSnZDVnJ3UnhrQnpfVlNXYWp5Z2lYU2RBT29TWVg1M0Y4THAyb3R5a0FYdndsYmF6T1pWZVVSR2VlLU1sMkE3OFppMDRQOUdQaXd4NURlWkZhdTRaYnYwNTZIZ182QVE1QkJOYVdxbTJBNXIwTEdpNWtMenlTNVVGc3RGZlpVRUh2eXVkdkdiWE9nMkxQZnJEaFU5YktGVU1FMzZwZkxPR05nYUkzei1tYmRCTTZCNkg1alNFM3JNYkp6MXpVV25NX0ExaHUtTjBYMEpKbWh0TW5uR2l5OW1ZMG5yenJ2cGJNU2hBNmFlWE1PcFNnTmFRLXpySWxiT1VUZlZvTHFseXJ0UXhQSG5ZUy1rVjFyNjdXbk9VRy5sWVQyVGpOQnJ4ZTlYUlRkZjRXcVJmWnpXeHdKa0dhYVhpczh0NUhjX0Rn"}' + headers: + Accept: + - application/json + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f610e2/fe6eb20ab4bc45a6bde5f4076950e552''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: no-cache + content-length: '643' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 409 + message: Conflict + url: https://mcpatinotest.vault.azure.net/secrets/restore?api-version=7.1 +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuT1pMb2JHeXpMRllKQXM2VEp2OVNmdllSNlVhUFhkY3o2MjBPd1FHWlR6M0o3bXR3aGVaWnlLNDJDajBLTlNPRi1EQjc5cFhWa0E4TnZSOV9YeVlwLVcxYW1WaVJQOGl4VElMakN6Mm1ldjZLb1laZU5La2hOZERWczFMWDBmSXJFUU9sT3BHbzZnd2hNa0dzeE5ucjdzZzRfVDRmQnFsNm5wVUpUMXBmeUU0SjVYRGF4c0tZOHJWNC1oUzJ2TUFwTmNXRUNoR045NXA1TldvaXBnSktNN01xbW1kTkY5SHVRU0ZDZWx0TXdvZjRHcEM3cE5zSEh0T25EU0Q5cjB2N1M1RUU3eE9DSTZ1Yk9DczlPZXRJR1d4ZEd0RHN6RjZMekZ3NHlHNlZjeERsR0ZfR0tHQjRvbVNQWllzdHVabjVCY0NVYzlOYm5Fc1RaVlR2STZaY3hBLlJLYlljbGpEdk4ya1BrTXJtVkZnUHcuejgySWdXYjFNMUptUXIwWWYzNzJldmdVWHdFcmx5eV9GTE1SQTRuQmd2WWsyU20yd3VNd3VfYkFxYVh3LUZBU2JYSl9BOXBPejhybXY0Tl9NaE9jOE1nSVE3WVBwMWNMYW42TmRNWThwdWIzQUtjYmJqUGhPaVNCTzVwREVPQmEyZWQ5dDNLU0hXVVRPaklVenlEOUYxcHJ4X0F1d3JFS3dVWm5lQVRaLU5iZlZ1dlcya2kyMEJyS1JiQ01YYUNjenJjVTlGb0RiNUdXUVhkeF9xekJhdHNkM0kxenlPNjlmTllIeGxEekVNd0tSZ1NXTnJXSE1vTHJWZmdCUm4tU0ZkR1R4LXZuMklvV1hkazcxdEV5YTMxMTNBeVlwYjJKcnoyLXlEVDhXRXBLRlQ0d2pwbmZBcWZRNnhZbGtzVTBBVWliSm05MFh0SG4xaml3aVE2WmZTSGlyeG9Zc2lPVld5OFFybzlHQXJ0VUpUbEl1aldpc21DQzBBVGRQTldQNjhmUW9VWnl0UDZhWHdCakNmYnE1Z3VkcDhZc2xNSHdGTW1TOUlkUVQ1ajBHNDZuUFE4TXg0TGdmZEhCRFQ4akJicUJiYUs1UlF2NXh2dDJyOHNGTGwwQ2IyWGI1N1h5QzViMEpFalF2eTM5NThxNnRmOWNhMXFVdVhiTmdSY2FHWnIwd0ppY0tCM1F6aFBOanhBeFBSbEQ3YXlFTVYtcnNxdWl3TXJjTTREaWNUbnZZbEY1OU1vRXpEbTNTLUpLSDNUbUstMVUzUHE5SHZpSkRNV0JyNkVpZldkc0hYcDlmV2JUT2hRdk9uZ1NYc0d4TFpvUFdWdmw2VEhEZ0dObTNPMS1OTG42THhTeVpEamJxS3JMT01FXy0zcUxhMFZOTUNpQ2VmX1JRQnZKNzhlNENsb1EyYjhydkUwUkRRa0JBckFkVXgyNVV3VXZWY1dyVlJDSVM4MnVRaVhxazZ3aDA1QXdqYnlDQmFUMGRkVjJ0NG8zOHUxZ00yMlFEeEpKd01ObXQ0Q21VLW05UFNuLW5wWFhrZTlkcXlpSnI2WUl5OFFGQWNLaTJnQ0h2M29mYW5DT1Y4N203akRBTVhnLXI0OXJzamk0SU5BRElZdHNGQkQ4MmJyc00tS3ZRTWZFSzJ5OElnY2VvaDEwNTJUc2NkYm5QN2gzeGRxWHM1X3JWUVhBYzVudmdsLWtNWXlPVTFvV3NCbTRKRWZpNVFnS0t2cE44QnM5STVnWmdoZ0ctTjJSOVdLNDNmNU1ocmJkOGJQcXF0MDRSMTBxM21ueVpKakJVUXZiMWp6a1JNQjhCU25qYXhCb05sbGt1RWlDbE9KRVo0Ri1JamJYZXM5WXBZUkd0eVNZQklfeDhkcWt1NEROTFlyUkIzYWJCMnR2dDBDVzVWMVFpRjBVU015Ti1hTjFQM09pMTVWWldOMUt4ZHIxUnh0VGJLa1AwQS1sc3gzMlVWN3BhZ3I2X3NjQXFYTTFGaVB0cF80b2FzSHp5NGFvcnBMY0g1a2ZELV9VMDlWM3I1UkJyRDkwT3lLUTdNSmJ3SGtCS2RYNGQzTDV6SUMzM3NBVEJOV0RKeEhQcURYVG1Dc1JOY012SjM4WGVwWmNJY01fYkY2OHdON0JXVklMWVlPX3ZWa2NlYjZPcElsYzlIX2dSU3dUMy16NE9IaVFRWlItLUtTM25DNUVDYlJtYmJEVFhrUGx0NWUxT0VieFNCR0ZXU0VZNGpsRVJqV3lJaWg0UHhnOGtnQ0NtNEdtMHpFS29HOGtla2JMV1p2UEFFZ2VuMzZabm50RDROb19xWWtBcmF1SVBtaHFSa2dqM19tMnZRa0Z3ZVNpcHdrR0NxSG5mTHBrRzFEQXVPUDBpUVlHNkNBbzV0M2IyMG9nU1ZKb0hOeDJESUJFZGpSeHdJY096N090RURBaWY2NC02NFZCU0RLbHBfSVhiM2NnMDJQbXVJbFNGNHdUWnRtRFJ6WnRMNFZ5aU82c0VfS3VfTjNFLTlqTE8wMFdVVFpDQTl0VDNSd2JJVHM1LVF6cWNjWEpNNzdoVmFfbkF1c2ZjdmpTYm9rZlNpdFVSVGk1OHA5UFlxUUxjbTlIdDJESHZWakhtRWZYX3Vhd21rSWhnenM4bmhMMVJ2NHF1UEFtVnJ0cUJwc0Y5R2tmc1VybWdrelNoYzZxb1AyelBXdUl2eTljSkdHTmZBbUFJVWN5Njc3Qm9VbWJUX2UyM0RaNFZmaGYzUU16LVFKMG0zUzZQa090SVh0Z0tyWXFYdzI3VHBIUHNoM2xPdHZDamtkdkpqV0t5bWhlUXdkUENRS3lrVF91YU9ZYVpjUzRiVVRzY1JRTTZGdTdyMEVQVEsxYXpoTURnY1JWYzJVQjBQNDZ0aU9qaXVzVl92bURLdDlOVDdkdUNOTFkzSngzSGVVVnFlWmZWaDZFcks3a0Z2MVJ1UHBIa0YwcWVDclZHYWQ4T0Q2czc4R0lDWVQxWE1SbGxOcl85aUdvcU5IbHU2cTZDRnpneW1pWF9qdXh5Mkg5VUtwVGQ5b0JfRkxHMjBlY2dIcjlFNjlvdUNxQlpkdldrVEhfbURGbGpMRTVweE0yZ3VYTENNeU4xbmM5cU5qVTJQRTFoeVNRZ1BIRnVFX1dkUmdvdXZmcE9fRWE4djVob2JXYld6My1oc0h6V1BUeUZLOHhNdDVfUXEtYnRHU0ZwQU92V2ttRG1MejNHUE9RM2FTS0dWQTBqM1Bmd1dyc1FQSURCMGRSWDMtZU1OQXhZUEVwWWwyNmF6eS0wc1pvRWlkN0J6dnFVMzdfczVYOTdydllDNGdvcXdlUERyR1AzNGZjTVBnbmZUaVJTckdtSU5QblZjZkhYTkR2SlZBNHQ5ODFvNHVsZFZLdFVpYnI5UlVqbHlKb2lpb1RBT2FadWFZdGw1VWhMRzVNaWJXclJTWVJLRTBSNUVpM1FsMnY5VTQ0RVNrY0RIYWxIOEd1SXJ2WDBsMll5TXM2eC1NWlg0aU1ZcEJQVFZwa0x1a2k0V0VMQ08tSngyRi1ZOGhyNzBHUThxa01kU1duRldpejlTQWRLR0lKUHlIUy1XLUx0RVZ2cTg5ZFEyVGpnN1lxUFUxTkU4NXpGSkxiRTZwU2puT3hPWThkeUVDN0hMVkduNEIyT2tRc096RGRxaFBtNlVneHQ1aFY3YjE0anpnWkUtZkF3R19VSlpBU25EWEd3Tm5SMHE4cjNSWTVieHdydkI2SWxYYzlyVS1tUk1pRGR1NlllY0lDWnFHQUxjb3VVYXp4RlRmNVlDVVREZlMzaDdxVTZIVmlaY3ZPUzJEOEUtZ09zekxlYlA1U3FjS1VySVJkUVNKa0NSOVJ4a0JXVzNoeF9uX3Zva3hFUHdtZnVHYlpoWm5mWVVZcWdtVDFkNmNRcTBUQmpTVFk3NF9yUWVwZTdaWEpVaFctUGRzcWRiWUtGZkp0YlNyaGpQN3g0ZjJaODZ0UDFPOHdQSFYwOVlEZWZ0YmI2TUljZk1RWFVnWkVuS05EX2dra0tVaU5iNTQxZVBNQS1jRVJuVVUwTHB1U3I4S1owT0dVOFBvb21uY2paQWQ0MDdxS3FJNmRScjZZd3VCeEZ2TnJNdk1HSWwtWUdLUk12ZWs5d1A3NTMyM21UUjl6VVdrZzlWWmMxaldmZ2ktUFl6dDJwZEFPTENjd3lIUWpmZUxlTzdoQk5Mak9CbUNvOTJIZUM3Q1dQSm9hSUx2VzdEd1ZtLTBsQUJ4aGJKaVdpWWRlZGVxekg2aXRobHd6N1FIbDdaQjZybUNKcHpkSnZDVnJ3UnhrQnpfVlNXYWp5Z2lYU2RBT29TWVg1M0Y4THAyb3R5a0FYdndsYmF6T1pWZVVSR2VlLU1sMkE3OFppMDRQOUdQaXd4NURlWkZhdTRaYnYwNTZIZ182QVE1QkJOYVdxbTJBNXIwTEdpNWtMenlTNVVGc3RGZlpVRUh2eXVkdkdiWE9nMkxQZnJEaFU5YktGVU1FMzZwZkxPR05nYUkzei1tYmRCTTZCNkg1alNFM3JNYkp6MXpVV25NX0ExaHUtTjBYMEpKbWh0TW5uR2l5OW1ZMG5yenJ2cGJNU2hBNmFlWE1PcFNnTmFRLXpySWxiT1VUZlZvTHFseXJ0UXhQSG5ZUy1rVjFyNjdXbk9VRy5sWVQyVGpOQnJ4ZTlYUlRkZjRXcVJmWnpXeHdKa0dhYVhpczh0NUhjX0Rn"}' + headers: + Accept: + - application/json + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f610e2/fe6eb20ab4bc45a6bde5f4076950e552''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: no-cache + content-length: '643' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:08 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 409 + message: Conflict + url: https://mcpatinotest.vault.azure.net/secrets/restore?api-version=7.1 +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuT1pMb2JHeXpMRllKQXM2VEp2OVNmdllSNlVhUFhkY3o2MjBPd1FHWlR6M0o3bXR3aGVaWnlLNDJDajBLTlNPRi1EQjc5cFhWa0E4TnZSOV9YeVlwLVcxYW1WaVJQOGl4VElMakN6Mm1ldjZLb1laZU5La2hOZERWczFMWDBmSXJFUU9sT3BHbzZnd2hNa0dzeE5ucjdzZzRfVDRmQnFsNm5wVUpUMXBmeUU0SjVYRGF4c0tZOHJWNC1oUzJ2TUFwTmNXRUNoR045NXA1TldvaXBnSktNN01xbW1kTkY5SHVRU0ZDZWx0TXdvZjRHcEM3cE5zSEh0T25EU0Q5cjB2N1M1RUU3eE9DSTZ1Yk9DczlPZXRJR1d4ZEd0RHN6RjZMekZ3NHlHNlZjeERsR0ZfR0tHQjRvbVNQWllzdHVabjVCY0NVYzlOYm5Fc1RaVlR2STZaY3hBLlJLYlljbGpEdk4ya1BrTXJtVkZnUHcuejgySWdXYjFNMUptUXIwWWYzNzJldmdVWHdFcmx5eV9GTE1SQTRuQmd2WWsyU20yd3VNd3VfYkFxYVh3LUZBU2JYSl9BOXBPejhybXY0Tl9NaE9jOE1nSVE3WVBwMWNMYW42TmRNWThwdWIzQUtjYmJqUGhPaVNCTzVwREVPQmEyZWQ5dDNLU0hXVVRPaklVenlEOUYxcHJ4X0F1d3JFS3dVWm5lQVRaLU5iZlZ1dlcya2kyMEJyS1JiQ01YYUNjenJjVTlGb0RiNUdXUVhkeF9xekJhdHNkM0kxenlPNjlmTllIeGxEekVNd0tSZ1NXTnJXSE1vTHJWZmdCUm4tU0ZkR1R4LXZuMklvV1hkazcxdEV5YTMxMTNBeVlwYjJKcnoyLXlEVDhXRXBLRlQ0d2pwbmZBcWZRNnhZbGtzVTBBVWliSm05MFh0SG4xaml3aVE2WmZTSGlyeG9Zc2lPVld5OFFybzlHQXJ0VUpUbEl1aldpc21DQzBBVGRQTldQNjhmUW9VWnl0UDZhWHdCakNmYnE1Z3VkcDhZc2xNSHdGTW1TOUlkUVQ1ajBHNDZuUFE4TXg0TGdmZEhCRFQ4akJicUJiYUs1UlF2NXh2dDJyOHNGTGwwQ2IyWGI1N1h5QzViMEpFalF2eTM5NThxNnRmOWNhMXFVdVhiTmdSY2FHWnIwd0ppY0tCM1F6aFBOanhBeFBSbEQ3YXlFTVYtcnNxdWl3TXJjTTREaWNUbnZZbEY1OU1vRXpEbTNTLUpLSDNUbUstMVUzUHE5SHZpSkRNV0JyNkVpZldkc0hYcDlmV2JUT2hRdk9uZ1NYc0d4TFpvUFdWdmw2VEhEZ0dObTNPMS1OTG42THhTeVpEamJxS3JMT01FXy0zcUxhMFZOTUNpQ2VmX1JRQnZKNzhlNENsb1EyYjhydkUwUkRRa0JBckFkVXgyNVV3VXZWY1dyVlJDSVM4MnVRaVhxazZ3aDA1QXdqYnlDQmFUMGRkVjJ0NG8zOHUxZ00yMlFEeEpKd01ObXQ0Q21VLW05UFNuLW5wWFhrZTlkcXlpSnI2WUl5OFFGQWNLaTJnQ0h2M29mYW5DT1Y4N203akRBTVhnLXI0OXJzamk0SU5BRElZdHNGQkQ4MmJyc00tS3ZRTWZFSzJ5OElnY2VvaDEwNTJUc2NkYm5QN2gzeGRxWHM1X3JWUVhBYzVudmdsLWtNWXlPVTFvV3NCbTRKRWZpNVFnS0t2cE44QnM5STVnWmdoZ0ctTjJSOVdLNDNmNU1ocmJkOGJQcXF0MDRSMTBxM21ueVpKakJVUXZiMWp6a1JNQjhCU25qYXhCb05sbGt1RWlDbE9KRVo0Ri1JamJYZXM5WXBZUkd0eVNZQklfeDhkcWt1NEROTFlyUkIzYWJCMnR2dDBDVzVWMVFpRjBVU015Ti1hTjFQM09pMTVWWldOMUt4ZHIxUnh0VGJLa1AwQS1sc3gzMlVWN3BhZ3I2X3NjQXFYTTFGaVB0cF80b2FzSHp5NGFvcnBMY0g1a2ZELV9VMDlWM3I1UkJyRDkwT3lLUTdNSmJ3SGtCS2RYNGQzTDV6SUMzM3NBVEJOV0RKeEhQcURYVG1Dc1JOY012SjM4WGVwWmNJY01fYkY2OHdON0JXVklMWVlPX3ZWa2NlYjZPcElsYzlIX2dSU3dUMy16NE9IaVFRWlItLUtTM25DNUVDYlJtYmJEVFhrUGx0NWUxT0VieFNCR0ZXU0VZNGpsRVJqV3lJaWg0UHhnOGtnQ0NtNEdtMHpFS29HOGtla2JMV1p2UEFFZ2VuMzZabm50RDROb19xWWtBcmF1SVBtaHFSa2dqM19tMnZRa0Z3ZVNpcHdrR0NxSG5mTHBrRzFEQXVPUDBpUVlHNkNBbzV0M2IyMG9nU1ZKb0hOeDJESUJFZGpSeHdJY096N090RURBaWY2NC02NFZCU0RLbHBfSVhiM2NnMDJQbXVJbFNGNHdUWnRtRFJ6WnRMNFZ5aU82c0VfS3VfTjNFLTlqTE8wMFdVVFpDQTl0VDNSd2JJVHM1LVF6cWNjWEpNNzdoVmFfbkF1c2ZjdmpTYm9rZlNpdFVSVGk1OHA5UFlxUUxjbTlIdDJESHZWakhtRWZYX3Vhd21rSWhnenM4bmhMMVJ2NHF1UEFtVnJ0cUJwc0Y5R2tmc1VybWdrelNoYzZxb1AyelBXdUl2eTljSkdHTmZBbUFJVWN5Njc3Qm9VbWJUX2UyM0RaNFZmaGYzUU16LVFKMG0zUzZQa090SVh0Z0tyWXFYdzI3VHBIUHNoM2xPdHZDamtkdkpqV0t5bWhlUXdkUENRS3lrVF91YU9ZYVpjUzRiVVRzY1JRTTZGdTdyMEVQVEsxYXpoTURnY1JWYzJVQjBQNDZ0aU9qaXVzVl92bURLdDlOVDdkdUNOTFkzSngzSGVVVnFlWmZWaDZFcks3a0Z2MVJ1UHBIa0YwcWVDclZHYWQ4T0Q2czc4R0lDWVQxWE1SbGxOcl85aUdvcU5IbHU2cTZDRnpneW1pWF9qdXh5Mkg5VUtwVGQ5b0JfRkxHMjBlY2dIcjlFNjlvdUNxQlpkdldrVEhfbURGbGpMRTVweE0yZ3VYTENNeU4xbmM5cU5qVTJQRTFoeVNRZ1BIRnVFX1dkUmdvdXZmcE9fRWE4djVob2JXYld6My1oc0h6V1BUeUZLOHhNdDVfUXEtYnRHU0ZwQU92V2ttRG1MejNHUE9RM2FTS0dWQTBqM1Bmd1dyc1FQSURCMGRSWDMtZU1OQXhZUEVwWWwyNmF6eS0wc1pvRWlkN0J6dnFVMzdfczVYOTdydllDNGdvcXdlUERyR1AzNGZjTVBnbmZUaVJTckdtSU5QblZjZkhYTkR2SlZBNHQ5ODFvNHVsZFZLdFVpYnI5UlVqbHlKb2lpb1RBT2FadWFZdGw1VWhMRzVNaWJXclJTWVJLRTBSNUVpM1FsMnY5VTQ0RVNrY0RIYWxIOEd1SXJ2WDBsMll5TXM2eC1NWlg0aU1ZcEJQVFZwa0x1a2k0V0VMQ08tSngyRi1ZOGhyNzBHUThxa01kU1duRldpejlTQWRLR0lKUHlIUy1XLUx0RVZ2cTg5ZFEyVGpnN1lxUFUxTkU4NXpGSkxiRTZwU2puT3hPWThkeUVDN0hMVkduNEIyT2tRc096RGRxaFBtNlVneHQ1aFY3YjE0anpnWkUtZkF3R19VSlpBU25EWEd3Tm5SMHE4cjNSWTVieHdydkI2SWxYYzlyVS1tUk1pRGR1NlllY0lDWnFHQUxjb3VVYXp4RlRmNVlDVVREZlMzaDdxVTZIVmlaY3ZPUzJEOEUtZ09zekxlYlA1U3FjS1VySVJkUVNKa0NSOVJ4a0JXVzNoeF9uX3Zva3hFUHdtZnVHYlpoWm5mWVVZcWdtVDFkNmNRcTBUQmpTVFk3NF9yUWVwZTdaWEpVaFctUGRzcWRiWUtGZkp0YlNyaGpQN3g0ZjJaODZ0UDFPOHdQSFYwOVlEZWZ0YmI2TUljZk1RWFVnWkVuS05EX2dra0tVaU5iNTQxZVBNQS1jRVJuVVUwTHB1U3I4S1owT0dVOFBvb21uY2paQWQ0MDdxS3FJNmRScjZZd3VCeEZ2TnJNdk1HSWwtWUdLUk12ZWs5d1A3NTMyM21UUjl6VVdrZzlWWmMxaldmZ2ktUFl6dDJwZEFPTENjd3lIUWpmZUxlTzdoQk5Mak9CbUNvOTJIZUM3Q1dQSm9hSUx2VzdEd1ZtLTBsQUJ4aGJKaVdpWWRlZGVxekg2aXRobHd6N1FIbDdaQjZybUNKcHpkSnZDVnJ3UnhrQnpfVlNXYWp5Z2lYU2RBT29TWVg1M0Y4THAyb3R5a0FYdndsYmF6T1pWZVVSR2VlLU1sMkE3OFppMDRQOUdQaXd4NURlWkZhdTRaYnYwNTZIZ182QVE1QkJOYVdxbTJBNXIwTEdpNWtMenlTNVVGc3RGZlpVRUh2eXVkdkdiWE9nMkxQZnJEaFU5YktGVU1FMzZwZkxPR05nYUkzei1tYmRCTTZCNkg1alNFM3JNYkp6MXpVV25NX0ExaHUtTjBYMEpKbWh0TW5uR2l5OW1ZMG5yenJ2cGJNU2hBNmFlWE1PcFNnTmFRLXpySWxiT1VUZlZvTHFseXJ0UXhQSG5ZUy1rVjFyNjdXbk9VRy5sWVQyVGpOQnJ4ZTlYUlRkZjRXcVJmWnpXeHdKa0dhYVhpczh0NUhjX0Rn"}' + headers: + Accept: + - application/json + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f610e2/fe6eb20ab4bc45a6bde5f4076950e552","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '244' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/restore?api-version=7.1 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_deleted_secrets.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_deleted_secrets.yaml deleted file mode 100644 index 8fbffa6e1f87..000000000000 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_deleted_secrets.yaml +++ /dev/null @@ -1,1874 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret099e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer - or PoP token."}}' - headers: - cache-control: no-cache - content-length: '87' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:28 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", - resource="https://vault.azure.net" - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret099e4122d?api-version=7.1 -- request: - body: '{"value": "value0"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret099e4122d?api-version=7.1 - response: - body: - string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret099e4122d/fe1e7259a2c04f4ab64c4f9f3d0f285b","attributes":{"enabled":true,"created":1613673929,"updated":1613673929,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:28 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret099e4122d?api-version=7.1 -- request: - body: '{"value": "value1"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret199e4122d?api-version=7.1 - response: - body: - string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret199e4122d/6b43aa7753e74a0db457b3ffa6311163","attributes":{"enabled":true,"created":1613673929,"updated":1613673929,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:28 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret199e4122d?api-version=7.1 -- request: - body: '{"value": "value2"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret299e4122d?api-version=7.1 - response: - body: - string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret299e4122d/4c712c9cbdcc4499b56eec74a82ca652","attributes":{"enabled":true,"created":1613673929,"updated":1613673929,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:29 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret299e4122d?api-version=7.1 -- request: - body: '{"value": "value3"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret399e4122d?api-version=7.1 - response: - body: - string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret399e4122d/7dd492695bb1489dae1ad3271765715e","attributes":{"enabled":true,"created":1613673929,"updated":1613673929,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:29 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret399e4122d?api-version=7.1 -- request: - body: '{"value": "value4"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret499e4122d?api-version=7.1 - response: - body: - string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret499e4122d/41c5211b9b2b4e868814deb95b544e3f","attributes":{"enabled":true,"created":1613673930,"updated":1613673930,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:29 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret499e4122d?api-version=7.1 -- request: - body: '{"value": "value5"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret599e4122d?api-version=7.1 - response: - body: - string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret599e4122d/87a01760fc444f8cb7073dc4c47b5b56","attributes":{"enabled":true,"created":1613673930,"updated":1613673930,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:29 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret599e4122d?api-version=7.1 -- request: - body: '{"value": "value6"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret699e4122d?api-version=7.1 - response: - body: - string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret699e4122d/07ec1fcfd87b4e0b91c984759f5608e0","attributes":{"enabled":true,"created":1613673930,"updated":1613673930,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:29 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret699e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret299e4122d?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret299e4122d","deletedDate":1613673930,"scheduledPurgeDate":1621449930,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret299e4122d/4c712c9cbdcc4499b56eec74a82ca652","attributes":{"enabled":true,"created":1613673929,"updated":1613673929,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:29 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret299e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret299e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret299e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:29 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret299e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret299e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret299e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:31 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret299e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret299e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret299e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:33 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret299e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret299e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret299e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:36 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret299e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret299e4122d?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret299e4122d","deletedDate":1613673930,"scheduledPurgeDate":1621449930,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret299e4122d/4c712c9cbdcc4499b56eec74a82ca652","attributes":{"enabled":true,"created":1613673929,"updated":1613673929,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:38 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret299e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret399e4122d?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret399e4122d","deletedDate":1613673938,"scheduledPurgeDate":1621449938,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret399e4122d/7dd492695bb1489dae1ad3271765715e","attributes":{"enabled":true,"created":1613673929,"updated":1613673929,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:38 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret399e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret399e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret399e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:38 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret399e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret399e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret399e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:40 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret399e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret399e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret399e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:42 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret399e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret399e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret399e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:44 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret399e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret399e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret399e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:46 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret399e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret399e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret399e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:49 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret399e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret399e4122d?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret399e4122d","deletedDate":1613673938,"scheduledPurgeDate":1621449938,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret399e4122d/7dd492695bb1489dae1ad3271765715e","attributes":{"enabled":true,"created":1613673929,"updated":1613673929,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:51 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret399e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret599e4122d?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret599e4122d","deletedDate":1613673951,"scheduledPurgeDate":1621449951,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret599e4122d/87a01760fc444f8cb7073dc4c47b5b56","attributes":{"enabled":true,"created":1613673930,"updated":1613673930,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:51 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret599e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret599e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret599e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:51 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret599e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret599e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret599e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:53 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret599e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret599e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret599e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:55 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret599e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret599e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret599e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:57 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret599e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret599e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret599e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:45:59 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret599e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret599e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret599e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:01 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret599e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret599e4122d?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret599e4122d","deletedDate":1613673951,"scheduledPurgeDate":1621449951,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret599e4122d/87a01760fc444f8cb7073dc4c47b5b56","attributes":{"enabled":true,"created":1613673930,"updated":1613673930,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:03 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret599e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret199e4122d?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret199e4122d","deletedDate":1613673963,"scheduledPurgeDate":1621449963,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret199e4122d/6b43aa7753e74a0db457b3ffa6311163","attributes":{"enabled":true,"created":1613673929,"updated":1613673929,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:03 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret199e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret199e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret199e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:03 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret199e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret199e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret199e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:05 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret199e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret199e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret199e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:07 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret199e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret199e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret199e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:10 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret199e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret199e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret199e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:12 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret199e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret199e4122d?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret199e4122d","deletedDate":1613673963,"scheduledPurgeDate":1621449963,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret199e4122d/6b43aa7753e74a0db457b3ffa6311163","attributes":{"enabled":true,"created":1613673929,"updated":1613673929,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:13 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret199e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret699e4122d?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret699e4122d","deletedDate":1613673974,"scheduledPurgeDate":1621449974,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret699e4122d/07ec1fcfd87b4e0b91c984759f5608e0","attributes":{"enabled":true,"created":1613673930,"updated":1613673930,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:14 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret699e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret699e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret699e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:14 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret699e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret699e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret699e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:15 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret699e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret699e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret699e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:17 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret699e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret699e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret699e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:19 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret699e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret699e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret699e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:21 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret699e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret699e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret699e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:23 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret699e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret699e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret699e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:25 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret699e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret699e4122d?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret699e4122d","deletedDate":1613673974,"scheduledPurgeDate":1621449974,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret699e4122d/07ec1fcfd87b4e0b91c984759f5608e0","attributes":{"enabled":true,"created":1613673930,"updated":1613673930,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:27 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret699e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret499e4122d?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret499e4122d","deletedDate":1613673988,"scheduledPurgeDate":1621449988,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret499e4122d/41c5211b9b2b4e868814deb95b544e3f","attributes":{"enabled":true,"created":1613673930,"updated":1613673930,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:27 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret499e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret499e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret499e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:27 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret499e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret499e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret499e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:30 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret499e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret499e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret499e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:32 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret499e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret499e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret499e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:34 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret499e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret499e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret499e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:36 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret499e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret499e4122d?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret499e4122d","deletedDate":1613673988,"scheduledPurgeDate":1621449988,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret499e4122d/41c5211b9b2b4e868814deb95b544e3f","attributes":{"enabled":true,"created":1613673930,"updated":1613673930,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:38 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret499e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret099e4122d?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret099e4122d","deletedDate":1613673999,"scheduledPurgeDate":1621449999,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret099e4122d/fe1e7259a2c04f4ab64c4f9f3d0f285b","attributes":{"enabled":true,"created":1613673929,"updated":1613673929,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:38 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret099e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret099e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret099e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:38 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret099e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret099e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret099e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:40 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret099e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret099e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret099e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:42 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret099e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret099e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret099e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:44 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret099e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret099e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret099e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:46 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret099e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret099e4122d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret099e4122d"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:48 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret099e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret099e4122d?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret099e4122d","deletedDate":1613673999,"scheduledPurgeDate":1621449999,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret099e4122d/fe1e7259a2c04f4ab64c4f9f3d0f285b","attributes":{"enabled":true,"created":1613673929,"updated":1613673929,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:50 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret099e4122d?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1 - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret099e4122d","deletedDate":1613673999,"scheduledPurgeDate":1621449999,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret099e4122d","attributes":{"enabled":true,"created":1613673929,"updated":1613673929,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret199e4122d","deletedDate":1613673963,"scheduledPurgeDate":1621449963,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret199e4122d","attributes":{"enabled":true,"created":1613673929,"updated":1613673929,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret299e4122d","deletedDate":1613673930,"scheduledPurgeDate":1621449930,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret299e4122d","attributes":{"enabled":true,"created":1613673929,"updated":1613673929,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret399e4122d","deletedDate":1613673938,"scheduledPurgeDate":1621449938,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret399e4122d","attributes":{"enabled":true,"created":1613673929,"updated":1613673929,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret499e4122d","deletedDate":1613673988,"scheduledPurgeDate":1621449988,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret499e4122d","attributes":{"enabled":true,"created":1613673930,"updated":1613673930,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret599e4122d","deletedDate":1613673951,"scheduledPurgeDate":1621449951,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret599e4122d","attributes":{"enabled":true,"created":1613673930,"updated":1613673930,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret699e4122d","deletedDate":1613673974,"scheduledPurgeDate":1621449974,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret699e4122d","attributes":{"enabled":true,"created":1613673930,"updated":1613673930,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' - headers: - cache-control: no-cache - content-length: '2540' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:50 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets?api-version=7.1 -version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_deleted_secrets_2016_10_01.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_deleted_secrets_2016_10_01.yaml new file mode 100644 index 000000000000..e872c65b71c9 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_deleted_secrets_2016_10_01.yaml @@ -0,0 +1,3044 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret0723a14d5?api-version=2016-10-01 +- request: + body: '{"value": "value0"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5?api-version=2016-10-01 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5/74e5cb10023d47b3b3b34e04b756e1fe","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret0723a14d5?api-version=2016-10-01 +- request: + body: '{"value": "value1"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5?api-version=2016-10-01 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5/7ee866d9b81a4253bb0763cdd394f74c","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret1723a14d5?api-version=2016-10-01 +- request: + body: '{"value": "value2"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5?api-version=2016-10-01 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5/749d75bcbc314239bda4c37eedb48e61","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret2723a14d5?api-version=2016-10-01 +- request: + body: '{"value": "value3"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5?api-version=2016-10-01 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5/ac11574015c440ad894b2155bdd1b5d8","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret3723a14d5?api-version=2016-10-01 +- request: + body: '{"value": "value4"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5?api-version=2016-10-01 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5/02bc79e979354701914e8943c330828e","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret4723a14d5?api-version=2016-10-01 +- request: + body: '{"value": "value5"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5?api-version=2016-10-01 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5/510e3840b646405b8f0fd1296af1630e","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret5723a14d5?api-version=2016-10-01 +- request: + body: '{"value": "value6"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5?api-version=2016-10-01 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5/a809b268b1ed4b0486b57068bcf45b2b","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret6723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5","deletedDate":1618953636,"scheduledPurgeDate":1626729636,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5/510e3840b646405b8f0fd1296af1630e","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret5723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:36 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:38 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:42 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:52 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:20:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5","deletedDate":1618953636,"scheduledPurgeDate":1626729636,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5/510e3840b646405b8f0fd1296af1630e","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5","deletedDate":1618953672,"scheduledPurgeDate":1626729672,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5/749d75bcbc314239bda4c37eedb48e61","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret2723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:16 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:18 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:23 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:25 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5","deletedDate":1618953672,"scheduledPurgeDate":1626729672,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5/749d75bcbc314239bda4c37eedb48e61","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5/a809b268b1ed4b0486b57068bcf45b2b","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret6723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:37 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:39 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:51 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5/a809b268b1ed4b0486b57068bcf45b2b","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:53 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5/02bc79e979354701914e8943c330828e","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:53 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret4723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:53 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5/02bc79e979354701914e8943c330828e","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5/ac11574015c440ad894b2155bdd1b5d8","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret3723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:17 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:19 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:21 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:23 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:25 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5/ac11574015c440ad894b2155bdd1b5d8","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5/74e5cb10023d47b3b3b34e04b756e1fe","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret0723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:36 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:38 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:42 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:51 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5/74e5cb10023d47b3b3b34e04b756e1fe","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:53 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5/7ee866d9b81a4253bb0763cdd394f74c","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:53 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret1723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:53 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:00 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:02 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:04 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:06 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1723a14d5"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:08 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5/7ee866d9b81a4253bb0763cdd394f74c","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZCTkVORk1UbEVSUzgzUTBVMlEwUTBNRVkzUVRrMFJVVTBPRUpETWpZek5ETkZOamN3TmpneU9TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '1643' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZCTkVORk1UbEVSUzgzUTBVMlEwUTBNRVkzUVRrMFJVVTBPRUpETWpZek5ETkZOamN3TmpneU9TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861","deletedDate":1618953267,"scheduledPurgeDate":1626729267,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '1921' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZCTkVORk1UbEVSUzgzUTBVMlEwUTBNRVkzUVRrMFJVVTBPRUpETWpZek5ETkZOamN3TmpneU9TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352","deletedDate":1618953674,"scheduledPurgeDate":1626729674,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qVTJPVFl4UXpaRkx6ZEVNVEl6UWtNME9FWkdPVFEzUlVFNVJFRTJORU0wTVVVd1EwTkJNa0k1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '1395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qVTJPVFl4UXpaRkx6ZEVNVEl6UWtNME9FWkdPVFEzUlVFNVJFRTJORU0wTVVVd1EwTkJNa0k1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5","deletedDate":1618953672,"scheduledPurgeDate":1626729672,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '1336' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qVTJPVFl4UXpaRkx6ZEVNVEl6UWtNME9FWkdPVFEzUlVFNVJFRTJORU0wTVVVd1EwTkJNa0k1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5","deletedDate":1618953636,"scheduledPurgeDate":1626729636,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UY3lNMEV4TkVRMUx6VXhNRVV6T0RRd1FqWTBOalF3TlVJNFJqQkdSREV5T1RaQlJqRTJNekJGSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '1395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UY3lNMEV4TkVRMUx6VXhNRVV6T0RRd1FqWTBOalF3TlVJNFJqQkdSREV5T1RaQlJqRTJNekJGSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTJNVUV4T0RaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '1336' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UY3lNMEV4TkVRMUx6VXhNRVV6T0RRd1FqWTBOalF3TlVJNFJqQkdSREV5T1RaQlJqRTJNekJGSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTJNVUV4T0RaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '28' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTJNVUV4T0RaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_deleted_secrets_7_0.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_deleted_secrets_7_0.yaml new file mode 100644 index 000000000000..bc9e11ce58d1 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_deleted_secrets_7_0.yaml @@ -0,0 +1,2744 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret0e5a71352?api-version=7.0 +- request: + body: '{"value": "value0"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352?api-version=7.0 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352/8ea4c287e4f5415bba6d708dbda41acb","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret0e5a71352?api-version=7.0 +- request: + body: '{"value": "value1"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352?api-version=7.0 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352/e68a3912d91b4133bf5ba1fb3c8cb23b","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret1e5a71352?api-version=7.0 +- request: + body: '{"value": "value2"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352?api-version=7.0 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352/e0a44d815c2741dfabceab37091a8fb1","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret2e5a71352?api-version=7.0 +- request: + body: '{"value": "value3"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a71352?api-version=7.0 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a71352/e283aad82b7d4901ab18cb9a52826942","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret3e5a71352?api-version=7.0 +- request: + body: '{"value": "value4"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352?api-version=7.0 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352/74fd02c62c98455a8fc163121e1d94c9","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret4e5a71352?api-version=7.0 +- request: + body: '{"value": "value5"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352?api-version=7.0 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352/f53513f82c494248b8777210d8cea4ea","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret5e5a71352?api-version=7.0 +- request: + body: '{"value": "value6"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352?api-version=7.0 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352/9c46e731248443edb5690f2ae6ad395c","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret6e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352","deletedDate":1618953674,"scheduledPurgeDate":1626729674,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352/e68a3912d91b4133bf5ba1fb3c8cb23b","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret1e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:16 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:18 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:24 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352","deletedDate":1618953674,"scheduledPurgeDate":1626729674,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352/e68a3912d91b4133bf5ba1fb3c8cb23b","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352/e0a44d815c2741dfabceab37091a8fb1","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret2e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:36 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:38 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:39 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352/e0a44d815c2741dfabceab37091a8fb1","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:52 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352/f53513f82c494248b8777210d8cea4ea","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:52 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret5e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:52 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:21:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352/f53513f82c494248b8777210d8cea4ea","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352/8ea4c287e4f5415bba6d708dbda41acb","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret0e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:16 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:18 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:23 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:25 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352/8ea4c287e4f5415bba6d708dbda41acb","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352/9c46e731248443edb5690f2ae6ad395c","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret6e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:36 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:38 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:42 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:47 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:51 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352/9c46e731248443edb5690f2ae6ad395c","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:53 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352/74fd02c62c98455a8fc163121e1d94c9","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:53 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret4e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:53 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:22:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:04 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:06 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352/74fd02c62c98455a8fc163121e1d94c9","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a71352?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352","deletedDate":1618953791,"scheduledPurgeDate":1626729791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a71352/e283aad82b7d4901ab18cb9a52826942","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret3e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:17 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:19 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:21 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:23 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e5a71352"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:25 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352","deletedDate":1618953791,"scheduledPurgeDate":1626729791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a71352/e283aad82b7d4901ab18cb9a52826942","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZCTkVORk1UbEVSUzgzUTBVMlEwUTBNRVkzUVRrMFJVVTBPRUpETWpZek5ETkZOamN3TmpneU9TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '1636' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZCTkVORk1UbEVSUzgzUTBVMlEwUTBNRVkzUVRrMFJVVTBPRUpETWpZek5ETkZOamN3TmpneU9TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861","deletedDate":1618953267,"scheduledPurgeDate":1626729267,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '1914' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZCTkVORk1UbEVSUzgzUTBVMlEwUTBNRVkzUVRrMFJVVTBPRUpETWpZek5ETkZOamN3TmpneU9TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352","deletedDate":1618953674,"scheduledPurgeDate":1626729674,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VWTJNVUV4T0RaRkwwVTJPVFpHTlVFM09EYzNSVFExT0VZNVF6SkRRalpEUWpVMk5UY3pNRGcxSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '1388' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VWTJNVUV4T0RaRkwwVTJPVFpHTlVFM09EYzNSVFExT0VZNVF6SkRRalpEUWpVMk5UY3pNRGcxSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5","deletedDate":1618953672,"scheduledPurgeDate":1626729672,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16azBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '1329' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VWTJNVUV4T0RaRkwwVTJPVFpHTlVFM09EYzNSVFExT0VZNVF6SkRRalpEUWpVMk5UY3pNRGcxSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16azBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352","deletedDate":1618953791,"scheduledPurgeDate":1626729791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTFRVGN4TXpVeUx6YzBSa1F3TWtNMk1rTTVPRFExTlVFNFJrTXhOak14TWpGRk1VUTVORU01SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '1388' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16azBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTFRVGN4TXpVeUx6YzBSa1F3TWtNMk1rTTVPRFExTlVFNFJrTXhOak14TWpGRk1VUTVORU01SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5","deletedDate":1618953636,"scheduledPurgeDate":1626729636,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '987' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTFRVGN4TXpVeUx6YzBSa1F3TWtNMk1rTTVPRFExTlVFNFJrTXhOak14TWpGRk1VUTVORU01SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '711' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_deleted_secrets_7_1.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_deleted_secrets_7_1.yaml new file mode 100644 index 000000000000..862f93d02e2d --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_deleted_secrets_7_1.yaml @@ -0,0 +1,3253 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret0e5a81353?api-version=7.1 +- request: + body: '{"value": "value0"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a81353?api-version=7.1 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a81353/9417bd66e86343f7a184edb540e195a9","attributes":{"enabled":true,"created":1618953793,"updated":1618953793,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '262' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret0e5a81353?api-version=7.1 +- request: + body: '{"value": "value1"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a81353?api-version=7.1 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a81353/4f7a44d9934f481796f9889bc0992281","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '262' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret1e5a81353?api-version=7.1 +- request: + body: '{"value": "value2"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a81353?api-version=7.1 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a81353/0b04f85963d04d0091a894ada0c47a33","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '262' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret2e5a81353?api-version=7.1 +- request: + body: '{"value": "value3"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a81353?api-version=7.1 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a81353/54569bd2b76a45d5b9a04815de479942","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '262' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret3e5a81353?api-version=7.1 +- request: + body: '{"value": "value4"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a81353?api-version=7.1 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a81353/aa2cc4602b3e48d5a1f3319ee5056fae","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '262' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret4e5a81353?api-version=7.1 +- request: + body: '{"value": "value5"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a81353?api-version=7.1 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a81353/8b14c582cc9e42b4938339007031037d","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '262' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret5e5a81353?api-version=7.1 +- request: + body: '{"value": "value6"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a81353?api-version=7.1 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a81353/7f935391a794468d8a327afddf60f297","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '262' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret6e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a81353?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353","deletedDate":1618953795,"scheduledPurgeDate":1626729795,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a81353/4f7a44d9934f481796f9889bc0992281","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret1e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:17 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:19 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:24 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:26 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:30 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:32 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:36 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:38 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:42 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353","deletedDate":1618953795,"scheduledPurgeDate":1626729795,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a81353/4f7a44d9934f481796f9889bc0992281","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a81353?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353","deletedDate":1618953829,"scheduledPurgeDate":1626729829,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a81353/9417bd66e86343f7a184edb540e195a9","attributes":{"enabled":true,"created":1618953793,"updated":1618953793,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret0e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:51 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:00 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:02 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:04 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:06 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:08 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353","deletedDate":1618953829,"scheduledPurgeDate":1626729829,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a81353/9417bd66e86343f7a184edb540e195a9","attributes":{"enabled":true,"created":1618953793,"updated":1618953793,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a81353?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353","deletedDate":1618953855,"scheduledPurgeDate":1626729855,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a81353/54569bd2b76a45d5b9a04815de479942","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret3e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:17 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:24 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:26 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:30 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:32 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:36 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:38 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353","deletedDate":1618953855,"scheduledPurgeDate":1626729855,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a81353/54569bd2b76a45d5b9a04815de479942","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a81353?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353","deletedDate":1618953881,"scheduledPurgeDate":1626729881,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a81353/aa2cc4602b3e48d5a1f3319ee5056fae","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret4e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:43 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:45 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:47 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:51 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:53 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353","deletedDate":1618953881,"scheduledPurgeDate":1626729881,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a81353/aa2cc4602b3e48d5a1f3319ee5056fae","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a81353?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a81353/0b04f85963d04d0091a894ada0c47a33","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret2e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a81353/0b04f85963d04d0091a894ada0c47a33","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a81353?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353","deletedDate":1618953916,"scheduledPurgeDate":1626729916,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a81353/8b14c582cc9e42b4938339007031037d","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:16 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret5e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:16 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:18 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:24 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:37 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353","deletedDate":1618953916,"scheduledPurgeDate":1626729916,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a81353/8b14c582cc9e42b4938339007031037d","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a81353?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a81353/7f935391a794468d8a327afddf60f297","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret6e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:42 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:52 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e5a81353"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a81353/7f935391a794468d8a327afddf60f297","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:04 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TTBJMk1VRkVPQzh3UTBVd1FqVXpNemc0UkRNME9UVXpRVUkzTlRrNFJUVXhPVGRETnpNeE5TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '811' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:04 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TTBJMk1VRkVPQzh3UTBVd1FqVXpNemc0UkRNME9UVXpRVUkzTlRrNFJUVXhPVGRETnpNeE5TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNME1UZzJNU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: no-cache + content-length: '2084' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:04 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TTBJMk1VRkVPQzh3UTBVd1FqVXpNemc0UkRNME9UVXpRVUkzTlRrNFJUVXhPVGRETnpNeE5TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNME1UZzJNU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861","deletedDate":1618953267,"scheduledPurgeDate":1626729267,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04a010eae","attributes":{"enabled":true,"created":1618953819,"updated":1618953819,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353","deletedDate":1618953829,"scheduledPurgeDate":1626729829,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a81353","attributes":{"enabled":true,"created":1618953793,"updated":1618953793,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae","deletedDate":1618953880,"scheduledPurgeDate":1626729880,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UVTJPVFl4UXpaRkx6ZzBSVVV4UTBSRFFqWTRRVFExT0RKQk9EZ3dNVFZCTkRVd01FWTRPVEJFSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '2621' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:04 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNME1UZzJNU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UVTJPVFl4UXpaRkx6ZzBSVVV4UTBSRFFqWTRRVFExT0RKQk9EZ3dNVFZCTkRVd01FWTRPVEJFSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352","deletedDate":1618953674,"scheduledPurgeDate":1626729674,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353","deletedDate":1618953795,"scheduledPurgeDate":1626729795,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae","deletedDate":1618953856,"scheduledPurgeDate":1626729856,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5","deletedDate":1618953672,"scheduledPurgeDate":1626729672,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '2118' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UVTJPVFl4UXpaRkx6ZzBSVVV4UTBSRFFqWTRRVFExT0RKQk9EZ3dNVFZCTkRVd01FWTRPVEJFSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae","deletedDate":1618953917,"scheduledPurgeDate":1626729917,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352","deletedDate":1618953791,"scheduledPurgeDate":1626729791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTFRVGN4TXpVeUwwVXlPRE5CUVVRNE1rSTNSRFE1TURGQlFqRTRRMEk1UVRVeU9ESTJPVFF5SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '2177' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTFRVGN4TXpVeUwwVXlPRE5CUVVRNE1rSTNSRFE1TURGQlFqRTRRMEk1UVRVeU9ESTJPVFF5SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353","deletedDate":1618953855,"scheduledPurgeDate":1626729855,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353","deletedDate":1618953881,"scheduledPurgeDate":1626729881,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '2118' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTFRVGN4TXpVeUwwVXlPRE5CUVVRNE1rSTNSRFE1TURGQlFqRTRRMEk1UVRVeU9ESTJPVFF5SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5","deletedDate":1618953636,"scheduledPurgeDate":1626729636,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353","deletedDate":1618953916,"scheduledPurgeDate":1626729916,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae","deletedDate":1618953821,"scheduledPurgeDate":1626729821,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qVTJPVFl4UXpaRkx6TXhPVEU1TTBGRE4wSTROelF4TjBJNU1EQkdSVGMwTURFMU5Ua3dRakkySVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '1814' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qVTJPVFl4UXpaRkx6TXhPVEU1TTBGRE4wSTROelF4TjBJNU1EQkdSVGMwTURFMU5Ua3dRakkySVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '1116' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:06 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qVTJPVFl4UXpaRkx6TXhPVEU1TTBGRE4wSTROelF4TjBJNU1EQkdSVGMwTURFMU5Ua3dRakkySVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_versions.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_versions.yaml deleted file mode 100644 index 18009c7c8716..000000000000 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_versions.yaml +++ /dev/null @@ -1,327 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsec24c80f77?api-version=7.1 - response: - body: - string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer - or PoP token."}}' - headers: - cache-control: no-cache - content-length: '87' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:51 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", - resource="https://vault.azure.net" - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsec24c80f77?api-version=7.1 -- request: - body: '{"value": "secVal"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsec24c80f77?api-version=7.1 - response: - body: - string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec24c80f77/622f1834ee9447ab906516f635750056","attributes":{"enabled":true,"created":1613674012,"updated":1613674012,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '256' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:51 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsec24c80f77?api-version=7.1 -- request: - body: '{"value": "secVal"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsec24c80f77?api-version=7.1 - response: - body: - string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec24c80f77/588ba585766541fd8b748e82f11122cb","attributes":{"enabled":true,"created":1613674012,"updated":1613674012,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '256' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:52 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsec24c80f77?api-version=7.1 -- request: - body: '{"value": "secVal"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsec24c80f77?api-version=7.1 - response: - body: - string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec24c80f77/2cb5e7d7f2ee4ab6a1826e72e7488c76","attributes":{"enabled":true,"created":1613674012,"updated":1613674012,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '256' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:52 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsec24c80f77?api-version=7.1 -- request: - body: '{"value": "secVal"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsec24c80f77?api-version=7.1 - response: - body: - string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec24c80f77/dd89f1bbb48f4c7e8f5405bab5f868ae","attributes":{"enabled":true,"created":1613674012,"updated":1613674012,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '256' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:52 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsec24c80f77?api-version=7.1 -- request: - body: '{"value": "secVal"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsec24c80f77?api-version=7.1 - response: - body: - string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec24c80f77/e594e111c49549a9b7ac74fcdb439447","attributes":{"enabled":true,"created":1613674012,"updated":1613674012,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '256' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:52 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsec24c80f77?api-version=7.1 -- request: - body: '{"value": "secVal"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsec24c80f77?api-version=7.1 - response: - body: - string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec24c80f77/a3920fb3560c4cc3ba34576528d540c3","attributes":{"enabled":true,"created":1613674013,"updated":1613674013,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '256' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:52 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsec24c80f77?api-version=7.1 -- request: - body: '{"value": "secVal"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsec24c80f77?api-version=7.1 - response: - body: - string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec24c80f77/70cb3feec2054a9181a208157319ed7d","attributes":{"enabled":true,"created":1613674013,"updated":1613674013,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '256' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:53 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsec24c80f77?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsec24c80f77/versions?api-version=7.1&maxresults=6 - response: - body: - string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec24c80f77/2cb5e7d7f2ee4ab6a1826e72e7488c76","attributes":{"enabled":true,"created":1613674012,"updated":1613674012,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec24c80f77/588ba585766541fd8b748e82f11122cb","attributes":{"enabled":true,"created":1613674012,"updated":1613674012,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec24c80f77/622f1834ee9447ab906516f635750056","attributes":{"enabled":true,"created":1613674012,"updated":1613674012,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec24c80f77/70cb3feec2054a9181a208157319ed7d","attributes":{"enabled":true,"created":1613674013,"updated":1613674013,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec24c80f77/a3920fb3560c4cc3ba34576528d540c3","attributes":{"enabled":true,"created":1613674013,"updated":1613674013,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec24c80f77/dd89f1bbb48f4c7e8f5405bab5f868ae","attributes":{"enabled":true,"created":1613674012,"updated":1613674012,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets/livekvtestsec24c80f77/versions?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETWpSRE9EQkdOemN2UlRVNU5FVXhNVEZETkRrMU5EbEJPVUkzUVVNM05FWkRSRUkwTXprME5EY2hNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' - headers: - cache-control: no-cache - content-length: '1826' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:53 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsec24c80f77/versions?api-version=7.1&maxresults=6 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net:443/secrets/livekvtestsec24c80f77/versions?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETWpSRE9EQkdOemN2UlRVNU5FVXhNVEZETkRrMU5EbEJPVUkzUVVNM05FWkRSRUkwTXprME5EY2hNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 - response: - body: - string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec24c80f77/e594e111c49549a9b7ac74fcdb439447","attributes":{"enabled":true,"created":1613674012,"updated":1613674012,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' - headers: - cache-control: no-cache - content-length: '267' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:53 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net:443/secrets/livekvtestsec24c80f77/versions?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETWpSRE9EQkdOemN2UlRVNU5FVXhNVEZETkRrMU5EbEJPVUkzUVVNM05FWkRSRUkwTXprME5EY2hNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 -version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_versions_2016_10_01.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_versions_2016_10_01.yaml new file mode 100644 index 000000000000..18b66fa43ec0 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_versions_2016_10_01.yaml @@ -0,0 +1,327 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecdf3d121f?api-version=2016-10-01 +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f?api-version=2016-10-01 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f/bb2df6d76d7d4590a11af48e33a22680","attributes":{"enabled":true,"created":1618953811,"updated":1618953811,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '237' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:30 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecdf3d121f?api-version=2016-10-01 +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f?api-version=2016-10-01 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f/567e47b87a924f208d271c1f0a43600c","attributes":{"enabled":true,"created":1618953811,"updated":1618953811,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '237' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecdf3d121f?api-version=2016-10-01 +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f?api-version=2016-10-01 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f/60f3b5531377402baa66a73abdcb7f9b","attributes":{"enabled":true,"created":1618953812,"updated":1618953812,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '237' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecdf3d121f?api-version=2016-10-01 +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f?api-version=2016-10-01 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f/6bbe9025c5f9400b95b38a9586d28918","attributes":{"enabled":true,"created":1618953812,"updated":1618953812,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '237' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:32 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecdf3d121f?api-version=2016-10-01 +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f?api-version=2016-10-01 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f/ac35586852dd4ddca584b957c6580d80","attributes":{"enabled":true,"created":1618953813,"updated":1618953813,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '237' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:32 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecdf3d121f?api-version=2016-10-01 +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f?api-version=2016-10-01 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f/da6f65b5ad5f4d259c5c550cb53bffb1","attributes":{"enabled":true,"created":1618953813,"updated":1618953813,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '237' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecdf3d121f?api-version=2016-10-01 +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f?api-version=2016-10-01 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f/984307fb71d4419089d0c19c54d5f1aa","attributes":{"enabled":true,"created":1618953814,"updated":1618953814,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '237' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecdf3d121f?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f/versions?maxresults=6&api-version=2016-10-01 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f/567e47b87a924f208d271c1f0a43600c","attributes":{"enabled":true,"created":1618953811,"updated":1618953811,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f/60f3b5531377402baa66a73abdcb7f9b","attributes":{"enabled":true,"created":1618953812,"updated":1618953812,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f/6bbe9025c5f9400b95b38a9586d28918","attributes":{"enabled":true,"created":1618953812,"updated":1618953812,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f/984307fb71d4419089d0c19c54d5f1aa","attributes":{"enabled":true,"created":1618953814,"updated":1618953814,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f/ac35586852dd4ddca584b957c6580d80","attributes":{"enabled":true,"created":1618953813,"updated":1618953813,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f/bb2df6d76d7d4590a11af48e33a22680","attributes":{"enabled":true,"created":1618953811,"updated":1618953811,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets/livekvtestsecdf3d121f/versions?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEUkVZelJERXlNVVl2UkVFMlJqWTFRalZCUkRWR05FUXlOVGxETlVNMU5UQkRRalV6UWtaR1FqRWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1721' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecdf3d121f/versions?maxresults=6&api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets/livekvtestsecdf3d121f/versions?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEUkVZelJERXlNVVl2UkVFMlJqWTFRalZCUkRWR05FUXlOVGxETlVNMU5UQkRRalV6UWtaR1FqRWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f/da6f65b5ad5f4d259c5c550cb53bffb1","attributes":{"enabled":true,"created":1618953813,"updated":1618953813,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '248' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets/livekvtestsecdf3d121f/versions?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEUkVZelJERXlNVVl2UkVFMlJqWTFRalZCUkRWR05FUXlOVGxETlVNMU5UQkRRalV6UWtaR1FqRWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_versions_7_0.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_versions_7_0.yaml new file mode 100644 index 000000000000..6d3425f2d41e --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_versions_7_0.yaml @@ -0,0 +1,327 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c?api-version=7.0 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:06 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec65b3109c?api-version=7.0 +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c?api-version=7.0 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c/f41c12333ab54eaa9718915f847e1fa2","attributes":{"enabled":true,"created":1618953967,"updated":1618953967,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '237' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec65b3109c?api-version=7.0 +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c?api-version=7.0 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c/aa61ba1b7d6a441f92f1d2deef01dbe2","attributes":{"enabled":true,"created":1618953967,"updated":1618953967,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '237' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec65b3109c?api-version=7.0 +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c?api-version=7.0 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c/95fae041b8954955b93817b0494b63c3","attributes":{"enabled":true,"created":1618953967,"updated":1618953967,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '237' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec65b3109c?api-version=7.0 +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c?api-version=7.0 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c/d20daab66ff44e5f81e340f0976a2e8c","attributes":{"enabled":true,"created":1618953968,"updated":1618953968,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '237' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec65b3109c?api-version=7.0 +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c?api-version=7.0 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c/e281fa5467254677bb38728b4804673e","attributes":{"enabled":true,"created":1618953968,"updated":1618953968,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '237' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:08 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec65b3109c?api-version=7.0 +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c?api-version=7.0 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c/3d38b6f1c20e42b3bf9a862a9567cd26","attributes":{"enabled":true,"created":1618953968,"updated":1618953968,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '237' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:08 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec65b3109c?api-version=7.0 +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c?api-version=7.0 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c/b501c81421534c3f80e3c1d1b887b3ba","attributes":{"enabled":true,"created":1618953969,"updated":1618953969,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '237' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:08 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec65b3109c?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c/versions?api-version=7.0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c/3d38b6f1c20e42b3bf9a862a9567cd26","attributes":{"enabled":true,"created":1618953968,"updated":1618953968,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c/95fae041b8954955b93817b0494b63c3","attributes":{"enabled":true,"created":1618953967,"updated":1618953967,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c/aa61ba1b7d6a441f92f1d2deef01dbe2","attributes":{"enabled":true,"created":1618953967,"updated":1618953967,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c/b501c81421534c3f80e3c1d1b887b3ba","attributes":{"enabled":true,"created":1618953969,"updated":1618953969,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c/d20daab66ff44e5f81e340f0976a2e8c","attributes":{"enabled":true,"created":1618953968,"updated":1618953968,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c/e281fa5467254677bb38728b4804673e","attributes":{"enabled":true,"created":1618953968,"updated":1618953968,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets/livekvtestsec65b3109c/versions?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmpWQ016RXdPVU12UmpReFF6RXlNek16UVVJMU5FVkJRVGszTVRnNU1UVkdPRFEzUlRGR1FUSWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1714' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec65b3109c/versions?api-version=7.0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets/livekvtestsec65b3109c/versions?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmpWQ016RXdPVU12UmpReFF6RXlNek16UVVJMU5FVkJRVGszTVRnNU1UVkdPRFEzUlRGR1FUSWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c/f41c12333ab54eaa9718915f847e1fa2","attributes":{"enabled":true,"created":1618953967,"updated":1618953967,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '248' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets/livekvtestsec65b3109c/versions?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmpWQ016RXdPVU12UmpReFF6RXlNek16UVVJMU5FVkJRVGszTVRnNU1UVkdPRFEzUlRGR1FUSWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_versions_7_1.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_versions_7_1.yaml new file mode 100644 index 000000000000..ddb73ed216cd --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_list_versions_7_1.yaml @@ -0,0 +1,327 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d?api-version=7.1 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec65b4109d?api-version=7.1 +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d?api-version=7.1 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d/9a79ac79409743a6a7bd4bd0d77544fe","attributes":{"enabled":true,"created":1618953970,"updated":1618953970,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '258' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec65b4109d?api-version=7.1 +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d?api-version=7.1 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d/a8522337f21a49b7a64f972313895839","attributes":{"enabled":true,"created":1618953970,"updated":1618953970,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '258' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec65b4109d?api-version=7.1 +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d?api-version=7.1 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d/026af209139d4531bde74766a6dce8a8","attributes":{"enabled":true,"created":1618953971,"updated":1618953971,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '258' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec65b4109d?api-version=7.1 +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d?api-version=7.1 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d/3cbe3b90adc74b548e2f39d15128f938","attributes":{"enabled":true,"created":1618953971,"updated":1618953971,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '258' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec65b4109d?api-version=7.1 +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d?api-version=7.1 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d/8d94293d4b324b65aa59babf2d49351c","attributes":{"enabled":true,"created":1618953971,"updated":1618953971,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '258' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec65b4109d?api-version=7.1 +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d?api-version=7.1 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d/8be9c6aa6ae54666bf0e13f58b7965ad","attributes":{"enabled":true,"created":1618953972,"updated":1618953972,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '258' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec65b4109d?api-version=7.1 +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d?api-version=7.1 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d/fc736515e1ee4ebb8740caebd0175ed6","attributes":{"enabled":true,"created":1618953972,"updated":1618953972,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '258' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec65b4109d?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d/versions?api-version=7.1&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d/026af209139d4531bde74766a6dce8a8","attributes":{"enabled":true,"created":1618953971,"updated":1618953971,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d/3cbe3b90adc74b548e2f39d15128f938","attributes":{"enabled":true,"created":1618953971,"updated":1618953971,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d/8be9c6aa6ae54666bf0e13f58b7965ad","attributes":{"enabled":true,"created":1618953972,"updated":1618953972,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d/8d94293d4b324b65aa59babf2d49351c","attributes":{"enabled":true,"created":1618953971,"updated":1618953971,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d/9a79ac79409743a6a7bd4bd0d77544fe","attributes":{"enabled":true,"created":1618953970,"updated":1618953970,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d/a8522337f21a49b7a64f972313895839","attributes":{"enabled":true,"created":1618953970,"updated":1618953970,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets/livekvtestsec65b4109d/versions?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmpWQ05ERXdPVVF2UmtNM016WTFNVFZGTVVWRk5FVkNRamczTkRCRFFVVkNSREF4TnpWRlJEWWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1840' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec65b4109d/versions?api-version=7.1&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets/livekvtestsec65b4109d/versions?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmpWQ05ERXdPVVF2UmtNM016WTFNVFZGTVVWRk5FVkNRamczTkRCRFFVVkNSREF4TnpWRlJEWWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d/fc736515e1ee4ebb8740caebd0175ed6","attributes":{"enabled":true,"created":1618953972,"updated":1618953972,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '269' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets/livekvtestsec65b4109d/versions?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmpWQ05ERXdPVVF2UmtNM016WTFNVFZGTVVWRk5FVkNRamczTkRCRFFVVkNSREF4TnpWRlJEWWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_disabled_2016_10_01.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_disabled_2016_10_01.yaml new file mode 100644 index 000000000000..e5315188d97e --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_disabled_2016_10_01.yaml @@ -0,0 +1,71 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name17de1309?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name17de1309?api-version=2016-10-01 +- request: + body: '{"value": "secret-value"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name17de1309?api-version=2016-10-01 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name17de1309/10363779e7ae4b4daaf0975ce95f03f8","attributes":{"enabled":true,"created":1618953974,"updated":1618953974,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '251' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name17de1309?api-version=2016-10-01 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_disabled_7_0.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_disabled_7_0.yaml new file mode 100644 index 000000000000..73e92eb048b3 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_disabled_7_0.yaml @@ -0,0 +1,71 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name97df1186?api-version=7.0 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name97df1186?api-version=7.0 +- request: + body: '{"value": "secret-value"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name97df1186?api-version=7.0 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name97df1186/0736056787ed4697b9a958837dde6f0a","attributes":{"enabled":true,"created":1618953975,"updated":1618953975,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '251' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name97df1186?api-version=7.0 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_disabled.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_disabled_7_1.yaml similarity index 59% rename from sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_disabled.yaml rename to sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_disabled_7_1.yaml index 3b8eccd96cb9..7a3b974ba842 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_disabled.yaml +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_disabled_7_1.yaml @@ -9,9 +9,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name534c1061?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name97e01187?api-version=7.1 response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -20,21 +20,21 @@ interactions: cache-control: no-cache content-length: '87' content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:53 GMT + date: Tue, 20 Apr 2021 21:23:35 GMT expires: '-1' pragma: no-cache strict-transport-security: max-age=31536000;includeSubDomains www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", resource="https://vault.azure.net" x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 x-powered-by: ASP.NET status: code: 401 message: Unauthorized - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret-name534c1061?api-version=7.1 + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name97e01187?api-version=7.1 - request: body: '{"value": "secret-value"}' headers: @@ -45,27 +45,27 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name534c1061?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name97e01187?api-version=7.1 response: body: - string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name534c1061/4f035b88976a411187d503c4ff481f21","attributes":{"enabled":true,"created":1613674013,"updated":1613674013,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name97e01187/5d13e69276fa413bab769bfae87c36f7","attributes":{"enabled":true,"created":1618953815,"updated":1618953815,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: no-cache - content-length: '270' + content-length: '272' content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:54 GMT + date: Tue, 20 Apr 2021 21:23:35 GMT expires: '-1' pragma: no-cache strict-transport-security: max-age=31536000;includeSubDomains x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret-name534c1061?api-version=7.1 + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name97e01187?api-version=7.1 version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_enabled_2016_10_01.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_enabled_2016_10_01.yaml new file mode 100644 index 000000000000..f9435734af48 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_enabled_2016_10_01.yaml @@ -0,0 +1,71 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name2ac129c?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:36 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name2ac129c?api-version=2016-10-01 +- request: + body: '{"value": "secret-value"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name2ac129c?api-version=2016-10-01 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name2ac129c/afb227cd56094c94afb68a7f54ec71c6","attributes":{"enabled":true,"created":1618953816,"updated":1618953816,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '250' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:36 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name2ac129c?api-version=2016-10-01 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_enabled_7_0.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_enabled_7_0.yaml new file mode 100644 index 000000000000..6be38d2c5461 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_enabled_7_0.yaml @@ -0,0 +1,71 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name85a81119?api-version=7.0 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:36 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name85a81119?api-version=7.0 +- request: + body: '{"value": "secret-value"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name85a81119?api-version=7.0 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name85a81119/d4c3769e6ad842349b3148e7a39b0d33","attributes":{"enabled":true,"created":1618953817,"updated":1618953817,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '251' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:37 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name85a81119?api-version=7.0 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_enabled.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_enabled_7_1.yaml similarity index 59% rename from sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_enabled.yaml rename to sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_enabled_7_1.yaml index e3b80bedf851..346f38ed42d2 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_enabled.yaml +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_logging_enabled_7_1.yaml @@ -9,9 +9,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name42c90ff4?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name85a9111a?api-version=7.1 response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -20,21 +20,21 @@ interactions: cache-control: no-cache content-length: '87' content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:53 GMT + date: Tue, 20 Apr 2021 21:23:38 GMT expires: '-1' pragma: no-cache strict-transport-security: max-age=31536000;includeSubDomains www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", resource="https://vault.azure.net" x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 x-powered-by: ASP.NET status: code: 401 message: Unauthorized - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret-name42c90ff4?api-version=7.1 + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name85a9111a?api-version=7.1 - request: body: '{"value": "secret-value"}' headers: @@ -45,27 +45,27 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name42c90ff4?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name85a9111a?api-version=7.1 response: body: - string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name42c90ff4/50cbb7c451d842aab990fb4d5e346faa","attributes":{"enabled":true,"created":1613674014,"updated":1613674014,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name85a9111a/a524e1468dea48f09fe9d86770209dbd","attributes":{"enabled":true,"created":1618953818,"updated":1618953818,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: no-cache - content-length: '270' + content-length: '272' content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:46:53 GMT + date: Tue, 20 Apr 2021 21:23:38 GMT expires: '-1' pragma: no-cache strict-transport-security: max-age=31536000;includeSubDomains x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret-name42c90ff4?api-version=7.1 + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret-name85a9111a?api-version=7.1 version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_purge.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_purge.yaml deleted file mode 100644 index f62e3c572cac..000000000000 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_purge.yaml +++ /dev/null @@ -1,1994 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer - or PoP token."}}' - headers: - cache-control: no-cache - content-length: '87' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:32 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", - resource="https://vault.azure.net" - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret0b5580c06?api-version=7.1 -- request: - body: '{"value": "value0"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0b5580c06?api-version=7.1 - response: - body: - string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0b5580c06/a303fcc9095c412db8abd2ff77db3654","attributes":{"enabled":true,"created":1613674773,"updated":1613674773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:32 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret0b5580c06?api-version=7.1 -- request: - body: '{"value": "value1"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1b5580c06?api-version=7.1 - response: - body: - string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1b5580c06/cd64900fe11b460988ab50d8f9ca6320","attributes":{"enabled":true,"created":1613674773,"updated":1613674773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:33 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret1b5580c06?api-version=7.1 -- request: - body: '{"value": "value2"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2b5580c06?api-version=7.1 - response: - body: - string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2b5580c06/616b0d1034f4496d9df7de3ccc211522","attributes":{"enabled":true,"created":1613674773,"updated":1613674773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:33 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret2b5580c06?api-version=7.1 -- request: - body: '{"value": "value3"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3b5580c06?api-version=7.1 - response: - body: - string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3b5580c06/b50f3deaa3034294873ba1307050594c","attributes":{"enabled":true,"created":1613674773,"updated":1613674773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:33 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret3b5580c06?api-version=7.1 -- request: - body: '{"value": "value4"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4b5580c06?api-version=7.1 - response: - body: - string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4b5580c06/0c7aad621aba469e8425148ac9cb181d","attributes":{"enabled":true,"created":1613674773,"updated":1613674773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:33 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret4b5580c06?api-version=7.1 -- request: - body: '{"value": "value5"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5b5580c06?api-version=7.1 - response: - body: - string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5b5580c06/4a7269a67c66416fbbd7f7ec1ee82228","attributes":{"enabled":true,"created":1613674774,"updated":1613674774,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:33 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret5b5580c06?api-version=7.1 -- request: - body: '{"value": "value6"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6b5580c06?api-version=7.1 - response: - body: - string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6b5580c06/9c97907cd32a4e72b1acdcc56843dfe7","attributes":{"enabled":true,"created":1613674774,"updated":1613674774,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:34 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret6b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6b5580c06?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6b5580c06","deletedDate":1613674774,"scheduledPurgeDate":1621450774,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6b5580c06/9c97907cd32a4e72b1acdcc56843dfe7","attributes":{"enabled":true,"created":1613674774,"updated":1613674774,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:34 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret6b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:34 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret6b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:36 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret6b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:38 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret6b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:39 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret6b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:42 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret6b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:44 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret6b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:46 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret6b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6b5580c06?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6b5580c06","deletedDate":1613674774,"scheduledPurgeDate":1621450774,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6b5580c06/9c97907cd32a4e72b1acdcc56843dfe7","attributes":{"enabled":true,"created":1613674774,"updated":1613674774,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:48 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret6b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2b5580c06?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2b5580c06","deletedDate":1613674788,"scheduledPurgeDate":1621450788,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2b5580c06/616b0d1034f4496d9df7de3ccc211522","attributes":{"enabled":true,"created":1613674773,"updated":1613674773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:48 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret2b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:48 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret2b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:50 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret2b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:52 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret2b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:55 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret2b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:57 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret2b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2b5580c06?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2b5580c06","deletedDate":1613674788,"scheduledPurgeDate":1621450788,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2b5580c06/616b0d1034f4496d9df7de3ccc211522","attributes":{"enabled":true,"created":1613674773,"updated":1613674773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:59 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret2b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1b5580c06?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1b5580c06","deletedDate":1613674799,"scheduledPurgeDate":1621450799,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1b5580c06/cd64900fe11b460988ab50d8f9ca6320","attributes":{"enabled":true,"created":1613674773,"updated":1613674773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:59 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret1b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:59:59 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret1b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:01 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret1b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:03 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret1b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:05 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret1b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:07 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret1b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:09 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret1b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1b5580c06?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1b5580c06","deletedDate":1613674799,"scheduledPurgeDate":1621450799,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1b5580c06/cd64900fe11b460988ab50d8f9ca6320","attributes":{"enabled":true,"created":1613674773,"updated":1613674773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:11 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret1b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0b5580c06?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0b5580c06","deletedDate":1613674811,"scheduledPurgeDate":1621450811,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0b5580c06/a303fcc9095c412db8abd2ff77db3654","attributes":{"enabled":true,"created":1613674773,"updated":1613674773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:11 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret0b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:11 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret0b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:13 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret0b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:15 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret0b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:17 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret0b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:19 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret0b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0b5580c06?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0b5580c06","deletedDate":1613674811,"scheduledPurgeDate":1621450811,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0b5580c06/a303fcc9095c412db8abd2ff77db3654","attributes":{"enabled":true,"created":1613674773,"updated":1613674773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:21 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret0b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5b5580c06?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5b5580c06","deletedDate":1613674822,"scheduledPurgeDate":1621450822,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5b5580c06/4a7269a67c66416fbbd7f7ec1ee82228","attributes":{"enabled":true,"created":1613674774,"updated":1613674774,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:21 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret5b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:21 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret5b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:23 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret5b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:25 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret5b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:28 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret5b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:30 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret5b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:32 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret5b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:34 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret5b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:36 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret5b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:38 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret5b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5b5580c06?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5b5580c06","deletedDate":1613674822,"scheduledPurgeDate":1621450822,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5b5580c06/4a7269a67c66416fbbd7f7ec1ee82228","attributes":{"enabled":true,"created":1613674774,"updated":1613674774,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:40 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret5b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3b5580c06?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3b5580c06","deletedDate":1613674841,"scheduledPurgeDate":1621450841,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3b5580c06/b50f3deaa3034294873ba1307050594c","attributes":{"enabled":true,"created":1613674773,"updated":1613674773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:40 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret3b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:40 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret3b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:42 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret3b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:44 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret3b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:46 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret3b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:48 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret3b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:50 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret3b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3b5580c06?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3b5580c06","deletedDate":1613674841,"scheduledPurgeDate":1621450841,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3b5580c06/b50f3deaa3034294873ba1307050594c","attributes":{"enabled":true,"created":1613674773,"updated":1613674773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:52 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret3b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4b5580c06?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4b5580c06","deletedDate":1613674853,"scheduledPurgeDate":1621450853,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4b5580c06/0c7aad621aba469e8425148ac9cb181d","attributes":{"enabled":true,"created":1613674773,"updated":1613674773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:52 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret4b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:52 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret4b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:54 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret4b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:57 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret4b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:00:59 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret4b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4b5580c06?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4b5580c06"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:01:01 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret4b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4b5580c06?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4b5580c06","deletedDate":1613674853,"scheduledPurgeDate":1621450853,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4b5580c06/0c7aad621aba469e8425148ac9cb181d","attributes":{"enabled":true,"created":1613674773,"updated":1613674773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:01:03 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret4b5580c06?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1 - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0b5580c06","deletedDate":1613674811,"scheduledPurgeDate":1621450811,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0b5580c06","attributes":{"enabled":true,"created":1613674773,"updated":1613674773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1b5580c06","deletedDate":1613674799,"scheduledPurgeDate":1621450799,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1b5580c06","attributes":{"enabled":true,"created":1613674773,"updated":1613674773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2b5580c06","deletedDate":1613674788,"scheduledPurgeDate":1621450788,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2b5580c06","attributes":{"enabled":true,"created":1613674773,"updated":1613674773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3b5580c06","deletedDate":1613674841,"scheduledPurgeDate":1621450841,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3b5580c06","attributes":{"enabled":true,"created":1613674773,"updated":1613674773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4b5580c06","deletedDate":1613674853,"scheduledPurgeDate":1621450853,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4b5580c06","attributes":{"enabled":true,"created":1613674773,"updated":1613674773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5b5580c06","deletedDate":1613674822,"scheduledPurgeDate":1621450822,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5b5580c06","attributes":{"enabled":true,"created":1613674774,"updated":1613674774,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6b5580c06","deletedDate":1613674774,"scheduledPurgeDate":1621450774,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6b5580c06","attributes":{"enabled":true,"created":1613674774,"updated":1613674774,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' - headers: - cache-control: no-cache - content-length: '2540' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:01:03 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets?api-version=7.1 -version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_purge_2016_10_01.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_purge_2016_10_01.yaml new file mode 100644 index 000000000000..9dcda8df228e --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_purge_2016_10_01.yaml @@ -0,0 +1,3432 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret04a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:38 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret04a010eae?api-version=2016-10-01 +- request: + body: '{"value": "value0"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret04a010eae?api-version=2016-10-01 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04a010eae/0bf4d8502c264802847aa7ab3243fb55","attributes":{"enabled":true,"created":1618953819,"updated":1618953819,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret04a010eae?api-version=2016-10-01 +- request: + body: '{"value": "value1"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret14a010eae?api-version=2016-10-01 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14a010eae/c1557d5f56dc409f9b9d3ded74a1cbac","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret14a010eae?api-version=2016-10-01 +- request: + body: '{"value": "value2"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret24a010eae?api-version=2016-10-01 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24a010eae/2f8af132728e456bbf643fadefde54bb","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret24a010eae?api-version=2016-10-01 +- request: + body: '{"value": "value3"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret34a010eae?api-version=2016-10-01 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34a010eae/a76055bfe2474bc8bbc0ecc4de72d400","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret34a010eae?api-version=2016-10-01 +- request: + body: '{"value": "value4"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret44a010eae?api-version=2016-10-01 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44a010eae/3015f07ece8340609a617bba7378b211","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret44a010eae?api-version=2016-10-01 +- request: + body: '{"value": "value5"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret54a010eae?api-version=2016-10-01 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54a010eae/4485a703661645d583bfa8d770516237","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret54a010eae?api-version=2016-10-01 +- request: + body: '{"value": "value6"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret64a010eae?api-version=2016-10-01 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64a010eae/d167907898f64ae7bbf330be90ab7b1c","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret64a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret64a010eae?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae","deletedDate":1618953821,"scheduledPurgeDate":1626729821,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64a010eae/d167907898f64ae7bbf330be90ab7b1c","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret64a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:42 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:52 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:23:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:00 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:02 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae","deletedDate":1618953821,"scheduledPurgeDate":1626729821,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64a010eae/d167907898f64ae7bbf330be90ab7b1c","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret24a010eae?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae","deletedDate":1618953856,"scheduledPurgeDate":1626729856,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24a010eae/2f8af132728e456bbf643fadefde54bb","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret24a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:17 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:24 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:37 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae","deletedDate":1618953856,"scheduledPurgeDate":1626729856,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24a010eae/2f8af132728e456bbf643fadefde54bb","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:39 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret14a010eae?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae","deletedDate":1618953880,"scheduledPurgeDate":1626729880,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14a010eae/c1557d5f56dc409f9b9d3ded74a1cbac","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:39 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret14a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:42 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:52 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae","deletedDate":1618953880,"scheduledPurgeDate":1626729880,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14a010eae/c1557d5f56dc409f9b9d3ded74a1cbac","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret44a010eae?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44a010eae/3015f07ece8340609a617bba7378b211","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret44a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:24:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:08 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44a010eae/3015f07ece8340609a617bba7378b211","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:16 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret34a010eae?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae","deletedDate":1618953917,"scheduledPurgeDate":1626729917,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34a010eae/a76055bfe2474bc8bbc0ecc4de72d400","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:16 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret34a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:16 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:18 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:25 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:32 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:36 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:38 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae","deletedDate":1618953917,"scheduledPurgeDate":1626729917,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34a010eae/a76055bfe2474bc8bbc0ecc4de72d400","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret04a010eae?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04a010eae/0bf4d8502c264802847aa7ab3243fb55","attributes":{"enabled":true,"created":1618953819,"updated":1618953819,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret04a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:43 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:45 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:47 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:51 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:53 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:25:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:02 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04a010eae/0bf4d8502c264802847aa7ab3243fb55","attributes":{"enabled":true,"created":1618953819,"updated":1618953819,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:04 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret54a010eae?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae","deletedDate":1618953964,"scheduledPurgeDate":1626729964,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54a010eae/4485a703661645d583bfa8d770516237","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:04 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret54a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:17 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:19 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:21 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:23 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:26 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:30 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:37 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54a010eae"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:39 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae","deletedDate":1618953964,"scheduledPurgeDate":1626729964,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54a010eae/4485a703661645d583bfa8d770516237","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0TlVFNE1URXhPUzlFTkVNek56WTVSVFpCUkRnME1qTTBPVUl6TVRRNFJUZEJNemxDTUVRek15RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '797' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0TlVFNE1URXhPUzlFTkVNek56WTVSVFpCUkRnME1qTTBPVUl6TVRRNFJUZEJNemxDTUVRek15RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZGUXpFM01UWkdRaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: no-cache + content-length: '1584' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0TlVFNE1URXhPUzlFTkVNek56WTVSVFpCUkRnME1qTTBPVUl6TVRRNFJUZEJNemxDTUVRek15RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZGUXpFM01UWkdRaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861","deletedDate":1618953267,"scheduledPurgeDate":1626729267,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04a010eae","attributes":{"enabled":true,"created":1618953819,"updated":1618953819,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGN4TXpVeUx6aEZRVFJETWpnM1JUUkdOVFF4TlVKQ1FUWkVOekE0UkVKRVFUUXhRVU5DSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '2241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:42 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZGUXpFM01UWkdRaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGN4TXpVeUx6aEZRVFJETWpnM1JUUkdOVFF4TlVKQ1FUWkVOekE0UkVKRVFUUXhRVU5DSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353","deletedDate":1618953829,"scheduledPurgeDate":1626729829,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a81353","attributes":{"enabled":true,"created":1618953793,"updated":1618953793,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae","deletedDate":1618953880,"scheduledPurgeDate":1626729880,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352","deletedDate":1618953674,"scheduledPurgeDate":1626729674,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353","deletedDate":1618953795,"scheduledPurgeDate":1626729795,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VWTJNVUV4T0RaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '2020' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:42 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGN4TXpVeUx6aEZRVFJETWpnM1JUUkdOVFF4TlVKQ1FUWkVOekE0UkVKRVFUUXhRVU5DSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VWTJNVUV4T0RaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae","deletedDate":1618953856,"scheduledPurgeDate":1626729856,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5","deletedDate":1618953672,"scheduledPurgeDate":1626729672,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rWTJNVUl4T0RaR0x6RkZSVGRFTXpJNFJqQTJNelExTmpSQ05EUTNRekpCT1RVMU9UTXhSVFUzSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '1737' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:42 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VWTJNVUV4T0RaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rWTJNVUl4T0RaR0x6RkZSVGRFTXpJNFJqQTJNelExTmpSQ05EUTNRekpCT1RVMU9UTXhSVFUzSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae","deletedDate":1618953917,"scheduledPurgeDate":1626729917,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352","deletedDate":1618953791,"scheduledPurgeDate":1626729791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353","deletedDate":1618953855,"scheduledPurgeDate":1626729855,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '2020' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:42 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rWTJNVUl4T0RaR0x6RkZSVGRFTXpJNFJqQTJNelExTmpSQ05EUTNRekpCT1RVMU9UTXhSVFUzSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353","deletedDate":1618953881,"scheduledPurgeDate":1626729881,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae","deletedDate":1618953964,"scheduledPurgeDate":1626729964,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UWkRNVEF3UmpneEwwSkRSa0ZGUXpneFF6ZzNOelF3TkVGQ1JEYzRSalJCUWpJMlFqRTBRa0ZESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '1737' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:43 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UWkRNVEF3UmpneEwwSkRSa0ZGUXpneFF6ZzNOelF3TkVGQ1JEYzRSalJCUWpJMlFqRTBRa0ZESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5","deletedDate":1618953636,"scheduledPurgeDate":1626729636,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353","deletedDate":1618953916,"scheduledPurgeDate":1626729916,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae","deletedDate":1618953821,"scheduledPurgeDate":1626729821,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81","deletedDate":1618953978,"scheduledPurgeDate":1626729978,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret66c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '2362' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:43 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UWkRNVEF3UmpneEwwSkRSa0ZGUXpneFF6ZzNOelF3TkVGQ1JEYzRSalJCUWpJMlFqRTBRa0ZESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '711' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:43 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_purge_7_0.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_purge_7_0.yaml new file mode 100644 index 000000000000..6545af6d57ec --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_purge_7_0.yaml @@ -0,0 +1,3971 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret0e87f0d2b?api-version=7.0 +- request: + body: '{"value": "value0"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0e87f0d2b?api-version=7.0 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e87f0d2b/c453640f884a4471aeab19e32ae91c42","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret0e87f0d2b?api-version=7.0 +- request: + body: '{"value": "value1"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1e87f0d2b?api-version=7.0 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e87f0d2b/48c794e055714500b39782ae7ce834eb","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:45 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret1e87f0d2b?api-version=7.0 +- request: + body: '{"value": "value2"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2e87f0d2b?api-version=7.0 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e87f0d2b/79c9a05190eb44bdb33b28148baf76a8","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:45 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret2e87f0d2b?api-version=7.0 +- request: + body: '{"value": "value3"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3e87f0d2b?api-version=7.0 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e87f0d2b/b676365b6fb546a296ce2c5893f00dcc","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:45 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret3e87f0d2b?api-version=7.0 +- request: + body: '{"value": "value4"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4e87f0d2b?api-version=7.0 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e87f0d2b/2a35ee62364f4b5a862c724f1aee86b9","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:45 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret4e87f0d2b?api-version=7.0 +- request: + body: '{"value": "value5"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5e87f0d2b?api-version=7.0 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e87f0d2b/987fc7bd290e4228b7529234615f18d2","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret5e87f0d2b?api-version=7.0 +- request: + body: '{"value": "value6"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6e87f0d2b?api-version=7.0 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e87f0d2b/2e11d1c4c17c46f7913d4dcc13c8b01e","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret6e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6e87f0d2b?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b","deletedDate":1618954006,"scheduledPurgeDate":1626730006,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e87f0d2b/2e11d1c4c17c46f7913d4dcc13c8b01e","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret6e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:52 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:04 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:06 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:08 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:16 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:18 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:23 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:25 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b","deletedDate":1618954006,"scheduledPurgeDate":1626730006,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e87f0d2b/2e11d1c4c17c46f7913d4dcc13c8b01e","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0e87f0d2b?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e87f0d2b/c453640f884a4471aeab19e32ae91c42","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret0e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:37 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:39 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:51 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:53 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e87f0d2b/c453640f884a4471aeab19e32ae91c42","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4e87f0d2b?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b","deletedDate":1618954090,"scheduledPurgeDate":1626730090,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e87f0d2b/2a35ee62364f4b5a862c724f1aee86b9","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret4e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:16 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:18 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:25 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:32 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b","deletedDate":1618954090,"scheduledPurgeDate":1626730090,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e87f0d2b/2a35ee62364f4b5a862c724f1aee86b9","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2e87f0d2b?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e87f0d2b/79c9a05190eb44bdb33b28148baf76a8","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret2e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:36 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:38 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:43 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:45 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:47 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:51 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:53 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e87f0d2b/79c9a05190eb44bdb33b28148baf76a8","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1e87f0d2b?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b","deletedDate":1618954136,"scheduledPurgeDate":1626730136,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e87f0d2b/48c794e055714500b39782ae7ce834eb","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret1e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:18 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b","deletedDate":1618954136,"scheduledPurgeDate":1626730136,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e87f0d2b/48c794e055714500b39782ae7ce834eb","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3e87f0d2b?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b","deletedDate":1618954160,"scheduledPurgeDate":1626730160,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e87f0d2b/b676365b6fb546a296ce2c5893f00dcc","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret3e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:24 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:26 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:36 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:38 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b","deletedDate":1618954160,"scheduledPurgeDate":1626730160,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e87f0d2b/b676365b6fb546a296ce2c5893f00dcc","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5e87f0d2b?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b","deletedDate":1618954180,"scheduledPurgeDate":1626730180,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e87f0d2b/987fc7bd290e4228b7529234615f18d2","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret5e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:42 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:51 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:53 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:08 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:17 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:19 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e87f0d2b"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:21 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b","deletedDate":1618954180,"scheduledPurgeDate":1626730180,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e87f0d2b/987fc7bd290e4228b7529234615f18d2","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:23 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0TlVFNE1URXhPUzlFTkVNek56WTVSVFpCUkRnME1qTTBPVUl6TVRRNFJUZEJNemxDTUVRek15RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '790' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:23 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0TlVFNE1URXhPUzlFTkVNek56WTVSVFpCUkRnME1qTTBPVUl6TVRRNFJUZEJNemxDTUVRek15RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZGUXpFM01UWkdRaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: no-cache + content-length: '1577' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:23 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0TlVFNE1URXhPUzlFTkVNek56WTVSVFpCUkRnME1qTTBPVUl6TVRRNFJUZEJNemxDTUVRek15RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZGUXpFM01UWkdRaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861","deletedDate":1618953267,"scheduledPurgeDate":1626729267,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04a010eae","attributes":{"enabled":true,"created":1618953819,"updated":1618953819,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81","deletedDate":1618954001,"scheduledPurgeDate":1626730001,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret06c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FRTJOekV4T1VZeEx6QTVRa1pDT1RZM1JrTTFRelEzUWtGQ056TkNRamszTVVWR1JFSXpNVUUwSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '2234' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:24 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZGUXpFM01UWkdRaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FRTJOekV4T1VZeEx6QTVRa1pDT1RZM1JrTTFRelEzUWtGQ056TkNRamszTVVWR1JFSXpNVUUwSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353","deletedDate":1618953829,"scheduledPurgeDate":1626729829,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a81353","attributes":{"enabled":true,"created":1618953793,"updated":1618953793,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae","deletedDate":1618953880,"scheduledPurgeDate":1626729880,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret16c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '2355' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:24 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FRTJOekV4T1VZeEx6QTVRa1pDT1RZM1JrTTFRelEzUWtGQ056TkNRamszTVVWR1JFSXpNVUUwSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352","deletedDate":1618953674,"scheduledPurgeDate":1626729674,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353","deletedDate":1618953795,"scheduledPurgeDate":1626729795,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b","deletedDate":1618954136,"scheduledPurgeDate":1626730136,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae","deletedDate":1618953856,"scheduledPurgeDate":1626729856,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81","deletedDate":1618954092,"scheduledPurgeDate":1626730092,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret26c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5","deletedDate":1618953672,"scheduledPurgeDate":1626729672,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qazBSRFV4UVVWREx6WXlOVEJFUkRJNE5rVTNOVFEwUWtOQlJEUTVSVEJGUkVaQ09UZEVRekU0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '2414' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:24 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qazBSRFV4UVVWREx6WXlOVEJFUkRJNE5rVTNOVFEwUWtOQlJEUTVSVEJGUkVaQ09UZEVRekU0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae","deletedDate":1618953917,"scheduledPurgeDate":1626729917,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe","deletedDate":1618954198,"scheduledPurgeDate":1626730198,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81","deletedDate":1618954135,"scheduledPurgeDate":1626730135,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret36c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16azBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '2695' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:24 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qazBSRFV4UVVWREx6WXlOVEJFUkRJNE5rVTNOVFEwUWtOQlJEUTVSVEJGUkVaQ09UZEVRekU0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16azBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352","deletedDate":1618953791,"scheduledPurgeDate":1626729791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353","deletedDate":1618953855,"scheduledPurgeDate":1626729855,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b","deletedDate":1618954160,"scheduledPurgeDate":1626730160,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe","deletedDate":1618954166,"scheduledPurgeDate":1626730166,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81","deletedDate":1618954025,"scheduledPurgeDate":1626730025,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret46c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EazBSRFF4UVVWQ0x6VXdNMFJGUWtWQlJVUTBORFF5UkVJNE1UWTFRa1V6TVRSRU5FWkROalV4SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '2754' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:25 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16azBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EazBSRFF4UVVWQ0x6VXdNMFJGUWtWQlJVUTBORFF5UkVJNE1UWTFRa1V6TVRSRU5FWkROalV4SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353","deletedDate":1618953881,"scheduledPurgeDate":1626729881,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b","deletedDate":1618954090,"scheduledPurgeDate":1626730090,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae","deletedDate":1618953964,"scheduledPurgeDate":1626729964,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret56c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5","deletedDate":1618953636,"scheduledPurgeDate":1626729636,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '2355' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:25 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EazBSRFF4UVVWQ0x6VXdNMFJGUWtWQlJVUTBORFF5UkVJNE1UWTFRa1V6TVRSRU5FWkROalV4SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353","deletedDate":1618953916,"scheduledPurgeDate":1626729916,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b","deletedDate":1618954180,"scheduledPurgeDate":1626730180,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae","deletedDate":1618953821,"scheduledPurgeDate":1626729821,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81","deletedDate":1618953978,"scheduledPurgeDate":1626729978,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret66c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qY3lNMEV4TkVRMUwwRTRNRGxDTWpZNFFqRkZSRFJDTURRNE5rSTFOekEyT0VKRFJqUTFRakpDSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '2414' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:25 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qY3lNMEV4TkVRMUwwRTRNRGxDTWpZNFFqRkZSRFJDTURRNE5rSTFOekEyT0VKRFJqUTFRakpDSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b","deletedDate":1618954006,"scheduledPurgeDate":1626730006,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '1053' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:25 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qY3lNMEV4TkVRMUwwRTRNRGxDTWpZNFFqRkZSRFJDTURRNE5rSTFOekEyT0VKRFJqUTFRakpDSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_purge_7_1.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_purge_7_1.yaml new file mode 100644 index 000000000000..a02030c1a09e --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_purge_7_1.yaml @@ -0,0 +1,3370 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:25 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret0e8800d2c?api-version=7.1 +- request: + body: '{"value": "value0"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0e8800d2c?api-version=7.1 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e8800d2c/82c7330fc1c242bfa01bce18efe8332c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '262' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:26 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret0e8800d2c?api-version=7.1 +- request: + body: '{"value": "value1"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1e8800d2c?api-version=7.1 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e8800d2c/af2daaa8f68c4721b7b3d39e8ca04b36","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '262' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:26 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret1e8800d2c?api-version=7.1 +- request: + body: '{"value": "value2"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2e8800d2c?api-version=7.1 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e8800d2c/91c89dee820c43a9bc754d9126277860","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '262' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:26 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret2e8800d2c?api-version=7.1 +- request: + body: '{"value": "value3"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3e8800d2c?api-version=7.1 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e8800d2c/ca9095b4462b4a8b84975cb28bd06f2b","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '262' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret3e8800d2c?api-version=7.1 +- request: + body: '{"value": "value4"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4e8800d2c?api-version=7.1 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e8800d2c/ce4f825f2af440ef86096d36f9128be2","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '262' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret4e8800d2c?api-version=7.1 +- request: + body: '{"value": "value5"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5e8800d2c?api-version=7.1 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e8800d2c/f2092a2065b64dc39c0a0e0e047ed75a","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '262' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret5e8800d2c?api-version=7.1 +- request: + body: '{"value": "value6"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6e8800d2c?api-version=7.1 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e8800d2c/42d10164af23497ea092d7ce8e4294c1","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '262' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret6e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0e8800d2c?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c","deletedDate":1618954229,"scheduledPurgeDate":1626730229,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e8800d2c/82c7330fc1c242bfa01bce18efe8332c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret0e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:37 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:39 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:43 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:45 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:47 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:51 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:00 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c","deletedDate":1618954229,"scheduledPurgeDate":1626730229,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e8800d2c/82c7330fc1c242bfa01bce18efe8332c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:02 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6e8800d2c?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e8800d2c/42d10164af23497ea092d7ce8e4294c1","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret6e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:17 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e8800d2c/42d10164af23497ea092d7ce8e4294c1","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:19 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5e8800d2c?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c","deletedDate":1618954280,"scheduledPurgeDate":1626730280,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e8800d2c/f2092a2065b64dc39c0a0e0e047ed75a","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:19 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret5e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:19 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:24 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c","deletedDate":1618954280,"scheduledPurgeDate":1626730280,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e8800d2c/f2092a2065b64dc39c0a0e0e047ed75a","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1e8800d2c?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c","deletedDate":1618954295,"scheduledPurgeDate":1626730295,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e8800d2c/af2daaa8f68c4721b7b3d39e8ca04b36","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret1e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:37 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:39 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:42 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:52 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c","deletedDate":1618954295,"scheduledPurgeDate":1626730295,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e8800d2c/af2daaa8f68c4721b7b3d39e8ca04b36","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3e8800d2c?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c","deletedDate":1618954315,"scheduledPurgeDate":1626730315,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e8800d2c/ca9095b4462b4a8b84975cb28bd06f2b","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret3e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:06 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:08 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c","deletedDate":1618954315,"scheduledPurgeDate":1626730315,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e8800d2c/ca9095b4462b4a8b84975cb28bd06f2b","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2e8800d2c?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c","deletedDate":1618954332,"scheduledPurgeDate":1626730332,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e8800d2c/91c89dee820c43a9bc754d9126277860","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret2e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:16 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:19 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:21 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:23 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:25 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c","deletedDate":1618954332,"scheduledPurgeDate":1626730332,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e8800d2c/91c89dee820c43a9bc754d9126277860","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4e8800d2c?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e8800d2c/ce4f825f2af440ef86096d36f9128be2","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret4e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:36 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:38 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:42 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:45 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:47 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:51 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:53 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:08 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4e8800d2c"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:17 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e8800d2c/ce4f825f2af440ef86096d36f9128be2","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '395' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:19 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0TlVFNE1URXhPUzlFTkVNek56WTVSVFpCUkRnME1qTTBPVUl6TVRRNFJUZEJNemxDTUVRek15RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '811' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:19 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0TlVFNE1URXhPUzlFTkVNek56WTVSVFpCUkRnME1qTTBPVUl6TVRRNFJUZEJNemxDTUVRek15RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZGUXpFM01UWkdRaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: no-cache + content-length: '1640' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:19 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0TlVFNE1URXhPUzlFTkVNek56WTVSVFpCUkRnME1qTTBPVUl6TVRRNFJUZEJNemxDTUVRek15RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZGUXpFM01UWkdRaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861","deletedDate":1618953267,"scheduledPurgeDate":1626729267,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04a010eae","attributes":{"enabled":true,"created":1618953819,"updated":1618953819,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe","deletedDate":1618954281,"scheduledPurgeDate":1626730281,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81","deletedDate":1618954001,"scheduledPurgeDate":1626730001,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret06c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EazBSRFV4UVVWREx6WkJNREk0UmpORU5qSXpOVFF4UWpGQk16UTBNVUkzTWpaQk5rUTNOemM1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '2700' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZGUXpFM01UWkdRaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EazBSRFV4UVVWREx6WkJNREk0UmpORU5qSXpOVFF4UWpGQk16UTBNVUkzTWpaQk5rUTNOemM1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353","deletedDate":1618953829,"scheduledPurgeDate":1626729829,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a81353","attributes":{"enabled":true,"created":1618953793,"updated":1618953793,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c","deletedDate":1618954229,"scheduledPurgeDate":1626730229,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae","deletedDate":1618953880,"scheduledPurgeDate":1626729880,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe","deletedDate":1618954296,"scheduledPurgeDate":1626730296,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret16c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UY3lNMEV4TkVRMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '3203' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EazBSRFV4UVVWREx6WkJNREk0UmpORU5qSXpOVFF4UWpGQk16UTBNVUkzTWpaQk5rUTNOemM1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UY3lNMEV4TkVRMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352","deletedDate":1618953674,"scheduledPurgeDate":1626729674,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353","deletedDate":1618953795,"scheduledPurgeDate":1626729795,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b","deletedDate":1618954136,"scheduledPurgeDate":1626730136,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c","deletedDate":1618954295,"scheduledPurgeDate":1626730295,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae","deletedDate":1618953856,"scheduledPurgeDate":1626729856,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qUkVPVEJFUmtZdk9VSkJRa1JFUVVWQk1rRkVORVExTkVKRFJUUXpNekF5UlRFd00wSXhNRVFoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: no-cache + content-length: '2895' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UY3lNMEV4TkVRMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qUkVPVEJFUmtZdk9VSkJRa1JFUVVWQk1rRkVORVExTkVKRFJUUXpNekF5UlRFd00wSXhNRVFoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81","deletedDate":1618954092,"scheduledPurgeDate":1626730092,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret26c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5","deletedDate":1618953672,"scheduledPurgeDate":1626729672,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c","deletedDate":1618954332,"scheduledPurgeDate":1626730332,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16UkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '2481' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qUkVPVEJFUmtZdk9VSkJRa1JFUVVWQk1rRkVORVExTkVKRFJUUXpNekF5UlRFd00wSXhNRVFoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16UkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae","deletedDate":1618953917,"scheduledPurgeDate":1626729917,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe","deletedDate":1618954198,"scheduledPurgeDate":1626730198,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81","deletedDate":1618954135,"scheduledPurgeDate":1626730135,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret36c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352","deletedDate":1618953791,"scheduledPurgeDate":1626729791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353","deletedDate":1618953855,"scheduledPurgeDate":1626729855,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b","deletedDate":1618954160,"scheduledPurgeDate":1626730160,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c","deletedDate":1618954315,"scheduledPurgeDate":1626730315,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTRPREF3UkRKREwwTkJPVEE1TlVJME5EWXlRalJCT0VJNE5EazNOVU5DTWpoQ1JEQTJSakpDSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '3264' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:21 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16UkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTRPREF3UkRKREwwTkJPVEE1TlVJME5EWXlRalJCT0VJNE5EazNOVU5DTWpoQ1JEQTJSakpDSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe","deletedDate":1618954166,"scheduledPurgeDate":1626730166,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff","deletedDate":1618954322,"scheduledPurgeDate":1626730322,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81","deletedDate":1618954025,"scheduledPurgeDate":1626730025,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret46c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '2477' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:21 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTRPREF3UkRKREwwTkJPVEE1TlVJME5EWXlRalJCT0VJNE5EazNOVU5DTWpoQ1JEQTJSakpDSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353","deletedDate":1618953881,"scheduledPurgeDate":1626729881,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b","deletedDate":1618954090,"scheduledPurgeDate":1626730090,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae","deletedDate":1618953964,"scheduledPurgeDate":1626729964,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe","deletedDate":1618954222,"scheduledPurgeDate":1626730222,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret56c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5","deletedDate":1618953636,"scheduledPurgeDate":1626729636,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UazBSRFV4UVVWREwwRkVSRGN5TnpVNVFURXlORFEyTTBRNFFUTTBNVVl4TWpVME5FTkRPRVpGSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '2901' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:21 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UazBSRFV4UVVWREwwRkVSRGN5TnpVNVFURXlORFEyTTBRNFFUTTBNVVl4TWpVME5FTkRPRVpGSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353","deletedDate":1618953916,"scheduledPurgeDate":1626729916,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b","deletedDate":1618954180,"scheduledPurgeDate":1626730180,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c","deletedDate":1618954280,"scheduledPurgeDate":1626730280,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae","deletedDate":1618953821,"scheduledPurgeDate":1626729821,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe","deletedDate":1618954242,"scheduledPurgeDate":1626730242,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81","deletedDate":1618953978,"scheduledPurgeDate":1626729978,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret66c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qY3lNMEV4TkVRMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '2842' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:21 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UazBSRFV4UVVWREwwRkVSRGN5TnpVNVFURXlORFEyTTBRNFFUTTBNVVl4TWpVME5FTkRPRVpGSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qY3lNMEV4TkVRMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b","deletedDate":1618954006,"scheduledPurgeDate":1626730006,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '1842' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:21 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qY3lNMEV4TkVRMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_recover.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_recover.yaml deleted file mode 100644 index 9f1bea16eb1a..000000000000 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_recover.yaml +++ /dev/null @@ -1,1903 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer - or PoP token."}}' - headers: - cache-control: no-cache - content-length: '87' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:02:41 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", - resource="https://vault.azure.net" - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret0ce560cd9?api-version=7.1 -- request: - body: '{"value": "value0"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0ce560cd9?api-version=7.1 - response: - body: - string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0ce560cd9/af7ac83ab5bb41fa90aeafbb0cb22c75","attributes":{"enabled":true,"created":1613674962,"updated":1613674962,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:02:41 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret0ce560cd9?api-version=7.1 -- request: - body: '{"value": "value1"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1ce560cd9?api-version=7.1 - response: - body: - string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1ce560cd9/c189b1ae635644a794810f718846653d","attributes":{"enabled":true,"created":1613674962,"updated":1613674962,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:02:42 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret1ce560cd9?api-version=7.1 -- request: - body: '{"value": "value2"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2ce560cd9?api-version=7.1 - response: - body: - string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2ce560cd9/94f8aea0d8984def9082a06c46e56b68","attributes":{"enabled":true,"created":1613674962,"updated":1613674962,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:02:42 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret2ce560cd9?api-version=7.1 -- request: - body: '{"value": "value3"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3ce560cd9?api-version=7.1 - response: - body: - string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3ce560cd9/a82efce4175a41f8b37339093a70c5fa","attributes":{"enabled":true,"created":1613674962,"updated":1613674962,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:02:42 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret3ce560cd9?api-version=7.1 -- request: - body: '{"value": "value4"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4ce560cd9?api-version=7.1 - response: - body: - string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4ce560cd9/4987b9d1fb494fd29cd78c3abc449693","attributes":{"enabled":true,"created":1613674963,"updated":1613674963,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:02:42 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret4ce560cd9?api-version=7.1 -- request: - body: '{"value": "value5"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5ce560cd9?api-version=7.1 - response: - body: - string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5ce560cd9/712416acd6b5422cb6bde8e705d1fa55","attributes":{"enabled":true,"created":1613674963,"updated":1613674963,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:02:42 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret5ce560cd9?api-version=7.1 -- request: - body: '{"value": "value6"}' - headers: - Accept: - - application/json - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6ce560cd9?api-version=7.1 - response: - body: - string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6ce560cd9/3b79e1331cdd4f5fabc1839409900e54","attributes":{"enabled":true,"created":1613674963,"updated":1613674963,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '260' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:02:42 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret6ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4ce560cd9?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4ce560cd9","deletedDate":1613674963,"scheduledPurgeDate":1621450963,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4ce560cd9/4987b9d1fb494fd29cd78c3abc449693","attributes":{"enabled":true,"created":1613674963,"updated":1613674963,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:02:42 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret4ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:02:43 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret4ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:02:45 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret4ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:02:47 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret4ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:02:49 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret4ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:02:51 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret4ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4ce560cd9?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4ce560cd9","deletedDate":1613674963,"scheduledPurgeDate":1621450963,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4ce560cd9/4987b9d1fb494fd29cd78c3abc449693","attributes":{"enabled":true,"created":1613674963,"updated":1613674963,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:02:53 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret4ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3ce560cd9?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3ce560cd9","deletedDate":1613674974,"scheduledPurgeDate":1621450974,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3ce560cd9/a82efce4175a41f8b37339093a70c5fa","attributes":{"enabled":true,"created":1613674962,"updated":1613674962,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:02:53 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret3ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:02:53 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret3ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:02:55 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret3ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:02:57 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret3ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:02:59 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret3ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:02 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret3ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3ce560cd9?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3ce560cd9","deletedDate":1613674974,"scheduledPurgeDate":1621450974,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3ce560cd9/a82efce4175a41f8b37339093a70c5fa","attributes":{"enabled":true,"created":1613674962,"updated":1613674962,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:04 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret3ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6ce560cd9?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6ce560cd9","deletedDate":1613674984,"scheduledPurgeDate":1621450984,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6ce560cd9/3b79e1331cdd4f5fabc1839409900e54","attributes":{"enabled":true,"created":1613674963,"updated":1613674963,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:04 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret6ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:04 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret6ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:06 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret6ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:08 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret6ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:10 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret6ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:12 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret6ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:14 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret6ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6ce560cd9?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6ce560cd9","deletedDate":1613674984,"scheduledPurgeDate":1621450984,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6ce560cd9/3b79e1331cdd4f5fabc1839409900e54","attributes":{"enabled":true,"created":1613674963,"updated":1613674963,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:16 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret6ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0ce560cd9?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0ce560cd9","deletedDate":1613674997,"scheduledPurgeDate":1621450997,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0ce560cd9/af7ac83ab5bb41fa90aeafbb0cb22c75","attributes":{"enabled":true,"created":1613674962,"updated":1613674962,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:16 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret0ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:16 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret0ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:18 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret0ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:20 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret0ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:22 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret0ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:24 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret0ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:26 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret0ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0ce560cd9?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0ce560cd9","deletedDate":1613674997,"scheduledPurgeDate":1621450997,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0ce560cd9/af7ac83ab5bb41fa90aeafbb0cb22c75","attributes":{"enabled":true,"created":1613674962,"updated":1613674962,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:28 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret0ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1ce560cd9?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1ce560cd9","deletedDate":1613675009,"scheduledPurgeDate":1621451009,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1ce560cd9/c189b1ae635644a794810f718846653d","attributes":{"enabled":true,"created":1613674962,"updated":1613674962,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:29 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret1ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:29 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret1ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:31 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret1ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:34 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret1ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:36 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret1ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1ce560cd9?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1ce560cd9","deletedDate":1613675009,"scheduledPurgeDate":1621451009,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1ce560cd9/c189b1ae635644a794810f718846653d","attributes":{"enabled":true,"created":1613674962,"updated":1613674962,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:38 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret1ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5ce560cd9?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5ce560cd9","deletedDate":1613675018,"scheduledPurgeDate":1621451018,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5ce560cd9/712416acd6b5422cb6bde8e705d1fa55","attributes":{"enabled":true,"created":1613674963,"updated":1613674963,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:38 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret5ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:38 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret5ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:40 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret5ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:42 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret5ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:44 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret5ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:46 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret5ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5ce560cd9?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5ce560cd9","deletedDate":1613675018,"scheduledPurgeDate":1621451018,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5ce560cd9/712416acd6b5422cb6bde8e705d1fa55","attributes":{"enabled":true,"created":1613674963,"updated":1613674963,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:48 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret5ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2ce560cd9?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2ce560cd9","deletedDate":1613675028,"scheduledPurgeDate":1621451028,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2ce560cd9/94f8aea0d8984def9082a06c46e56b68","attributes":{"enabled":true,"created":1613674962,"updated":1613674962,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:48 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsecret2ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:48 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret2ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:50 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret2ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:52 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret2ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:54 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret2ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:56 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret2ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:03:58 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret2ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:04:00 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret2ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2ce560cd9?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2ce560cd9"}}' - headers: - cache-control: no-cache - content-length: '99' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:04:02 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret2ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2ce560cd9?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2ce560cd9","deletedDate":1613675028,"scheduledPurgeDate":1621451028,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2ce560cd9/94f8aea0d8984def9082a06c46e56b68","attributes":{"enabled":true,"created":1613674962,"updated":1613674962,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:04:05 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestsecret2ce560cd9?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1 - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0b5580c06","deletedDate":1613674811,"scheduledPurgeDate":1621450811,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0b5580c06","attributes":{"enabled":true,"created":1613674773,"updated":1613674773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0ce560cd9","deletedDate":1613674997,"scheduledPurgeDate":1621450997,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0ce560cd9","attributes":{"enabled":true,"created":1613674962,"updated":1613674962,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1b5580c06","deletedDate":1613674799,"scheduledPurgeDate":1621450799,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1b5580c06","attributes":{"enabled":true,"created":1613674773,"updated":1613674773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1ce560cd9","deletedDate":1613675009,"scheduledPurgeDate":1621451009,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1ce560cd9","attributes":{"enabled":true,"created":1613674962,"updated":1613674962,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2b5580c06","deletedDate":1613674788,"scheduledPurgeDate":1621450788,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2b5580c06","attributes":{"enabled":true,"created":1613674773,"updated":1613674773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2ce560cd9","deletedDate":1613675028,"scheduledPurgeDate":1621451028,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2ce560cd9","attributes":{"enabled":true,"created":1613674962,"updated":1613674962,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3b5580c06","deletedDate":1613674841,"scheduledPurgeDate":1621450841,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3b5580c06","attributes":{"enabled":true,"created":1613674773,"updated":1613674773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3ce560cd9","deletedDate":1613674974,"scheduledPurgeDate":1621450974,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3ce560cd9","attributes":{"enabled":true,"created":1613674962,"updated":1613674962,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4b5580c06","deletedDate":1613674853,"scheduledPurgeDate":1621450853,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4b5580c06","attributes":{"enabled":true,"created":1613674773,"updated":1613674773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4ce560cd9","deletedDate":1613674963,"scheduledPurgeDate":1621450963,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4ce560cd9","attributes":{"enabled":true,"created":1613674963,"updated":1613674963,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5b5580c06","deletedDate":1613674822,"scheduledPurgeDate":1621450822,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5b5580c06","attributes":{"enabled":true,"created":1613674774,"updated":1613674774,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5ce560cd9","deletedDate":1613675018,"scheduledPurgeDate":1621451018,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5ce560cd9","attributes":{"enabled":true,"created":1613674963,"updated":1613674963,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6b5580c06","deletedDate":1613674774,"scheduledPurgeDate":1621450774,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6b5580c06","attributes":{"enabled":true,"created":1613674774,"updated":1613674774,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rSTFOVGd3UXpBMkx6bERPVGM1TURkRFJETXlRVFJGTnpKQ01VRkRSRU5ETlRZNE5ETkVSa1UzSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' - headers: - cache-control: no-cache - content-length: '5027' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:04:05 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/deletedsecrets?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rSTFOVGd3UXpBMkx6bERPVGM1TURkRFJETXlRVFJGTnpKQ01VRkRSRU5ETlRZNE5ETkVSa1UzSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6ce560cd9","deletedDate":1613674984,"scheduledPurgeDate":1621450984,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6ce560cd9","attributes":{"enabled":true,"created":1613674963,"updated":1613674963,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' - headers: - cache-control: no-cache - content-length: '386' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 19:04:05 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rSTFOVGd3UXpBMkx6bERPVGM1TURkRFJETXlRVFJGTnpKQ01VRkRSRU5ETlRZNE5ETkVSa1UzSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ -version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_recover_2016_10_01.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_recover_2016_10_01.yaml new file mode 100644 index 000000000000..568912e2b659 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_recover_2016_10_01.yaml @@ -0,0 +1,3521 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret06c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret06c100f81?api-version=2016-10-01 +- request: + body: '{"value": "value0"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret06c100f81?api-version=2016-10-01 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret06c100f81/165edbe2fcca47ec8fb1f79a0e288d3c","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:16 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret06c100f81?api-version=2016-10-01 +- request: + body: '{"value": "value1"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret16c100f81?api-version=2016-10-01 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret16c100f81/912d03a67e3d4e77b89ff92d3b387d80","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:16 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret16c100f81?api-version=2016-10-01 +- request: + body: '{"value": "value2"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret26c100f81?api-version=2016-10-01 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret26c100f81/8c7d03b9ae7c4c6b9f537f7962a8c893","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:16 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret26c100f81?api-version=2016-10-01 +- request: + body: '{"value": "value3"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret36c100f81?api-version=2016-10-01 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret36c100f81/0a68c6f295944088b17db0550cd588c4","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:17 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret36c100f81?api-version=2016-10-01 +- request: + body: '{"value": "value4"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret46c100f81?api-version=2016-10-01 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret46c100f81/2778f67d1a31498381dcea7a42cfbe8c","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:17 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret46c100f81?api-version=2016-10-01 +- request: + body: '{"value": "value5"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret56c100f81?api-version=2016-10-01 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret56c100f81/bcfaec81c877404abd78f4ab26b14bac","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:17 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret56c100f81?api-version=2016-10-01 +- request: + body: '{"value": "value6"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret66c100f81?api-version=2016-10-01 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret66c100f81/c942d75925944d3c965af0219ccf2c66","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '241' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:17 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret66c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret66c100f81?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81","deletedDate":1618953978,"scheduledPurgeDate":1626729978,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret66c100f81/c942d75925944d3c965af0219ccf2c66","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:17 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret66c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret66c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:18 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret66c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret66c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret66c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:24 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret66c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:26 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret66c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret66c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:30 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret66c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:32 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret66c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret66c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:36 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret66c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:38 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81","deletedDate":1618953978,"scheduledPurgeDate":1626729978,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret66c100f81/c942d75925944d3c965af0219ccf2c66","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret06c100f81?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81","deletedDate":1618954001,"scheduledPurgeDate":1626730001,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret06c100f81/165edbe2fcca47ec8fb1f79a0e288d3c","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret06c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret06c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret06c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret06c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret06c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret06c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret06c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:52 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret06c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret06c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret06c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:26:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret06c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:00 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret06c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:02 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81","deletedDate":1618954001,"scheduledPurgeDate":1626730001,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret06c100f81/165edbe2fcca47ec8fb1f79a0e288d3c","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:04 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret46c100f81?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81","deletedDate":1618954025,"scheduledPurgeDate":1626730025,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret46c100f81/2778f67d1a31498381dcea7a42cfbe8c","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:04 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret46c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret46c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:04 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret46c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret46c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret46c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret46c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret46c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:16 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret46c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:18 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret46c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret46c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret46c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:24 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret46c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:26 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81","deletedDate":1618954025,"scheduledPurgeDate":1626730025,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret46c100f81/2778f67d1a31498381dcea7a42cfbe8c","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret56c100f81?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret56c100f81/bcfaec81c877404abd78f4ab26b14bac","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret56c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret56c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret56c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:30 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret56c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:32 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret56c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret56c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:37 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret56c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:39 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret56c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret56c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:43 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret56c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret56c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret56c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret56c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:52 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret56c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret56c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret56c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:27:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret56c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:00 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret56c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:02 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret56c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:04 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret56c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:06 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret56c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret56c100f81/bcfaec81c877404abd78f4ab26b14bac","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret26c100f81?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81","deletedDate":1618954092,"scheduledPurgeDate":1626730092,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret26c100f81/8c7d03b9ae7c4c6b9f537f7962a8c893","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret26c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret26c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret26c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret26c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:16 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret26c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:18 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret26c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret26c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret26c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:24 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret26c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:26 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret26c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret26c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret26c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81","deletedDate":1618954092,"scheduledPurgeDate":1626730092,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret26c100f81/8c7d03b9ae7c4c6b9f537f7962a8c893","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret16c100f81?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret16c100f81/912d03a67e3d4e77b89ff92d3b387d80","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret16c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret16c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret16c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:38 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret16c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret16c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:42 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret16c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret16c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret16c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret16c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret16c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:52 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret16c100f81/912d03a67e3d4e77b89ff92d3b387d80","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret36c100f81?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81","deletedDate":1618954135,"scheduledPurgeDate":1626730135,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret36c100f81/0a68c6f295944088b17db0550cd588c4","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret36c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret36c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret36c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret36c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:28:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret36c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:02 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret36c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:04 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret36c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:06 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret36c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:08 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret36c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret36c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret36c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret36c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:16 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret36c100f81"}}' + headers: + cache-control: no-cache + content-length: '99' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:18 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81","deletedDate":1618954135,"scheduledPurgeDate":1626730135,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret36c100f81/0a68c6f295944088b17db0550cd588c4","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '374' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0TlVFNE1URXhPUzlFTkVNek56WTVSVFpCUkRnME1qTTBPVUl6TVRRNFJUZEJNemxDTUVRek15RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '797' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:21 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0TlVFNE1URXhPUzlFTkVNek56WTVSVFpCUkRnME1qTTBPVUl6TVRRNFJUZEJNemxDTUVRek15RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZGUXpFM01UWkdRaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: no-cache + content-length: '1584' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:21 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0TlVFNE1URXhPUzlFTkVNek56WTVSVFpCUkRnME1qTTBPVUl6TVRRNFJUZEJNemxDTUVRek15RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZGUXpFM01UWkdRaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861","deletedDate":1618953267,"scheduledPurgeDate":1626729267,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04a010eae","attributes":{"enabled":true,"created":1618953819,"updated":1618953819,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81","deletedDate":1618954001,"scheduledPurgeDate":1626730001,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret06c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGN4TXpVeUx6aEZRVFJETWpnM1JUUkdOVFF4TlVKQ1FUWkVOekE0UkVKRVFUUXhRVU5DSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '2583' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:21 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZGUXpFM01UWkdRaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGN4TXpVeUx6aEZRVFJETWpnM1JUUkdOVFF4TlVKQ1FUWkVOekE0UkVKRVFUUXhRVU5DSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353","deletedDate":1618953829,"scheduledPurgeDate":1626729829,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a81353","attributes":{"enabled":true,"created":1618953793,"updated":1618953793,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae","deletedDate":1618953880,"scheduledPurgeDate":1626729880,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret16c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352","deletedDate":1618953674,"scheduledPurgeDate":1626729674,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '2362' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:21 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGN4TXpVeUx6aEZRVFJETWpnM1JUUkdOVFF4TlVKQ1FUWkVOekE0UkVKRVFUUXhRVU5DSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353","deletedDate":1618953795,"scheduledPurgeDate":1626729795,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b","deletedDate":1618954136,"scheduledPurgeDate":1626730136,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae","deletedDate":1618953856,"scheduledPurgeDate":1626729856,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81","deletedDate":1618954092,"scheduledPurgeDate":1626730092,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret26c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5","deletedDate":1618953672,"scheduledPurgeDate":1626729672,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rVTFRVGd4TXpVekx6QkNNRFJHT0RVNU5qTkVNRFJFTURBNU1VRTRPVFJCUkVFd1F6UTNRVE16SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '2763' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rVTFRVGd4TXpVekx6QkNNRFJHT0RVNU5qTkVNRFJFTURBNU1VRTRPVFJCUkVFd1F6UTNRVE16SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae","deletedDate":1618953917,"scheduledPurgeDate":1626729917,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81","deletedDate":1618954135,"scheduledPurgeDate":1626730135,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret36c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352","deletedDate":1618953791,"scheduledPurgeDate":1626729791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353","deletedDate":1618953855,"scheduledPurgeDate":1626729855,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTROMFl3UkRKQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '2362' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rVTFRVGd4TXpVekx6QkNNRFJHT0RVNU5qTkVNRFJFTURBNU1VRTRPVFJCUkVFd1F6UTNRVE16SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTROMFl3UkRKQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81","deletedDate":1618954025,"scheduledPurgeDate":1626730025,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret46c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353","deletedDate":1618953881,"scheduledPurgeDate":1626729881,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b","deletedDate":1618954090,"scheduledPurgeDate":1626730090,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTROMFl3UkRKQ0x6SkJNelZGUlRZeU16WTBSalJDTlVFNE5qSkROekkwUmpGQlJVVTROa0k1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '2421' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTROMFl3UkRKQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTROMFl3UkRKQ0x6SkJNelZGUlRZeU16WTBSalJDTlVFNE5qSkROekkwUmpGQlJVVTROa0k1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae","deletedDate":1618953964,"scheduledPurgeDate":1626729964,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret56c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5","deletedDate":1618953636,"scheduledPurgeDate":1626729636,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353","deletedDate":1618953916,"scheduledPurgeDate":1626729916,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VWTJNVUV4T0RaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '2020' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTROMFl3UkRKQ0x6SkJNelZGUlRZeU16WTBSalJDTlVFNE5qSkROekkwUmpGQlJVVTROa0k1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VWTJNVUV4T0RaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae","deletedDate":1618953821,"scheduledPurgeDate":1626729821,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81","deletedDate":1618953978,"scheduledPurgeDate":1626729978,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret66c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b","deletedDate":1618954006,"scheduledPurgeDate":1626730006,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTJNVUV4T0RaRkx6bEVRME5ETVRnMlFUTXlORFJGTmpNNVEwTTFRakUzT0VJeE9ERXlNVE00SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '2421' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:23 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VWTJNVUV4T0RaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTJNVUV4T0RaRkx6bEVRME5ETVRnMlFUTXlORFJGTmpNNVEwTTFRakUzT0VJeE9ERXlNVE00SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '28' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:23 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTJNVUV4T0RaRkx6bEVRME5ETVRnMlFUTXlORFJGTmpNNVEwTTFRakUzT0VJeE9ERXlNVE00SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_recover_7_0.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_recover_7_0.yaml new file mode 100644 index 000000000000..e24ccb854564 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_recover_7_0.yaml @@ -0,0 +1,3070 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret04d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:23 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret04d80dfe?api-version=7.0 +- request: + body: '{"value": "value0"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret04d80dfe?api-version=7.0 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d80dfe/7664529f05354a70a8ce6c0862fd40cf","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '240' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:24 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret04d80dfe?api-version=7.0 +- request: + body: '{"value": "value1"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret14d80dfe?api-version=7.0 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d80dfe/650c8b9e27b04a229178b1f79a6dc29e","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '240' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:24 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret14d80dfe?api-version=7.0 +- request: + body: '{"value": "value2"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret24d80dfe?api-version=7.0 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d80dfe/602dd0a9921d4a80aee7da85b4f3e779","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '240' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:24 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret24d80dfe?api-version=7.0 +- request: + body: '{"value": "value3"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret34d80dfe?api-version=7.0 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d80dfe/99467d37384c469786bf86bc179b4dbc","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '240' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:25 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret34d80dfe?api-version=7.0 +- request: + body: '{"value": "value4"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret44d80dfe?api-version=7.0 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d80dfe/4fc66a70b1c342ab86c65f5f4bf52b52","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '240' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:25 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret44d80dfe?api-version=7.0 +- request: + body: '{"value": "value5"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret54d80dfe?api-version=7.0 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d80dfe/2c3536085e8042898186e641a9a86f56","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '240' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:25 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret54d80dfe?api-version=7.0 +- request: + body: '{"value": "value6"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret64d80dfe?api-version=7.0 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d80dfe/9b7fe66e19904bdd87a9eedea54702f4","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '240' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:25 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret64d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret44d80dfe?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe","deletedDate":1618954166,"scheduledPurgeDate":1626730166,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d80dfe/4fc66a70b1c342ab86c65f5f4bf52b52","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '372' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:26 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret44d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:26 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:30 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:32 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:36 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:38 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:43 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:45 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:52 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe","deletedDate":1618954166,"scheduledPurgeDate":1626730166,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d80dfe/4fc66a70b1c342ab86c65f5f4bf52b52","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '372' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret34d80dfe?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe","deletedDate":1618954198,"scheduledPurgeDate":1626730198,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d80dfe/99467d37384c469786bf86bc179b4dbc","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '372' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret34d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:29:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:00 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:02 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:04 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:06 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:18 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe","deletedDate":1618954198,"scheduledPurgeDate":1626730198,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d80dfe/99467d37384c469786bf86bc179b4dbc","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '372' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret54d80dfe?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe","deletedDate":1618954222,"scheduledPurgeDate":1626730222,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d80dfe/2c3536085e8042898186e641a9a86f56","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '372' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret54d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:24 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:26 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:30 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:32 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:36 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:39 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe","deletedDate":1618954222,"scheduledPurgeDate":1626730222,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d80dfe/2c3536085e8042898186e641a9a86f56","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '372' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret64d80dfe?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe","deletedDate":1618954242,"scheduledPurgeDate":1626730242,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d80dfe/9b7fe66e19904bdd87a9eedea54702f4","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '372' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret64d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:43 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:45 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:52 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:30:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:00 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe","deletedDate":1618954242,"scheduledPurgeDate":1626730242,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d80dfe/9b7fe66e19904bdd87a9eedea54702f4","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '372' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:02 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret24d80dfe?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d80dfe/602dd0a9921d4a80aee7da85b4f3e779","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '372' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret24d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:16 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:18 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d80dfe/602dd0a9921d4a80aee7da85b4f3e779","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '372' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret04d80dfe?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe","deletedDate":1618954281,"scheduledPurgeDate":1626730281,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d80dfe/7664529f05354a70a8ce6c0862fd40cf","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '372' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret04d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:21 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:23 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:25 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe","deletedDate":1618954281,"scheduledPurgeDate":1626730281,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d80dfe/7664529f05354a70a8ce6c0862fd40cf","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '372' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret14d80dfe?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe","deletedDate":1618954296,"scheduledPurgeDate":1626730296,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d80dfe/650c8b9e27b04a229178b1f79a6dc29e","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '372' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret14d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:37 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:39 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:45 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:47 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:51 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d80dfe"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:53 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe","deletedDate":1618954296,"scheduledPurgeDate":1626730296,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d80dfe/650c8b9e27b04a229178b1f79a6dc29e","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '372' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0TlVFNE1URXhPUzlFTkVNek56WTVSVFpCUkRnME1qTTBPVUl6TVRRNFJUZEJNemxDTUVRek15RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '790' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0TlVFNE1URXhPUzlFTkVNek56WTVSVFpCUkRnME1qTTBPVUl6TVRRNFJUZEJNemxDTUVRek15RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZGUXpFM01UWkdRaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: no-cache + content-length: '1577' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0TlVFNE1URXhPUzlFTkVNek56WTVSVFpCUkRnME1qTTBPVUl6TVRRNFJUZEJNemxDTUVRek15RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZGUXpFM01UWkdRaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861","deletedDate":1618953267,"scheduledPurgeDate":1626729267,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04a010eae","attributes":{"enabled":true,"created":1618953819,"updated":1618953819,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe","deletedDate":1618954281,"scheduledPurgeDate":1626730281,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81","deletedDate":1618954001,"scheduledPurgeDate":1626730001,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret06c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FRTJOekV4T1VZeEx6QTVRa1pDT1RZM1JrTTFRelEzUWtGQ056TkNRamszTVVWR1JFSXpNVUUwSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '2574' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZGUXpFM01UWkdRaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FRTJOekV4T1VZeEx6QTVRa1pDT1RZM1JrTTFRelEzUWtGQ056TkNRamszTVVWR1JFSXpNVUUwSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353","deletedDate":1618953829,"scheduledPurgeDate":1626729829,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a81353","attributes":{"enabled":true,"created":1618953793,"updated":1618953793,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c","deletedDate":1618954229,"scheduledPurgeDate":1626730229,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae","deletedDate":1618953880,"scheduledPurgeDate":1626729880,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe","deletedDate":1618954296,"scheduledPurgeDate":1626730296,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret16c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '3037' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FRTJOekV4T1VZeEx6QTVRa1pDT1RZM1JrTTFRelEzUWtGQ056TkNRamszTVVWR1JFSXpNVUUwSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352","deletedDate":1618953674,"scheduledPurgeDate":1626729674,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353","deletedDate":1618953795,"scheduledPurgeDate":1626729795,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b","deletedDate":1618954136,"scheduledPurgeDate":1626730136,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c","deletedDate":1618954295,"scheduledPurgeDate":1626730295,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae","deletedDate":1618953856,"scheduledPurgeDate":1626729856,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81","deletedDate":1618954092,"scheduledPurgeDate":1626730092,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret26c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5","deletedDate":1618953672,"scheduledPurgeDate":1626729672,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qY3lNMEV4TkVRMUx6YzBPVVEzTlVKRFFrTXpNVFF5TXpsQ1JFRTBRek0zUlVWRVFqUTRSVFl4SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '3096' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qY3lNMEV4TkVRMUx6YzBPVVEzTlVKRFFrTXpNVFF5TXpsQ1JFRTBRek0zUlVWRVFqUTRSVFl4SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae","deletedDate":1618953917,"scheduledPurgeDate":1626729917,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe","deletedDate":1618954198,"scheduledPurgeDate":1626730198,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16WkRNVEF3UmpneElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '2011' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qY3lNMEV4TkVRMUx6YzBPVVEzTlVKRFFrTXpNVFF5TXpsQ1JFRTBRek0zUlVWRVFqUTRSVFl4SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16WkRNVEF3UmpneElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81","deletedDate":1618954135,"scheduledPurgeDate":1626730135,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret36c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352","deletedDate":1618953791,"scheduledPurgeDate":1626729791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353","deletedDate":1618953855,"scheduledPurgeDate":1626729855,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b","deletedDate":1618954160,"scheduledPurgeDate":1626730160,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe","deletedDate":1618954166,"scheduledPurgeDate":1626730166,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EUkVPREJFUmtVdk5FWkROalpCTnpCQ01VTXpOREpCUWpnMlF6WTFSalZHTkVKR05USkNOVEloTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: no-cache + content-length: '2748' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16WkRNVEF3UmpneElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EUkVPREJFUmtVdk5FWkROalpCTnpCQ01VTXpOREpCUWpnMlF6WTFSalZHTkVKR05USkNOVEloTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81","deletedDate":1618954025,"scheduledPurgeDate":1626730025,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret46c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353","deletedDate":1618953881,"scheduledPurgeDate":1626729881,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b","deletedDate":1618954090,"scheduledPurgeDate":1626730090,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UUkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '2013' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EUkVPREJFUmtVdk5FWkROalpCTnpCQ01VTXpOREpCUWpnMlF6WTFSalZHTkVKR05USkNOVEloTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UUkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae","deletedDate":1618953964,"scheduledPurgeDate":1626729964,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe","deletedDate":1618954222,"scheduledPurgeDate":1626730222,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret56c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5","deletedDate":1618953636,"scheduledPurgeDate":1626729636,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353","deletedDate":1618953916,"scheduledPurgeDate":1626729916,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b","deletedDate":1618954180,"scheduledPurgeDate":1626730180,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c","deletedDate":1618954280,"scheduledPurgeDate":1626730280,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VWTJNVUV4T0RaRkx6ZEdNMEUwUlRSQlJVVkZNelE0UkRBNVEwTXhNRVJHTVVNek9UaEJNME15SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '3096' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UUkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VWTJNVUV4T0RaRkx6ZEdNMEUwUlRSQlJVVkZNelE0UkRBNVEwTXhNRVJHTVVNek9UaEJNME15SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae","deletedDate":1618953821,"scheduledPurgeDate":1626729821,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe","deletedDate":1618954242,"scheduledPurgeDate":1626730242,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81","deletedDate":1618953978,"scheduledPurgeDate":1626729978,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret66c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b","deletedDate":1618954006,"scheduledPurgeDate":1626730006,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '2695' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VWTJNVUV4T0RaRkx6ZEdNMEUwUlRSQlJVVkZNelE0UkRBNVEwTXhNRVJHTVVNek9UaEJNME15SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '369' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_recover_7_1.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_recover_7_1.yaml new file mode 100644 index 000000000000..3b393530dbc9 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_recover_7_1.yaml @@ -0,0 +1,3910 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret04d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:31:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret04d90dff?api-version=7.1 +- request: + body: '{"value": "value0"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret04d90dff?api-version=7.1 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d90dff/fb8a1c9bbb5d4584ae2c560a49b0c88e","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '261' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:00 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret04d90dff?api-version=7.1 +- request: + body: '{"value": "value1"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret14d90dff?api-version=7.1 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d90dff/f83b36fdbaa544bf9023c32bbef9f9d5","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '261' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:00 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret14d90dff?api-version=7.1 +- request: + body: '{"value": "value2"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret24d90dff?api-version=7.1 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d90dff/9babddaea2ad4d54bce43302e103b10d","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '261' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:00 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret24d90dff?api-version=7.1 +- request: + body: '{"value": "value3"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret34d90dff?api-version=7.1 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d90dff/a1181ce342bb4421b37f5b3cf901429f","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '261' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret34d90dff?api-version=7.1 +- request: + body: '{"value": "value4"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret44d90dff?api-version=7.1 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d90dff/d70b548c836242c08128eb8974ec8f1f","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '261' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret44d90dff?api-version=7.1 +- request: + body: '{"value": "value5"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret54d90dff?api-version=7.1 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d90dff/faddad20cca84972a255b1cf63a90dca","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '261' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret54d90dff?api-version=7.1 +- request: + body: '{"value": "value6"}' + headers: + Accept: + - application/json + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret64d90dff?api-version=7.1 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d90dff/16e43f7b7d6346f4af43e30c13ad2e16","attributes":{"enabled":true,"created":1618954322,"updated":1618954322,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '261' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret64d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret44d90dff?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff","deletedDate":1618954322,"scheduledPurgeDate":1626730322,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d90dff/d70b548c836242c08128eb8974ec8f1f","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '393' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:02 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret44d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:02 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:04 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:06 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:08 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:17 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:19 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:21 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:23 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:25 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:30 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret44d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:32 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff","deletedDate":1618954322,"scheduledPurgeDate":1626730322,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d90dff/d70b548c836242c08128eb8974ec8f1f","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '393' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret14d90dff?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d90dff/f83b36fdbaa544bf9023c32bbef9f9d5","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '393' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret14d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:36 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:38 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:42 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:47 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:51 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:53 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:32:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:00 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:02 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:04 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:06 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:08 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret14d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d90dff/f83b36fdbaa544bf9023c32bbef9f9d5","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '393' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:16 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret34d90dff?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff","deletedDate":1618954397,"scheduledPurgeDate":1626730397,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d90dff/a1181ce342bb4421b37f5b3cf901429f","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '393' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:17 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret34d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:17 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:19 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:24 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:26 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:30 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:32 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:34 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret34d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:36 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff","deletedDate":1618954397,"scheduledPurgeDate":1626730397,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d90dff/a1181ce342bb4421b37f5b3cf901429f","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '393' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:38 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret64d90dff?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff","deletedDate":1618954419,"scheduledPurgeDate":1626730419,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d90dff/16e43f7b7d6346f4af43e30c13ad2e16","attributes":{"enabled":true,"created":1618954322,"updated":1618954322,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '393' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:38 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret64d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:39 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:43 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:45 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:47 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:51 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret64d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:53 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff","deletedDate":1618954419,"scheduledPurgeDate":1626730419,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d90dff/16e43f7b7d6346f4af43e30c13ad2e16","attributes":{"enabled":true,"created":1618954322,"updated":1618954322,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '393' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret04d90dff?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff","deletedDate":1618954436,"scheduledPurgeDate":1626730436,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d90dff/fb8a1c9bbb5d4584ae2c560a49b0c88e","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '393' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret04d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret04d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:17 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff","deletedDate":1618954436,"scheduledPurgeDate":1626730436,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d90dff/fb8a1c9bbb5d4584ae2c560a49b0c88e","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '393' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:19 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret54d90dff?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff","deletedDate":1618954460,"scheduledPurgeDate":1626730460,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d90dff/faddad20cca84972a255b1cf63a90dca","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '393' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:19 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret54d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:19 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:24 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:37 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:39 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret54d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:43 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff","deletedDate":1618954460,"scheduledPurgeDate":1626730460,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d90dff/faddad20cca84972a255b1cf63a90dca","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '393' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:45 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret24d90dff?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff","deletedDate":1618954486,"scheduledPurgeDate":1626730486,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d90dff/9babddaea2ad4d54bce43302e103b10d","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '393' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:45 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsecret24d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:45 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:51 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:53 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:13 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:15 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:18 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:21 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:23 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret24d90dff"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:25 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff","deletedDate":1618954486,"scheduledPurgeDate":1626730486,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d90dff/9babddaea2ad4d54bce43302e103b10d","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '393' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1","deletedDate":1618954405,"scheduledPurgeDate":1626730405,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954403,"updated":1618954405,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f","deletedDate":1618954440,"scheduledPurgeDate":1626730440,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954438,"updated":1618954439,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEVXdSa0ZCTDBaRk0wSkNRemN6UlVVME5qUkNPRUpDTUVReE1FWkJSa0UyTjBJeU16bEdJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: no-cache + content-length: '1278' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedsecrets?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEVXdSa0ZCTDBaRk0wSkNRemN6UlVVME5qUkNPRUpDTUVReE1FWkJSa0UyTjBJeU16bEdJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEUWtGTE56UkdOVEV3UlRFaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '299' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEVXdSa0ZCTDBaRk0wSkNRemN6UlVVME5qUkNPRUpDTUVReE1FWkJSa0UyTjBJeU16bEdJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEUWtGTE56UkdOVEV3UlRFaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0UVVReE1UazNPQzh3TlRjd1JqQTFOVFk1TVRBME5VTTNPVEpEUkVFMFJqVTRNVEEwUWtJMU55RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '811' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEUWtGTE56UkdOVEV3UlRFaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0UVVReE1UazNPQzh3TlRjd1JqQTFOVFk1TVRBME5VTTNPVEpEUkVFMFJqVTRNVEEwUWtJMU55RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTkVaRU1UZzFReUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: no-cache + content-length: '1640' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0UVVReE1UazNPQzh3TlRjd1JqQTFOVFk1TVRBME5VTTNPVEpEUkVFMFJqVTRNVEEwUWtJMU55RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTkVaRU1UZzFReUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861","deletedDate":1618953267,"scheduledPurgeDate":1626729267,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04a010eae","attributes":{"enabled":true,"created":1618953819,"updated":1618953819,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe","deletedDate":1618954281,"scheduledPurgeDate":1626730281,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff","deletedDate":1618954436,"scheduledPurgeDate":1626730436,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81","deletedDate":1618954001,"scheduledPurgeDate":1626730001,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret06c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGN4TXpVeUx6aEZRVFJETWpnM1JUUkdOVFF4TlVKQ1FUWkVOekE0UkVKRVFUUXhRVU5DSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '3424' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTkVaRU1UZzFReUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGN4TXpVeUx6aEZRVFJETWpnM1JUUkdOVFF4TlVKQ1FUWkVOekE0UkVKRVFUUXhRVU5DSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353","deletedDate":1618953829,"scheduledPurgeDate":1626729829,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a81353","attributes":{"enabled":true,"created":1618953793,"updated":1618953793,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c","deletedDate":1618954229,"scheduledPurgeDate":1626730229,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae","deletedDate":1618953880,"scheduledPurgeDate":1626729880,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe","deletedDate":1618954296,"scheduledPurgeDate":1626730296,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret16c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '3203' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGN4TXpVeUx6aEZRVFJETWpnM1JUUkdOVFF4TlVKQ1FUWkVOekE0UkVKRVFUUXhRVU5DSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352","deletedDate":1618953674,"scheduledPurgeDate":1626729674,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353","deletedDate":1618953795,"scheduledPurgeDate":1626729795,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b","deletedDate":1618954136,"scheduledPurgeDate":1626730136,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c","deletedDate":1618954295,"scheduledPurgeDate":1626730295,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae","deletedDate":1618953856,"scheduledPurgeDate":1626729856,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff","deletedDate":1618954486,"scheduledPurgeDate":1626730486,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81","deletedDate":1618954092,"scheduledPurgeDate":1626730092,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret26c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qWkRNVEF3UmpneEx6aEROMFF3TTBJNVFVVTNRelJETmtJNVJqVXpOMFkzT1RZeVFUaERPRGt6SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '3262' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qWkRNVEF3UmpneEx6aEROMFF3TTBJNVFVVTNRelJETmtJNVJqVXpOMFkzT1RZeVFUaERPRGt6SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5","deletedDate":1618953672,"scheduledPurgeDate":1626729672,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c","deletedDate":1618954332,"scheduledPurgeDate":1626730332,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae","deletedDate":1618953917,"scheduledPurgeDate":1626729917,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe","deletedDate":1618954198,"scheduledPurgeDate":1626730198,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16UkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '2837' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:28 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qWkRNVEF3UmpneEx6aEROMFF3TTBJNVFVVTNRelJETmtJNVJqVXpOMFkzT1RZeVFUaERPRGt6SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16UkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff","deletedDate":1618954397,"scheduledPurgeDate":1626730397,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81","deletedDate":1618954135,"scheduledPurgeDate":1626730135,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret36c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352","deletedDate":1618953791,"scheduledPurgeDate":1626729791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353","deletedDate":1618953855,"scheduledPurgeDate":1626729855,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b","deletedDate":1618954160,"scheduledPurgeDate":1626730160,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c","deletedDate":1618954315,"scheduledPurgeDate":1626730315,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wWTJNVUl4T0RaR0x6aEdRVFJFUWpJeFFUVkNRVFF3UmpZNE5EZ3lNMFJEUWpjNU1rSkJOelU1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '2901' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16UkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wWTJNVUl4T0RaR0x6aEdRVFJFUWpJeFFUVkNRVFF3UmpZNE5EZ3lNMFJEUWpjNU1rSkJOelU1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe","deletedDate":1618954166,"scheduledPurgeDate":1626730166,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff","deletedDate":1618954322,"scheduledPurgeDate":1626730322,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81","deletedDate":1618954025,"scheduledPurgeDate":1626730025,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret46c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353","deletedDate":1618953881,"scheduledPurgeDate":1626729881,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b","deletedDate":1618954090,"scheduledPurgeDate":1626730090,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '3203' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wWTJNVUl4T0RaR0x6aEdRVFJFUWpJeFFUVkNRVFF3UmpZNE5EZ3lNMFJEUWpjNU1rSkJOelU1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae","deletedDate":1618953964,"scheduledPurgeDate":1626729964,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe","deletedDate":1618954222,"scheduledPurgeDate":1626730222,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff","deletedDate":1618954460,"scheduledPurgeDate":1626730460,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret56c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5","deletedDate":1618953636,"scheduledPurgeDate":1626729636,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTFRVGN4TXpVeUwwWTFNelV4TTBZNE1rTTBPVFF5TkRoQ09EYzNOekl4TUVRNFEwVkJORVZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '2899' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTFRVGN4TXpVeUwwWTFNelV4TTBZNE1rTTBPVFF5TkRoQ09EYzNOekl4TUVRNFEwVkJORVZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353","deletedDate":1618953916,"scheduledPurgeDate":1626729916,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b","deletedDate":1618954180,"scheduledPurgeDate":1626730180,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c","deletedDate":1618954280,"scheduledPurgeDate":1626730280,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae","deletedDate":1618953821,"scheduledPurgeDate":1626729821,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe","deletedDate":1618954242,"scheduledPurgeDate":1626730242,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff","deletedDate":1618954419,"scheduledPurgeDate":1626730419,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d90dff","attributes":{"enabled":true,"created":1618954322,"updated":1618954322,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81","deletedDate":1618953978,"scheduledPurgeDate":1626729978,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret66c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '3203' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTFRVGN4TXpVeUwwWTFNelV4TTBZNE1rTTBPVFF5TkRoQ09EYzNOekl4TUVRNFEwVkJORVZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b","deletedDate":1618954006,"scheduledPurgeDate":1626730006,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '1479' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_crud_operations.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_crud_operations.yaml deleted file mode 100644 index e0e7ceae667c..000000000000 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_crud_operations.yaml +++ /dev/null @@ -1,381 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretc01d1319?api-version=7.1 - response: - body: - string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer - or PoP token."}}' - headers: - cache-control: no-cache - content-length: '87' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:49:53 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", - resource="https://vault.azure.net" - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestcrud-secretc01d1319?api-version=7.1 -- request: - body: '{"value": "crud_secret_value"}' - headers: - Accept: - - application/json - Content-Length: - - '30' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretc01d1319?api-version=7.1 - response: - body: - string: '{"value":"crud_secret_value","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretc01d1319/201e819616d348df9bf8da24bcfa0114","attributes":{"enabled":true,"created":1613674193,"updated":1613674193,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '275' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:49:53 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestcrud-secretc01d1319?api-version=7.1 -- request: - body: '{"tags": {"foo": "created tag"}, "attributes": {"nbf": 1422864000, "enabled": - true}, "value": "crud_secret_value"}' - headers: - Accept: - - application/json - Content-Length: - - '114' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretc01d1319?api-version=7.1 - response: - body: - string: '{"value":"crud_secret_value","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretc01d1319/9de505b91e94467eaf9647c592c9a304","attributes":{"enabled":true,"nbf":1422864000,"created":1613674193,"updated":1613674193,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"created - tag"}}' - headers: - cache-control: no-cache - content-length: '321' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:49:53 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestcrud-secretc01d1319?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretc01d1319/?api-version=7.1 - response: - body: - string: '{"value":"crud_secret_value","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretc01d1319/9de505b91e94467eaf9647c592c9a304","attributes":{"enabled":true,"nbf":1422864000,"created":1613674193,"updated":1613674193,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"created - tag"}}' - headers: - cache-control: no-cache - content-length: '321' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:49:53 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestcrud-secretc01d1319/?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretc01d1319/9de505b91e94467eaf9647c592c9a304?api-version=7.1 - response: - body: - string: '{"value":"crud_secret_value","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretc01d1319/9de505b91e94467eaf9647c592c9a304","attributes":{"enabled":true,"nbf":1422864000,"created":1613674193,"updated":1613674193,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"created - tag"}}' - headers: - cache-control: no-cache - content-length: '321' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:49:53 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestcrud-secretc01d1319/9de505b91e94467eaf9647c592c9a304?api-version=7.1 -- request: - body: '{"tags": {"foo": "updated tag"}, "contentType": "text/plain", "attributes": - {"exp": 2527401600, "enabled": false}}' - headers: - Accept: - - application/json - Content-Length: - - '114' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PATCH - uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretc01d1319/9de505b91e94467eaf9647c592c9a304?api-version=7.1 - response: - body: - string: '{"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretc01d1319/9de505b91e94467eaf9647c592c9a304","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1613674193,"updated":1613674194,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}}' - headers: - cache-control: no-cache - content-length: '338' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:49:54 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestcrud-secretc01d1319/9de505b91e94467eaf9647c592c9a304?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretc01d1319?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretc01d1319","deletedDate":1613674195,"scheduledPurgeDate":1621450195,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretc01d1319/9de505b91e94467eaf9647c592c9a304","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1613674193,"updated":1613674194,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}}' - headers: - cache-control: no-cache - content-length: '490' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:49:55 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestcrud-secretc01d1319?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretc01d1319?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestcrud-secretc01d1319"}}' - headers: - cache-control: no-cache - content-length: '103' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:49:55 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestcrud-secretc01d1319?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretc01d1319?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestcrud-secretc01d1319"}}' - headers: - cache-control: no-cache - content-length: '103' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:49:57 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestcrud-secretc01d1319?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretc01d1319?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestcrud-secretc01d1319"}}' - headers: - cache-control: no-cache - content-length: '103' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:49:58 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestcrud-secretc01d1319?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretc01d1319?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestcrud-secretc01d1319"}}' - headers: - cache-control: no-cache - content-length: '103' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:50:00 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestcrud-secretc01d1319?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretc01d1319?api-version=7.1 - response: - body: - string: '{"error":{"code":"Forbidden","message":"Operation get is not allowed - on a disabled secret.","innererror":{"code":"SecretDisabled"}}}' - headers: - cache-control: no-cache - content-length: '132' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:50:02 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 403 - message: Forbidden - url: https://mcpatinokv.vault.azure.net/deletedsecrets/livekvtestcrud-secretc01d1319?api-version=7.1 -version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_crud_operations_2016_10_01.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_crud_operations_2016_10_01.yaml new file mode 100644 index 000000000000..a68f8deed669 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_crud_operations_2016_10_01.yaml @@ -0,0 +1,711 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:22 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 +- request: + body: '{"value": "crud_secret_value"}' + headers: + Accept: + - application/json + Content-Length: + - '30' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 + response: + body: + string: '{"value":"crud_secret_value","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1/4bbfc27161f045488edcf955ef0f5e42","attributes":{"enabled":true,"created":1618954403,"updated":1618954403,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '256' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:23 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 +- request: + body: '{"tags": {"foo": "created tag"}, "attributes": {"enabled": true, "nbf": + 1422864000}, "value": "crud_secret_value"}' + headers: + Accept: + - application/json + Content-Length: + - '114' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 + response: + body: + string: '{"value":"crud_secret_value","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1/2daf5aeddb514f798d6c12c8601e88f1","attributes":{"enabled":true,"nbf":1422864000,"created":1618954403,"updated":1618954403,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"created + tag"}}' + headers: + cache-control: no-cache + content-length: '302' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:23 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1/?api-version=2016-10-01 + response: + body: + string: '{"value":"crud_secret_value","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1/2daf5aeddb514f798d6c12c8601e88f1","attributes":{"enabled":true,"nbf":1422864000,"created":1618954403,"updated":1618954403,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"created + tag"}}' + headers: + cache-control: no-cache + content-length: '302' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:23 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestcrud-secreta29715c1/?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1/2daf5aeddb514f798d6c12c8601e88f1?api-version=2016-10-01 + response: + body: + string: '{"value":"crud_secret_value","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1/2daf5aeddb514f798d6c12c8601e88f1","attributes":{"enabled":true,"nbf":1422864000,"created":1618954403,"updated":1618954403,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"created + tag"}}' + headers: + cache-control: no-cache + content-length: '302' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:23 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestcrud-secreta29715c1/2daf5aeddb514f798d6c12c8601e88f1?api-version=2016-10-01 +- request: + body: '{"contentType": "text/plain", "tags": {"foo": "updated tag"}, "attributes": + {"enabled": false, "exp": 2527401600}}' + headers: + Accept: + - application/json + Content-Length: + - '114' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1/2daf5aeddb514f798d6c12c8601e88f1?api-version=2016-10-01 + response: + body: + string: '{"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1/2daf5aeddb514f798d6c12c8601e88f1","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954403,"updated":1618954405,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: no-cache + content-length: '319' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:24 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestcrud-secreta29715c1/2daf5aeddb514f798d6c12c8601e88f1?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1","deletedDate":1618954405,"scheduledPurgeDate":1626730405,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1/2daf5aeddb514f798d6c12c8601e88f1","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954403,"updated":1618954405,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: no-cache + content-length: '473' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:25 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secreta29715c1"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:25 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secreta29715c1"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secreta29715c1"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secreta29715c1"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secreta29715c1"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secreta29715c1"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secreta29715c1"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:37 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secreta29715c1"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:39 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secreta29715c1"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secreta29715c1"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secreta29715c1"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secreta29715c1"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secreta29715c1"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secreta29715c1"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:52 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secreta29715c1"}}' + headers: + cache-control: no-cache + content-length: '103' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Forbidden","message":"Operation get is not allowed + on a disabled secret.","innererror":{"code":"SecretDisabled"}}}' + headers: + cache-control: no-cache + content-length: '132' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 403 + message: Forbidden + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1?api-version=2016-10-01 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_crud_operations_7_0.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_crud_operations_7_0.yaml new file mode 100644 index 000000000000..a62f1d708be4 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_crud_operations_7_0.yaml @@ -0,0 +1,861 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretf9f143e?api-version=7.0 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:30 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestcrud-secretf9f143e?api-version=7.0 +- request: + body: '{"value": "crud_secret_value"}' + headers: + Accept: + - application/json + Content-Length: + - '30' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretf9f143e?api-version=7.0 + response: + body: + string: '{"value":"crud_secret_value","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretf9f143e/e2153d6d4c2c43c7887f1f1e39b32a21","attributes":{"enabled":true,"created":1618954531,"updated":1618954531,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '255' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:30 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestcrud-secretf9f143e?api-version=7.0 +- request: + body: '{"value": "crud_secret_value", "tags": {"foo": "created tag"}, "attributes": + {"enabled": true, "nbf": 1422864000}}' + headers: + Accept: + - application/json + Content-Length: + - '114' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretf9f143e?api-version=7.0 + response: + body: + string: '{"value":"crud_secret_value","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretf9f143e/f3b0aaca779849e8a900108755bb0087","attributes":{"enabled":true,"nbf":1422864000,"created":1618954531,"updated":1618954531,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"created + tag"}}' + headers: + cache-control: no-cache + content-length: '301' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestcrud-secretf9f143e?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretf9f143e/?api-version=7.0 + response: + body: + string: '{"value":"crud_secret_value","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretf9f143e/f3b0aaca779849e8a900108755bb0087","attributes":{"enabled":true,"nbf":1422864000,"created":1618954531,"updated":1618954531,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"created + tag"}}' + headers: + cache-control: no-cache + content-length: '301' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestcrud-secretf9f143e/?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretf9f143e/f3b0aaca779849e8a900108755bb0087?api-version=7.0 + response: + body: + string: '{"value":"crud_secret_value","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretf9f143e/f3b0aaca779849e8a900108755bb0087","attributes":{"enabled":true,"nbf":1422864000,"created":1618954531,"updated":1618954531,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"created + tag"}}' + headers: + cache-control: no-cache + content-length: '301' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestcrud-secretf9f143e/f3b0aaca779849e8a900108755bb0087?api-version=7.0 +- request: + body: '{"contentType": "text/plain", "tags": {"foo": "updated tag"}, "attributes": + {"enabled": false, "exp": 2527401600}}' + headers: + Accept: + - application/json + Content-Length: + - '114' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretf9f143e/f3b0aaca779849e8a900108755bb0087?api-version=7.0 + response: + body: + string: '{"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretf9f143e/f3b0aaca779849e8a900108755bb0087","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954531,"updated":1618954533,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: no-cache + content-length: '318' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestcrud-secretf9f143e/f3b0aaca779849e8a900108755bb0087?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretf9f143e?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e","deletedDate":1618954533,"scheduledPurgeDate":1626730533,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretf9f143e/f3b0aaca779849e8a900108755bb0087","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954531,"updated":1618954533,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: no-cache + content-length: '471' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestcrud-secretf9f143e?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretf9f143e"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretf9f143e"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretf9f143e"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:37 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretf9f143e"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:39 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretf9f143e"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:41 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretf9f143e"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretf9f143e"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretf9f143e"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretf9f143e"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretf9f143e"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:52 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretf9f143e"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretf9f143e"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretf9f143e"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretf9f143e"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:36:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretf9f143e"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:36:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretf9f143e"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:36:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretf9f143e"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:36:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretf9f143e"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:36:09 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretf9f143e"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:36:11 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretf9f143e"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:36:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 + response: + body: + string: '{"error":{"code":"Forbidden","message":"Operation get is not allowed + on a disabled secret.","innererror":{"code":"SecretDisabled"}}}' + headers: + cache-control: no-cache + content-length: '132' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:36:16 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 403 + message: Forbidden + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e?api-version=7.0 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_crud_operations_7_1.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_crud_operations_7_1.yaml new file mode 100644 index 000000000000..2ab0679a609e --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_crud_operations_7_1.yaml @@ -0,0 +1,891 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestcrud-secretfa0143f?api-version=7.1 +- request: + body: '{"value": "crud_secret_value"}' + headers: + Accept: + - application/json + Content-Length: + - '30' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"value":"crud_secret_value","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f/725208264885470f874bc49a1f33418f","attributes":{"enabled":true,"created":1618954438,"updated":1618954438,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '276' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestcrud-secretfa0143f?api-version=7.1 +- request: + body: '{"tags": {"foo": "created tag"}, "attributes": {"enabled": true, "nbf": + 1422864000}, "value": "crud_secret_value"}' + headers: + Accept: + - application/json + Content-Length: + - '114' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"value":"crud_secret_value","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f/ec440be9814f417e9e57fd3c740daa94","attributes":{"enabled":true,"nbf":1422864000,"created":1618954438,"updated":1618954438,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"created + tag"}}' + headers: + cache-control: no-cache + content-length: '322' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestcrud-secretfa0143f?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f/?api-version=7.1 + response: + body: + string: '{"value":"crud_secret_value","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f/ec440be9814f417e9e57fd3c740daa94","attributes":{"enabled":true,"nbf":1422864000,"created":1618954438,"updated":1618954438,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"created + tag"}}' + headers: + cache-control: no-cache + content-length: '322' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestcrud-secretfa0143f/?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f/ec440be9814f417e9e57fd3c740daa94?api-version=7.1 + response: + body: + string: '{"value":"crud_secret_value","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f/ec440be9814f417e9e57fd3c740daa94","attributes":{"enabled":true,"nbf":1422864000,"created":1618954438,"updated":1618954438,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"created + tag"}}' + headers: + cache-control: no-cache + content-length: '322' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestcrud-secretfa0143f/ec440be9814f417e9e57fd3c740daa94?api-version=7.1 +- request: + body: '{"contentType": "text/plain", "tags": {"foo": "updated tag"}, "attributes": + {"enabled": false, "exp": 2527401600}}' + headers: + Accept: + - application/json + Content-Length: + - '114' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f/ec440be9814f417e9e57fd3c740daa94?api-version=7.1 + response: + body: + string: '{"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f/ec440be9814f417e9e57fd3c740daa94","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954438,"updated":1618954439,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: no-cache + content-length: '339' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestcrud-secretfa0143f/ec440be9814f417e9e57fd3c740daa94?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f","deletedDate":1618954440,"scheduledPurgeDate":1626730440,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f/ec440be9814f417e9e57fd3c740daa94","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954438,"updated":1618954439,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: no-cache + content-length: '492' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestcrud-secretfa0143f?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretfa0143f"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:33:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretfa0143f"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretfa0143f"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:04 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretfa0143f"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:06 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretfa0143f"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:08 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretfa0143f"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:10 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretfa0143f"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:12 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretfa0143f"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:14 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretfa0143f"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:16 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretfa0143f"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:18 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretfa0143f"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:20 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretfa0143f"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:23 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretfa0143f"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:25 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretfa0143f"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:27 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretfa0143f"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:29 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretfa0143f"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:31 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretfa0143f"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:33 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretfa0143f"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:35 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretfa0143f"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:37 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretfa0143f"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:40 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestcrud-secretfa0143f"}}' + headers: + cache-control: no-cache + content-length: '102' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:42 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 + response: + body: + string: '{"error":{"code":"Forbidden","message":"Operation get is not allowed + on a disabled secret.","innererror":{"code":"SecretDisabled"}}}' + headers: + cache-control: no-cache + content-length: '132' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 403 + message: Forbidden + url: https://mcpatinotest.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f?api-version=7.1 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_list.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_list.yaml deleted file mode 100644 index 5bc35453d457..000000000000 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_list.yaml +++ /dev/null @@ -1,443 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsec05b50e84?api-version=7.1 - response: - body: - string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer - or PoP token."}}' - headers: - cache-control: no-cache - content-length: '87' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:50:02 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", - resource="https://vault.azure.net" - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsec05b50e84?api-version=7.1 -- request: - body: '{"value": "secVal0"}' - headers: - Accept: - - application/json - Content-Length: - - '20' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsec05b50e84?api-version=7.1 - response: - body: - string: '{"value":"secVal0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec05b50e84/ef692b000ef34527b02bf2d06754e52b","attributes":{"enabled":true,"created":1613674203,"updated":1613674203,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '257' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:50:04 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsec05b50e84?api-version=7.1 -- request: - body: '{"value": "secVal1"}' - headers: - Accept: - - application/json - Content-Length: - - '20' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsec15b50e84?api-version=7.1 - response: - body: - string: '{"value":"secVal1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec15b50e84/5e44eb43bcf440f68d2174d38f72c2c7","attributes":{"enabled":true,"created":1613674204,"updated":1613674204,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '257' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:50:04 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsec15b50e84?api-version=7.1 -- request: - body: '{"value": "secVal2"}' - headers: - Accept: - - application/json - Content-Length: - - '20' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsec25b50e84?api-version=7.1 - response: - body: - string: '{"value":"secVal2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec25b50e84/a618fc92ca014ba798f055ecc2a2f677","attributes":{"enabled":true,"created":1613674204,"updated":1613674204,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '257' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:50:04 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsec25b50e84?api-version=7.1 -- request: - body: '{"value": "secVal3"}' - headers: - Accept: - - application/json - Content-Length: - - '20' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsec35b50e84?api-version=7.1 - response: - body: - string: '{"value":"secVal3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec35b50e84/990f25c6ab524b0882d5654938d8d4c8","attributes":{"enabled":true,"created":1613674204,"updated":1613674204,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '257' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:50:04 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsec35b50e84?api-version=7.1 -- request: - body: '{"value": "secVal4"}' - headers: - Accept: - - application/json - Content-Length: - - '20' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsec45b50e84?api-version=7.1 - response: - body: - string: '{"value":"secVal4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec45b50e84/b03b9473b25d4618aff09f31984414aa","attributes":{"enabled":true,"created":1613674204,"updated":1613674204,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '257' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:50:04 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsec45b50e84?api-version=7.1 -- request: - body: '{"value": "secVal5"}' - headers: - Accept: - - application/json - Content-Length: - - '20' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsec55b50e84?api-version=7.1 - response: - body: - string: '{"value":"secVal5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec55b50e84/2455c36362be4f1b9e17423750209671","attributes":{"enabled":true,"created":1613674204,"updated":1613674204,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '257' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:50:05 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsec55b50e84?api-version=7.1 -- request: - body: '{"value": "secVal6"}' - headers: - Accept: - - application/json - Content-Length: - - '20' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsec65b50e84?api-version=7.1 - response: - body: - string: '{"value":"secVal6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b50e84/dcb3053dd9b14928b8341a49be8b9ead","attributes":{"enabled":true,"created":1613674205,"updated":1613674205,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '257' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:50:05 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets/livekvtestsec65b50e84?api-version=7.1 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&maxresults=6 - response: - body: - string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec05b50e84","attributes":{"enabled":true,"created":1613674203,"updated":1613674203,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec15b50e84","attributes":{"enabled":true,"created":1613674204,"updated":1613674204,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec24c80f77","attributes":{"enabled":true,"created":1613674013,"updated":1613674013,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec25b50e84","attributes":{"enabled":true,"created":1613674204,"updated":1613674204,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec35b50e84","attributes":{"enabled":true,"created":1613674204,"updated":1613674204,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJNElYTmxZM0psZEM5TVNWWkZTMVpVUlZOVVUwVkRORFZDTlRCRk9EUWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' - headers: - cache-control: no-cache - content-length: '1330' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:50:05 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/secrets?api-version=7.1&maxresults=6 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJNElYTmxZM0psZEM5TVNWWkZTMVpVUlZOVVUwVkRORFZDTlRCRk9EUWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 - response: - body: - string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec45b50e84","attributes":{"enabled":true,"created":1613674204,"updated":1613674204,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec55b50e84","attributes":{"enabled":true,"created":1613674204,"updated":1613674204,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b50e84","attributes":{"enabled":true,"created":1613674205,"updated":1613674205,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak32f60fbc","attributes":{"enabled":true,"created":1613673905,"updated":1613673905,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name42c90ff4","attributes":{"enabled":true,"created":1613674014,"updated":1613674014,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name534c1061","attributes":{"enabled":true,"created":1613674013,"updated":1613674013,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUzUmpkQk1UWkVNQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' - headers: - cache-control: no-cache - content-length: '1573' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:50:05 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJNElYTmxZM0psZEM5TVNWWkZTMVpVUlZOVVUwVkRORFZDTlRCRk9EUWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUzUmpkQk1UWkVNQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 - response: - body: - string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qSkJRVVF4T1VNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' - headers: - cache-control: no-cache - content-length: '308' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:50:05 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUzUmpkQk1UWkVNQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qSkJRVVF4T1VNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 - response: - body: - string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5ESkJRVVF4T1VNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' - headers: - cache-control: no-cache - content-length: '308' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:50:05 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qSkJRVVF4T1VNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5ESkJRVVF4T1VNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 - response: - body: - string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qSkJRVVF4T1VNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' - headers: - cache-control: no-cache - content-length: '308' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:50:05 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5ESkJRVVF4T1VNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qSkJRVVF4T1VNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 - response: - body: - string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/secret-name","attributes":{"enabled":true,"created":1613671480,"updated":1613671480,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"contentType":"application/x-pkcs12","id":"https://vaultname.vault.azure.net/secrets/sftest","managed":true,"attributes":{"enabled":true,"nbf":1613082951,"exp":1644619551,"created":1613083552,"updated":1613083552,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' - headers: - cache-control: no-cache - content-length: '502' - content-type: application/json; charset=utf-8 - date: Thu, 18 Feb 2021 18:50:05 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000;includeSubDomains - x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.164.2 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qSkJRVVF4T1VNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 -version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_list_2016_10_01.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_list_2016_10_01.yaml new file mode 100644 index 000000000000..57c100baddeb --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_list_2016_10_01.yaml @@ -0,0 +1,965 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec0b5b9112c?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:44 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec0b5b9112c?api-version=2016-10-01 +- request: + body: '{"value": "secVal0"}' + headers: + Accept: + - application/json + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec0b5b9112c?api-version=2016-10-01 + response: + body: + string: '{"value":"secVal0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec0b5b9112c/0d26313cf5c04ecebb9dcfdcda30c103","attributes":{"enabled":true,"created":1618954485,"updated":1618954485,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '239' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:45 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec0b5b9112c?api-version=2016-10-01 +- request: + body: '{"value": "secVal1"}' + headers: + Accept: + - application/json + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec1b5b9112c?api-version=2016-10-01 + response: + body: + string: '{"value":"secVal1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec1b5b9112c/f83b26328626430c91debd70b3998fd8","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '239' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:45 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec1b5b9112c?api-version=2016-10-01 +- request: + body: '{"value": "secVal2"}' + headers: + Accept: + - application/json + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec2b5b9112c?api-version=2016-10-01 + response: + body: + string: '{"value":"secVal2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec2b5b9112c/3ad451ee986141288abddca9de0bebbb","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '239' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec2b5b9112c?api-version=2016-10-01 +- request: + body: '{"value": "secVal3"}' + headers: + Accept: + - application/json + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec3b5b9112c?api-version=2016-10-01 + response: + body: + string: '{"value":"secVal3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec3b5b9112c/3f92184b3a4f41368b62adb59067f3e2","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '239' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec3b5b9112c?api-version=2016-10-01 +- request: + body: '{"value": "secVal4"}' + headers: + Accept: + - application/json + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec4b5b9112c?api-version=2016-10-01 + response: + body: + string: '{"value":"secVal4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec4b5b9112c/201ed315f7db4bd5b144003c78a14848","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '239' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec4b5b9112c?api-version=2016-10-01 +- request: + body: '{"value": "secVal5"}' + headers: + Accept: + - application/json + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec5b5b9112c?api-version=2016-10-01 + response: + body: + string: '{"value":"secVal5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec5b5b9112c/63bae2ea2def40a787b53bce05baa686","attributes":{"enabled":true,"created":1618954487,"updated":1618954487,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '239' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:46 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec5b5b9112c?api-version=2016-10-01 +- request: + body: '{"value": "secVal6"}' + headers: + Accept: + - application/json + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec6b5b9112c?api-version=2016-10-01 + response: + body: + string: '{"value":"secVal6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec6b5b9112c/118035b817344fabb0336178b22bf25c","attributes":{"enabled":true,"created":1618954487,"updated":1618954487,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '239' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:47 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec6b5b9112c?api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?maxresults=6&api-version=2016-10-01 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec0b5b9112c","attributes":{"enabled":true,"created":1618954485,"updated":1618954485,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec1b5b9112c","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec2b5b9112c","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec3b5b9112c","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETkVJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1067' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:47 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets?maxresults=6&api-version=2016-10-01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETkVJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec4b5b9112c","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec5b5b9112c","attributes":{"enabled":true,"created":1618954487,"updated":1618954487,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c","attributes":{"enabled":true,"created":1618953969,"updated":1618953969,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d","attributes":{"enabled":true,"created":1618953972,"updated":1618953972,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec6b5b9112c","attributes":{"enabled":true,"created":1618954487,"updated":1618954487,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f510e1","attributes":{"enabled":true,"created":1618953589,"updated":1618953589,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEUWtGTE56UkdOakV3UlRJaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1445' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:47 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETkVJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEUWtGTE56UkdOakV3UlRJaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f610e2","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbakf0621264","attributes":{"enabled":true,"created":1618953589,"updated":1618953589,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f","attributes":{"enabled":true,"created":1618953814,"updated":1618953814,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name17de1309","attributes":{"enabled":true,"created":1618953974,"updated":1618953974,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name2ac129c","attributes":{"enabled":true,"created":1618953816,"updated":1618953816,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578","attributes":{"enabled":true,"created":1618953460,"updated":1618953460,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURoQk1UVTNPU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1478' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:47 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEUWtGTE56UkdOakV3UlRJaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURoQk1UVTNPU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name508a1579","attributes":{"enabled":true,"created":1618953439,"updated":1618953439,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name54f31c5b","attributes":{"enabled":true,"created":1618952915,"updated":1618952915,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name85a81119","attributes":{"enabled":true,"created":1618953817,"updated":1618953817,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name85a9111a","attributes":{"enabled":true,"created":1618953818,"updated":1618953818,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978","attributes":{"enabled":true,"created":1618953050,"updated":1618953050,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TTBJMk1VRkVPQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1301' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:47 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURoQk1UVTNPU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TTBJMk1VRkVPQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b61ad8","attributes":{"enabled":true,"created":1618953011,"updated":1618953011,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b71ad9","attributes":{"enabled":true,"created":1618952953,"updated":1618952953,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name97df1186","attributes":{"enabled":true,"created":1618953975,"updated":1618953975,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name97e01187","attributes":{"enabled":true,"created":1618953815,"updated":1618953815,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZCTkVORk1UbEVSU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1105' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TTBJMk1VRkVPQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZCTkVORk1UbEVSU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea4ce19de","attributes":{"enabled":true,"created":1618953276,"updated":1618953276,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5","attributes":{"enabled":true,"created":1618953095,"updated":1618953095,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6","attributes":{"enabled":true,"created":1618953120,"updated":1618953120,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb","attributes":{"enabled":true,"created":1618953392,"updated":1618953392,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fc185b","attributes":{"enabled":true,"created":1618953370,"updated":1618953370,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTkVaRU1UZzFReUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1301' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZCTkVORk1UbEVSU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTkVaRU1UZzFReUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fd185c","attributes":{"enabled":true,"created":1618953297,"updated":1618953297,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '512' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTkVaRU1UZzFReUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret056961c6e","attributes":{"enabled":true,"created":1618952907,"updated":1618952907,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d51aec","attributes":{"enabled":true,"created":1618952911,"updated":1618952911,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1084' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f61a186e","attributes":{"enabled":true,"created":1618953293,"updated":1618953293,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UUkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '700' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:48 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UUkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret156961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '508' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UUkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret194d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret194d51aec","attributes":{"enabled":true,"created":1618952911,"updated":1618952911,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '892' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f61a186e","attributes":{"enabled":true,"created":1618953293,"updated":1618953293,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '700' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret256961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret294d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret294d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1084' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f61a186e","attributes":{"enabled":true,"created":1618953293,"updated":1618953293,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16UkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '700' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16UkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret356961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16azBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '508' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:49 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16UkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16azBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret394d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret394d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '892' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16azBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '700' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret456961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret494d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret494d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1084' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f61b186f","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UUkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '700' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UUkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret556961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '508' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:50 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UUkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret594d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret594d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '892' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:51 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f61b186f","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '700' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:51 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret656961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret694d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret694d51aec","attributes":{"enabled":true,"created":1618952913,"updated":1618952913,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1084' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:51 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f61b186f","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '411' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:51 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_list_7_0.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_list_7_0.yaml new file mode 100644 index 000000000000..910f3bb7f47c --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_list_7_0.yaml @@ -0,0 +1,1023 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec042d40fa9?api-version=7.0 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:52 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec042d40fa9?api-version=7.0 +- request: + body: '{"value": "secVal0"}' + headers: + Accept: + - application/json + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec042d40fa9?api-version=7.0 + response: + body: + string: '{"value":"secVal0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec042d40fa9/c53f2b25f6fe46b19cd6281c754ddc11","attributes":{"enabled":true,"created":1618954492,"updated":1618954492,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '239' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:53 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec042d40fa9?api-version=7.0 +- request: + body: '{"value": "secVal1"}' + headers: + Accept: + - application/json + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec142d40fa9?api-version=7.0 + response: + body: + string: '{"value":"secVal1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec142d40fa9/d0995361ad124dc69bb884075df2a185","attributes":{"enabled":true,"created":1618954493,"updated":1618954493,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '239' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:53 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec142d40fa9?api-version=7.0 +- request: + body: '{"value": "secVal2"}' + headers: + Accept: + - application/json + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec242d40fa9?api-version=7.0 + response: + body: + string: '{"value":"secVal2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec242d40fa9/71112be0509f47c0bfcc84b8ba34ac3c","attributes":{"enabled":true,"created":1618954493,"updated":1618954493,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '239' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:53 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec242d40fa9?api-version=7.0 +- request: + body: '{"value": "secVal3"}' + headers: + Accept: + - application/json + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec342d40fa9?api-version=7.0 + response: + body: + string: '{"value":"secVal3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec342d40fa9/fcd72afedf504de482b5da975aa2b4cb","attributes":{"enabled":true,"created":1618954493,"updated":1618954493,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '239' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:53 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec342d40fa9?api-version=7.0 +- request: + body: '{"value": "secVal4"}' + headers: + Accept: + - application/json + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec442d40fa9?api-version=7.0 + response: + body: + string: '{"value":"secVal4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec442d40fa9/087b15438e154bc5b86d5a397fdd16b3","attributes":{"enabled":true,"created":1618954494,"updated":1618954494,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '239' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:53 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec442d40fa9?api-version=7.0 +- request: + body: '{"value": "secVal5"}' + headers: + Accept: + - application/json + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec542d40fa9?api-version=7.0 + response: + body: + string: '{"value":"secVal5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec542d40fa9/d6c407d7708344a38337cbb1a0fc3ee0","attributes":{"enabled":true,"created":1618954494,"updated":1618954494,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '239' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec542d40fa9?api-version=7.0 +- request: + body: '{"value": "secVal6"}' + headers: + Accept: + - application/json + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec642d40fa9?api-version=7.0 + response: + body: + string: '{"value":"secVal6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec642d40fa9/a9c600cfc87f424f8f1c5cb5940ec608","attributes":{"enabled":true,"created":1618954494,"updated":1618954494,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: no-cache + content-length: '239' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec642d40fa9?api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?maxresults=6&api-version=7.0 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec042d40fa9","attributes":{"enabled":true,"created":1618954492,"updated":1618954492,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec0b5b9112c","attributes":{"enabled":true,"created":1618954485,"updated":1618954485,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec142d40fa9","attributes":{"enabled":true,"created":1618954493,"updated":1618954493,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec1b5b9112c","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETWpReVJEUXdSa0U1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1060' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets?maxresults=6&api-version=7.0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETWpReVJEUXdSa0U1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec242d40fa9","attributes":{"enabled":true,"created":1618954493,"updated":1618954493,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec2b5b9112c","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec342d40fa9","attributes":{"enabled":true,"created":1618954493,"updated":1618954493,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec3b5b9112c","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec442d40fa9","attributes":{"enabled":true,"created":1618954494,"updated":1618954494,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec4b5b9112c","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETlRReVJEUXdSa0U1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1438' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETWpReVJEUXdSa0U1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETlRReVJEUXdSa0U1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec542d40fa9","attributes":{"enabled":true,"created":1618954494,"updated":1618954494,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec5b5b9112c","attributes":{"enabled":true,"created":1618954487,"updated":1618954487,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec642d40fa9","attributes":{"enabled":true,"created":1618954494,"updated":1618954494,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c","attributes":{"enabled":true,"created":1618953969,"updated":1618953969,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d","attributes":{"enabled":true,"created":1618953972,"updated":1618953972,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec6b5b9112c","attributes":{"enabled":true,"created":1618954487,"updated":1618954487,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEUWtGTE56UkdOVEV3UlRFaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1436' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETlRReVJEUXdSa0U1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEUWtGTE56UkdOVEV3UlRFaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f510e1","attributes":{"enabled":true,"created":1618953589,"updated":1618953589,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f610e2","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbakf0621264","attributes":{"enabled":true,"created":1618953589,"updated":1618953589,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f","attributes":{"enabled":true,"created":1618953814,"updated":1618953814,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name17de1309","attributes":{"enabled":true,"created":1618953974,"updated":1618953974,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name2ac129c","attributes":{"enabled":true,"created":1618953816,"updated":1618953816,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURnNU1UVTNPQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1466' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:54 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEUWtGTE56UkdOVEV3UlRFaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURnNU1UVTNPQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578","attributes":{"enabled":true,"created":1618953460,"updated":1618953460,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name508a1579","attributes":{"enabled":true,"created":1618953439,"updated":1618953439,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name54f31c5b","attributes":{"enabled":true,"created":1618952915,"updated":1618952915,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name85a81119","attributes":{"enabled":true,"created":1618953817,"updated":1618953817,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name85a9111a","attributes":{"enabled":true,"created":1618953818,"updated":1618953818,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0UVVReE1UazNPQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1294' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURnNU1UVTNPQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0UVVReE1UazNPQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978","attributes":{"enabled":true,"created":1618953050,"updated":1618953050,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b61ad8","attributes":{"enabled":true,"created":1618953011,"updated":1618953011,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b71ad9","attributes":{"enabled":true,"created":1618952953,"updated":1618952953,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name97df1186","attributes":{"enabled":true,"created":1618953975,"updated":1618953975,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBVd01URTROeUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1098' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0UVVReE1UazNPQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBVd01URTROeUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name97e01187","attributes":{"enabled":true,"created":1618953815,"updated":1618953815,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea4ce19de","attributes":{"enabled":true,"created":1618953276,"updated":1618953276,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5","attributes":{"enabled":true,"created":1618953095,"updated":1618953095,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6","attributes":{"enabled":true,"created":1618953120,"updated":1618953120,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb","attributes":{"enabled":true,"created":1618953392,"updated":1618953392,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTkVaRE1UZzFRaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1294' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBVd01URTROeUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTkVaRE1UZzFRaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fc185b","attributes":{"enabled":true,"created":1618953370,"updated":1618953370,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fd185c","attributes":{"enabled":true,"created":1618953297,"updated":1618953297,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EUkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '696' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTkVaRE1UZzFRaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EUkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret056961c6e","attributes":{"enabled":true,"created":1618952907,"updated":1618952907,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d51aec","attributes":{"enabled":true,"created":1618952911,"updated":1618952911,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '885' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EUkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f61a186e","attributes":{"enabled":true,"created":1618953293,"updated":1618953293,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '693' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:55 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret156961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UY3lNMEV4TkVRMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '693' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UY3lNMEV4TkVRMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret194d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret194d51aec","attributes":{"enabled":true,"created":1618952911,"updated":1618952911,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTROMFl3UkRKQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '885' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UY3lNMEV4TkVRMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTROMFl3UkRKQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f61a186e","attributes":{"enabled":true,"created":1618953293,"updated":1618953293,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qUkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '688' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTROMFl3UkRKQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qUkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret256961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret294d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret294d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '885' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qUkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f61a186e","attributes":{"enabled":true,"created":1618953293,"updated":1618953293,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '693' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret356961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16Y3lNMEV4TkVRMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '693' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:56 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16Y3lNMEV4TkVRMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret394d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret394d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTROMFl3UkRKQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '885' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16Y3lNMEV4TkVRMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTROMFl3UkRKQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EUkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '688' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTROMFl3UkRKQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EUkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret456961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret494d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret494d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '885' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EUkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '693' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f61b186f","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret556961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UY3lNMEV4TkVRMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '693' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UY3lNMEV4TkVRMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret594d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret594d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTROMFl3UkRKQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '885' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:57 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UY3lNMEV4TkVRMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTROMFl3UkRKQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f61b186f","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qUkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '688' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTROMFl3UkRKQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qUkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret656961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret694d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret694d51aec","attributes":{"enabled":true,"created":1618952913,"updated":1618952913,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '885' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qUkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '693' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f61b186f","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '219' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:58 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_list_7_1.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_list_7_1.yaml new file mode 100644 index 000000000000..1e2fc0711387 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_async.test_secret_list_7_1.yaml @@ -0,0 +1,1052 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec042d50faa?api-version=7.1 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: no-cache + content-length: '87' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + www-authenticate: Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec042d50faa?api-version=7.1 +- request: + body: '{"value": "secVal0"}' + headers: + Accept: + - application/json + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec042d50faa?api-version=7.1 + response: + body: + string: '{"value":"secVal0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec042d50faa/4dc64a4f2b2c4b6b8957cbe3a1507d32","attributes":{"enabled":true,"created":1618954500,"updated":1618954500,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '260' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec042d50faa?api-version=7.1 +- request: + body: '{"value": "secVal1"}' + headers: + Accept: + - application/json + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec142d50faa?api-version=7.1 + response: + body: + string: '{"value":"secVal1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec142d50faa/63a47e1c573a4542806c23369ca285c6","attributes":{"enabled":true,"created":1618954500,"updated":1618954500,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '260' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:34:59 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec142d50faa?api-version=7.1 +- request: + body: '{"value": "secVal2"}' + headers: + Accept: + - application/json + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec242d50faa?api-version=7.1 + response: + body: + string: '{"value":"secVal2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec242d50faa/8dbf0f4b134748a692a022ef8169033a","attributes":{"enabled":true,"created":1618954500,"updated":1618954500,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '260' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:00 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec242d50faa?api-version=7.1 +- request: + body: '{"value": "secVal3"}' + headers: + Accept: + - application/json + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec342d50faa?api-version=7.1 + response: + body: + string: '{"value":"secVal3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec342d50faa/fe3bbc73ee464b8bb0d10fafa67b239f","attributes":{"enabled":true,"created":1618954500,"updated":1618954500,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '260' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:00 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec342d50faa?api-version=7.1 +- request: + body: '{"value": "secVal4"}' + headers: + Accept: + - application/json + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec442d50faa?api-version=7.1 + response: + body: + string: '{"value":"secVal4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec442d50faa/eb73b9bd858e4d99bb7593c7befb4101","attributes":{"enabled":true,"created":1618954501,"updated":1618954501,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '260' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:00 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec442d50faa?api-version=7.1 +- request: + body: '{"value": "secVal5"}' + headers: + Accept: + - application/json + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec542d50faa?api-version=7.1 + response: + body: + string: '{"value":"secVal5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec542d50faa/97f96925b230404b95c83a68a5f026b3","attributes":{"enabled":true,"created":1618954501,"updated":1618954501,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '260' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:00 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec542d50faa?api-version=7.1 +- request: + body: '{"value": "secVal6"}' + headers: + Accept: + - application/json + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec642d50faa?api-version=7.1 + response: + body: + string: '{"value":"secVal6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec642d50faa/195ebb4c54b54f77a9998dbee25661d1","attributes":{"enabled":true,"created":1618954501,"updated":1618954501,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '260' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets/livekvtestsec642d50faa?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?maxresults=6&api-version=7.1 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec042d40fa9","attributes":{"enabled":true,"created":1618954492,"updated":1618954492,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec042d50faa","attributes":{"enabled":true,"created":1618954500,"updated":1618954500,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec0b5b9112c","attributes":{"enabled":true,"created":1618954485,"updated":1618954485,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec142d40fa9","attributes":{"enabled":true,"created":1618954493,"updated":1618954493,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETVRReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1144' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/secrets?maxresults=6&api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETVRReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec142d50faa","attributes":{"enabled":true,"created":1618954500,"updated":1618954500,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec1b5b9112c","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec242d40fa9","attributes":{"enabled":true,"created":1618954493,"updated":1618954493,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec242d50faa","attributes":{"enabled":true,"created":1618954500,"updated":1618954500,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec2b5b9112c","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec342d40fa9","attributes":{"enabled":true,"created":1618954493,"updated":1618954493,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1564' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETVRReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec342d50faa","attributes":{"enabled":true,"created":1618954500,"updated":1618954500,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec3b5b9112c","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec442d40fa9","attributes":{"enabled":true,"created":1618954494,"updated":1618954494,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec442d50faa","attributes":{"enabled":true,"created":1618954501,"updated":1618954501,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec4b5b9112c","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec542d40fa9","attributes":{"enabled":true,"created":1618954494,"updated":1618954494,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETlRReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1564' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETlRReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec542d50faa","attributes":{"enabled":true,"created":1618954501,"updated":1618954501,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec5b5b9112c","attributes":{"enabled":true,"created":1618954487,"updated":1618954487,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec642d40fa9","attributes":{"enabled":true,"created":1618954494,"updated":1618954494,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec642d50faa","attributes":{"enabled":true,"created":1618954501,"updated":1618954501,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c","attributes":{"enabled":true,"created":1618953969,"updated":1618953969,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d","attributes":{"enabled":true,"created":1618953972,"updated":1618953972,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1562' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:01 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETlRReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec6b5b9112c","attributes":{"enabled":true,"created":1618954487,"updated":1618954487,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f510e1","attributes":{"enabled":true,"created":1618953589,"updated":1618953589,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f610e2","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbakf0621264","attributes":{"enabled":true,"created":1618953589,"updated":1618953589,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f","attributes":{"enabled":true,"created":1618953814,"updated":1618953814,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name17de1309","attributes":{"enabled":true,"created":1618953974,"updated":1618953974,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVV5UVVNeE1qbERJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1586' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:02 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVV5UVVNeE1qbERJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name2ac129c","attributes":{"enabled":true,"created":1618953816,"updated":1618953816,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578","attributes":{"enabled":true,"created":1618953460,"updated":1618953460,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name508a1579","attributes":{"enabled":true,"created":1618953439,"updated":1618953439,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name54f31c5b","attributes":{"enabled":true,"created":1618952915,"updated":1618952915,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name85a81119","attributes":{"enabled":true,"created":1618953817,"updated":1618953817,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0TlVFNU1URXhRU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1398' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:02 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVV5UVVNeE1qbERJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0TlVFNU1URXhRU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name85a9111a","attributes":{"enabled":true,"created":1618953818,"updated":1618953818,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978","attributes":{"enabled":true,"created":1618953050,"updated":1618953050,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b61ad8","attributes":{"enabled":true,"created":1618953011,"updated":1618953011,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b71ad9","attributes":{"enabled":true,"created":1618952953,"updated":1618952953,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBSR01URTROaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1182' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:02 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0TlVFNU1URXhRU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBSR01URTROaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name97df1186","attributes":{"enabled":true,"created":1618953975,"updated":1618953975,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name97e01187","attributes":{"enabled":true,"created":1618953815,"updated":1618953815,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea4ce19de","attributes":{"enabled":true,"created":1618953276,"updated":1618953276,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5","attributes":{"enabled":true,"created":1618953095,"updated":1618953095,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6","attributes":{"enabled":true,"created":1618953120,"updated":1618953120,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZGUXpFM01UWkdRaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1399' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:02 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBSR01URTROaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZGUXpFM01UWkdRaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb","attributes":{"enabled":true,"created":1618953392,"updated":1618953392,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fc185b","attributes":{"enabled":true,"created":1618953370,"updated":1618953370,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fd185c","attributes":{"enabled":true,"created":1618953297,"updated":1618953297,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EUkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '955' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:02 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZGUXpFM01UWkdRaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EUkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret056961c6e","attributes":{"enabled":true,"created":1618952907,"updated":1618952907,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '735' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EUkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d51aec","attributes":{"enabled":true,"created":1618952911,"updated":1618952911,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FWTJNVUV4T0RaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '735' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FWTJNVUV4T0RaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f61a186e","attributes":{"enabled":true,"created":1618953293,"updated":1618953293,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret156961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UWkRNVEF3UmpneElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '948' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FWTJNVUV4T0RaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UWkRNVEF3UmpneElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret194d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret194d51aec","attributes":{"enabled":true,"created":1618952911,"updated":1618952911,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '948' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UWkRNVEF3UmpneElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f61a186e","attributes":{"enabled":true,"created":1618953293,"updated":1618953293,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qUkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '730' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qUkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret256961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret294d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '735' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:03 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qUkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret294d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rWTJNVUV4T0RaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '735' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:04 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rWTJNVUV4T0RaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f61a186e","attributes":{"enabled":true,"created":1618953293,"updated":1618953293,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret356961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16WkRNVEF3UmpneElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '948' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:04 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rWTJNVUV4T0RaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16WkRNVEF3UmpneElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret394d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret394d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '948' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:04 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16WkRNVEF3UmpneElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EUkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '730' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EUkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret456961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret494d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '735' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EUkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret494d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FWTJNVUV4T0RaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '735' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:05 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FWTJNVUV4T0RaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f61b186f","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret556961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UWkRNVEF3UmpneElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '948' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FWTJNVUV4T0RaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UWkRNVEF3UmpneElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret594d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret594d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '948' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UWkRNVEF3UmpneElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f61b186f","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qUkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '730' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:07 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qUkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret656961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret694d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '735' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:08 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qUkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret694d51aec","attributes":{"enabled":true,"created":1618952913,"updated":1618952913,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTJNVUV4T0RaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '735' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:08 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTJNVUV4T0RaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f61b186f","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '453' + content-type: application/json; charset=utf-8 + date: Tue, 20 Apr 2021 21:35:08 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.236.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTJNVUV4T0RaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_backup_restore.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_backup_restore.yaml deleted file mode 100644 index f4f8a59bef1c..000000000000 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_backup_restore.yaml +++ /dev/null @@ -1,863 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak4238101d?api-version=7.1 - response: - body: - string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer - or PoP token."}}' - headers: - cache-control: - - no-cache - content-length: - - '87' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:14 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - www-authenticate: - - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", - resource="https://vault.azure.net" - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 401 - message: Unauthorized -- request: - body: '{"value": "secVal"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak4238101d?api-version=7.1 - response: - body: - string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak4238101d/e4b4a5764bbd4baa8e65ef47783449fc","attributes":{"enabled":true,"created":1613675894,"updated":1613675894,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '259' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:14 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak4238101d/backup?api-version=7.1 - response: - body: - string: '{"value":"KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuR1dxSS1FZV9iWHRhcGx0eFR3OHY2SFdjb0VwZ1E5b3k3NUR5Ui1MN0N1UzlHSGVNTDFTMUtWYzFBdmNXR0ZuZ2hPT3RlU3JhU3pBRTJDSkx4MXlMLVh1QVJnQmlKMlJlT2t6WU9vNF9adGRxWHdSRWVsc1p4bkpOUFEyRWxjaVdQcG5nZzh3V0FHMjBsbmNuREhMNjFBcEZJN1B4Q0x5bUF2djlBNG9PT2xVQmNUQ3Z3NEhxYVRwX3RBbHZNaldpLXJpRmwweVdzQ05sblgzY3Z4cW81RmVhaExxQ1MzY1c4SlhNaC1haTZyMXM5QkRqV3VGbEk0ZlZqTWFUQllfUlpXNWNOOVRveTR3ZnBuSk1LeXZ4N3FfU0FDM1FnOXNKTUVFd3RYN2tOMVR4YUlBTUkxMDVSbWZsZ0t5djRZenFtbGtPMk1Pb29lb1dMekR3eXplOGp3LjE1STlpbGNRaVd3WW5JSFVlZ2U1dEEuMmFmM2l2SWZiSVp2bUdDclpUUmF6WEVrZ2hKWEQwT3laVjN4d1BfM1RzV1V0OUJpOHA5V0Z5b3dYeFpjSGZidVlyOEFCbFJqM3ppWkxFWmtrbWJTenZTdk5TME1Namp6b3BwUVg5SGpUZ3ZXYkd1cDZzdW9QTng1d1NpOVU0LXNCeDZ1TUFNb2RhZXN0YnlkSGxCemptMmJtSk5CeV9xdkVULTJLMnV4Q21SaWhRNUNIRGJqVmlXelBJaTcxSGhZX2w5TlpJdXNrekVsNklsdFFiaVlOSjY3UkljblVWRmdETTBSbWNZQlgwaUp3SzJ2anZleEtCNkY5Rkd4UDZxRWlDTFR3bnVELTdoYXNLTWFudGJTb3VtbG5SQWpEQVpsajluNC02ZTM1LUl5cjA0WFMxU1F0YWpyNU50Y3ZrMXF4U3B5OC1USVZxalVDaGkzWWZ4QUZFbWNSZ0RzREc0SVE2c2g2RjR3eE9uT0hBMFA1UnBxTXI3Q1pLWlVmc1doX2MyRjFHb0lWcWFxc1ExbHQ0S3J2X2hSM1k1MTNpWVNrNFl6aW9XdjBDTmJuMXdTZGIxeDBlb0dMMG14YjRGUGREQmYzbGtKdWROenQxOVVpZ3BYNHZyTi1VOVN3MHJwNHhSV1k4b2NRSzFmNG1xVEdaU0Fvc2dhaVpLQlY2WDVsZkgyaTFpT1FFY2ZyWGU3SjdLbnozNk95UEZvcUdmZlNVM2h2STBlOEhqSVVHMjh6Uy1UczJyejMxamxYRDVfb3ljR1ZFdjVPNmx4TUpia0pveTQ1YWEtbjg4cTZyOWlEQXM0aGdUT0xyYlBUODAzQ19EZmhEZHAwTjAyeHpwTzFnNVFJM2pLWElwdjMxQXdHV1E2TW4xT0hNbTRpMlNKOTlmSTZzMmlKTmJEWG92RXV5bVdVeERFa2FJX1JmcWRoNFU3aU9iekQ1WWdpcG5OY1hGSFZLQUwwVGJFb0h2N05RRm5zbkRIcXVoemJMVmlJTldyZXFMcF9xMHlHQzBUM20ybmloRjQ1UW0yWWdpS2MyMXpHanFPd0NQb3dnTXVEdDMxV3FLUkNtRXFLR2dYOUw4X3BRLXBvTEN0TmRvbS1ERDZzUGhCSFZlNVp3ck80ZFR4Ums5ejBfZmI5UHI3VU1PM3RRaFBseUJTQWhMLUxwYmpBeXRoV1Rual84SnVsbFJRQzF4amhNUUVWZWRJVXlLbDY0bzVEUmplMHFKNm9OOGFFOTBqYlBsaEpiLVJZUTN1X1ByNHRkLTVyUkxiZDZIaF9QN3VyZG40NGxtUmZWMV92VC1SbXlfTU5nQmRad2VDMFJLOUJwelF3OUZHUm03Rmp1UmRkU3JWRWF4QUc1NG9LMUdxWVlhbXgtOGlkS1hGR053UFJXSVpocHpQakNqSF93YUdlX3J4NWRVd0ZpbUNZb0ZsVTRIM25yY1drWV84REp0aWhPSVZRVVhPa3NtSkFNbjNFZF9LcFZJcnRGYnBacWpRYS15WmFDUTZXcVpXUW5iR202S2x2ajJoS0VIampPT2pYcnBDM2hqeklSM0o5cm9ib2hiOEhZRlFRcTEtSENMODdmMnZmenU5dmM5NWNJTnB0elBOTU9iM01fWnNQa0lndjI4WVYzU2IzZnhuM1M0ajdGTGZpYWM2TXBjVklfU3U4RTRYXzRFYUlMT0ZvaXpENFZnMlBoSkpkeHk4aDZXeEZLaWs2ekR4QmgteGMxMFVPWHFhMDlvQXVCV0ZWT2tGM1F1WFE5bjhUM0NvQ05fdDR2UEE4NWI4bktKNTkzbVF5YVpkUTRmRXBDRjJtaUxGYWtSeEhUNVhWX0ZCZ3BERXU1dUNQS2xoblBKb0swNWxsT3htekItVTNiNmkydnk2NE12SU1VNTd6STRsalBtSHMyR1dqbEVaX2ctSTBYazFiOFo1NFRvUE1GS2ZhRFZ4X1l3bllmbWRqaFBaZTdjUVRsS1A5SFJUZDJjeTdZdU05RzF3Sjg0MDhOc1lIZWNtRnk0NnMwZUhTR2ZxOU00S2hjeW9sMG54NGRCWU14U1lqU2ZjMXVUMVgxc1lkc1JtcGNPS0NPM3dOVUVNbUFLWGpKanJ2cDNWaWNxbk5OcXNIc1NpOTU0bERsbTU0Uk1ON3VrWkEtUW5DOEFEUFpocTgxd0VnN1BaaERoZU9ySWFBbEh5MHBmbHVNN3ZKUzUzM1V5Zmd1LVdvV3llcnVISG8zYTJ4YS1BNGpiRThaN2F6V1NVcEpaWHZpY3FQcGFub0ZPajRMNXFaaXREd1dDZjM1Y3AtMTNCbldyeG1wUXpMV1VVNGtabXdpY2ZabEdaaDFxQjVhMHhsU1hwUDRJT0wySWtCVHoxVU82OEN5Wmt2QlhycERaUE1tNkZQbFR3bHMwSzdjWjRtdUVQUnBkUl9mNVRwWUtjMklFNC1wdjBOczdCZlVCRVpRZHZSdnVXRzBsRDB2cTJ1QUUwaXc0c3F2cjNxdXhIR3RRd0hENkFxcHpnQjdVdHRQbHVMN2VsbndNbElaQWRremRPUnh3Z2FyaGZBczFvSFdOX1pDQm5GX3hqeVVOZUVObk9SUkp0bjdkTTlXVjJVVUMwVG1WY1ZpN3dWdkdoeFZxelBsUEFONjIxRWJPcUNubFdNR3poOFhYV292UXFLRWo0TEVXcktaN3Z4bm5mWDY5Tkt2UTdrSEFIa3c1am9qdjRqRXFTalhzRGk5dUc5TkoxV3hiTm14TlZ1RDYyeFkwbmlQaDc4R0MyeXNxN29rWVZfTHMyQVhTaDBzYk9wX1pXNDQwRjZCOUN4dVVOWUNwODdHbkJNbFlhTnFuOE9BWXh0M055LUwxeGR2VVJYV1d5RHVqZXE5S2VJN0llQkktckh1LTBhY2xuWlV0NzNjNEFpWE9xa011OTRXa0NaMHJrSnhRQUpXYnp2cVBpQS04N1Z4R3ZfRm1mYS01WVJpTWlDWmFqZ1RCc0J2S0gwdXd6bEhZeGJPZGlqbkJva0hVUlFqSm4zMjFUVE9MUENOTWVDWGM4N2MzRkRkNmxCcDVNdkFMWXhuek5qUjVrZmdKV1dTelhHUW9wbDlqY1BhUk9UaFdBLWV2RFpKU3ZCRUtOTDUyQ0RSMWFUYWRnLWpMSTRnM2NjeUxERnZHV0JCOWFSMUItZkZKa21GODZhdVZ2YUJwN2F1T2g5c2ZncjFZYzJTYjVPLWhjY3lpSTJDeEdpanF4dElad1BRSWZORzdJMUFuSHltLWYxUTFZNC1Pdk92bUJkMTd5ekRmWFhHNFVVR2dESldKbDVjU01TemZFdWtuZGZhVlBOTjJ5anpiaDZHVDN3VjJ5ZXBrejNvRHVCT3lkUGsxMDB2Zkx5dkFMd2dNWFVSbGhLQjV2RGZCeEdlakpJQ083dHZ5YUo3elBaT2ZIV0t2aW1HVlJUZnBtelN2aUhlZjRadEVnTW9DY0dodmx2aEZMUTZqdWFRVElYdENCRlM0RENIWGRhb2pqZk8tTXgxbXlGNUVQcXNJVGlLOXVuSGRTWUEtRk1fZlh1OXd5WjhNQUxZVnVxWFZOSDZDUkZFNWlrQV9rdU5YQV92X3FiU1ZmZlNjTEJROXlsZGl3UGtGMzljeWJGT2U4cXNJcVMxUXVYbWhPcnVBZTJIbmxaLUJuTXlUa1U0aEVwVDBBWWt4OXdyNmpmSkdqSDUwcHZZQ015NmZaWUpmM05DY0NPSnFXZ3VTdzZBTlhHSEF0NHQ0cE5Ia3ZXczBvSE00b3Z2cnFVUEZoR055aW9mR1doNkdmN2x5YmpzN2dKNlZVc3Z4RUJFTlBubWtKcDY5a1ZRYTUySTIxQm5FZGVpOEtReXBEaW9OcnBpT3BDUkJhTXZpeHQ5V05aRHczdVVISFZ6MHR6eElhM2pVYmQ0dHE0VWJ1SUJtNkdGUTMxVW9jMVBiUzVZcGdSM2J4d3RrN0M1eGpVUGkzd1Y2YzRxNE9JUGw3eTQ2d0V4THFIbHFFNWxqOHdCOE1NYV9kVFJPTlIyeV9BOEVsZE5PUl96QzI1c0g4ZEpFUnBLZHJfRGIzdzJCMDFhN0hubVlLMk9KUjRhMjllODh3US1HT2lmckJZVHIyLXk0SlBaQ0VFUUNjbDBBanRVZjljeEt5TjZVOUVTeFY3SjVJNmFaX01QMDZ2VHJJMERablgtWXptWXhzVEdqRFI5OFJmTjR2ZlRNQzNFTW8wRFhzekZVdGEzak1lTWlIOWpZUEs5N09MbGYtQlItS2g4NHY4XzlERzBHbGltcE13X1l0Y2RFLTVNc3ZTYjZvSFNDTjZBdXR5N3p0TXdfT0dtbDhmbGZTcDhsdHBHOGh6TFV5YS1CYnBUMGFBUGpwV2dFSHc2VHBPSllCekp5dG1MQzczZ213WFRuRHdKQmt2THVZSlpHTno0b0hQUjdrU2pWWWxXbVZfN2NxZUFWVkJ1Y05BX3lGVE40UkU4SGZucnZGTmVxZFJLampRZTlqdmpFclBnOHkwUDI2cUhjTkNKZmtlaUNZcFE2WUZYa1FHbXJ2ekdVX1BhMnEyZ2JKTVQ2TmpfX0thYmRqMTVSZklOek5hcThnUFlsMUZtQUt1VlR2VGN3S2pwM1VUYmkzbG1ndDgtV1hjdW9oZVVGSHJmX1RjbllIYU1wZzZLaWk3a1d5TTFEVnp5OFZGeGZPNXMwVGNoNWhRUFNVRDltbjZ5NHNSYS14NUpuLTRVdVRhd3d6dVRDZEJMNWxuVF9KMmpFalA4SzJLOEFhM0ExdFU3OFBmRXR0VzNLLUUwMkMzaEpHYVNPeHNGR0FrTDhmMURudDdTVlVhWWwtM001NUJ3M2phSzNITk50VWd0LTNIX0Y5VUh0SmFSSmJVdWlFS0l0bUhMS0R3ZGE4SjVjTVNZb3d3anF3R2s5Mnp4Y1dPYXJTZllVMjhDSUdBemtqNEdCWFB6VWdwNkJrVWJyNTcydlJaaUVrQWppdmNzemRZRnlGdDlDa0E0bExMeXpjU0stRm5QbVlmbzJIdFUzVjVoR3hfcTVPZGRtS0dMQ0V6UEhpWkVSTUFCYUxtWk5JVkg2cWZZTlJ3dzVBcURMN2VudUU1czdFR1BJM2VzcG5td2UzSTlMS3B6SE1WZ24wd0NEbkJLRl9wRnpGWndjbUNTc2gxY3NGZERRdXBScWN0ajZlSUdDUks5SjNDckRfYk1YX3lSelh6R2c4cDlWMTZ6T0RkdnFhNi1IeFpkVVY2SG9qczJreTMzbHBxNXJERDc2VTJscmo3YlNTSkZydjdkZlZJQThBSUlIdlQ1eUZYbzJiRXpVZE9KQUtKMW5veVRFZ1dqMFJLb2xTOFhrVjNRQllsYVE1ZXFvT3I1NGFfTXNITk5US0ZIZkJyVHlabFZsb0JhRlh5YUZDWFExY3lrRWFxLThORnRYWWhWZ01lc05XUXFDQm12Zkx2ZHpXeDRUck9nY25oT2JPVjN0TWVDVkZlQ3V4MzRsN0JkWV95Tm43UG55RWUzUlVQUXZfQW9xdDFVRnMzdEFXWS1oNTRwazJWSTNJRUtWbDVEYzV0WGJYcEtFVlRuVEwtOWhUbmxtR2VLT090bjV3aW1wbmE2ZERvT0I4cWhlbkdqeUJ1SnpMT2NfVjRXWHpKWW1YRWFHdlB3MzE4TWxraHBfbmYyOV9NNlZLX0dOSjJlX2d1R3R0d2ZMWE4yM3pFSkVVb1pmVHRzSnl2QTNnN2xEcllXMTJCR0M0RHRIaTFKWFQyZTdtWXhZVkd6WnFRV1VwMUNpT2Jvd0V6N0tubWJtQnpEWHEwWFdHWk1ERkYtRXp0LUFodVZmN0FsZkFBLTlzR2xEU3RrOVFqS09wYzQ2QWhZclZod1d1amtnbXVOa0tXYWxJd1BwMkUwT3dFZlB1ZTJKWVFPM0V3RmhncWR2X3FMNktCYUU3a0pHa2RjT3VXd1U5N2VuazhqMlFURXhRV1duenJCWTE0ajBoLXc1ODNBb3J6aTNsTFozdUtsU2tDRTYwcTNUdnBoY3paSzguS0hzbnpiNFBxcUJQbEljblllMjJUQ3M4WURtRWpuWE5ENEhzTUpudU14cw"}' - headers: - cache-control: - - no-cache - content-length: - - '6806' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:14 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak4238101d?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak4238101d","deletedDate":1613675895,"scheduledPurgeDate":1621451895,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak4238101d/e4b4a5764bbd4baa8e65ef47783449fc","attributes":{"enabled":true,"created":1613675894,"updated":1613675894,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '389' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:14 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak4238101d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecbak4238101d"}}' - headers: - cache-control: - - no-cache - content-length: - - '98' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:15 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak4238101d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecbak4238101d"}}' - headers: - cache-control: - - no-cache - content-length: - - '98' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:16 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak4238101d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecbak4238101d"}}' - headers: - cache-control: - - no-cache - content-length: - - '98' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:18 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak4238101d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecbak4238101d"}}' - headers: - cache-control: - - no-cache - content-length: - - '98' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:21 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak4238101d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecbak4238101d"}}' - headers: - cache-control: - - no-cache - content-length: - - '98' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:22 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak4238101d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecbak4238101d"}}' - headers: - cache-control: - - no-cache - content-length: - - '98' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:25 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak4238101d?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecbak4238101d"}}' - headers: - cache-control: - - no-cache - content-length: - - '98' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:27 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak4238101d?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak4238101d","deletedDate":1613675895,"scheduledPurgeDate":1621451895,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak4238101d/e4b4a5764bbd4baa8e65ef47783449fc","attributes":{"enabled":true,"created":1613675894,"updated":1613675894,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '389' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:29 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak4238101d?api-version=7.1 - response: - body: - string: '' - headers: - cache-control: - - no-cache - date: - - Thu, 18 Feb 2021 19:18:29 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 204 - message: No Content -- request: - body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuR1dxSS1FZV9iWHRhcGx0eFR3OHY2SFdjb0VwZ1E5b3k3NUR5Ui1MN0N1UzlHSGVNTDFTMUtWYzFBdmNXR0ZuZ2hPT3RlU3JhU3pBRTJDSkx4MXlMLVh1QVJnQmlKMlJlT2t6WU9vNF9adGRxWHdSRWVsc1p4bkpOUFEyRWxjaVdQcG5nZzh3V0FHMjBsbmNuREhMNjFBcEZJN1B4Q0x5bUF2djlBNG9PT2xVQmNUQ3Z3NEhxYVRwX3RBbHZNaldpLXJpRmwweVdzQ05sblgzY3Z4cW81RmVhaExxQ1MzY1c4SlhNaC1haTZyMXM5QkRqV3VGbEk0ZlZqTWFUQllfUlpXNWNOOVRveTR3ZnBuSk1LeXZ4N3FfU0FDM1FnOXNKTUVFd3RYN2tOMVR4YUlBTUkxMDVSbWZsZ0t5djRZenFtbGtPMk1Pb29lb1dMekR3eXplOGp3LjE1STlpbGNRaVd3WW5JSFVlZ2U1dEEuMmFmM2l2SWZiSVp2bUdDclpUUmF6WEVrZ2hKWEQwT3laVjN4d1BfM1RzV1V0OUJpOHA5V0Z5b3dYeFpjSGZidVlyOEFCbFJqM3ppWkxFWmtrbWJTenZTdk5TME1Namp6b3BwUVg5SGpUZ3ZXYkd1cDZzdW9QTng1d1NpOVU0LXNCeDZ1TUFNb2RhZXN0YnlkSGxCemptMmJtSk5CeV9xdkVULTJLMnV4Q21SaWhRNUNIRGJqVmlXelBJaTcxSGhZX2w5TlpJdXNrekVsNklsdFFiaVlOSjY3UkljblVWRmdETTBSbWNZQlgwaUp3SzJ2anZleEtCNkY5Rkd4UDZxRWlDTFR3bnVELTdoYXNLTWFudGJTb3VtbG5SQWpEQVpsajluNC02ZTM1LUl5cjA0WFMxU1F0YWpyNU50Y3ZrMXF4U3B5OC1USVZxalVDaGkzWWZ4QUZFbWNSZ0RzREc0SVE2c2g2RjR3eE9uT0hBMFA1UnBxTXI3Q1pLWlVmc1doX2MyRjFHb0lWcWFxc1ExbHQ0S3J2X2hSM1k1MTNpWVNrNFl6aW9XdjBDTmJuMXdTZGIxeDBlb0dMMG14YjRGUGREQmYzbGtKdWROenQxOVVpZ3BYNHZyTi1VOVN3MHJwNHhSV1k4b2NRSzFmNG1xVEdaU0Fvc2dhaVpLQlY2WDVsZkgyaTFpT1FFY2ZyWGU3SjdLbnozNk95UEZvcUdmZlNVM2h2STBlOEhqSVVHMjh6Uy1UczJyejMxamxYRDVfb3ljR1ZFdjVPNmx4TUpia0pveTQ1YWEtbjg4cTZyOWlEQXM0aGdUT0xyYlBUODAzQ19EZmhEZHAwTjAyeHpwTzFnNVFJM2pLWElwdjMxQXdHV1E2TW4xT0hNbTRpMlNKOTlmSTZzMmlKTmJEWG92RXV5bVdVeERFa2FJX1JmcWRoNFU3aU9iekQ1WWdpcG5OY1hGSFZLQUwwVGJFb0h2N05RRm5zbkRIcXVoemJMVmlJTldyZXFMcF9xMHlHQzBUM20ybmloRjQ1UW0yWWdpS2MyMXpHanFPd0NQb3dnTXVEdDMxV3FLUkNtRXFLR2dYOUw4X3BRLXBvTEN0TmRvbS1ERDZzUGhCSFZlNVp3ck80ZFR4Ums5ejBfZmI5UHI3VU1PM3RRaFBseUJTQWhMLUxwYmpBeXRoV1Rual84SnVsbFJRQzF4amhNUUVWZWRJVXlLbDY0bzVEUmplMHFKNm9OOGFFOTBqYlBsaEpiLVJZUTN1X1ByNHRkLTVyUkxiZDZIaF9QN3VyZG40NGxtUmZWMV92VC1SbXlfTU5nQmRad2VDMFJLOUJwelF3OUZHUm03Rmp1UmRkU3JWRWF4QUc1NG9LMUdxWVlhbXgtOGlkS1hGR053UFJXSVpocHpQakNqSF93YUdlX3J4NWRVd0ZpbUNZb0ZsVTRIM25yY1drWV84REp0aWhPSVZRVVhPa3NtSkFNbjNFZF9LcFZJcnRGYnBacWpRYS15WmFDUTZXcVpXUW5iR202S2x2ajJoS0VIampPT2pYcnBDM2hqeklSM0o5cm9ib2hiOEhZRlFRcTEtSENMODdmMnZmenU5dmM5NWNJTnB0elBOTU9iM01fWnNQa0lndjI4WVYzU2IzZnhuM1M0ajdGTGZpYWM2TXBjVklfU3U4RTRYXzRFYUlMT0ZvaXpENFZnMlBoSkpkeHk4aDZXeEZLaWs2ekR4QmgteGMxMFVPWHFhMDlvQXVCV0ZWT2tGM1F1WFE5bjhUM0NvQ05fdDR2UEE4NWI4bktKNTkzbVF5YVpkUTRmRXBDRjJtaUxGYWtSeEhUNVhWX0ZCZ3BERXU1dUNQS2xoblBKb0swNWxsT3htekItVTNiNmkydnk2NE12SU1VNTd6STRsalBtSHMyR1dqbEVaX2ctSTBYazFiOFo1NFRvUE1GS2ZhRFZ4X1l3bllmbWRqaFBaZTdjUVRsS1A5SFJUZDJjeTdZdU05RzF3Sjg0MDhOc1lIZWNtRnk0NnMwZUhTR2ZxOU00S2hjeW9sMG54NGRCWU14U1lqU2ZjMXVUMVgxc1lkc1JtcGNPS0NPM3dOVUVNbUFLWGpKanJ2cDNWaWNxbk5OcXNIc1NpOTU0bERsbTU0Uk1ON3VrWkEtUW5DOEFEUFpocTgxd0VnN1BaaERoZU9ySWFBbEh5MHBmbHVNN3ZKUzUzM1V5Zmd1LVdvV3llcnVISG8zYTJ4YS1BNGpiRThaN2F6V1NVcEpaWHZpY3FQcGFub0ZPajRMNXFaaXREd1dDZjM1Y3AtMTNCbldyeG1wUXpMV1VVNGtabXdpY2ZabEdaaDFxQjVhMHhsU1hwUDRJT0wySWtCVHoxVU82OEN5Wmt2QlhycERaUE1tNkZQbFR3bHMwSzdjWjRtdUVQUnBkUl9mNVRwWUtjMklFNC1wdjBOczdCZlVCRVpRZHZSdnVXRzBsRDB2cTJ1QUUwaXc0c3F2cjNxdXhIR3RRd0hENkFxcHpnQjdVdHRQbHVMN2VsbndNbElaQWRremRPUnh3Z2FyaGZBczFvSFdOX1pDQm5GX3hqeVVOZUVObk9SUkp0bjdkTTlXVjJVVUMwVG1WY1ZpN3dWdkdoeFZxelBsUEFONjIxRWJPcUNubFdNR3poOFhYV292UXFLRWo0TEVXcktaN3Z4bm5mWDY5Tkt2UTdrSEFIa3c1am9qdjRqRXFTalhzRGk5dUc5TkoxV3hiTm14TlZ1RDYyeFkwbmlQaDc4R0MyeXNxN29rWVZfTHMyQVhTaDBzYk9wX1pXNDQwRjZCOUN4dVVOWUNwODdHbkJNbFlhTnFuOE9BWXh0M055LUwxeGR2VVJYV1d5RHVqZXE5S2VJN0llQkktckh1LTBhY2xuWlV0NzNjNEFpWE9xa011OTRXa0NaMHJrSnhRQUpXYnp2cVBpQS04N1Z4R3ZfRm1mYS01WVJpTWlDWmFqZ1RCc0J2S0gwdXd6bEhZeGJPZGlqbkJva0hVUlFqSm4zMjFUVE9MUENOTWVDWGM4N2MzRkRkNmxCcDVNdkFMWXhuek5qUjVrZmdKV1dTelhHUW9wbDlqY1BhUk9UaFdBLWV2RFpKU3ZCRUtOTDUyQ0RSMWFUYWRnLWpMSTRnM2NjeUxERnZHV0JCOWFSMUItZkZKa21GODZhdVZ2YUJwN2F1T2g5c2ZncjFZYzJTYjVPLWhjY3lpSTJDeEdpanF4dElad1BRSWZORzdJMUFuSHltLWYxUTFZNC1Pdk92bUJkMTd5ekRmWFhHNFVVR2dESldKbDVjU01TemZFdWtuZGZhVlBOTjJ5anpiaDZHVDN3VjJ5ZXBrejNvRHVCT3lkUGsxMDB2Zkx5dkFMd2dNWFVSbGhLQjV2RGZCeEdlakpJQ083dHZ5YUo3elBaT2ZIV0t2aW1HVlJUZnBtelN2aUhlZjRadEVnTW9DY0dodmx2aEZMUTZqdWFRVElYdENCRlM0RENIWGRhb2pqZk8tTXgxbXlGNUVQcXNJVGlLOXVuSGRTWUEtRk1fZlh1OXd5WjhNQUxZVnVxWFZOSDZDUkZFNWlrQV9rdU5YQV92X3FiU1ZmZlNjTEJROXlsZGl3UGtGMzljeWJGT2U4cXNJcVMxUXVYbWhPcnVBZTJIbmxaLUJuTXlUa1U0aEVwVDBBWWt4OXdyNmpmSkdqSDUwcHZZQ015NmZaWUpmM05DY0NPSnFXZ3VTdzZBTlhHSEF0NHQ0cE5Ia3ZXczBvSE00b3Z2cnFVUEZoR055aW9mR1doNkdmN2x5YmpzN2dKNlZVc3Z4RUJFTlBubWtKcDY5a1ZRYTUySTIxQm5FZGVpOEtReXBEaW9OcnBpT3BDUkJhTXZpeHQ5V05aRHczdVVISFZ6MHR6eElhM2pVYmQ0dHE0VWJ1SUJtNkdGUTMxVW9jMVBiUzVZcGdSM2J4d3RrN0M1eGpVUGkzd1Y2YzRxNE9JUGw3eTQ2d0V4THFIbHFFNWxqOHdCOE1NYV9kVFJPTlIyeV9BOEVsZE5PUl96QzI1c0g4ZEpFUnBLZHJfRGIzdzJCMDFhN0hubVlLMk9KUjRhMjllODh3US1HT2lmckJZVHIyLXk0SlBaQ0VFUUNjbDBBanRVZjljeEt5TjZVOUVTeFY3SjVJNmFaX01QMDZ2VHJJMERablgtWXptWXhzVEdqRFI5OFJmTjR2ZlRNQzNFTW8wRFhzekZVdGEzak1lTWlIOWpZUEs5N09MbGYtQlItS2g4NHY4XzlERzBHbGltcE13X1l0Y2RFLTVNc3ZTYjZvSFNDTjZBdXR5N3p0TXdfT0dtbDhmbGZTcDhsdHBHOGh6TFV5YS1CYnBUMGFBUGpwV2dFSHc2VHBPSllCekp5dG1MQzczZ213WFRuRHdKQmt2THVZSlpHTno0b0hQUjdrU2pWWWxXbVZfN2NxZUFWVkJ1Y05BX3lGVE40UkU4SGZucnZGTmVxZFJLampRZTlqdmpFclBnOHkwUDI2cUhjTkNKZmtlaUNZcFE2WUZYa1FHbXJ2ekdVX1BhMnEyZ2JKTVQ2TmpfX0thYmRqMTVSZklOek5hcThnUFlsMUZtQUt1VlR2VGN3S2pwM1VUYmkzbG1ndDgtV1hjdW9oZVVGSHJmX1RjbllIYU1wZzZLaWk3a1d5TTFEVnp5OFZGeGZPNXMwVGNoNWhRUFNVRDltbjZ5NHNSYS14NUpuLTRVdVRhd3d6dVRDZEJMNWxuVF9KMmpFalA4SzJLOEFhM0ExdFU3OFBmRXR0VzNLLUUwMkMzaEpHYVNPeHNGR0FrTDhmMURudDdTVlVhWWwtM001NUJ3M2phSzNITk50VWd0LTNIX0Y5VUh0SmFSSmJVdWlFS0l0bUhMS0R3ZGE4SjVjTVNZb3d3anF3R2s5Mnp4Y1dPYXJTZllVMjhDSUdBemtqNEdCWFB6VWdwNkJrVWJyNTcydlJaaUVrQWppdmNzemRZRnlGdDlDa0E0bExMeXpjU0stRm5QbVlmbzJIdFUzVjVoR3hfcTVPZGRtS0dMQ0V6UEhpWkVSTUFCYUxtWk5JVkg2cWZZTlJ3dzVBcURMN2VudUU1czdFR1BJM2VzcG5td2UzSTlMS3B6SE1WZ24wd0NEbkJLRl9wRnpGWndjbUNTc2gxY3NGZERRdXBScWN0ajZlSUdDUks5SjNDckRfYk1YX3lSelh6R2c4cDlWMTZ6T0RkdnFhNi1IeFpkVVY2SG9qczJreTMzbHBxNXJERDc2VTJscmo3YlNTSkZydjdkZlZJQThBSUlIdlQ1eUZYbzJiRXpVZE9KQUtKMW5veVRFZ1dqMFJLb2xTOFhrVjNRQllsYVE1ZXFvT3I1NGFfTXNITk5US0ZIZkJyVHlabFZsb0JhRlh5YUZDWFExY3lrRWFxLThORnRYWWhWZ01lc05XUXFDQm12Zkx2ZHpXeDRUck9nY25oT2JPVjN0TWVDVkZlQ3V4MzRsN0JkWV95Tm43UG55RWUzUlVQUXZfQW9xdDFVRnMzdEFXWS1oNTRwazJWSTNJRUtWbDVEYzV0WGJYcEtFVlRuVEwtOWhUbmxtR2VLT090bjV3aW1wbmE2ZERvT0I4cWhlbkdqeUJ1SnpMT2NfVjRXWHpKWW1YRWFHdlB3MzE4TWxraHBfbmYyOV9NNlZLX0dOSjJlX2d1R3R0d2ZMWE4yM3pFSkVVb1pmVHRzSnl2QTNnN2xEcllXMTJCR0M0RHRIaTFKWFQyZTdtWXhZVkd6WnFRV1VwMUNpT2Jvd0V6N0tubWJtQnpEWHEwWFdHWk1ERkYtRXp0LUFodVZmN0FsZkFBLTlzR2xEU3RrOVFqS09wYzQ2QWhZclZod1d1amtnbXVOa0tXYWxJd1BwMkUwT3dFZlB1ZTJKWVFPM0V3RmhncWR2X3FMNktCYUU3a0pHa2RjT3VXd1U5N2VuazhqMlFURXhRV1duenJCWTE0ajBoLXc1ODNBb3J6aTNsTFozdUtsU2tDRTYwcTNUdnBoY3paSzguS0hzbnpiNFBxcUJQbEljblllMjJUQ3M4WURtRWpuWE5ENEhzTUpudU14cw"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '6807' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 - response: - body: - string: '{"error":{"code":"Conflict","message":"There was a conflict restoring - the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak4238101d/e4b4a5764bbd4baa8e65ef47783449fc''. - This can happen if either: a second secret with the same name was created - after the first secret was deleted; thus trying to restore a secret whose - name is already in use. To fix this, rename the second secret to something - else so that the restore works. The second probable cause of this exception - is when multiple operations are performed in parallel against the secret. - To avoid this error, perform operations against a secret in a sequential manner."}}' - headers: - cache-control: - - no-cache - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:29 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 409 - message: Conflict -- request: - body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuR1dxSS1FZV9iWHRhcGx0eFR3OHY2SFdjb0VwZ1E5b3k3NUR5Ui1MN0N1UzlHSGVNTDFTMUtWYzFBdmNXR0ZuZ2hPT3RlU3JhU3pBRTJDSkx4MXlMLVh1QVJnQmlKMlJlT2t6WU9vNF9adGRxWHdSRWVsc1p4bkpOUFEyRWxjaVdQcG5nZzh3V0FHMjBsbmNuREhMNjFBcEZJN1B4Q0x5bUF2djlBNG9PT2xVQmNUQ3Z3NEhxYVRwX3RBbHZNaldpLXJpRmwweVdzQ05sblgzY3Z4cW81RmVhaExxQ1MzY1c4SlhNaC1haTZyMXM5QkRqV3VGbEk0ZlZqTWFUQllfUlpXNWNOOVRveTR3ZnBuSk1LeXZ4N3FfU0FDM1FnOXNKTUVFd3RYN2tOMVR4YUlBTUkxMDVSbWZsZ0t5djRZenFtbGtPMk1Pb29lb1dMekR3eXplOGp3LjE1STlpbGNRaVd3WW5JSFVlZ2U1dEEuMmFmM2l2SWZiSVp2bUdDclpUUmF6WEVrZ2hKWEQwT3laVjN4d1BfM1RzV1V0OUJpOHA5V0Z5b3dYeFpjSGZidVlyOEFCbFJqM3ppWkxFWmtrbWJTenZTdk5TME1Namp6b3BwUVg5SGpUZ3ZXYkd1cDZzdW9QTng1d1NpOVU0LXNCeDZ1TUFNb2RhZXN0YnlkSGxCemptMmJtSk5CeV9xdkVULTJLMnV4Q21SaWhRNUNIRGJqVmlXelBJaTcxSGhZX2w5TlpJdXNrekVsNklsdFFiaVlOSjY3UkljblVWRmdETTBSbWNZQlgwaUp3SzJ2anZleEtCNkY5Rkd4UDZxRWlDTFR3bnVELTdoYXNLTWFudGJTb3VtbG5SQWpEQVpsajluNC02ZTM1LUl5cjA0WFMxU1F0YWpyNU50Y3ZrMXF4U3B5OC1USVZxalVDaGkzWWZ4QUZFbWNSZ0RzREc0SVE2c2g2RjR3eE9uT0hBMFA1UnBxTXI3Q1pLWlVmc1doX2MyRjFHb0lWcWFxc1ExbHQ0S3J2X2hSM1k1MTNpWVNrNFl6aW9XdjBDTmJuMXdTZGIxeDBlb0dMMG14YjRGUGREQmYzbGtKdWROenQxOVVpZ3BYNHZyTi1VOVN3MHJwNHhSV1k4b2NRSzFmNG1xVEdaU0Fvc2dhaVpLQlY2WDVsZkgyaTFpT1FFY2ZyWGU3SjdLbnozNk95UEZvcUdmZlNVM2h2STBlOEhqSVVHMjh6Uy1UczJyejMxamxYRDVfb3ljR1ZFdjVPNmx4TUpia0pveTQ1YWEtbjg4cTZyOWlEQXM0aGdUT0xyYlBUODAzQ19EZmhEZHAwTjAyeHpwTzFnNVFJM2pLWElwdjMxQXdHV1E2TW4xT0hNbTRpMlNKOTlmSTZzMmlKTmJEWG92RXV5bVdVeERFa2FJX1JmcWRoNFU3aU9iekQ1WWdpcG5OY1hGSFZLQUwwVGJFb0h2N05RRm5zbkRIcXVoemJMVmlJTldyZXFMcF9xMHlHQzBUM20ybmloRjQ1UW0yWWdpS2MyMXpHanFPd0NQb3dnTXVEdDMxV3FLUkNtRXFLR2dYOUw4X3BRLXBvTEN0TmRvbS1ERDZzUGhCSFZlNVp3ck80ZFR4Ums5ejBfZmI5UHI3VU1PM3RRaFBseUJTQWhMLUxwYmpBeXRoV1Rual84SnVsbFJRQzF4amhNUUVWZWRJVXlLbDY0bzVEUmplMHFKNm9OOGFFOTBqYlBsaEpiLVJZUTN1X1ByNHRkLTVyUkxiZDZIaF9QN3VyZG40NGxtUmZWMV92VC1SbXlfTU5nQmRad2VDMFJLOUJwelF3OUZHUm03Rmp1UmRkU3JWRWF4QUc1NG9LMUdxWVlhbXgtOGlkS1hGR053UFJXSVpocHpQakNqSF93YUdlX3J4NWRVd0ZpbUNZb0ZsVTRIM25yY1drWV84REp0aWhPSVZRVVhPa3NtSkFNbjNFZF9LcFZJcnRGYnBacWpRYS15WmFDUTZXcVpXUW5iR202S2x2ajJoS0VIampPT2pYcnBDM2hqeklSM0o5cm9ib2hiOEhZRlFRcTEtSENMODdmMnZmenU5dmM5NWNJTnB0elBOTU9iM01fWnNQa0lndjI4WVYzU2IzZnhuM1M0ajdGTGZpYWM2TXBjVklfU3U4RTRYXzRFYUlMT0ZvaXpENFZnMlBoSkpkeHk4aDZXeEZLaWs2ekR4QmgteGMxMFVPWHFhMDlvQXVCV0ZWT2tGM1F1WFE5bjhUM0NvQ05fdDR2UEE4NWI4bktKNTkzbVF5YVpkUTRmRXBDRjJtaUxGYWtSeEhUNVhWX0ZCZ3BERXU1dUNQS2xoblBKb0swNWxsT3htekItVTNiNmkydnk2NE12SU1VNTd6STRsalBtSHMyR1dqbEVaX2ctSTBYazFiOFo1NFRvUE1GS2ZhRFZ4X1l3bllmbWRqaFBaZTdjUVRsS1A5SFJUZDJjeTdZdU05RzF3Sjg0MDhOc1lIZWNtRnk0NnMwZUhTR2ZxOU00S2hjeW9sMG54NGRCWU14U1lqU2ZjMXVUMVgxc1lkc1JtcGNPS0NPM3dOVUVNbUFLWGpKanJ2cDNWaWNxbk5OcXNIc1NpOTU0bERsbTU0Uk1ON3VrWkEtUW5DOEFEUFpocTgxd0VnN1BaaERoZU9ySWFBbEh5MHBmbHVNN3ZKUzUzM1V5Zmd1LVdvV3llcnVISG8zYTJ4YS1BNGpiRThaN2F6V1NVcEpaWHZpY3FQcGFub0ZPajRMNXFaaXREd1dDZjM1Y3AtMTNCbldyeG1wUXpMV1VVNGtabXdpY2ZabEdaaDFxQjVhMHhsU1hwUDRJT0wySWtCVHoxVU82OEN5Wmt2QlhycERaUE1tNkZQbFR3bHMwSzdjWjRtdUVQUnBkUl9mNVRwWUtjMklFNC1wdjBOczdCZlVCRVpRZHZSdnVXRzBsRDB2cTJ1QUUwaXc0c3F2cjNxdXhIR3RRd0hENkFxcHpnQjdVdHRQbHVMN2VsbndNbElaQWRremRPUnh3Z2FyaGZBczFvSFdOX1pDQm5GX3hqeVVOZUVObk9SUkp0bjdkTTlXVjJVVUMwVG1WY1ZpN3dWdkdoeFZxelBsUEFONjIxRWJPcUNubFdNR3poOFhYV292UXFLRWo0TEVXcktaN3Z4bm5mWDY5Tkt2UTdrSEFIa3c1am9qdjRqRXFTalhzRGk5dUc5TkoxV3hiTm14TlZ1RDYyeFkwbmlQaDc4R0MyeXNxN29rWVZfTHMyQVhTaDBzYk9wX1pXNDQwRjZCOUN4dVVOWUNwODdHbkJNbFlhTnFuOE9BWXh0M055LUwxeGR2VVJYV1d5RHVqZXE5S2VJN0llQkktckh1LTBhY2xuWlV0NzNjNEFpWE9xa011OTRXa0NaMHJrSnhRQUpXYnp2cVBpQS04N1Z4R3ZfRm1mYS01WVJpTWlDWmFqZ1RCc0J2S0gwdXd6bEhZeGJPZGlqbkJva0hVUlFqSm4zMjFUVE9MUENOTWVDWGM4N2MzRkRkNmxCcDVNdkFMWXhuek5qUjVrZmdKV1dTelhHUW9wbDlqY1BhUk9UaFdBLWV2RFpKU3ZCRUtOTDUyQ0RSMWFUYWRnLWpMSTRnM2NjeUxERnZHV0JCOWFSMUItZkZKa21GODZhdVZ2YUJwN2F1T2g5c2ZncjFZYzJTYjVPLWhjY3lpSTJDeEdpanF4dElad1BRSWZORzdJMUFuSHltLWYxUTFZNC1Pdk92bUJkMTd5ekRmWFhHNFVVR2dESldKbDVjU01TemZFdWtuZGZhVlBOTjJ5anpiaDZHVDN3VjJ5ZXBrejNvRHVCT3lkUGsxMDB2Zkx5dkFMd2dNWFVSbGhLQjV2RGZCeEdlakpJQ083dHZ5YUo3elBaT2ZIV0t2aW1HVlJUZnBtelN2aUhlZjRadEVnTW9DY0dodmx2aEZMUTZqdWFRVElYdENCRlM0RENIWGRhb2pqZk8tTXgxbXlGNUVQcXNJVGlLOXVuSGRTWUEtRk1fZlh1OXd5WjhNQUxZVnVxWFZOSDZDUkZFNWlrQV9rdU5YQV92X3FiU1ZmZlNjTEJROXlsZGl3UGtGMzljeWJGT2U4cXNJcVMxUXVYbWhPcnVBZTJIbmxaLUJuTXlUa1U0aEVwVDBBWWt4OXdyNmpmSkdqSDUwcHZZQ015NmZaWUpmM05DY0NPSnFXZ3VTdzZBTlhHSEF0NHQ0cE5Ia3ZXczBvSE00b3Z2cnFVUEZoR055aW9mR1doNkdmN2x5YmpzN2dKNlZVc3Z4RUJFTlBubWtKcDY5a1ZRYTUySTIxQm5FZGVpOEtReXBEaW9OcnBpT3BDUkJhTXZpeHQ5V05aRHczdVVISFZ6MHR6eElhM2pVYmQ0dHE0VWJ1SUJtNkdGUTMxVW9jMVBiUzVZcGdSM2J4d3RrN0M1eGpVUGkzd1Y2YzRxNE9JUGw3eTQ2d0V4THFIbHFFNWxqOHdCOE1NYV9kVFJPTlIyeV9BOEVsZE5PUl96QzI1c0g4ZEpFUnBLZHJfRGIzdzJCMDFhN0hubVlLMk9KUjRhMjllODh3US1HT2lmckJZVHIyLXk0SlBaQ0VFUUNjbDBBanRVZjljeEt5TjZVOUVTeFY3SjVJNmFaX01QMDZ2VHJJMERablgtWXptWXhzVEdqRFI5OFJmTjR2ZlRNQzNFTW8wRFhzekZVdGEzak1lTWlIOWpZUEs5N09MbGYtQlItS2g4NHY4XzlERzBHbGltcE13X1l0Y2RFLTVNc3ZTYjZvSFNDTjZBdXR5N3p0TXdfT0dtbDhmbGZTcDhsdHBHOGh6TFV5YS1CYnBUMGFBUGpwV2dFSHc2VHBPSllCekp5dG1MQzczZ213WFRuRHdKQmt2THVZSlpHTno0b0hQUjdrU2pWWWxXbVZfN2NxZUFWVkJ1Y05BX3lGVE40UkU4SGZucnZGTmVxZFJLampRZTlqdmpFclBnOHkwUDI2cUhjTkNKZmtlaUNZcFE2WUZYa1FHbXJ2ekdVX1BhMnEyZ2JKTVQ2TmpfX0thYmRqMTVSZklOek5hcThnUFlsMUZtQUt1VlR2VGN3S2pwM1VUYmkzbG1ndDgtV1hjdW9oZVVGSHJmX1RjbllIYU1wZzZLaWk3a1d5TTFEVnp5OFZGeGZPNXMwVGNoNWhRUFNVRDltbjZ5NHNSYS14NUpuLTRVdVRhd3d6dVRDZEJMNWxuVF9KMmpFalA4SzJLOEFhM0ExdFU3OFBmRXR0VzNLLUUwMkMzaEpHYVNPeHNGR0FrTDhmMURudDdTVlVhWWwtM001NUJ3M2phSzNITk50VWd0LTNIX0Y5VUh0SmFSSmJVdWlFS0l0bUhMS0R3ZGE4SjVjTVNZb3d3anF3R2s5Mnp4Y1dPYXJTZllVMjhDSUdBemtqNEdCWFB6VWdwNkJrVWJyNTcydlJaaUVrQWppdmNzemRZRnlGdDlDa0E0bExMeXpjU0stRm5QbVlmbzJIdFUzVjVoR3hfcTVPZGRtS0dMQ0V6UEhpWkVSTUFCYUxtWk5JVkg2cWZZTlJ3dzVBcURMN2VudUU1czdFR1BJM2VzcG5td2UzSTlMS3B6SE1WZ24wd0NEbkJLRl9wRnpGWndjbUNTc2gxY3NGZERRdXBScWN0ajZlSUdDUks5SjNDckRfYk1YX3lSelh6R2c4cDlWMTZ6T0RkdnFhNi1IeFpkVVY2SG9qczJreTMzbHBxNXJERDc2VTJscmo3YlNTSkZydjdkZlZJQThBSUlIdlQ1eUZYbzJiRXpVZE9KQUtKMW5veVRFZ1dqMFJLb2xTOFhrVjNRQllsYVE1ZXFvT3I1NGFfTXNITk5US0ZIZkJyVHlabFZsb0JhRlh5YUZDWFExY3lrRWFxLThORnRYWWhWZ01lc05XUXFDQm12Zkx2ZHpXeDRUck9nY25oT2JPVjN0TWVDVkZlQ3V4MzRsN0JkWV95Tm43UG55RWUzUlVQUXZfQW9xdDFVRnMzdEFXWS1oNTRwazJWSTNJRUtWbDVEYzV0WGJYcEtFVlRuVEwtOWhUbmxtR2VLT090bjV3aW1wbmE2ZERvT0I4cWhlbkdqeUJ1SnpMT2NfVjRXWHpKWW1YRWFHdlB3MzE4TWxraHBfbmYyOV9NNlZLX0dOSjJlX2d1R3R0d2ZMWE4yM3pFSkVVb1pmVHRzSnl2QTNnN2xEcllXMTJCR0M0RHRIaTFKWFQyZTdtWXhZVkd6WnFRV1VwMUNpT2Jvd0V6N0tubWJtQnpEWHEwWFdHWk1ERkYtRXp0LUFodVZmN0FsZkFBLTlzR2xEU3RrOVFqS09wYzQ2QWhZclZod1d1amtnbXVOa0tXYWxJd1BwMkUwT3dFZlB1ZTJKWVFPM0V3RmhncWR2X3FMNktCYUU3a0pHa2RjT3VXd1U5N2VuazhqMlFURXhRV1duenJCWTE0ajBoLXc1ODNBb3J6aTNsTFozdUtsU2tDRTYwcTNUdnBoY3paSzguS0hzbnpiNFBxcUJQbEljblllMjJUQ3M4WURtRWpuWE5ENEhzTUpudU14cw"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '6807' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 - response: - body: - string: '{"error":{"code":"Conflict","message":"There was a conflict restoring - the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak4238101d/e4b4a5764bbd4baa8e65ef47783449fc''. - This can happen if either: a second secret with the same name was created - after the first secret was deleted; thus trying to restore a secret whose - name is already in use. To fix this, rename the second secret to something - else so that the restore works. The second probable cause of this exception - is when multiple operations are performed in parallel against the secret. - To avoid this error, perform operations against a secret in a sequential manner."}}' - headers: - cache-control: - - no-cache - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:32 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 409 - message: Conflict -- request: - body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuR1dxSS1FZV9iWHRhcGx0eFR3OHY2SFdjb0VwZ1E5b3k3NUR5Ui1MN0N1UzlHSGVNTDFTMUtWYzFBdmNXR0ZuZ2hPT3RlU3JhU3pBRTJDSkx4MXlMLVh1QVJnQmlKMlJlT2t6WU9vNF9adGRxWHdSRWVsc1p4bkpOUFEyRWxjaVdQcG5nZzh3V0FHMjBsbmNuREhMNjFBcEZJN1B4Q0x5bUF2djlBNG9PT2xVQmNUQ3Z3NEhxYVRwX3RBbHZNaldpLXJpRmwweVdzQ05sblgzY3Z4cW81RmVhaExxQ1MzY1c4SlhNaC1haTZyMXM5QkRqV3VGbEk0ZlZqTWFUQllfUlpXNWNOOVRveTR3ZnBuSk1LeXZ4N3FfU0FDM1FnOXNKTUVFd3RYN2tOMVR4YUlBTUkxMDVSbWZsZ0t5djRZenFtbGtPMk1Pb29lb1dMekR3eXplOGp3LjE1STlpbGNRaVd3WW5JSFVlZ2U1dEEuMmFmM2l2SWZiSVp2bUdDclpUUmF6WEVrZ2hKWEQwT3laVjN4d1BfM1RzV1V0OUJpOHA5V0Z5b3dYeFpjSGZidVlyOEFCbFJqM3ppWkxFWmtrbWJTenZTdk5TME1Namp6b3BwUVg5SGpUZ3ZXYkd1cDZzdW9QTng1d1NpOVU0LXNCeDZ1TUFNb2RhZXN0YnlkSGxCemptMmJtSk5CeV9xdkVULTJLMnV4Q21SaWhRNUNIRGJqVmlXelBJaTcxSGhZX2w5TlpJdXNrekVsNklsdFFiaVlOSjY3UkljblVWRmdETTBSbWNZQlgwaUp3SzJ2anZleEtCNkY5Rkd4UDZxRWlDTFR3bnVELTdoYXNLTWFudGJTb3VtbG5SQWpEQVpsajluNC02ZTM1LUl5cjA0WFMxU1F0YWpyNU50Y3ZrMXF4U3B5OC1USVZxalVDaGkzWWZ4QUZFbWNSZ0RzREc0SVE2c2g2RjR3eE9uT0hBMFA1UnBxTXI3Q1pLWlVmc1doX2MyRjFHb0lWcWFxc1ExbHQ0S3J2X2hSM1k1MTNpWVNrNFl6aW9XdjBDTmJuMXdTZGIxeDBlb0dMMG14YjRGUGREQmYzbGtKdWROenQxOVVpZ3BYNHZyTi1VOVN3MHJwNHhSV1k4b2NRSzFmNG1xVEdaU0Fvc2dhaVpLQlY2WDVsZkgyaTFpT1FFY2ZyWGU3SjdLbnozNk95UEZvcUdmZlNVM2h2STBlOEhqSVVHMjh6Uy1UczJyejMxamxYRDVfb3ljR1ZFdjVPNmx4TUpia0pveTQ1YWEtbjg4cTZyOWlEQXM0aGdUT0xyYlBUODAzQ19EZmhEZHAwTjAyeHpwTzFnNVFJM2pLWElwdjMxQXdHV1E2TW4xT0hNbTRpMlNKOTlmSTZzMmlKTmJEWG92RXV5bVdVeERFa2FJX1JmcWRoNFU3aU9iekQ1WWdpcG5OY1hGSFZLQUwwVGJFb0h2N05RRm5zbkRIcXVoemJMVmlJTldyZXFMcF9xMHlHQzBUM20ybmloRjQ1UW0yWWdpS2MyMXpHanFPd0NQb3dnTXVEdDMxV3FLUkNtRXFLR2dYOUw4X3BRLXBvTEN0TmRvbS1ERDZzUGhCSFZlNVp3ck80ZFR4Ums5ejBfZmI5UHI3VU1PM3RRaFBseUJTQWhMLUxwYmpBeXRoV1Rual84SnVsbFJRQzF4amhNUUVWZWRJVXlLbDY0bzVEUmplMHFKNm9OOGFFOTBqYlBsaEpiLVJZUTN1X1ByNHRkLTVyUkxiZDZIaF9QN3VyZG40NGxtUmZWMV92VC1SbXlfTU5nQmRad2VDMFJLOUJwelF3OUZHUm03Rmp1UmRkU3JWRWF4QUc1NG9LMUdxWVlhbXgtOGlkS1hGR053UFJXSVpocHpQakNqSF93YUdlX3J4NWRVd0ZpbUNZb0ZsVTRIM25yY1drWV84REp0aWhPSVZRVVhPa3NtSkFNbjNFZF9LcFZJcnRGYnBacWpRYS15WmFDUTZXcVpXUW5iR202S2x2ajJoS0VIampPT2pYcnBDM2hqeklSM0o5cm9ib2hiOEhZRlFRcTEtSENMODdmMnZmenU5dmM5NWNJTnB0elBOTU9iM01fWnNQa0lndjI4WVYzU2IzZnhuM1M0ajdGTGZpYWM2TXBjVklfU3U4RTRYXzRFYUlMT0ZvaXpENFZnMlBoSkpkeHk4aDZXeEZLaWs2ekR4QmgteGMxMFVPWHFhMDlvQXVCV0ZWT2tGM1F1WFE5bjhUM0NvQ05fdDR2UEE4NWI4bktKNTkzbVF5YVpkUTRmRXBDRjJtaUxGYWtSeEhUNVhWX0ZCZ3BERXU1dUNQS2xoblBKb0swNWxsT3htekItVTNiNmkydnk2NE12SU1VNTd6STRsalBtSHMyR1dqbEVaX2ctSTBYazFiOFo1NFRvUE1GS2ZhRFZ4X1l3bllmbWRqaFBaZTdjUVRsS1A5SFJUZDJjeTdZdU05RzF3Sjg0MDhOc1lIZWNtRnk0NnMwZUhTR2ZxOU00S2hjeW9sMG54NGRCWU14U1lqU2ZjMXVUMVgxc1lkc1JtcGNPS0NPM3dOVUVNbUFLWGpKanJ2cDNWaWNxbk5OcXNIc1NpOTU0bERsbTU0Uk1ON3VrWkEtUW5DOEFEUFpocTgxd0VnN1BaaERoZU9ySWFBbEh5MHBmbHVNN3ZKUzUzM1V5Zmd1LVdvV3llcnVISG8zYTJ4YS1BNGpiRThaN2F6V1NVcEpaWHZpY3FQcGFub0ZPajRMNXFaaXREd1dDZjM1Y3AtMTNCbldyeG1wUXpMV1VVNGtabXdpY2ZabEdaaDFxQjVhMHhsU1hwUDRJT0wySWtCVHoxVU82OEN5Wmt2QlhycERaUE1tNkZQbFR3bHMwSzdjWjRtdUVQUnBkUl9mNVRwWUtjMklFNC1wdjBOczdCZlVCRVpRZHZSdnVXRzBsRDB2cTJ1QUUwaXc0c3F2cjNxdXhIR3RRd0hENkFxcHpnQjdVdHRQbHVMN2VsbndNbElaQWRremRPUnh3Z2FyaGZBczFvSFdOX1pDQm5GX3hqeVVOZUVObk9SUkp0bjdkTTlXVjJVVUMwVG1WY1ZpN3dWdkdoeFZxelBsUEFONjIxRWJPcUNubFdNR3poOFhYV292UXFLRWo0TEVXcktaN3Z4bm5mWDY5Tkt2UTdrSEFIa3c1am9qdjRqRXFTalhzRGk5dUc5TkoxV3hiTm14TlZ1RDYyeFkwbmlQaDc4R0MyeXNxN29rWVZfTHMyQVhTaDBzYk9wX1pXNDQwRjZCOUN4dVVOWUNwODdHbkJNbFlhTnFuOE9BWXh0M055LUwxeGR2VVJYV1d5RHVqZXE5S2VJN0llQkktckh1LTBhY2xuWlV0NzNjNEFpWE9xa011OTRXa0NaMHJrSnhRQUpXYnp2cVBpQS04N1Z4R3ZfRm1mYS01WVJpTWlDWmFqZ1RCc0J2S0gwdXd6bEhZeGJPZGlqbkJva0hVUlFqSm4zMjFUVE9MUENOTWVDWGM4N2MzRkRkNmxCcDVNdkFMWXhuek5qUjVrZmdKV1dTelhHUW9wbDlqY1BhUk9UaFdBLWV2RFpKU3ZCRUtOTDUyQ0RSMWFUYWRnLWpMSTRnM2NjeUxERnZHV0JCOWFSMUItZkZKa21GODZhdVZ2YUJwN2F1T2g5c2ZncjFZYzJTYjVPLWhjY3lpSTJDeEdpanF4dElad1BRSWZORzdJMUFuSHltLWYxUTFZNC1Pdk92bUJkMTd5ekRmWFhHNFVVR2dESldKbDVjU01TemZFdWtuZGZhVlBOTjJ5anpiaDZHVDN3VjJ5ZXBrejNvRHVCT3lkUGsxMDB2Zkx5dkFMd2dNWFVSbGhLQjV2RGZCeEdlakpJQ083dHZ5YUo3elBaT2ZIV0t2aW1HVlJUZnBtelN2aUhlZjRadEVnTW9DY0dodmx2aEZMUTZqdWFRVElYdENCRlM0RENIWGRhb2pqZk8tTXgxbXlGNUVQcXNJVGlLOXVuSGRTWUEtRk1fZlh1OXd5WjhNQUxZVnVxWFZOSDZDUkZFNWlrQV9rdU5YQV92X3FiU1ZmZlNjTEJROXlsZGl3UGtGMzljeWJGT2U4cXNJcVMxUXVYbWhPcnVBZTJIbmxaLUJuTXlUa1U0aEVwVDBBWWt4OXdyNmpmSkdqSDUwcHZZQ015NmZaWUpmM05DY0NPSnFXZ3VTdzZBTlhHSEF0NHQ0cE5Ia3ZXczBvSE00b3Z2cnFVUEZoR055aW9mR1doNkdmN2x5YmpzN2dKNlZVc3Z4RUJFTlBubWtKcDY5a1ZRYTUySTIxQm5FZGVpOEtReXBEaW9OcnBpT3BDUkJhTXZpeHQ5V05aRHczdVVISFZ6MHR6eElhM2pVYmQ0dHE0VWJ1SUJtNkdGUTMxVW9jMVBiUzVZcGdSM2J4d3RrN0M1eGpVUGkzd1Y2YzRxNE9JUGw3eTQ2d0V4THFIbHFFNWxqOHdCOE1NYV9kVFJPTlIyeV9BOEVsZE5PUl96QzI1c0g4ZEpFUnBLZHJfRGIzdzJCMDFhN0hubVlLMk9KUjRhMjllODh3US1HT2lmckJZVHIyLXk0SlBaQ0VFUUNjbDBBanRVZjljeEt5TjZVOUVTeFY3SjVJNmFaX01QMDZ2VHJJMERablgtWXptWXhzVEdqRFI5OFJmTjR2ZlRNQzNFTW8wRFhzekZVdGEzak1lTWlIOWpZUEs5N09MbGYtQlItS2g4NHY4XzlERzBHbGltcE13X1l0Y2RFLTVNc3ZTYjZvSFNDTjZBdXR5N3p0TXdfT0dtbDhmbGZTcDhsdHBHOGh6TFV5YS1CYnBUMGFBUGpwV2dFSHc2VHBPSllCekp5dG1MQzczZ213WFRuRHdKQmt2THVZSlpHTno0b0hQUjdrU2pWWWxXbVZfN2NxZUFWVkJ1Y05BX3lGVE40UkU4SGZucnZGTmVxZFJLampRZTlqdmpFclBnOHkwUDI2cUhjTkNKZmtlaUNZcFE2WUZYa1FHbXJ2ekdVX1BhMnEyZ2JKTVQ2TmpfX0thYmRqMTVSZklOek5hcThnUFlsMUZtQUt1VlR2VGN3S2pwM1VUYmkzbG1ndDgtV1hjdW9oZVVGSHJmX1RjbllIYU1wZzZLaWk3a1d5TTFEVnp5OFZGeGZPNXMwVGNoNWhRUFNVRDltbjZ5NHNSYS14NUpuLTRVdVRhd3d6dVRDZEJMNWxuVF9KMmpFalA4SzJLOEFhM0ExdFU3OFBmRXR0VzNLLUUwMkMzaEpHYVNPeHNGR0FrTDhmMURudDdTVlVhWWwtM001NUJ3M2phSzNITk50VWd0LTNIX0Y5VUh0SmFSSmJVdWlFS0l0bUhMS0R3ZGE4SjVjTVNZb3d3anF3R2s5Mnp4Y1dPYXJTZllVMjhDSUdBemtqNEdCWFB6VWdwNkJrVWJyNTcydlJaaUVrQWppdmNzemRZRnlGdDlDa0E0bExMeXpjU0stRm5QbVlmbzJIdFUzVjVoR3hfcTVPZGRtS0dMQ0V6UEhpWkVSTUFCYUxtWk5JVkg2cWZZTlJ3dzVBcURMN2VudUU1czdFR1BJM2VzcG5td2UzSTlMS3B6SE1WZ24wd0NEbkJLRl9wRnpGWndjbUNTc2gxY3NGZERRdXBScWN0ajZlSUdDUks5SjNDckRfYk1YX3lSelh6R2c4cDlWMTZ6T0RkdnFhNi1IeFpkVVY2SG9qczJreTMzbHBxNXJERDc2VTJscmo3YlNTSkZydjdkZlZJQThBSUlIdlQ1eUZYbzJiRXpVZE9KQUtKMW5veVRFZ1dqMFJLb2xTOFhrVjNRQllsYVE1ZXFvT3I1NGFfTXNITk5US0ZIZkJyVHlabFZsb0JhRlh5YUZDWFExY3lrRWFxLThORnRYWWhWZ01lc05XUXFDQm12Zkx2ZHpXeDRUck9nY25oT2JPVjN0TWVDVkZlQ3V4MzRsN0JkWV95Tm43UG55RWUzUlVQUXZfQW9xdDFVRnMzdEFXWS1oNTRwazJWSTNJRUtWbDVEYzV0WGJYcEtFVlRuVEwtOWhUbmxtR2VLT090bjV3aW1wbmE2ZERvT0I4cWhlbkdqeUJ1SnpMT2NfVjRXWHpKWW1YRWFHdlB3MzE4TWxraHBfbmYyOV9NNlZLX0dOSjJlX2d1R3R0d2ZMWE4yM3pFSkVVb1pmVHRzSnl2QTNnN2xEcllXMTJCR0M0RHRIaTFKWFQyZTdtWXhZVkd6WnFRV1VwMUNpT2Jvd0V6N0tubWJtQnpEWHEwWFdHWk1ERkYtRXp0LUFodVZmN0FsZkFBLTlzR2xEU3RrOVFqS09wYzQ2QWhZclZod1d1amtnbXVOa0tXYWxJd1BwMkUwT3dFZlB1ZTJKWVFPM0V3RmhncWR2X3FMNktCYUU3a0pHa2RjT3VXd1U5N2VuazhqMlFURXhRV1duenJCWTE0ajBoLXc1ODNBb3J6aTNsTFozdUtsU2tDRTYwcTNUdnBoY3paSzguS0hzbnpiNFBxcUJQbEljblllMjJUQ3M4WURtRWpuWE5ENEhzTUpudU14cw"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '6807' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 - response: - body: - string: '{"error":{"code":"Conflict","message":"There was a conflict restoring - the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak4238101d/e4b4a5764bbd4baa8e65ef47783449fc''. - This can happen if either: a second secret with the same name was created - after the first secret was deleted; thus trying to restore a secret whose - name is already in use. To fix this, rename the second secret to something - else so that the restore works. The second probable cause of this exception - is when multiple operations are performed in parallel against the secret. - To avoid this error, perform operations against a secret in a sequential manner."}}' - headers: - cache-control: - - no-cache - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:35 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 409 - message: Conflict -- request: - body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuR1dxSS1FZV9iWHRhcGx0eFR3OHY2SFdjb0VwZ1E5b3k3NUR5Ui1MN0N1UzlHSGVNTDFTMUtWYzFBdmNXR0ZuZ2hPT3RlU3JhU3pBRTJDSkx4MXlMLVh1QVJnQmlKMlJlT2t6WU9vNF9adGRxWHdSRWVsc1p4bkpOUFEyRWxjaVdQcG5nZzh3V0FHMjBsbmNuREhMNjFBcEZJN1B4Q0x5bUF2djlBNG9PT2xVQmNUQ3Z3NEhxYVRwX3RBbHZNaldpLXJpRmwweVdzQ05sblgzY3Z4cW81RmVhaExxQ1MzY1c4SlhNaC1haTZyMXM5QkRqV3VGbEk0ZlZqTWFUQllfUlpXNWNOOVRveTR3ZnBuSk1LeXZ4N3FfU0FDM1FnOXNKTUVFd3RYN2tOMVR4YUlBTUkxMDVSbWZsZ0t5djRZenFtbGtPMk1Pb29lb1dMekR3eXplOGp3LjE1STlpbGNRaVd3WW5JSFVlZ2U1dEEuMmFmM2l2SWZiSVp2bUdDclpUUmF6WEVrZ2hKWEQwT3laVjN4d1BfM1RzV1V0OUJpOHA5V0Z5b3dYeFpjSGZidVlyOEFCbFJqM3ppWkxFWmtrbWJTenZTdk5TME1Namp6b3BwUVg5SGpUZ3ZXYkd1cDZzdW9QTng1d1NpOVU0LXNCeDZ1TUFNb2RhZXN0YnlkSGxCemptMmJtSk5CeV9xdkVULTJLMnV4Q21SaWhRNUNIRGJqVmlXelBJaTcxSGhZX2w5TlpJdXNrekVsNklsdFFiaVlOSjY3UkljblVWRmdETTBSbWNZQlgwaUp3SzJ2anZleEtCNkY5Rkd4UDZxRWlDTFR3bnVELTdoYXNLTWFudGJTb3VtbG5SQWpEQVpsajluNC02ZTM1LUl5cjA0WFMxU1F0YWpyNU50Y3ZrMXF4U3B5OC1USVZxalVDaGkzWWZ4QUZFbWNSZ0RzREc0SVE2c2g2RjR3eE9uT0hBMFA1UnBxTXI3Q1pLWlVmc1doX2MyRjFHb0lWcWFxc1ExbHQ0S3J2X2hSM1k1MTNpWVNrNFl6aW9XdjBDTmJuMXdTZGIxeDBlb0dMMG14YjRGUGREQmYzbGtKdWROenQxOVVpZ3BYNHZyTi1VOVN3MHJwNHhSV1k4b2NRSzFmNG1xVEdaU0Fvc2dhaVpLQlY2WDVsZkgyaTFpT1FFY2ZyWGU3SjdLbnozNk95UEZvcUdmZlNVM2h2STBlOEhqSVVHMjh6Uy1UczJyejMxamxYRDVfb3ljR1ZFdjVPNmx4TUpia0pveTQ1YWEtbjg4cTZyOWlEQXM0aGdUT0xyYlBUODAzQ19EZmhEZHAwTjAyeHpwTzFnNVFJM2pLWElwdjMxQXdHV1E2TW4xT0hNbTRpMlNKOTlmSTZzMmlKTmJEWG92RXV5bVdVeERFa2FJX1JmcWRoNFU3aU9iekQ1WWdpcG5OY1hGSFZLQUwwVGJFb0h2N05RRm5zbkRIcXVoemJMVmlJTldyZXFMcF9xMHlHQzBUM20ybmloRjQ1UW0yWWdpS2MyMXpHanFPd0NQb3dnTXVEdDMxV3FLUkNtRXFLR2dYOUw4X3BRLXBvTEN0TmRvbS1ERDZzUGhCSFZlNVp3ck80ZFR4Ums5ejBfZmI5UHI3VU1PM3RRaFBseUJTQWhMLUxwYmpBeXRoV1Rual84SnVsbFJRQzF4amhNUUVWZWRJVXlLbDY0bzVEUmplMHFKNm9OOGFFOTBqYlBsaEpiLVJZUTN1X1ByNHRkLTVyUkxiZDZIaF9QN3VyZG40NGxtUmZWMV92VC1SbXlfTU5nQmRad2VDMFJLOUJwelF3OUZHUm03Rmp1UmRkU3JWRWF4QUc1NG9LMUdxWVlhbXgtOGlkS1hGR053UFJXSVpocHpQakNqSF93YUdlX3J4NWRVd0ZpbUNZb0ZsVTRIM25yY1drWV84REp0aWhPSVZRVVhPa3NtSkFNbjNFZF9LcFZJcnRGYnBacWpRYS15WmFDUTZXcVpXUW5iR202S2x2ajJoS0VIampPT2pYcnBDM2hqeklSM0o5cm9ib2hiOEhZRlFRcTEtSENMODdmMnZmenU5dmM5NWNJTnB0elBOTU9iM01fWnNQa0lndjI4WVYzU2IzZnhuM1M0ajdGTGZpYWM2TXBjVklfU3U4RTRYXzRFYUlMT0ZvaXpENFZnMlBoSkpkeHk4aDZXeEZLaWs2ekR4QmgteGMxMFVPWHFhMDlvQXVCV0ZWT2tGM1F1WFE5bjhUM0NvQ05fdDR2UEE4NWI4bktKNTkzbVF5YVpkUTRmRXBDRjJtaUxGYWtSeEhUNVhWX0ZCZ3BERXU1dUNQS2xoblBKb0swNWxsT3htekItVTNiNmkydnk2NE12SU1VNTd6STRsalBtSHMyR1dqbEVaX2ctSTBYazFiOFo1NFRvUE1GS2ZhRFZ4X1l3bllmbWRqaFBaZTdjUVRsS1A5SFJUZDJjeTdZdU05RzF3Sjg0MDhOc1lIZWNtRnk0NnMwZUhTR2ZxOU00S2hjeW9sMG54NGRCWU14U1lqU2ZjMXVUMVgxc1lkc1JtcGNPS0NPM3dOVUVNbUFLWGpKanJ2cDNWaWNxbk5OcXNIc1NpOTU0bERsbTU0Uk1ON3VrWkEtUW5DOEFEUFpocTgxd0VnN1BaaERoZU9ySWFBbEh5MHBmbHVNN3ZKUzUzM1V5Zmd1LVdvV3llcnVISG8zYTJ4YS1BNGpiRThaN2F6V1NVcEpaWHZpY3FQcGFub0ZPajRMNXFaaXREd1dDZjM1Y3AtMTNCbldyeG1wUXpMV1VVNGtabXdpY2ZabEdaaDFxQjVhMHhsU1hwUDRJT0wySWtCVHoxVU82OEN5Wmt2QlhycERaUE1tNkZQbFR3bHMwSzdjWjRtdUVQUnBkUl9mNVRwWUtjMklFNC1wdjBOczdCZlVCRVpRZHZSdnVXRzBsRDB2cTJ1QUUwaXc0c3F2cjNxdXhIR3RRd0hENkFxcHpnQjdVdHRQbHVMN2VsbndNbElaQWRremRPUnh3Z2FyaGZBczFvSFdOX1pDQm5GX3hqeVVOZUVObk9SUkp0bjdkTTlXVjJVVUMwVG1WY1ZpN3dWdkdoeFZxelBsUEFONjIxRWJPcUNubFdNR3poOFhYV292UXFLRWo0TEVXcktaN3Z4bm5mWDY5Tkt2UTdrSEFIa3c1am9qdjRqRXFTalhzRGk5dUc5TkoxV3hiTm14TlZ1RDYyeFkwbmlQaDc4R0MyeXNxN29rWVZfTHMyQVhTaDBzYk9wX1pXNDQwRjZCOUN4dVVOWUNwODdHbkJNbFlhTnFuOE9BWXh0M055LUwxeGR2VVJYV1d5RHVqZXE5S2VJN0llQkktckh1LTBhY2xuWlV0NzNjNEFpWE9xa011OTRXa0NaMHJrSnhRQUpXYnp2cVBpQS04N1Z4R3ZfRm1mYS01WVJpTWlDWmFqZ1RCc0J2S0gwdXd6bEhZeGJPZGlqbkJva0hVUlFqSm4zMjFUVE9MUENOTWVDWGM4N2MzRkRkNmxCcDVNdkFMWXhuek5qUjVrZmdKV1dTelhHUW9wbDlqY1BhUk9UaFdBLWV2RFpKU3ZCRUtOTDUyQ0RSMWFUYWRnLWpMSTRnM2NjeUxERnZHV0JCOWFSMUItZkZKa21GODZhdVZ2YUJwN2F1T2g5c2ZncjFZYzJTYjVPLWhjY3lpSTJDeEdpanF4dElad1BRSWZORzdJMUFuSHltLWYxUTFZNC1Pdk92bUJkMTd5ekRmWFhHNFVVR2dESldKbDVjU01TemZFdWtuZGZhVlBOTjJ5anpiaDZHVDN3VjJ5ZXBrejNvRHVCT3lkUGsxMDB2Zkx5dkFMd2dNWFVSbGhLQjV2RGZCeEdlakpJQ083dHZ5YUo3elBaT2ZIV0t2aW1HVlJUZnBtelN2aUhlZjRadEVnTW9DY0dodmx2aEZMUTZqdWFRVElYdENCRlM0RENIWGRhb2pqZk8tTXgxbXlGNUVQcXNJVGlLOXVuSGRTWUEtRk1fZlh1OXd5WjhNQUxZVnVxWFZOSDZDUkZFNWlrQV9rdU5YQV92X3FiU1ZmZlNjTEJROXlsZGl3UGtGMzljeWJGT2U4cXNJcVMxUXVYbWhPcnVBZTJIbmxaLUJuTXlUa1U0aEVwVDBBWWt4OXdyNmpmSkdqSDUwcHZZQ015NmZaWUpmM05DY0NPSnFXZ3VTdzZBTlhHSEF0NHQ0cE5Ia3ZXczBvSE00b3Z2cnFVUEZoR055aW9mR1doNkdmN2x5YmpzN2dKNlZVc3Z4RUJFTlBubWtKcDY5a1ZRYTUySTIxQm5FZGVpOEtReXBEaW9OcnBpT3BDUkJhTXZpeHQ5V05aRHczdVVISFZ6MHR6eElhM2pVYmQ0dHE0VWJ1SUJtNkdGUTMxVW9jMVBiUzVZcGdSM2J4d3RrN0M1eGpVUGkzd1Y2YzRxNE9JUGw3eTQ2d0V4THFIbHFFNWxqOHdCOE1NYV9kVFJPTlIyeV9BOEVsZE5PUl96QzI1c0g4ZEpFUnBLZHJfRGIzdzJCMDFhN0hubVlLMk9KUjRhMjllODh3US1HT2lmckJZVHIyLXk0SlBaQ0VFUUNjbDBBanRVZjljeEt5TjZVOUVTeFY3SjVJNmFaX01QMDZ2VHJJMERablgtWXptWXhzVEdqRFI5OFJmTjR2ZlRNQzNFTW8wRFhzekZVdGEzak1lTWlIOWpZUEs5N09MbGYtQlItS2g4NHY4XzlERzBHbGltcE13X1l0Y2RFLTVNc3ZTYjZvSFNDTjZBdXR5N3p0TXdfT0dtbDhmbGZTcDhsdHBHOGh6TFV5YS1CYnBUMGFBUGpwV2dFSHc2VHBPSllCekp5dG1MQzczZ213WFRuRHdKQmt2THVZSlpHTno0b0hQUjdrU2pWWWxXbVZfN2NxZUFWVkJ1Y05BX3lGVE40UkU4SGZucnZGTmVxZFJLampRZTlqdmpFclBnOHkwUDI2cUhjTkNKZmtlaUNZcFE2WUZYa1FHbXJ2ekdVX1BhMnEyZ2JKTVQ2TmpfX0thYmRqMTVSZklOek5hcThnUFlsMUZtQUt1VlR2VGN3S2pwM1VUYmkzbG1ndDgtV1hjdW9oZVVGSHJmX1RjbllIYU1wZzZLaWk3a1d5TTFEVnp5OFZGeGZPNXMwVGNoNWhRUFNVRDltbjZ5NHNSYS14NUpuLTRVdVRhd3d6dVRDZEJMNWxuVF9KMmpFalA4SzJLOEFhM0ExdFU3OFBmRXR0VzNLLUUwMkMzaEpHYVNPeHNGR0FrTDhmMURudDdTVlVhWWwtM001NUJ3M2phSzNITk50VWd0LTNIX0Y5VUh0SmFSSmJVdWlFS0l0bUhMS0R3ZGE4SjVjTVNZb3d3anF3R2s5Mnp4Y1dPYXJTZllVMjhDSUdBemtqNEdCWFB6VWdwNkJrVWJyNTcydlJaaUVrQWppdmNzemRZRnlGdDlDa0E0bExMeXpjU0stRm5QbVlmbzJIdFUzVjVoR3hfcTVPZGRtS0dMQ0V6UEhpWkVSTUFCYUxtWk5JVkg2cWZZTlJ3dzVBcURMN2VudUU1czdFR1BJM2VzcG5td2UzSTlMS3B6SE1WZ24wd0NEbkJLRl9wRnpGWndjbUNTc2gxY3NGZERRdXBScWN0ajZlSUdDUks5SjNDckRfYk1YX3lSelh6R2c4cDlWMTZ6T0RkdnFhNi1IeFpkVVY2SG9qczJreTMzbHBxNXJERDc2VTJscmo3YlNTSkZydjdkZlZJQThBSUlIdlQ1eUZYbzJiRXpVZE9KQUtKMW5veVRFZ1dqMFJLb2xTOFhrVjNRQllsYVE1ZXFvT3I1NGFfTXNITk5US0ZIZkJyVHlabFZsb0JhRlh5YUZDWFExY3lrRWFxLThORnRYWWhWZ01lc05XUXFDQm12Zkx2ZHpXeDRUck9nY25oT2JPVjN0TWVDVkZlQ3V4MzRsN0JkWV95Tm43UG55RWUzUlVQUXZfQW9xdDFVRnMzdEFXWS1oNTRwazJWSTNJRUtWbDVEYzV0WGJYcEtFVlRuVEwtOWhUbmxtR2VLT090bjV3aW1wbmE2ZERvT0I4cWhlbkdqeUJ1SnpMT2NfVjRXWHpKWW1YRWFHdlB3MzE4TWxraHBfbmYyOV9NNlZLX0dOSjJlX2d1R3R0d2ZMWE4yM3pFSkVVb1pmVHRzSnl2QTNnN2xEcllXMTJCR0M0RHRIaTFKWFQyZTdtWXhZVkd6WnFRV1VwMUNpT2Jvd0V6N0tubWJtQnpEWHEwWFdHWk1ERkYtRXp0LUFodVZmN0FsZkFBLTlzR2xEU3RrOVFqS09wYzQ2QWhZclZod1d1amtnbXVOa0tXYWxJd1BwMkUwT3dFZlB1ZTJKWVFPM0V3RmhncWR2X3FMNktCYUU3a0pHa2RjT3VXd1U5N2VuazhqMlFURXhRV1duenJCWTE0ajBoLXc1ODNBb3J6aTNsTFozdUtsU2tDRTYwcTNUdnBoY3paSzguS0hzbnpiNFBxcUJQbEljblllMjJUQ3M4WURtRWpuWE5ENEhzTUpudU14cw"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '6807' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 - response: - body: - string: '{"error":{"code":"Conflict","message":"There was a conflict restoring - the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak4238101d/e4b4a5764bbd4baa8e65ef47783449fc''. - This can happen if either: a second secret with the same name was created - after the first secret was deleted; thus trying to restore a secret whose - name is already in use. To fix this, rename the second secret to something - else so that the restore works. The second probable cause of this exception - is when multiple operations are performed in parallel against the secret. - To avoid this error, perform operations against a secret in a sequential manner."}}' - headers: - cache-control: - - no-cache - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:38 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 409 - message: Conflict -- request: - body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuR1dxSS1FZV9iWHRhcGx0eFR3OHY2SFdjb0VwZ1E5b3k3NUR5Ui1MN0N1UzlHSGVNTDFTMUtWYzFBdmNXR0ZuZ2hPT3RlU3JhU3pBRTJDSkx4MXlMLVh1QVJnQmlKMlJlT2t6WU9vNF9adGRxWHdSRWVsc1p4bkpOUFEyRWxjaVdQcG5nZzh3V0FHMjBsbmNuREhMNjFBcEZJN1B4Q0x5bUF2djlBNG9PT2xVQmNUQ3Z3NEhxYVRwX3RBbHZNaldpLXJpRmwweVdzQ05sblgzY3Z4cW81RmVhaExxQ1MzY1c4SlhNaC1haTZyMXM5QkRqV3VGbEk0ZlZqTWFUQllfUlpXNWNOOVRveTR3ZnBuSk1LeXZ4N3FfU0FDM1FnOXNKTUVFd3RYN2tOMVR4YUlBTUkxMDVSbWZsZ0t5djRZenFtbGtPMk1Pb29lb1dMekR3eXplOGp3LjE1STlpbGNRaVd3WW5JSFVlZ2U1dEEuMmFmM2l2SWZiSVp2bUdDclpUUmF6WEVrZ2hKWEQwT3laVjN4d1BfM1RzV1V0OUJpOHA5V0Z5b3dYeFpjSGZidVlyOEFCbFJqM3ppWkxFWmtrbWJTenZTdk5TME1Namp6b3BwUVg5SGpUZ3ZXYkd1cDZzdW9QTng1d1NpOVU0LXNCeDZ1TUFNb2RhZXN0YnlkSGxCemptMmJtSk5CeV9xdkVULTJLMnV4Q21SaWhRNUNIRGJqVmlXelBJaTcxSGhZX2w5TlpJdXNrekVsNklsdFFiaVlOSjY3UkljblVWRmdETTBSbWNZQlgwaUp3SzJ2anZleEtCNkY5Rkd4UDZxRWlDTFR3bnVELTdoYXNLTWFudGJTb3VtbG5SQWpEQVpsajluNC02ZTM1LUl5cjA0WFMxU1F0YWpyNU50Y3ZrMXF4U3B5OC1USVZxalVDaGkzWWZ4QUZFbWNSZ0RzREc0SVE2c2g2RjR3eE9uT0hBMFA1UnBxTXI3Q1pLWlVmc1doX2MyRjFHb0lWcWFxc1ExbHQ0S3J2X2hSM1k1MTNpWVNrNFl6aW9XdjBDTmJuMXdTZGIxeDBlb0dMMG14YjRGUGREQmYzbGtKdWROenQxOVVpZ3BYNHZyTi1VOVN3MHJwNHhSV1k4b2NRSzFmNG1xVEdaU0Fvc2dhaVpLQlY2WDVsZkgyaTFpT1FFY2ZyWGU3SjdLbnozNk95UEZvcUdmZlNVM2h2STBlOEhqSVVHMjh6Uy1UczJyejMxamxYRDVfb3ljR1ZFdjVPNmx4TUpia0pveTQ1YWEtbjg4cTZyOWlEQXM0aGdUT0xyYlBUODAzQ19EZmhEZHAwTjAyeHpwTzFnNVFJM2pLWElwdjMxQXdHV1E2TW4xT0hNbTRpMlNKOTlmSTZzMmlKTmJEWG92RXV5bVdVeERFa2FJX1JmcWRoNFU3aU9iekQ1WWdpcG5OY1hGSFZLQUwwVGJFb0h2N05RRm5zbkRIcXVoemJMVmlJTldyZXFMcF9xMHlHQzBUM20ybmloRjQ1UW0yWWdpS2MyMXpHanFPd0NQb3dnTXVEdDMxV3FLUkNtRXFLR2dYOUw4X3BRLXBvTEN0TmRvbS1ERDZzUGhCSFZlNVp3ck80ZFR4Ums5ejBfZmI5UHI3VU1PM3RRaFBseUJTQWhMLUxwYmpBeXRoV1Rual84SnVsbFJRQzF4amhNUUVWZWRJVXlLbDY0bzVEUmplMHFKNm9OOGFFOTBqYlBsaEpiLVJZUTN1X1ByNHRkLTVyUkxiZDZIaF9QN3VyZG40NGxtUmZWMV92VC1SbXlfTU5nQmRad2VDMFJLOUJwelF3OUZHUm03Rmp1UmRkU3JWRWF4QUc1NG9LMUdxWVlhbXgtOGlkS1hGR053UFJXSVpocHpQakNqSF93YUdlX3J4NWRVd0ZpbUNZb0ZsVTRIM25yY1drWV84REp0aWhPSVZRVVhPa3NtSkFNbjNFZF9LcFZJcnRGYnBacWpRYS15WmFDUTZXcVpXUW5iR202S2x2ajJoS0VIampPT2pYcnBDM2hqeklSM0o5cm9ib2hiOEhZRlFRcTEtSENMODdmMnZmenU5dmM5NWNJTnB0elBOTU9iM01fWnNQa0lndjI4WVYzU2IzZnhuM1M0ajdGTGZpYWM2TXBjVklfU3U4RTRYXzRFYUlMT0ZvaXpENFZnMlBoSkpkeHk4aDZXeEZLaWs2ekR4QmgteGMxMFVPWHFhMDlvQXVCV0ZWT2tGM1F1WFE5bjhUM0NvQ05fdDR2UEE4NWI4bktKNTkzbVF5YVpkUTRmRXBDRjJtaUxGYWtSeEhUNVhWX0ZCZ3BERXU1dUNQS2xoblBKb0swNWxsT3htekItVTNiNmkydnk2NE12SU1VNTd6STRsalBtSHMyR1dqbEVaX2ctSTBYazFiOFo1NFRvUE1GS2ZhRFZ4X1l3bllmbWRqaFBaZTdjUVRsS1A5SFJUZDJjeTdZdU05RzF3Sjg0MDhOc1lIZWNtRnk0NnMwZUhTR2ZxOU00S2hjeW9sMG54NGRCWU14U1lqU2ZjMXVUMVgxc1lkc1JtcGNPS0NPM3dOVUVNbUFLWGpKanJ2cDNWaWNxbk5OcXNIc1NpOTU0bERsbTU0Uk1ON3VrWkEtUW5DOEFEUFpocTgxd0VnN1BaaERoZU9ySWFBbEh5MHBmbHVNN3ZKUzUzM1V5Zmd1LVdvV3llcnVISG8zYTJ4YS1BNGpiRThaN2F6V1NVcEpaWHZpY3FQcGFub0ZPajRMNXFaaXREd1dDZjM1Y3AtMTNCbldyeG1wUXpMV1VVNGtabXdpY2ZabEdaaDFxQjVhMHhsU1hwUDRJT0wySWtCVHoxVU82OEN5Wmt2QlhycERaUE1tNkZQbFR3bHMwSzdjWjRtdUVQUnBkUl9mNVRwWUtjMklFNC1wdjBOczdCZlVCRVpRZHZSdnVXRzBsRDB2cTJ1QUUwaXc0c3F2cjNxdXhIR3RRd0hENkFxcHpnQjdVdHRQbHVMN2VsbndNbElaQWRremRPUnh3Z2FyaGZBczFvSFdOX1pDQm5GX3hqeVVOZUVObk9SUkp0bjdkTTlXVjJVVUMwVG1WY1ZpN3dWdkdoeFZxelBsUEFONjIxRWJPcUNubFdNR3poOFhYV292UXFLRWo0TEVXcktaN3Z4bm5mWDY5Tkt2UTdrSEFIa3c1am9qdjRqRXFTalhzRGk5dUc5TkoxV3hiTm14TlZ1RDYyeFkwbmlQaDc4R0MyeXNxN29rWVZfTHMyQVhTaDBzYk9wX1pXNDQwRjZCOUN4dVVOWUNwODdHbkJNbFlhTnFuOE9BWXh0M055LUwxeGR2VVJYV1d5RHVqZXE5S2VJN0llQkktckh1LTBhY2xuWlV0NzNjNEFpWE9xa011OTRXa0NaMHJrSnhRQUpXYnp2cVBpQS04N1Z4R3ZfRm1mYS01WVJpTWlDWmFqZ1RCc0J2S0gwdXd6bEhZeGJPZGlqbkJva0hVUlFqSm4zMjFUVE9MUENOTWVDWGM4N2MzRkRkNmxCcDVNdkFMWXhuek5qUjVrZmdKV1dTelhHUW9wbDlqY1BhUk9UaFdBLWV2RFpKU3ZCRUtOTDUyQ0RSMWFUYWRnLWpMSTRnM2NjeUxERnZHV0JCOWFSMUItZkZKa21GODZhdVZ2YUJwN2F1T2g5c2ZncjFZYzJTYjVPLWhjY3lpSTJDeEdpanF4dElad1BRSWZORzdJMUFuSHltLWYxUTFZNC1Pdk92bUJkMTd5ekRmWFhHNFVVR2dESldKbDVjU01TemZFdWtuZGZhVlBOTjJ5anpiaDZHVDN3VjJ5ZXBrejNvRHVCT3lkUGsxMDB2Zkx5dkFMd2dNWFVSbGhLQjV2RGZCeEdlakpJQ083dHZ5YUo3elBaT2ZIV0t2aW1HVlJUZnBtelN2aUhlZjRadEVnTW9DY0dodmx2aEZMUTZqdWFRVElYdENCRlM0RENIWGRhb2pqZk8tTXgxbXlGNUVQcXNJVGlLOXVuSGRTWUEtRk1fZlh1OXd5WjhNQUxZVnVxWFZOSDZDUkZFNWlrQV9rdU5YQV92X3FiU1ZmZlNjTEJROXlsZGl3UGtGMzljeWJGT2U4cXNJcVMxUXVYbWhPcnVBZTJIbmxaLUJuTXlUa1U0aEVwVDBBWWt4OXdyNmpmSkdqSDUwcHZZQ015NmZaWUpmM05DY0NPSnFXZ3VTdzZBTlhHSEF0NHQ0cE5Ia3ZXczBvSE00b3Z2cnFVUEZoR055aW9mR1doNkdmN2x5YmpzN2dKNlZVc3Z4RUJFTlBubWtKcDY5a1ZRYTUySTIxQm5FZGVpOEtReXBEaW9OcnBpT3BDUkJhTXZpeHQ5V05aRHczdVVISFZ6MHR6eElhM2pVYmQ0dHE0VWJ1SUJtNkdGUTMxVW9jMVBiUzVZcGdSM2J4d3RrN0M1eGpVUGkzd1Y2YzRxNE9JUGw3eTQ2d0V4THFIbHFFNWxqOHdCOE1NYV9kVFJPTlIyeV9BOEVsZE5PUl96QzI1c0g4ZEpFUnBLZHJfRGIzdzJCMDFhN0hubVlLMk9KUjRhMjllODh3US1HT2lmckJZVHIyLXk0SlBaQ0VFUUNjbDBBanRVZjljeEt5TjZVOUVTeFY3SjVJNmFaX01QMDZ2VHJJMERablgtWXptWXhzVEdqRFI5OFJmTjR2ZlRNQzNFTW8wRFhzekZVdGEzak1lTWlIOWpZUEs5N09MbGYtQlItS2g4NHY4XzlERzBHbGltcE13X1l0Y2RFLTVNc3ZTYjZvSFNDTjZBdXR5N3p0TXdfT0dtbDhmbGZTcDhsdHBHOGh6TFV5YS1CYnBUMGFBUGpwV2dFSHc2VHBPSllCekp5dG1MQzczZ213WFRuRHdKQmt2THVZSlpHTno0b0hQUjdrU2pWWWxXbVZfN2NxZUFWVkJ1Y05BX3lGVE40UkU4SGZucnZGTmVxZFJLampRZTlqdmpFclBnOHkwUDI2cUhjTkNKZmtlaUNZcFE2WUZYa1FHbXJ2ekdVX1BhMnEyZ2JKTVQ2TmpfX0thYmRqMTVSZklOek5hcThnUFlsMUZtQUt1VlR2VGN3S2pwM1VUYmkzbG1ndDgtV1hjdW9oZVVGSHJmX1RjbllIYU1wZzZLaWk3a1d5TTFEVnp5OFZGeGZPNXMwVGNoNWhRUFNVRDltbjZ5NHNSYS14NUpuLTRVdVRhd3d6dVRDZEJMNWxuVF9KMmpFalA4SzJLOEFhM0ExdFU3OFBmRXR0VzNLLUUwMkMzaEpHYVNPeHNGR0FrTDhmMURudDdTVlVhWWwtM001NUJ3M2phSzNITk50VWd0LTNIX0Y5VUh0SmFSSmJVdWlFS0l0bUhMS0R3ZGE4SjVjTVNZb3d3anF3R2s5Mnp4Y1dPYXJTZllVMjhDSUdBemtqNEdCWFB6VWdwNkJrVWJyNTcydlJaaUVrQWppdmNzemRZRnlGdDlDa0E0bExMeXpjU0stRm5QbVlmbzJIdFUzVjVoR3hfcTVPZGRtS0dMQ0V6UEhpWkVSTUFCYUxtWk5JVkg2cWZZTlJ3dzVBcURMN2VudUU1czdFR1BJM2VzcG5td2UzSTlMS3B6SE1WZ24wd0NEbkJLRl9wRnpGWndjbUNTc2gxY3NGZERRdXBScWN0ajZlSUdDUks5SjNDckRfYk1YX3lSelh6R2c4cDlWMTZ6T0RkdnFhNi1IeFpkVVY2SG9qczJreTMzbHBxNXJERDc2VTJscmo3YlNTSkZydjdkZlZJQThBSUlIdlQ1eUZYbzJiRXpVZE9KQUtKMW5veVRFZ1dqMFJLb2xTOFhrVjNRQllsYVE1ZXFvT3I1NGFfTXNITk5US0ZIZkJyVHlabFZsb0JhRlh5YUZDWFExY3lrRWFxLThORnRYWWhWZ01lc05XUXFDQm12Zkx2ZHpXeDRUck9nY25oT2JPVjN0TWVDVkZlQ3V4MzRsN0JkWV95Tm43UG55RWUzUlVQUXZfQW9xdDFVRnMzdEFXWS1oNTRwazJWSTNJRUtWbDVEYzV0WGJYcEtFVlRuVEwtOWhUbmxtR2VLT090bjV3aW1wbmE2ZERvT0I4cWhlbkdqeUJ1SnpMT2NfVjRXWHpKWW1YRWFHdlB3MzE4TWxraHBfbmYyOV9NNlZLX0dOSjJlX2d1R3R0d2ZMWE4yM3pFSkVVb1pmVHRzSnl2QTNnN2xEcllXMTJCR0M0RHRIaTFKWFQyZTdtWXhZVkd6WnFRV1VwMUNpT2Jvd0V6N0tubWJtQnpEWHEwWFdHWk1ERkYtRXp0LUFodVZmN0FsZkFBLTlzR2xEU3RrOVFqS09wYzQ2QWhZclZod1d1amtnbXVOa0tXYWxJd1BwMkUwT3dFZlB1ZTJKWVFPM0V3RmhncWR2X3FMNktCYUU3a0pHa2RjT3VXd1U5N2VuazhqMlFURXhRV1duenJCWTE0ajBoLXc1ODNBb3J6aTNsTFozdUtsU2tDRTYwcTNUdnBoY3paSzguS0hzbnpiNFBxcUJQbEljblllMjJUQ3M4WURtRWpuWE5ENEhzTUpudU14cw"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '6807' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 - response: - body: - string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak4238101d/e4b4a5764bbd4baa8e65ef47783449fc","attributes":{"enabled":true,"created":1613675894,"updated":1613675894,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '242' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:41 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_backup_restore_2016_10_01.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_backup_restore_2016_10_01.yaml new file mode 100644 index 000000000000..f31867952e9a --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_backup_restore_2016_10_01.yaml @@ -0,0 +1,1233 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak3de12c5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak3de12c5?api-version=2016-10-01 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak3de12c5/497441539ff34e91b0f5ae07576949c2","attributes":{"enabled":true,"created":1618954683,"updated":1618954683,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '239' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak3de12c5/backup?api-version=2016-10-01 + response: + body: + string: '{"value":"KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuRmZ0VExNaDUzTjFjQ05DSXFxUzNIVkhBYU5jLTZlVTYwRWppYVp5SGpYbnc5eDZUSjFzaWNhWmtEMS13ay1CeGZiQWRBeV9GaXY3ZUFPT3JtZVNhVlNhUkx1V3pEYTlEcjhETld4N3VYMWZ6Y0gwQk1pN25zWDV6Nl9ESDYyLVFQUWxXa0JiMHpYOEpCWXZublh1ZDhFT0d3ZGF0bVUxcmgxWXdrdkdYbnNnTWlva1kySlVDZ092LVNhNUlkNUx3TVc1amk1eEVGUzNGdWlmaExpLU1RWWFhaVA1dGdiNnl2U2k1Q2RCVGh5OEhjX2hoRkcxa0VIY1YzNW9Jam9fQ0EteVJYUDFobGVHQzJQUlpnQk1zTTZ0M1YtRFJLSEEyZWtoQ2lsV0NqZjk4M1RaVzhNbF9nNkRrWjdVbHVrZzdEQnJzdTZrRXpsYUhBUGJFNE9IOGhnLmlXNjhTWTcxV1c3THdoOW9SY1kzWFEuSHhXNVJuLWg1b3lYR0o5V3Rtb2xYdHBidFluWTEtQjdkYTFZQkpCQk1INk5aR04tTS0zYVIxVTFMZWR1RUs5eTRvMlFXeXBjYlIyT2h0R1ZqRXFHRWdmRjlGeEhDRWd1WkdBU1pYTGZBbkRmTkNzdVNRYkFIcDY1blFtcElEclRJNzJyOFhPM1QwNnA3MTFXYjVDZDRoa1Vjd0lvMXZqZzZKQ1BfMnhycEtrM2RZTDFncU5wOVpkdnRyaUJoazAwbGpEbk1sLWZua2RMaE9ILThSOU5YOGNKMENpVE40eXZicl9tdWVLTzRXWTRCaHdhNVpNMEYyeDc4QU95b1BxaFduN3dVVkE1SHgtRUxKSWVZNHBzcmtaeDJqSUFQNUVqZWc4ZXlCRkFGQUItSi1hQ3AwQ1Z3TS1BM2lPZTZLTTVUeUNZdnFxOGR1TlE3d2VUMVlhTGx4Nng3MUpsYk5sdGlmNWl6eXBVbTZaR1pueFRuQndYY3NuV1NvRjRCMkRzUUFaTTY3RUJsME9Md2tsZ2xmbXVQRURtN1N3S0ZzQ3V5ZENjdWNjTEItWm9HYjJXUDc2YlNNVHRfVi01NXF2TVlsYlRrOTlpUlhSbHNpamd3MFhfUXhYZ1E2SjlaYUJtWXpDbFVvMUFLcEtJMmFaYWx5WndpZnp5R21aa3RSODNnUXE4ZDc1a2Z6Y2RINXI4LW9CLWprUEM1NnU1R1hUcExndl9SVGRwTUxUZWZ1MGRnakZCWkJBaXZjampCRlZ3R0VETmpjeU8xczc2bFRsazZ2NHVBRGUxLW14bWI0cUNNMm5BSm5rWFJTanJkUGhla1k5M0pBdmd4TWZ1eXM1MTVsczgyZG9xYTE1NWM2VTBKdy00MllCNG1DRFpPQzhadlpkX241RjZyV2MwMkQxdG1TOFo1MDllMWIxakhWampwRHRGc2pvZWhMRjR1bmJKaUVmbm56YmlNZVFhS2NMTHI4SFZ1cktOaFE3UHZSLWMydmxLUm5ES1JFdzlNV1dNUUcwQjhnRHNEd3p4LXZQcXg3b3lBbVVEV2JuY0U4b3gxYUtVSGxoVDJTa2dzOHY3OGZFT0xJVHVfajdNaXRXZDRSaDgzeEIzOWZfOFFFVjdhNmFKRm90NFRxQ1dIdDJ2SkE5MnNWMG1JMTJRQ3NkWFBxQWJNaXNVQ1gzbUw3aG5kdjJWV25fdE5QT254OTd3NGVvTGNRRElZNi1HTlRaRDNXNlRaS1V5OXBOUW8ydFRwbnBUX2FZeS1nSlFkWWtyclpxby1QTVNGeHRBSmlFZmllejZiazE1cktXcUFmZEhjY3o4NVhKeVB5QldvWGhhcExvRmhDakZFWmUxdHQ1UWVYS3piV2duQ3pfR3owZ3Y5VENHM01Jdlk1dU50Q0RMZmxIdjJub2xHampSeV9ZUUx4MVdBSnZoaU1nVTJBTWxCNkNxZHUxaG5PbUh5NDd0TUNwdDVQcVptYUk3VWEyaDNqZUUzdXRCaXpiN3pOWkxkLTVJYTVQRmdsMWJ1X0txRFhNLVZPNVpNSEc4Q2pINVRmdWFjbFhWRDdrMHMtMW1ZZTVBMzFDY2liNlRwZDVNRVJONy13TTRkUWxTTVhqRHNISzY0NXJTdmRMMGZBa1BFZFM5RGw1YTJyRVI3M2ZFYzJwbjZDa1VxRUEyaGhZNW0zZkJRMzE3V0lJUTBzUm1UcXE5djVzaXpubDJPcU82UkVyNjJtcERUOURlSGtCYXgtV2I3c0tPbDNwTkRLTlZ4X2xPdW5JMkpkQWRnUFIxTTltSEU1OXpjNzlOcHprakYtYWI0eld4TlFCTXVvWXItc2lJZm1sQ1p2ek5fT1VfZWotT1I0eTNVYjdIN2tqVGpWVVRYRHUzZG04MVdqXzdNR3hZNGhZN3NMUU1ZRDllRkxNelpuWV9CYjRfUjZsUmJ0Sk5UWXZ6SUU3ZnI4OTA5aG55UjBiOTdwYVNpMkR2cWdUZGRSMkRKbEJUMkpncDF6VDMyUlk5c2JLenMxY0xvX3NIcHZGS09tQmYwMkhPejgtVzl6bHVNVEd1MVBMMF82UldJeEhVWUJVdDZYblJvR2luX3lUWFBGcWExaEVyVWxhTHJ0dXExR2UydEU1bXdOSFU3OGQ4b3VuSUxZaXBYdlFlNld5S1U5Q3BRUGIteUgzdzU2UXBwZjA3elFNZi1RRnkxRGVPUGZQU0NONXV2QnJvNHIyQ1NNRVpCYXdPNUhkOTY1TUJkS0FzYUxpSkNJd1BucTBvMF8wXzYxWERqazN0a2cybXVmRXhNZE1ZUjJUV0xxSUNFTlhxaDNIWHNxdFA0SmxKQjc0WWRyaHRHeUtGanFfNjVKMVZWRi1FSnVXY0ZOYU15NG9GUnJIN2w4VVBHREg5ZWxpN0dWVWlqTHZrempaOG9vb2Vmd0g3b09BeG4tTGFrZFNhbmx2QUZRdVE5cjQ2WlNBV2RpXzdYRnlRR05QYm9wUXdOSDVjd3gwcGZTUmhKcGpmYVB2MWVTdWFYYUUtQTR1RE5sQlRyam82OWRQVXE0dGZXR2RhbnJsa2t6ZGtMdlU5VHJ5Mm1iUXZIbVE5SzVsZlJxUFRrb3daVjZoZnJlZkRpZFRHRHFUQk1SUUl0UXlvckc1ZWZzR2hCZ1p4QVA0WmU5VlNoRzRmM3hQRVF2Q3RiRnZXTkJ5cnNGdjF0bFQ3QXljRXhfZGxicU1FN1dNSkV2VDlRRi1nQWYzMGhKZGdycWlqVEFyTVA2X0FBZGd6R044bUlWbV96aW4zRzFHVUEyRW85TzVZeHdTd2M1REpVMF9FMHYxbGFlZzdZa2ZEczF0OVdVRURocG5YSENRZ095VkgtU05OS0ExM2JTbFNpUzdVTlJfZTJSWWJSTmVaQmFMUmMtRUIwcUM5MHN2TlFXeXd6Mlp4T2ZyWmF4R2xoUVdZVHdRenZYS0FIY1RZakRFRG5kcVpPdUhQcWxHZTZabzF4SngxUmVYNFZHZTBrT3ZPT1JqMThlTFRCdDBrN1hhSC1KU2w5OGdMY1JoYXJYMFlVbzZoRXRpaU01eU5jNTVHSUlocUp3SXNFajZFNVpnbW5Dd0M1ZlJULTRNdnMwNEdfeHF2SVJHVkl6SWhhakp2bXZpd2hlVnVQMHI0NTJtdGtlM3lZVTRZYzROOFRLeWZBd0NPT1ZsQ1lUZ3l1NjVJMzhvWE9ZUHMteHVVeERsa2I5c25BLWlpTEVTMWNNMS1kTXFTUmZidDRCcGRsUE9wS1ktZkg2SWFJQVkzR0N2TjNoQkgzVjg4ZGFSY1RTa2lHZjBDX09tblprbU84V1VHWEtJa2V3Sm4wWG9OVFA4NWx2NnVFM3pXMnZoandKaEp3dXk3QXdXYkpvLTYwVHhkWFBOMUZ0MHI0RkREMXFrUHltM2N0WU10OXlPSHp5eFhsZjZmU3ZXNmd1NzdRS0tTV3VVbWlMc1hTbDJvTUZMNi05U0ZCMndfTlhCb2s3NmI3WWlaRXFpbTJHaHRIWFFoem5RT2ZZSjR4N2lsSThNTVFrbHZoWnBYa0NZenVBVm82QzJVQjVlc2JxU1FzY1U3UndSRy03dlllZzJMYWc5YWtLeVFfYnprZ2pyY0VGOFY4T1AtU1FfNVo4RUV1aWdKbEpEZkdCekJDSXdRUU5McXBLRkxhcF9YNlU3VC1CVzhtX3Jrbl8tMlBDWENDTkFxejVxNF9zRnJWQU9ueXRPaFJUbVpTamlZNmNyeENIbVcxT3poNWRjVUJtelFtUURCVzhfbi0tSWR0NlgxdXdRSlVPdjhFcGVYbm1rX3drdUp3Z0hUTlFUZ0xVdjRDLUtKYVVnVEJIVkNrVkJFSEFLaVhSNEhEbGhGMWVyZW1NdnRXaTl6X0xKakxvYUhUdjNYYllSUVFOWl9rY0t0NW1Ca0RhZFZJOXNXVUpPNVE0LVd3LVFFRnNjaTVVSmRJLXJCNHY3ZGFzSFhfMDNZb1FqaFM3QnhqWGZINnRvcGlEbVV3eDhkc2xUVVFLR1BPWXhjZnVWTWZaZmhkbkh3ZEZycGhfVmlwQlJoVGpoWDRwN2NmeTZ0V2t4V1VDZ3RvZTJoMS1BejNoNGNwVE0zX1ZuRUt4cWpCUlJISzRJR2IxQlRXSnJNaVFsQ3lRa1l0bzBWbXhab2xzYVlnTTFHZmFRdC54VE5CZ192Umw0NVAzcjhNZGpyc1Vob0ZvN3pCZkVJR0ZlNWVFWDljU2Y0"}' + headers: + cache-control: + - no-cache + content-length: + - '4956' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak3de12c5?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak3de12c5","deletedDate":1618954684,"scheduledPurgeDate":1626730684,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak3de12c5/497441539ff34e91b0f5ae07576949c2","attributes":{"enabled":true,"created":1618954683,"updated":1618954683,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak3de12c5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak3de12c5"}}' + headers: + cache-control: + - no-cache + content-length: + - '97' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak3de12c5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak3de12c5"}}' + headers: + cache-control: + - no-cache + content-length: + - '97' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak3de12c5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak3de12c5"}}' + headers: + cache-control: + - no-cache + content-length: + - '97' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak3de12c5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak3de12c5"}}' + headers: + cache-control: + - no-cache + content-length: + - '97' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak3de12c5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak3de12c5"}}' + headers: + cache-control: + - no-cache + content-length: + - '97' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak3de12c5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak3de12c5"}}' + headers: + cache-control: + - no-cache + content-length: + - '97' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak3de12c5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak3de12c5"}}' + headers: + cache-control: + - no-cache + content-length: + - '97' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak3de12c5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak3de12c5"}}' + headers: + cache-control: + - no-cache + content-length: + - '97' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak3de12c5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak3de12c5"}}' + headers: + cache-control: + - no-cache + content-length: + - '97' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak3de12c5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak3de12c5"}}' + headers: + cache-control: + - no-cache + content-length: + - '97' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak3de12c5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak3de12c5"}}' + headers: + cache-control: + - no-cache + content-length: + - '97' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak3de12c5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak3de12c5"}}' + headers: + cache-control: + - no-cache + content-length: + - '97' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak3de12c5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak3de12c5"}}' + headers: + cache-control: + - no-cache + content-length: + - '97' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak3de12c5?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak3de12c5"}}' + headers: + cache-control: + - no-cache + content-length: + - '97' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak3de12c5?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak3de12c5","deletedDate":1618954684,"scheduledPurgeDate":1626730684,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak3de12c5/497441539ff34e91b0f5ae07576949c2","attributes":{"enabled":true,"created":1618954683,"updated":1618954683,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak3de12c5?api-version=2016-10-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:38:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuRmZ0VExNaDUzTjFjQ05DSXFxUzNIVkhBYU5jLTZlVTYwRWppYVp5SGpYbnc5eDZUSjFzaWNhWmtEMS13ay1CeGZiQWRBeV9GaXY3ZUFPT3JtZVNhVlNhUkx1V3pEYTlEcjhETld4N3VYMWZ6Y0gwQk1pN25zWDV6Nl9ESDYyLVFQUWxXa0JiMHpYOEpCWXZublh1ZDhFT0d3ZGF0bVUxcmgxWXdrdkdYbnNnTWlva1kySlVDZ092LVNhNUlkNUx3TVc1amk1eEVGUzNGdWlmaExpLU1RWWFhaVA1dGdiNnl2U2k1Q2RCVGh5OEhjX2hoRkcxa0VIY1YzNW9Jam9fQ0EteVJYUDFobGVHQzJQUlpnQk1zTTZ0M1YtRFJLSEEyZWtoQ2lsV0NqZjk4M1RaVzhNbF9nNkRrWjdVbHVrZzdEQnJzdTZrRXpsYUhBUGJFNE9IOGhnLmlXNjhTWTcxV1c3THdoOW9SY1kzWFEuSHhXNVJuLWg1b3lYR0o5V3Rtb2xYdHBidFluWTEtQjdkYTFZQkpCQk1INk5aR04tTS0zYVIxVTFMZWR1RUs5eTRvMlFXeXBjYlIyT2h0R1ZqRXFHRWdmRjlGeEhDRWd1WkdBU1pYTGZBbkRmTkNzdVNRYkFIcDY1blFtcElEclRJNzJyOFhPM1QwNnA3MTFXYjVDZDRoa1Vjd0lvMXZqZzZKQ1BfMnhycEtrM2RZTDFncU5wOVpkdnRyaUJoazAwbGpEbk1sLWZua2RMaE9ILThSOU5YOGNKMENpVE40eXZicl9tdWVLTzRXWTRCaHdhNVpNMEYyeDc4QU95b1BxaFduN3dVVkE1SHgtRUxKSWVZNHBzcmtaeDJqSUFQNUVqZWc4ZXlCRkFGQUItSi1hQ3AwQ1Z3TS1BM2lPZTZLTTVUeUNZdnFxOGR1TlE3d2VUMVlhTGx4Nng3MUpsYk5sdGlmNWl6eXBVbTZaR1pueFRuQndYY3NuV1NvRjRCMkRzUUFaTTY3RUJsME9Md2tsZ2xmbXVQRURtN1N3S0ZzQ3V5ZENjdWNjTEItWm9HYjJXUDc2YlNNVHRfVi01NXF2TVlsYlRrOTlpUlhSbHNpamd3MFhfUXhYZ1E2SjlaYUJtWXpDbFVvMUFLcEtJMmFaYWx5WndpZnp5R21aa3RSODNnUXE4ZDc1a2Z6Y2RINXI4LW9CLWprUEM1NnU1R1hUcExndl9SVGRwTUxUZWZ1MGRnakZCWkJBaXZjampCRlZ3R0VETmpjeU8xczc2bFRsazZ2NHVBRGUxLW14bWI0cUNNMm5BSm5rWFJTanJkUGhla1k5M0pBdmd4TWZ1eXM1MTVsczgyZG9xYTE1NWM2VTBKdy00MllCNG1DRFpPQzhadlpkX241RjZyV2MwMkQxdG1TOFo1MDllMWIxakhWampwRHRGc2pvZWhMRjR1bmJKaUVmbm56YmlNZVFhS2NMTHI4SFZ1cktOaFE3UHZSLWMydmxLUm5ES1JFdzlNV1dNUUcwQjhnRHNEd3p4LXZQcXg3b3lBbVVEV2JuY0U4b3gxYUtVSGxoVDJTa2dzOHY3OGZFT0xJVHVfajdNaXRXZDRSaDgzeEIzOWZfOFFFVjdhNmFKRm90NFRxQ1dIdDJ2SkE5MnNWMG1JMTJRQ3NkWFBxQWJNaXNVQ1gzbUw3aG5kdjJWV25fdE5QT254OTd3NGVvTGNRRElZNi1HTlRaRDNXNlRaS1V5OXBOUW8ydFRwbnBUX2FZeS1nSlFkWWtyclpxby1QTVNGeHRBSmlFZmllejZiazE1cktXcUFmZEhjY3o4NVhKeVB5QldvWGhhcExvRmhDakZFWmUxdHQ1UWVYS3piV2duQ3pfR3owZ3Y5VENHM01Jdlk1dU50Q0RMZmxIdjJub2xHampSeV9ZUUx4MVdBSnZoaU1nVTJBTWxCNkNxZHUxaG5PbUh5NDd0TUNwdDVQcVptYUk3VWEyaDNqZUUzdXRCaXpiN3pOWkxkLTVJYTVQRmdsMWJ1X0txRFhNLVZPNVpNSEc4Q2pINVRmdWFjbFhWRDdrMHMtMW1ZZTVBMzFDY2liNlRwZDVNRVJONy13TTRkUWxTTVhqRHNISzY0NXJTdmRMMGZBa1BFZFM5RGw1YTJyRVI3M2ZFYzJwbjZDa1VxRUEyaGhZNW0zZkJRMzE3V0lJUTBzUm1UcXE5djVzaXpubDJPcU82UkVyNjJtcERUOURlSGtCYXgtV2I3c0tPbDNwTkRLTlZ4X2xPdW5JMkpkQWRnUFIxTTltSEU1OXpjNzlOcHprakYtYWI0eld4TlFCTXVvWXItc2lJZm1sQ1p2ek5fT1VfZWotT1I0eTNVYjdIN2tqVGpWVVRYRHUzZG04MVdqXzdNR3hZNGhZN3NMUU1ZRDllRkxNelpuWV9CYjRfUjZsUmJ0Sk5UWXZ6SUU3ZnI4OTA5aG55UjBiOTdwYVNpMkR2cWdUZGRSMkRKbEJUMkpncDF6VDMyUlk5c2JLenMxY0xvX3NIcHZGS09tQmYwMkhPejgtVzl6bHVNVEd1MVBMMF82UldJeEhVWUJVdDZYblJvR2luX3lUWFBGcWExaEVyVWxhTHJ0dXExR2UydEU1bXdOSFU3OGQ4b3VuSUxZaXBYdlFlNld5S1U5Q3BRUGIteUgzdzU2UXBwZjA3elFNZi1RRnkxRGVPUGZQU0NONXV2QnJvNHIyQ1NNRVpCYXdPNUhkOTY1TUJkS0FzYUxpSkNJd1BucTBvMF8wXzYxWERqazN0a2cybXVmRXhNZE1ZUjJUV0xxSUNFTlhxaDNIWHNxdFA0SmxKQjc0WWRyaHRHeUtGanFfNjVKMVZWRi1FSnVXY0ZOYU15NG9GUnJIN2w4VVBHREg5ZWxpN0dWVWlqTHZrempaOG9vb2Vmd0g3b09BeG4tTGFrZFNhbmx2QUZRdVE5cjQ2WlNBV2RpXzdYRnlRR05QYm9wUXdOSDVjd3gwcGZTUmhKcGpmYVB2MWVTdWFYYUUtQTR1RE5sQlRyam82OWRQVXE0dGZXR2RhbnJsa2t6ZGtMdlU5VHJ5Mm1iUXZIbVE5SzVsZlJxUFRrb3daVjZoZnJlZkRpZFRHRHFUQk1SUUl0UXlvckc1ZWZzR2hCZ1p4QVA0WmU5VlNoRzRmM3hQRVF2Q3RiRnZXTkJ5cnNGdjF0bFQ3QXljRXhfZGxicU1FN1dNSkV2VDlRRi1nQWYzMGhKZGdycWlqVEFyTVA2X0FBZGd6R044bUlWbV96aW4zRzFHVUEyRW85TzVZeHdTd2M1REpVMF9FMHYxbGFlZzdZa2ZEczF0OVdVRURocG5YSENRZ095VkgtU05OS0ExM2JTbFNpUzdVTlJfZTJSWWJSTmVaQmFMUmMtRUIwcUM5MHN2TlFXeXd6Mlp4T2ZyWmF4R2xoUVdZVHdRenZYS0FIY1RZakRFRG5kcVpPdUhQcWxHZTZabzF4SngxUmVYNFZHZTBrT3ZPT1JqMThlTFRCdDBrN1hhSC1KU2w5OGdMY1JoYXJYMFlVbzZoRXRpaU01eU5jNTVHSUlocUp3SXNFajZFNVpnbW5Dd0M1ZlJULTRNdnMwNEdfeHF2SVJHVkl6SWhhakp2bXZpd2hlVnVQMHI0NTJtdGtlM3lZVTRZYzROOFRLeWZBd0NPT1ZsQ1lUZ3l1NjVJMzhvWE9ZUHMteHVVeERsa2I5c25BLWlpTEVTMWNNMS1kTXFTUmZidDRCcGRsUE9wS1ktZkg2SWFJQVkzR0N2TjNoQkgzVjg4ZGFSY1RTa2lHZjBDX09tblprbU84V1VHWEtJa2V3Sm4wWG9OVFA4NWx2NnVFM3pXMnZoandKaEp3dXk3QXdXYkpvLTYwVHhkWFBOMUZ0MHI0RkREMXFrUHltM2N0WU10OXlPSHp5eFhsZjZmU3ZXNmd1NzdRS0tTV3VVbWlMc1hTbDJvTUZMNi05U0ZCMndfTlhCb2s3NmI3WWlaRXFpbTJHaHRIWFFoem5RT2ZZSjR4N2lsSThNTVFrbHZoWnBYa0NZenVBVm82QzJVQjVlc2JxU1FzY1U3UndSRy03dlllZzJMYWc5YWtLeVFfYnprZ2pyY0VGOFY4T1AtU1FfNVo4RUV1aWdKbEpEZkdCekJDSXdRUU5McXBLRkxhcF9YNlU3VC1CVzhtX3Jrbl8tMlBDWENDTkFxejVxNF9zRnJWQU9ueXRPaFJUbVpTamlZNmNyeENIbVcxT3poNWRjVUJtelFtUURCVzhfbi0tSWR0NlgxdXdRSlVPdjhFcGVYbm1rX3drdUp3Z0hUTlFUZ0xVdjRDLUtKYVVnVEJIVkNrVkJFSEFLaVhSNEhEbGhGMWVyZW1NdnRXaTl6X0xKakxvYUhUdjNYYllSUVFOWl9rY0t0NW1Ca0RhZFZJOXNXVUpPNVE0LVd3LVFFRnNjaTVVSmRJLXJCNHY3ZGFzSFhfMDNZb1FqaFM3QnhqWGZINnRvcGlEbVV3eDhkc2xUVVFLR1BPWXhjZnVWTWZaZmhkbkh3ZEZycGhfVmlwQlJoVGpoWDRwN2NmeTZ0V2t4V1VDZ3RvZTJoMS1BejNoNGNwVE0zX1ZuRUt4cWpCUlJISzRJR2IxQlRXSnJNaVFsQ3lRa1l0bzBWbXhab2xzYVlnTTFHZmFRdC54VE5CZ192Umw0NVAzcjhNZGpyc1Vob0ZvN3pCZkVJR0ZlNWVFWDljU2Y0"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak3de12c5/497441539ff34e91b0f5ae07576949c2''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: + - no-cache + content-length: + - '642' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 409 + message: Conflict +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuRmZ0VExNaDUzTjFjQ05DSXFxUzNIVkhBYU5jLTZlVTYwRWppYVp5SGpYbnc5eDZUSjFzaWNhWmtEMS13ay1CeGZiQWRBeV9GaXY3ZUFPT3JtZVNhVlNhUkx1V3pEYTlEcjhETld4N3VYMWZ6Y0gwQk1pN25zWDV6Nl9ESDYyLVFQUWxXa0JiMHpYOEpCWXZublh1ZDhFT0d3ZGF0bVUxcmgxWXdrdkdYbnNnTWlva1kySlVDZ092LVNhNUlkNUx3TVc1amk1eEVGUzNGdWlmaExpLU1RWWFhaVA1dGdiNnl2U2k1Q2RCVGh5OEhjX2hoRkcxa0VIY1YzNW9Jam9fQ0EteVJYUDFobGVHQzJQUlpnQk1zTTZ0M1YtRFJLSEEyZWtoQ2lsV0NqZjk4M1RaVzhNbF9nNkRrWjdVbHVrZzdEQnJzdTZrRXpsYUhBUGJFNE9IOGhnLmlXNjhTWTcxV1c3THdoOW9SY1kzWFEuSHhXNVJuLWg1b3lYR0o5V3Rtb2xYdHBidFluWTEtQjdkYTFZQkpCQk1INk5aR04tTS0zYVIxVTFMZWR1RUs5eTRvMlFXeXBjYlIyT2h0R1ZqRXFHRWdmRjlGeEhDRWd1WkdBU1pYTGZBbkRmTkNzdVNRYkFIcDY1blFtcElEclRJNzJyOFhPM1QwNnA3MTFXYjVDZDRoa1Vjd0lvMXZqZzZKQ1BfMnhycEtrM2RZTDFncU5wOVpkdnRyaUJoazAwbGpEbk1sLWZua2RMaE9ILThSOU5YOGNKMENpVE40eXZicl9tdWVLTzRXWTRCaHdhNVpNMEYyeDc4QU95b1BxaFduN3dVVkE1SHgtRUxKSWVZNHBzcmtaeDJqSUFQNUVqZWc4ZXlCRkFGQUItSi1hQ3AwQ1Z3TS1BM2lPZTZLTTVUeUNZdnFxOGR1TlE3d2VUMVlhTGx4Nng3MUpsYk5sdGlmNWl6eXBVbTZaR1pueFRuQndYY3NuV1NvRjRCMkRzUUFaTTY3RUJsME9Md2tsZ2xmbXVQRURtN1N3S0ZzQ3V5ZENjdWNjTEItWm9HYjJXUDc2YlNNVHRfVi01NXF2TVlsYlRrOTlpUlhSbHNpamd3MFhfUXhYZ1E2SjlaYUJtWXpDbFVvMUFLcEtJMmFaYWx5WndpZnp5R21aa3RSODNnUXE4ZDc1a2Z6Y2RINXI4LW9CLWprUEM1NnU1R1hUcExndl9SVGRwTUxUZWZ1MGRnakZCWkJBaXZjampCRlZ3R0VETmpjeU8xczc2bFRsazZ2NHVBRGUxLW14bWI0cUNNMm5BSm5rWFJTanJkUGhla1k5M0pBdmd4TWZ1eXM1MTVsczgyZG9xYTE1NWM2VTBKdy00MllCNG1DRFpPQzhadlpkX241RjZyV2MwMkQxdG1TOFo1MDllMWIxakhWampwRHRGc2pvZWhMRjR1bmJKaUVmbm56YmlNZVFhS2NMTHI4SFZ1cktOaFE3UHZSLWMydmxLUm5ES1JFdzlNV1dNUUcwQjhnRHNEd3p4LXZQcXg3b3lBbVVEV2JuY0U4b3gxYUtVSGxoVDJTa2dzOHY3OGZFT0xJVHVfajdNaXRXZDRSaDgzeEIzOWZfOFFFVjdhNmFKRm90NFRxQ1dIdDJ2SkE5MnNWMG1JMTJRQ3NkWFBxQWJNaXNVQ1gzbUw3aG5kdjJWV25fdE5QT254OTd3NGVvTGNRRElZNi1HTlRaRDNXNlRaS1V5OXBOUW8ydFRwbnBUX2FZeS1nSlFkWWtyclpxby1QTVNGeHRBSmlFZmllejZiazE1cktXcUFmZEhjY3o4NVhKeVB5QldvWGhhcExvRmhDakZFWmUxdHQ1UWVYS3piV2duQ3pfR3owZ3Y5VENHM01Jdlk1dU50Q0RMZmxIdjJub2xHampSeV9ZUUx4MVdBSnZoaU1nVTJBTWxCNkNxZHUxaG5PbUh5NDd0TUNwdDVQcVptYUk3VWEyaDNqZUUzdXRCaXpiN3pOWkxkLTVJYTVQRmdsMWJ1X0txRFhNLVZPNVpNSEc4Q2pINVRmdWFjbFhWRDdrMHMtMW1ZZTVBMzFDY2liNlRwZDVNRVJONy13TTRkUWxTTVhqRHNISzY0NXJTdmRMMGZBa1BFZFM5RGw1YTJyRVI3M2ZFYzJwbjZDa1VxRUEyaGhZNW0zZkJRMzE3V0lJUTBzUm1UcXE5djVzaXpubDJPcU82UkVyNjJtcERUOURlSGtCYXgtV2I3c0tPbDNwTkRLTlZ4X2xPdW5JMkpkQWRnUFIxTTltSEU1OXpjNzlOcHprakYtYWI0eld4TlFCTXVvWXItc2lJZm1sQ1p2ek5fT1VfZWotT1I0eTNVYjdIN2tqVGpWVVRYRHUzZG04MVdqXzdNR3hZNGhZN3NMUU1ZRDllRkxNelpuWV9CYjRfUjZsUmJ0Sk5UWXZ6SUU3ZnI4OTA5aG55UjBiOTdwYVNpMkR2cWdUZGRSMkRKbEJUMkpncDF6VDMyUlk5c2JLenMxY0xvX3NIcHZGS09tQmYwMkhPejgtVzl6bHVNVEd1MVBMMF82UldJeEhVWUJVdDZYblJvR2luX3lUWFBGcWExaEVyVWxhTHJ0dXExR2UydEU1bXdOSFU3OGQ4b3VuSUxZaXBYdlFlNld5S1U5Q3BRUGIteUgzdzU2UXBwZjA3elFNZi1RRnkxRGVPUGZQU0NONXV2QnJvNHIyQ1NNRVpCYXdPNUhkOTY1TUJkS0FzYUxpSkNJd1BucTBvMF8wXzYxWERqazN0a2cybXVmRXhNZE1ZUjJUV0xxSUNFTlhxaDNIWHNxdFA0SmxKQjc0WWRyaHRHeUtGanFfNjVKMVZWRi1FSnVXY0ZOYU15NG9GUnJIN2w4VVBHREg5ZWxpN0dWVWlqTHZrempaOG9vb2Vmd0g3b09BeG4tTGFrZFNhbmx2QUZRdVE5cjQ2WlNBV2RpXzdYRnlRR05QYm9wUXdOSDVjd3gwcGZTUmhKcGpmYVB2MWVTdWFYYUUtQTR1RE5sQlRyam82OWRQVXE0dGZXR2RhbnJsa2t6ZGtMdlU5VHJ5Mm1iUXZIbVE5SzVsZlJxUFRrb3daVjZoZnJlZkRpZFRHRHFUQk1SUUl0UXlvckc1ZWZzR2hCZ1p4QVA0WmU5VlNoRzRmM3hQRVF2Q3RiRnZXTkJ5cnNGdjF0bFQ3QXljRXhfZGxicU1FN1dNSkV2VDlRRi1nQWYzMGhKZGdycWlqVEFyTVA2X0FBZGd6R044bUlWbV96aW4zRzFHVUEyRW85TzVZeHdTd2M1REpVMF9FMHYxbGFlZzdZa2ZEczF0OVdVRURocG5YSENRZ095VkgtU05OS0ExM2JTbFNpUzdVTlJfZTJSWWJSTmVaQmFMUmMtRUIwcUM5MHN2TlFXeXd6Mlp4T2ZyWmF4R2xoUVdZVHdRenZYS0FIY1RZakRFRG5kcVpPdUhQcWxHZTZabzF4SngxUmVYNFZHZTBrT3ZPT1JqMThlTFRCdDBrN1hhSC1KU2w5OGdMY1JoYXJYMFlVbzZoRXRpaU01eU5jNTVHSUlocUp3SXNFajZFNVpnbW5Dd0M1ZlJULTRNdnMwNEdfeHF2SVJHVkl6SWhhakp2bXZpd2hlVnVQMHI0NTJtdGtlM3lZVTRZYzROOFRLeWZBd0NPT1ZsQ1lUZ3l1NjVJMzhvWE9ZUHMteHVVeERsa2I5c25BLWlpTEVTMWNNMS1kTXFTUmZidDRCcGRsUE9wS1ktZkg2SWFJQVkzR0N2TjNoQkgzVjg4ZGFSY1RTa2lHZjBDX09tblprbU84V1VHWEtJa2V3Sm4wWG9OVFA4NWx2NnVFM3pXMnZoandKaEp3dXk3QXdXYkpvLTYwVHhkWFBOMUZ0MHI0RkREMXFrUHltM2N0WU10OXlPSHp5eFhsZjZmU3ZXNmd1NzdRS0tTV3VVbWlMc1hTbDJvTUZMNi05U0ZCMndfTlhCb2s3NmI3WWlaRXFpbTJHaHRIWFFoem5RT2ZZSjR4N2lsSThNTVFrbHZoWnBYa0NZenVBVm82QzJVQjVlc2JxU1FzY1U3UndSRy03dlllZzJMYWc5YWtLeVFfYnprZ2pyY0VGOFY4T1AtU1FfNVo4RUV1aWdKbEpEZkdCekJDSXdRUU5McXBLRkxhcF9YNlU3VC1CVzhtX3Jrbl8tMlBDWENDTkFxejVxNF9zRnJWQU9ueXRPaFJUbVpTamlZNmNyeENIbVcxT3poNWRjVUJtelFtUURCVzhfbi0tSWR0NlgxdXdRSlVPdjhFcGVYbm1rX3drdUp3Z0hUTlFUZ0xVdjRDLUtKYVVnVEJIVkNrVkJFSEFLaVhSNEhEbGhGMWVyZW1NdnRXaTl6X0xKakxvYUhUdjNYYllSUVFOWl9rY0t0NW1Ca0RhZFZJOXNXVUpPNVE0LVd3LVFFRnNjaTVVSmRJLXJCNHY3ZGFzSFhfMDNZb1FqaFM3QnhqWGZINnRvcGlEbVV3eDhkc2xUVVFLR1BPWXhjZnVWTWZaZmhkbkh3ZEZycGhfVmlwQlJoVGpoWDRwN2NmeTZ0V2t4V1VDZ3RvZTJoMS1BejNoNGNwVE0zX1ZuRUt4cWpCUlJISzRJR2IxQlRXSnJNaVFsQ3lRa1l0bzBWbXhab2xzYVlnTTFHZmFRdC54VE5CZ192Umw0NVAzcjhNZGpyc1Vob0ZvN3pCZkVJR0ZlNWVFWDljU2Y0"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak3de12c5/497441539ff34e91b0f5ae07576949c2''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: + - no-cache + content-length: + - '642' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 409 + message: Conflict +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuRmZ0VExNaDUzTjFjQ05DSXFxUzNIVkhBYU5jLTZlVTYwRWppYVp5SGpYbnc5eDZUSjFzaWNhWmtEMS13ay1CeGZiQWRBeV9GaXY3ZUFPT3JtZVNhVlNhUkx1V3pEYTlEcjhETld4N3VYMWZ6Y0gwQk1pN25zWDV6Nl9ESDYyLVFQUWxXa0JiMHpYOEpCWXZublh1ZDhFT0d3ZGF0bVUxcmgxWXdrdkdYbnNnTWlva1kySlVDZ092LVNhNUlkNUx3TVc1amk1eEVGUzNGdWlmaExpLU1RWWFhaVA1dGdiNnl2U2k1Q2RCVGh5OEhjX2hoRkcxa0VIY1YzNW9Jam9fQ0EteVJYUDFobGVHQzJQUlpnQk1zTTZ0M1YtRFJLSEEyZWtoQ2lsV0NqZjk4M1RaVzhNbF9nNkRrWjdVbHVrZzdEQnJzdTZrRXpsYUhBUGJFNE9IOGhnLmlXNjhTWTcxV1c3THdoOW9SY1kzWFEuSHhXNVJuLWg1b3lYR0o5V3Rtb2xYdHBidFluWTEtQjdkYTFZQkpCQk1INk5aR04tTS0zYVIxVTFMZWR1RUs5eTRvMlFXeXBjYlIyT2h0R1ZqRXFHRWdmRjlGeEhDRWd1WkdBU1pYTGZBbkRmTkNzdVNRYkFIcDY1blFtcElEclRJNzJyOFhPM1QwNnA3MTFXYjVDZDRoa1Vjd0lvMXZqZzZKQ1BfMnhycEtrM2RZTDFncU5wOVpkdnRyaUJoazAwbGpEbk1sLWZua2RMaE9ILThSOU5YOGNKMENpVE40eXZicl9tdWVLTzRXWTRCaHdhNVpNMEYyeDc4QU95b1BxaFduN3dVVkE1SHgtRUxKSWVZNHBzcmtaeDJqSUFQNUVqZWc4ZXlCRkFGQUItSi1hQ3AwQ1Z3TS1BM2lPZTZLTTVUeUNZdnFxOGR1TlE3d2VUMVlhTGx4Nng3MUpsYk5sdGlmNWl6eXBVbTZaR1pueFRuQndYY3NuV1NvRjRCMkRzUUFaTTY3RUJsME9Md2tsZ2xmbXVQRURtN1N3S0ZzQ3V5ZENjdWNjTEItWm9HYjJXUDc2YlNNVHRfVi01NXF2TVlsYlRrOTlpUlhSbHNpamd3MFhfUXhYZ1E2SjlaYUJtWXpDbFVvMUFLcEtJMmFaYWx5WndpZnp5R21aa3RSODNnUXE4ZDc1a2Z6Y2RINXI4LW9CLWprUEM1NnU1R1hUcExndl9SVGRwTUxUZWZ1MGRnakZCWkJBaXZjampCRlZ3R0VETmpjeU8xczc2bFRsazZ2NHVBRGUxLW14bWI0cUNNMm5BSm5rWFJTanJkUGhla1k5M0pBdmd4TWZ1eXM1MTVsczgyZG9xYTE1NWM2VTBKdy00MllCNG1DRFpPQzhadlpkX241RjZyV2MwMkQxdG1TOFo1MDllMWIxakhWampwRHRGc2pvZWhMRjR1bmJKaUVmbm56YmlNZVFhS2NMTHI4SFZ1cktOaFE3UHZSLWMydmxLUm5ES1JFdzlNV1dNUUcwQjhnRHNEd3p4LXZQcXg3b3lBbVVEV2JuY0U4b3gxYUtVSGxoVDJTa2dzOHY3OGZFT0xJVHVfajdNaXRXZDRSaDgzeEIzOWZfOFFFVjdhNmFKRm90NFRxQ1dIdDJ2SkE5MnNWMG1JMTJRQ3NkWFBxQWJNaXNVQ1gzbUw3aG5kdjJWV25fdE5QT254OTd3NGVvTGNRRElZNi1HTlRaRDNXNlRaS1V5OXBOUW8ydFRwbnBUX2FZeS1nSlFkWWtyclpxby1QTVNGeHRBSmlFZmllejZiazE1cktXcUFmZEhjY3o4NVhKeVB5QldvWGhhcExvRmhDakZFWmUxdHQ1UWVYS3piV2duQ3pfR3owZ3Y5VENHM01Jdlk1dU50Q0RMZmxIdjJub2xHampSeV9ZUUx4MVdBSnZoaU1nVTJBTWxCNkNxZHUxaG5PbUh5NDd0TUNwdDVQcVptYUk3VWEyaDNqZUUzdXRCaXpiN3pOWkxkLTVJYTVQRmdsMWJ1X0txRFhNLVZPNVpNSEc4Q2pINVRmdWFjbFhWRDdrMHMtMW1ZZTVBMzFDY2liNlRwZDVNRVJONy13TTRkUWxTTVhqRHNISzY0NXJTdmRMMGZBa1BFZFM5RGw1YTJyRVI3M2ZFYzJwbjZDa1VxRUEyaGhZNW0zZkJRMzE3V0lJUTBzUm1UcXE5djVzaXpubDJPcU82UkVyNjJtcERUOURlSGtCYXgtV2I3c0tPbDNwTkRLTlZ4X2xPdW5JMkpkQWRnUFIxTTltSEU1OXpjNzlOcHprakYtYWI0eld4TlFCTXVvWXItc2lJZm1sQ1p2ek5fT1VfZWotT1I0eTNVYjdIN2tqVGpWVVRYRHUzZG04MVdqXzdNR3hZNGhZN3NMUU1ZRDllRkxNelpuWV9CYjRfUjZsUmJ0Sk5UWXZ6SUU3ZnI4OTA5aG55UjBiOTdwYVNpMkR2cWdUZGRSMkRKbEJUMkpncDF6VDMyUlk5c2JLenMxY0xvX3NIcHZGS09tQmYwMkhPejgtVzl6bHVNVEd1MVBMMF82UldJeEhVWUJVdDZYblJvR2luX3lUWFBGcWExaEVyVWxhTHJ0dXExR2UydEU1bXdOSFU3OGQ4b3VuSUxZaXBYdlFlNld5S1U5Q3BRUGIteUgzdzU2UXBwZjA3elFNZi1RRnkxRGVPUGZQU0NONXV2QnJvNHIyQ1NNRVpCYXdPNUhkOTY1TUJkS0FzYUxpSkNJd1BucTBvMF8wXzYxWERqazN0a2cybXVmRXhNZE1ZUjJUV0xxSUNFTlhxaDNIWHNxdFA0SmxKQjc0WWRyaHRHeUtGanFfNjVKMVZWRi1FSnVXY0ZOYU15NG9GUnJIN2w4VVBHREg5ZWxpN0dWVWlqTHZrempaOG9vb2Vmd0g3b09BeG4tTGFrZFNhbmx2QUZRdVE5cjQ2WlNBV2RpXzdYRnlRR05QYm9wUXdOSDVjd3gwcGZTUmhKcGpmYVB2MWVTdWFYYUUtQTR1RE5sQlRyam82OWRQVXE0dGZXR2RhbnJsa2t6ZGtMdlU5VHJ5Mm1iUXZIbVE5SzVsZlJxUFRrb3daVjZoZnJlZkRpZFRHRHFUQk1SUUl0UXlvckc1ZWZzR2hCZ1p4QVA0WmU5VlNoRzRmM3hQRVF2Q3RiRnZXTkJ5cnNGdjF0bFQ3QXljRXhfZGxicU1FN1dNSkV2VDlRRi1nQWYzMGhKZGdycWlqVEFyTVA2X0FBZGd6R044bUlWbV96aW4zRzFHVUEyRW85TzVZeHdTd2M1REpVMF9FMHYxbGFlZzdZa2ZEczF0OVdVRURocG5YSENRZ095VkgtU05OS0ExM2JTbFNpUzdVTlJfZTJSWWJSTmVaQmFMUmMtRUIwcUM5MHN2TlFXeXd6Mlp4T2ZyWmF4R2xoUVdZVHdRenZYS0FIY1RZakRFRG5kcVpPdUhQcWxHZTZabzF4SngxUmVYNFZHZTBrT3ZPT1JqMThlTFRCdDBrN1hhSC1KU2w5OGdMY1JoYXJYMFlVbzZoRXRpaU01eU5jNTVHSUlocUp3SXNFajZFNVpnbW5Dd0M1ZlJULTRNdnMwNEdfeHF2SVJHVkl6SWhhakp2bXZpd2hlVnVQMHI0NTJtdGtlM3lZVTRZYzROOFRLeWZBd0NPT1ZsQ1lUZ3l1NjVJMzhvWE9ZUHMteHVVeERsa2I5c25BLWlpTEVTMWNNMS1kTXFTUmZidDRCcGRsUE9wS1ktZkg2SWFJQVkzR0N2TjNoQkgzVjg4ZGFSY1RTa2lHZjBDX09tblprbU84V1VHWEtJa2V3Sm4wWG9OVFA4NWx2NnVFM3pXMnZoandKaEp3dXk3QXdXYkpvLTYwVHhkWFBOMUZ0MHI0RkREMXFrUHltM2N0WU10OXlPSHp5eFhsZjZmU3ZXNmd1NzdRS0tTV3VVbWlMc1hTbDJvTUZMNi05U0ZCMndfTlhCb2s3NmI3WWlaRXFpbTJHaHRIWFFoem5RT2ZZSjR4N2lsSThNTVFrbHZoWnBYa0NZenVBVm82QzJVQjVlc2JxU1FzY1U3UndSRy03dlllZzJMYWc5YWtLeVFfYnprZ2pyY0VGOFY4T1AtU1FfNVo4RUV1aWdKbEpEZkdCekJDSXdRUU5McXBLRkxhcF9YNlU3VC1CVzhtX3Jrbl8tMlBDWENDTkFxejVxNF9zRnJWQU9ueXRPaFJUbVpTamlZNmNyeENIbVcxT3poNWRjVUJtelFtUURCVzhfbi0tSWR0NlgxdXdRSlVPdjhFcGVYbm1rX3drdUp3Z0hUTlFUZ0xVdjRDLUtKYVVnVEJIVkNrVkJFSEFLaVhSNEhEbGhGMWVyZW1NdnRXaTl6X0xKakxvYUhUdjNYYllSUVFOWl9rY0t0NW1Ca0RhZFZJOXNXVUpPNVE0LVd3LVFFRnNjaTVVSmRJLXJCNHY3ZGFzSFhfMDNZb1FqaFM3QnhqWGZINnRvcGlEbVV3eDhkc2xUVVFLR1BPWXhjZnVWTWZaZmhkbkh3ZEZycGhfVmlwQlJoVGpoWDRwN2NmeTZ0V2t4V1VDZ3RvZTJoMS1BejNoNGNwVE0zX1ZuRUt4cWpCUlJISzRJR2IxQlRXSnJNaVFsQ3lRa1l0bzBWbXhab2xzYVlnTTFHZmFRdC54VE5CZ192Umw0NVAzcjhNZGpyc1Vob0ZvN3pCZkVJR0ZlNWVFWDljU2Y0"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak3de12c5/497441539ff34e91b0f5ae07576949c2''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: + - no-cache + content-length: + - '642' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 409 + message: Conflict +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuRmZ0VExNaDUzTjFjQ05DSXFxUzNIVkhBYU5jLTZlVTYwRWppYVp5SGpYbnc5eDZUSjFzaWNhWmtEMS13ay1CeGZiQWRBeV9GaXY3ZUFPT3JtZVNhVlNhUkx1V3pEYTlEcjhETld4N3VYMWZ6Y0gwQk1pN25zWDV6Nl9ESDYyLVFQUWxXa0JiMHpYOEpCWXZublh1ZDhFT0d3ZGF0bVUxcmgxWXdrdkdYbnNnTWlva1kySlVDZ092LVNhNUlkNUx3TVc1amk1eEVGUzNGdWlmaExpLU1RWWFhaVA1dGdiNnl2U2k1Q2RCVGh5OEhjX2hoRkcxa0VIY1YzNW9Jam9fQ0EteVJYUDFobGVHQzJQUlpnQk1zTTZ0M1YtRFJLSEEyZWtoQ2lsV0NqZjk4M1RaVzhNbF9nNkRrWjdVbHVrZzdEQnJzdTZrRXpsYUhBUGJFNE9IOGhnLmlXNjhTWTcxV1c3THdoOW9SY1kzWFEuSHhXNVJuLWg1b3lYR0o5V3Rtb2xYdHBidFluWTEtQjdkYTFZQkpCQk1INk5aR04tTS0zYVIxVTFMZWR1RUs5eTRvMlFXeXBjYlIyT2h0R1ZqRXFHRWdmRjlGeEhDRWd1WkdBU1pYTGZBbkRmTkNzdVNRYkFIcDY1blFtcElEclRJNzJyOFhPM1QwNnA3MTFXYjVDZDRoa1Vjd0lvMXZqZzZKQ1BfMnhycEtrM2RZTDFncU5wOVpkdnRyaUJoazAwbGpEbk1sLWZua2RMaE9ILThSOU5YOGNKMENpVE40eXZicl9tdWVLTzRXWTRCaHdhNVpNMEYyeDc4QU95b1BxaFduN3dVVkE1SHgtRUxKSWVZNHBzcmtaeDJqSUFQNUVqZWc4ZXlCRkFGQUItSi1hQ3AwQ1Z3TS1BM2lPZTZLTTVUeUNZdnFxOGR1TlE3d2VUMVlhTGx4Nng3MUpsYk5sdGlmNWl6eXBVbTZaR1pueFRuQndYY3NuV1NvRjRCMkRzUUFaTTY3RUJsME9Md2tsZ2xmbXVQRURtN1N3S0ZzQ3V5ZENjdWNjTEItWm9HYjJXUDc2YlNNVHRfVi01NXF2TVlsYlRrOTlpUlhSbHNpamd3MFhfUXhYZ1E2SjlaYUJtWXpDbFVvMUFLcEtJMmFaYWx5WndpZnp5R21aa3RSODNnUXE4ZDc1a2Z6Y2RINXI4LW9CLWprUEM1NnU1R1hUcExndl9SVGRwTUxUZWZ1MGRnakZCWkJBaXZjampCRlZ3R0VETmpjeU8xczc2bFRsazZ2NHVBRGUxLW14bWI0cUNNMm5BSm5rWFJTanJkUGhla1k5M0pBdmd4TWZ1eXM1MTVsczgyZG9xYTE1NWM2VTBKdy00MllCNG1DRFpPQzhadlpkX241RjZyV2MwMkQxdG1TOFo1MDllMWIxakhWampwRHRGc2pvZWhMRjR1bmJKaUVmbm56YmlNZVFhS2NMTHI4SFZ1cktOaFE3UHZSLWMydmxLUm5ES1JFdzlNV1dNUUcwQjhnRHNEd3p4LXZQcXg3b3lBbVVEV2JuY0U4b3gxYUtVSGxoVDJTa2dzOHY3OGZFT0xJVHVfajdNaXRXZDRSaDgzeEIzOWZfOFFFVjdhNmFKRm90NFRxQ1dIdDJ2SkE5MnNWMG1JMTJRQ3NkWFBxQWJNaXNVQ1gzbUw3aG5kdjJWV25fdE5QT254OTd3NGVvTGNRRElZNi1HTlRaRDNXNlRaS1V5OXBOUW8ydFRwbnBUX2FZeS1nSlFkWWtyclpxby1QTVNGeHRBSmlFZmllejZiazE1cktXcUFmZEhjY3o4NVhKeVB5QldvWGhhcExvRmhDakZFWmUxdHQ1UWVYS3piV2duQ3pfR3owZ3Y5VENHM01Jdlk1dU50Q0RMZmxIdjJub2xHampSeV9ZUUx4MVdBSnZoaU1nVTJBTWxCNkNxZHUxaG5PbUh5NDd0TUNwdDVQcVptYUk3VWEyaDNqZUUzdXRCaXpiN3pOWkxkLTVJYTVQRmdsMWJ1X0txRFhNLVZPNVpNSEc4Q2pINVRmdWFjbFhWRDdrMHMtMW1ZZTVBMzFDY2liNlRwZDVNRVJONy13TTRkUWxTTVhqRHNISzY0NXJTdmRMMGZBa1BFZFM5RGw1YTJyRVI3M2ZFYzJwbjZDa1VxRUEyaGhZNW0zZkJRMzE3V0lJUTBzUm1UcXE5djVzaXpubDJPcU82UkVyNjJtcERUOURlSGtCYXgtV2I3c0tPbDNwTkRLTlZ4X2xPdW5JMkpkQWRnUFIxTTltSEU1OXpjNzlOcHprakYtYWI0eld4TlFCTXVvWXItc2lJZm1sQ1p2ek5fT1VfZWotT1I0eTNVYjdIN2tqVGpWVVRYRHUzZG04MVdqXzdNR3hZNGhZN3NMUU1ZRDllRkxNelpuWV9CYjRfUjZsUmJ0Sk5UWXZ6SUU3ZnI4OTA5aG55UjBiOTdwYVNpMkR2cWdUZGRSMkRKbEJUMkpncDF6VDMyUlk5c2JLenMxY0xvX3NIcHZGS09tQmYwMkhPejgtVzl6bHVNVEd1MVBMMF82UldJeEhVWUJVdDZYblJvR2luX3lUWFBGcWExaEVyVWxhTHJ0dXExR2UydEU1bXdOSFU3OGQ4b3VuSUxZaXBYdlFlNld5S1U5Q3BRUGIteUgzdzU2UXBwZjA3elFNZi1RRnkxRGVPUGZQU0NONXV2QnJvNHIyQ1NNRVpCYXdPNUhkOTY1TUJkS0FzYUxpSkNJd1BucTBvMF8wXzYxWERqazN0a2cybXVmRXhNZE1ZUjJUV0xxSUNFTlhxaDNIWHNxdFA0SmxKQjc0WWRyaHRHeUtGanFfNjVKMVZWRi1FSnVXY0ZOYU15NG9GUnJIN2w4VVBHREg5ZWxpN0dWVWlqTHZrempaOG9vb2Vmd0g3b09BeG4tTGFrZFNhbmx2QUZRdVE5cjQ2WlNBV2RpXzdYRnlRR05QYm9wUXdOSDVjd3gwcGZTUmhKcGpmYVB2MWVTdWFYYUUtQTR1RE5sQlRyam82OWRQVXE0dGZXR2RhbnJsa2t6ZGtMdlU5VHJ5Mm1iUXZIbVE5SzVsZlJxUFRrb3daVjZoZnJlZkRpZFRHRHFUQk1SUUl0UXlvckc1ZWZzR2hCZ1p4QVA0WmU5VlNoRzRmM3hQRVF2Q3RiRnZXTkJ5cnNGdjF0bFQ3QXljRXhfZGxicU1FN1dNSkV2VDlRRi1nQWYzMGhKZGdycWlqVEFyTVA2X0FBZGd6R044bUlWbV96aW4zRzFHVUEyRW85TzVZeHdTd2M1REpVMF9FMHYxbGFlZzdZa2ZEczF0OVdVRURocG5YSENRZ095VkgtU05OS0ExM2JTbFNpUzdVTlJfZTJSWWJSTmVaQmFMUmMtRUIwcUM5MHN2TlFXeXd6Mlp4T2ZyWmF4R2xoUVdZVHdRenZYS0FIY1RZakRFRG5kcVpPdUhQcWxHZTZabzF4SngxUmVYNFZHZTBrT3ZPT1JqMThlTFRCdDBrN1hhSC1KU2w5OGdMY1JoYXJYMFlVbzZoRXRpaU01eU5jNTVHSUlocUp3SXNFajZFNVpnbW5Dd0M1ZlJULTRNdnMwNEdfeHF2SVJHVkl6SWhhakp2bXZpd2hlVnVQMHI0NTJtdGtlM3lZVTRZYzROOFRLeWZBd0NPT1ZsQ1lUZ3l1NjVJMzhvWE9ZUHMteHVVeERsa2I5c25BLWlpTEVTMWNNMS1kTXFTUmZidDRCcGRsUE9wS1ktZkg2SWFJQVkzR0N2TjNoQkgzVjg4ZGFSY1RTa2lHZjBDX09tblprbU84V1VHWEtJa2V3Sm4wWG9OVFA4NWx2NnVFM3pXMnZoandKaEp3dXk3QXdXYkpvLTYwVHhkWFBOMUZ0MHI0RkREMXFrUHltM2N0WU10OXlPSHp5eFhsZjZmU3ZXNmd1NzdRS0tTV3VVbWlMc1hTbDJvTUZMNi05U0ZCMndfTlhCb2s3NmI3WWlaRXFpbTJHaHRIWFFoem5RT2ZZSjR4N2lsSThNTVFrbHZoWnBYa0NZenVBVm82QzJVQjVlc2JxU1FzY1U3UndSRy03dlllZzJMYWc5YWtLeVFfYnprZ2pyY0VGOFY4T1AtU1FfNVo4RUV1aWdKbEpEZkdCekJDSXdRUU5McXBLRkxhcF9YNlU3VC1CVzhtX3Jrbl8tMlBDWENDTkFxejVxNF9zRnJWQU9ueXRPaFJUbVpTamlZNmNyeENIbVcxT3poNWRjVUJtelFtUURCVzhfbi0tSWR0NlgxdXdRSlVPdjhFcGVYbm1rX3drdUp3Z0hUTlFUZ0xVdjRDLUtKYVVnVEJIVkNrVkJFSEFLaVhSNEhEbGhGMWVyZW1NdnRXaTl6X0xKakxvYUhUdjNYYllSUVFOWl9rY0t0NW1Ca0RhZFZJOXNXVUpPNVE0LVd3LVFFRnNjaTVVSmRJLXJCNHY3ZGFzSFhfMDNZb1FqaFM3QnhqWGZINnRvcGlEbVV3eDhkc2xUVVFLR1BPWXhjZnVWTWZaZmhkbkh3ZEZycGhfVmlwQlJoVGpoWDRwN2NmeTZ0V2t4V1VDZ3RvZTJoMS1BejNoNGNwVE0zX1ZuRUt4cWpCUlJISzRJR2IxQlRXSnJNaVFsQ3lRa1l0bzBWbXhab2xzYVlnTTFHZmFRdC54VE5CZ192Umw0NVAzcjhNZGpyc1Vob0ZvN3pCZkVJR0ZlNWVFWDljU2Y0"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak3de12c5/497441539ff34e91b0f5ae07576949c2''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: + - no-cache + content-length: + - '642' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 409 + message: Conflict +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuRmZ0VExNaDUzTjFjQ05DSXFxUzNIVkhBYU5jLTZlVTYwRWppYVp5SGpYbnc5eDZUSjFzaWNhWmtEMS13ay1CeGZiQWRBeV9GaXY3ZUFPT3JtZVNhVlNhUkx1V3pEYTlEcjhETld4N3VYMWZ6Y0gwQk1pN25zWDV6Nl9ESDYyLVFQUWxXa0JiMHpYOEpCWXZublh1ZDhFT0d3ZGF0bVUxcmgxWXdrdkdYbnNnTWlva1kySlVDZ092LVNhNUlkNUx3TVc1amk1eEVGUzNGdWlmaExpLU1RWWFhaVA1dGdiNnl2U2k1Q2RCVGh5OEhjX2hoRkcxa0VIY1YzNW9Jam9fQ0EteVJYUDFobGVHQzJQUlpnQk1zTTZ0M1YtRFJLSEEyZWtoQ2lsV0NqZjk4M1RaVzhNbF9nNkRrWjdVbHVrZzdEQnJzdTZrRXpsYUhBUGJFNE9IOGhnLmlXNjhTWTcxV1c3THdoOW9SY1kzWFEuSHhXNVJuLWg1b3lYR0o5V3Rtb2xYdHBidFluWTEtQjdkYTFZQkpCQk1INk5aR04tTS0zYVIxVTFMZWR1RUs5eTRvMlFXeXBjYlIyT2h0R1ZqRXFHRWdmRjlGeEhDRWd1WkdBU1pYTGZBbkRmTkNzdVNRYkFIcDY1blFtcElEclRJNzJyOFhPM1QwNnA3MTFXYjVDZDRoa1Vjd0lvMXZqZzZKQ1BfMnhycEtrM2RZTDFncU5wOVpkdnRyaUJoazAwbGpEbk1sLWZua2RMaE9ILThSOU5YOGNKMENpVE40eXZicl9tdWVLTzRXWTRCaHdhNVpNMEYyeDc4QU95b1BxaFduN3dVVkE1SHgtRUxKSWVZNHBzcmtaeDJqSUFQNUVqZWc4ZXlCRkFGQUItSi1hQ3AwQ1Z3TS1BM2lPZTZLTTVUeUNZdnFxOGR1TlE3d2VUMVlhTGx4Nng3MUpsYk5sdGlmNWl6eXBVbTZaR1pueFRuQndYY3NuV1NvRjRCMkRzUUFaTTY3RUJsME9Md2tsZ2xmbXVQRURtN1N3S0ZzQ3V5ZENjdWNjTEItWm9HYjJXUDc2YlNNVHRfVi01NXF2TVlsYlRrOTlpUlhSbHNpamd3MFhfUXhYZ1E2SjlaYUJtWXpDbFVvMUFLcEtJMmFaYWx5WndpZnp5R21aa3RSODNnUXE4ZDc1a2Z6Y2RINXI4LW9CLWprUEM1NnU1R1hUcExndl9SVGRwTUxUZWZ1MGRnakZCWkJBaXZjampCRlZ3R0VETmpjeU8xczc2bFRsazZ2NHVBRGUxLW14bWI0cUNNMm5BSm5rWFJTanJkUGhla1k5M0pBdmd4TWZ1eXM1MTVsczgyZG9xYTE1NWM2VTBKdy00MllCNG1DRFpPQzhadlpkX241RjZyV2MwMkQxdG1TOFo1MDllMWIxakhWampwRHRGc2pvZWhMRjR1bmJKaUVmbm56YmlNZVFhS2NMTHI4SFZ1cktOaFE3UHZSLWMydmxLUm5ES1JFdzlNV1dNUUcwQjhnRHNEd3p4LXZQcXg3b3lBbVVEV2JuY0U4b3gxYUtVSGxoVDJTa2dzOHY3OGZFT0xJVHVfajdNaXRXZDRSaDgzeEIzOWZfOFFFVjdhNmFKRm90NFRxQ1dIdDJ2SkE5MnNWMG1JMTJRQ3NkWFBxQWJNaXNVQ1gzbUw3aG5kdjJWV25fdE5QT254OTd3NGVvTGNRRElZNi1HTlRaRDNXNlRaS1V5OXBOUW8ydFRwbnBUX2FZeS1nSlFkWWtyclpxby1QTVNGeHRBSmlFZmllejZiazE1cktXcUFmZEhjY3o4NVhKeVB5QldvWGhhcExvRmhDakZFWmUxdHQ1UWVYS3piV2duQ3pfR3owZ3Y5VENHM01Jdlk1dU50Q0RMZmxIdjJub2xHampSeV9ZUUx4MVdBSnZoaU1nVTJBTWxCNkNxZHUxaG5PbUh5NDd0TUNwdDVQcVptYUk3VWEyaDNqZUUzdXRCaXpiN3pOWkxkLTVJYTVQRmdsMWJ1X0txRFhNLVZPNVpNSEc4Q2pINVRmdWFjbFhWRDdrMHMtMW1ZZTVBMzFDY2liNlRwZDVNRVJONy13TTRkUWxTTVhqRHNISzY0NXJTdmRMMGZBa1BFZFM5RGw1YTJyRVI3M2ZFYzJwbjZDa1VxRUEyaGhZNW0zZkJRMzE3V0lJUTBzUm1UcXE5djVzaXpubDJPcU82UkVyNjJtcERUOURlSGtCYXgtV2I3c0tPbDNwTkRLTlZ4X2xPdW5JMkpkQWRnUFIxTTltSEU1OXpjNzlOcHprakYtYWI0eld4TlFCTXVvWXItc2lJZm1sQ1p2ek5fT1VfZWotT1I0eTNVYjdIN2tqVGpWVVRYRHUzZG04MVdqXzdNR3hZNGhZN3NMUU1ZRDllRkxNelpuWV9CYjRfUjZsUmJ0Sk5UWXZ6SUU3ZnI4OTA5aG55UjBiOTdwYVNpMkR2cWdUZGRSMkRKbEJUMkpncDF6VDMyUlk5c2JLenMxY0xvX3NIcHZGS09tQmYwMkhPejgtVzl6bHVNVEd1MVBMMF82UldJeEhVWUJVdDZYblJvR2luX3lUWFBGcWExaEVyVWxhTHJ0dXExR2UydEU1bXdOSFU3OGQ4b3VuSUxZaXBYdlFlNld5S1U5Q3BRUGIteUgzdzU2UXBwZjA3elFNZi1RRnkxRGVPUGZQU0NONXV2QnJvNHIyQ1NNRVpCYXdPNUhkOTY1TUJkS0FzYUxpSkNJd1BucTBvMF8wXzYxWERqazN0a2cybXVmRXhNZE1ZUjJUV0xxSUNFTlhxaDNIWHNxdFA0SmxKQjc0WWRyaHRHeUtGanFfNjVKMVZWRi1FSnVXY0ZOYU15NG9GUnJIN2w4VVBHREg5ZWxpN0dWVWlqTHZrempaOG9vb2Vmd0g3b09BeG4tTGFrZFNhbmx2QUZRdVE5cjQ2WlNBV2RpXzdYRnlRR05QYm9wUXdOSDVjd3gwcGZTUmhKcGpmYVB2MWVTdWFYYUUtQTR1RE5sQlRyam82OWRQVXE0dGZXR2RhbnJsa2t6ZGtMdlU5VHJ5Mm1iUXZIbVE5SzVsZlJxUFRrb3daVjZoZnJlZkRpZFRHRHFUQk1SUUl0UXlvckc1ZWZzR2hCZ1p4QVA0WmU5VlNoRzRmM3hQRVF2Q3RiRnZXTkJ5cnNGdjF0bFQ3QXljRXhfZGxicU1FN1dNSkV2VDlRRi1nQWYzMGhKZGdycWlqVEFyTVA2X0FBZGd6R044bUlWbV96aW4zRzFHVUEyRW85TzVZeHdTd2M1REpVMF9FMHYxbGFlZzdZa2ZEczF0OVdVRURocG5YSENRZ095VkgtU05OS0ExM2JTbFNpUzdVTlJfZTJSWWJSTmVaQmFMUmMtRUIwcUM5MHN2TlFXeXd6Mlp4T2ZyWmF4R2xoUVdZVHdRenZYS0FIY1RZakRFRG5kcVpPdUhQcWxHZTZabzF4SngxUmVYNFZHZTBrT3ZPT1JqMThlTFRCdDBrN1hhSC1KU2w5OGdMY1JoYXJYMFlVbzZoRXRpaU01eU5jNTVHSUlocUp3SXNFajZFNVpnbW5Dd0M1ZlJULTRNdnMwNEdfeHF2SVJHVkl6SWhhakp2bXZpd2hlVnVQMHI0NTJtdGtlM3lZVTRZYzROOFRLeWZBd0NPT1ZsQ1lUZ3l1NjVJMzhvWE9ZUHMteHVVeERsa2I5c25BLWlpTEVTMWNNMS1kTXFTUmZidDRCcGRsUE9wS1ktZkg2SWFJQVkzR0N2TjNoQkgzVjg4ZGFSY1RTa2lHZjBDX09tblprbU84V1VHWEtJa2V3Sm4wWG9OVFA4NWx2NnVFM3pXMnZoandKaEp3dXk3QXdXYkpvLTYwVHhkWFBOMUZ0MHI0RkREMXFrUHltM2N0WU10OXlPSHp5eFhsZjZmU3ZXNmd1NzdRS0tTV3VVbWlMc1hTbDJvTUZMNi05U0ZCMndfTlhCb2s3NmI3WWlaRXFpbTJHaHRIWFFoem5RT2ZZSjR4N2lsSThNTVFrbHZoWnBYa0NZenVBVm82QzJVQjVlc2JxU1FzY1U3UndSRy03dlllZzJMYWc5YWtLeVFfYnprZ2pyY0VGOFY4T1AtU1FfNVo4RUV1aWdKbEpEZkdCekJDSXdRUU5McXBLRkxhcF9YNlU3VC1CVzhtX3Jrbl8tMlBDWENDTkFxejVxNF9zRnJWQU9ueXRPaFJUbVpTamlZNmNyeENIbVcxT3poNWRjVUJtelFtUURCVzhfbi0tSWR0NlgxdXdRSlVPdjhFcGVYbm1rX3drdUp3Z0hUTlFUZ0xVdjRDLUtKYVVnVEJIVkNrVkJFSEFLaVhSNEhEbGhGMWVyZW1NdnRXaTl6X0xKakxvYUhUdjNYYllSUVFOWl9rY0t0NW1Ca0RhZFZJOXNXVUpPNVE0LVd3LVFFRnNjaTVVSmRJLXJCNHY3ZGFzSFhfMDNZb1FqaFM3QnhqWGZINnRvcGlEbVV3eDhkc2xUVVFLR1BPWXhjZnVWTWZaZmhkbkh3ZEZycGhfVmlwQlJoVGpoWDRwN2NmeTZ0V2t4V1VDZ3RvZTJoMS1BejNoNGNwVE0zX1ZuRUt4cWpCUlJISzRJR2IxQlRXSnJNaVFsQ3lRa1l0bzBWbXhab2xzYVlnTTFHZmFRdC54VE5CZ192Umw0NVAzcjhNZGpyc1Vob0ZvN3pCZkVJR0ZlNWVFWDljU2Y0"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak3de12c5/497441539ff34e91b0f5ae07576949c2''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: + - no-cache + content-length: + - '642' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 409 + message: Conflict +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuRmZ0VExNaDUzTjFjQ05DSXFxUzNIVkhBYU5jLTZlVTYwRWppYVp5SGpYbnc5eDZUSjFzaWNhWmtEMS13ay1CeGZiQWRBeV9GaXY3ZUFPT3JtZVNhVlNhUkx1V3pEYTlEcjhETld4N3VYMWZ6Y0gwQk1pN25zWDV6Nl9ESDYyLVFQUWxXa0JiMHpYOEpCWXZublh1ZDhFT0d3ZGF0bVUxcmgxWXdrdkdYbnNnTWlva1kySlVDZ092LVNhNUlkNUx3TVc1amk1eEVGUzNGdWlmaExpLU1RWWFhaVA1dGdiNnl2U2k1Q2RCVGh5OEhjX2hoRkcxa0VIY1YzNW9Jam9fQ0EteVJYUDFobGVHQzJQUlpnQk1zTTZ0M1YtRFJLSEEyZWtoQ2lsV0NqZjk4M1RaVzhNbF9nNkRrWjdVbHVrZzdEQnJzdTZrRXpsYUhBUGJFNE9IOGhnLmlXNjhTWTcxV1c3THdoOW9SY1kzWFEuSHhXNVJuLWg1b3lYR0o5V3Rtb2xYdHBidFluWTEtQjdkYTFZQkpCQk1INk5aR04tTS0zYVIxVTFMZWR1RUs5eTRvMlFXeXBjYlIyT2h0R1ZqRXFHRWdmRjlGeEhDRWd1WkdBU1pYTGZBbkRmTkNzdVNRYkFIcDY1blFtcElEclRJNzJyOFhPM1QwNnA3MTFXYjVDZDRoa1Vjd0lvMXZqZzZKQ1BfMnhycEtrM2RZTDFncU5wOVpkdnRyaUJoazAwbGpEbk1sLWZua2RMaE9ILThSOU5YOGNKMENpVE40eXZicl9tdWVLTzRXWTRCaHdhNVpNMEYyeDc4QU95b1BxaFduN3dVVkE1SHgtRUxKSWVZNHBzcmtaeDJqSUFQNUVqZWc4ZXlCRkFGQUItSi1hQ3AwQ1Z3TS1BM2lPZTZLTTVUeUNZdnFxOGR1TlE3d2VUMVlhTGx4Nng3MUpsYk5sdGlmNWl6eXBVbTZaR1pueFRuQndYY3NuV1NvRjRCMkRzUUFaTTY3RUJsME9Md2tsZ2xmbXVQRURtN1N3S0ZzQ3V5ZENjdWNjTEItWm9HYjJXUDc2YlNNVHRfVi01NXF2TVlsYlRrOTlpUlhSbHNpamd3MFhfUXhYZ1E2SjlaYUJtWXpDbFVvMUFLcEtJMmFaYWx5WndpZnp5R21aa3RSODNnUXE4ZDc1a2Z6Y2RINXI4LW9CLWprUEM1NnU1R1hUcExndl9SVGRwTUxUZWZ1MGRnakZCWkJBaXZjampCRlZ3R0VETmpjeU8xczc2bFRsazZ2NHVBRGUxLW14bWI0cUNNMm5BSm5rWFJTanJkUGhla1k5M0pBdmd4TWZ1eXM1MTVsczgyZG9xYTE1NWM2VTBKdy00MllCNG1DRFpPQzhadlpkX241RjZyV2MwMkQxdG1TOFo1MDllMWIxakhWampwRHRGc2pvZWhMRjR1bmJKaUVmbm56YmlNZVFhS2NMTHI4SFZ1cktOaFE3UHZSLWMydmxLUm5ES1JFdzlNV1dNUUcwQjhnRHNEd3p4LXZQcXg3b3lBbVVEV2JuY0U4b3gxYUtVSGxoVDJTa2dzOHY3OGZFT0xJVHVfajdNaXRXZDRSaDgzeEIzOWZfOFFFVjdhNmFKRm90NFRxQ1dIdDJ2SkE5MnNWMG1JMTJRQ3NkWFBxQWJNaXNVQ1gzbUw3aG5kdjJWV25fdE5QT254OTd3NGVvTGNRRElZNi1HTlRaRDNXNlRaS1V5OXBOUW8ydFRwbnBUX2FZeS1nSlFkWWtyclpxby1QTVNGeHRBSmlFZmllejZiazE1cktXcUFmZEhjY3o4NVhKeVB5QldvWGhhcExvRmhDakZFWmUxdHQ1UWVYS3piV2duQ3pfR3owZ3Y5VENHM01Jdlk1dU50Q0RMZmxIdjJub2xHampSeV9ZUUx4MVdBSnZoaU1nVTJBTWxCNkNxZHUxaG5PbUh5NDd0TUNwdDVQcVptYUk3VWEyaDNqZUUzdXRCaXpiN3pOWkxkLTVJYTVQRmdsMWJ1X0txRFhNLVZPNVpNSEc4Q2pINVRmdWFjbFhWRDdrMHMtMW1ZZTVBMzFDY2liNlRwZDVNRVJONy13TTRkUWxTTVhqRHNISzY0NXJTdmRMMGZBa1BFZFM5RGw1YTJyRVI3M2ZFYzJwbjZDa1VxRUEyaGhZNW0zZkJRMzE3V0lJUTBzUm1UcXE5djVzaXpubDJPcU82UkVyNjJtcERUOURlSGtCYXgtV2I3c0tPbDNwTkRLTlZ4X2xPdW5JMkpkQWRnUFIxTTltSEU1OXpjNzlOcHprakYtYWI0eld4TlFCTXVvWXItc2lJZm1sQ1p2ek5fT1VfZWotT1I0eTNVYjdIN2tqVGpWVVRYRHUzZG04MVdqXzdNR3hZNGhZN3NMUU1ZRDllRkxNelpuWV9CYjRfUjZsUmJ0Sk5UWXZ6SUU3ZnI4OTA5aG55UjBiOTdwYVNpMkR2cWdUZGRSMkRKbEJUMkpncDF6VDMyUlk5c2JLenMxY0xvX3NIcHZGS09tQmYwMkhPejgtVzl6bHVNVEd1MVBMMF82UldJeEhVWUJVdDZYblJvR2luX3lUWFBGcWExaEVyVWxhTHJ0dXExR2UydEU1bXdOSFU3OGQ4b3VuSUxZaXBYdlFlNld5S1U5Q3BRUGIteUgzdzU2UXBwZjA3elFNZi1RRnkxRGVPUGZQU0NONXV2QnJvNHIyQ1NNRVpCYXdPNUhkOTY1TUJkS0FzYUxpSkNJd1BucTBvMF8wXzYxWERqazN0a2cybXVmRXhNZE1ZUjJUV0xxSUNFTlhxaDNIWHNxdFA0SmxKQjc0WWRyaHRHeUtGanFfNjVKMVZWRi1FSnVXY0ZOYU15NG9GUnJIN2w4VVBHREg5ZWxpN0dWVWlqTHZrempaOG9vb2Vmd0g3b09BeG4tTGFrZFNhbmx2QUZRdVE5cjQ2WlNBV2RpXzdYRnlRR05QYm9wUXdOSDVjd3gwcGZTUmhKcGpmYVB2MWVTdWFYYUUtQTR1RE5sQlRyam82OWRQVXE0dGZXR2RhbnJsa2t6ZGtMdlU5VHJ5Mm1iUXZIbVE5SzVsZlJxUFRrb3daVjZoZnJlZkRpZFRHRHFUQk1SUUl0UXlvckc1ZWZzR2hCZ1p4QVA0WmU5VlNoRzRmM3hQRVF2Q3RiRnZXTkJ5cnNGdjF0bFQ3QXljRXhfZGxicU1FN1dNSkV2VDlRRi1nQWYzMGhKZGdycWlqVEFyTVA2X0FBZGd6R044bUlWbV96aW4zRzFHVUEyRW85TzVZeHdTd2M1REpVMF9FMHYxbGFlZzdZa2ZEczF0OVdVRURocG5YSENRZ095VkgtU05OS0ExM2JTbFNpUzdVTlJfZTJSWWJSTmVaQmFMUmMtRUIwcUM5MHN2TlFXeXd6Mlp4T2ZyWmF4R2xoUVdZVHdRenZYS0FIY1RZakRFRG5kcVpPdUhQcWxHZTZabzF4SngxUmVYNFZHZTBrT3ZPT1JqMThlTFRCdDBrN1hhSC1KU2w5OGdMY1JoYXJYMFlVbzZoRXRpaU01eU5jNTVHSUlocUp3SXNFajZFNVpnbW5Dd0M1ZlJULTRNdnMwNEdfeHF2SVJHVkl6SWhhakp2bXZpd2hlVnVQMHI0NTJtdGtlM3lZVTRZYzROOFRLeWZBd0NPT1ZsQ1lUZ3l1NjVJMzhvWE9ZUHMteHVVeERsa2I5c25BLWlpTEVTMWNNMS1kTXFTUmZidDRCcGRsUE9wS1ktZkg2SWFJQVkzR0N2TjNoQkgzVjg4ZGFSY1RTa2lHZjBDX09tblprbU84V1VHWEtJa2V3Sm4wWG9OVFA4NWx2NnVFM3pXMnZoandKaEp3dXk3QXdXYkpvLTYwVHhkWFBOMUZ0MHI0RkREMXFrUHltM2N0WU10OXlPSHp5eFhsZjZmU3ZXNmd1NzdRS0tTV3VVbWlMc1hTbDJvTUZMNi05U0ZCMndfTlhCb2s3NmI3WWlaRXFpbTJHaHRIWFFoem5RT2ZZSjR4N2lsSThNTVFrbHZoWnBYa0NZenVBVm82QzJVQjVlc2JxU1FzY1U3UndSRy03dlllZzJMYWc5YWtLeVFfYnprZ2pyY0VGOFY4T1AtU1FfNVo4RUV1aWdKbEpEZkdCekJDSXdRUU5McXBLRkxhcF9YNlU3VC1CVzhtX3Jrbl8tMlBDWENDTkFxejVxNF9zRnJWQU9ueXRPaFJUbVpTamlZNmNyeENIbVcxT3poNWRjVUJtelFtUURCVzhfbi0tSWR0NlgxdXdRSlVPdjhFcGVYbm1rX3drdUp3Z0hUTlFUZ0xVdjRDLUtKYVVnVEJIVkNrVkJFSEFLaVhSNEhEbGhGMWVyZW1NdnRXaTl6X0xKakxvYUhUdjNYYllSUVFOWl9rY0t0NW1Ca0RhZFZJOXNXVUpPNVE0LVd3LVFFRnNjaTVVSmRJLXJCNHY3ZGFzSFhfMDNZb1FqaFM3QnhqWGZINnRvcGlEbVV3eDhkc2xUVVFLR1BPWXhjZnVWTWZaZmhkbkh3ZEZycGhfVmlwQlJoVGpoWDRwN2NmeTZ0V2t4V1VDZ3RvZTJoMS1BejNoNGNwVE0zX1ZuRUt4cWpCUlJISzRJR2IxQlRXSnJNaVFsQ3lRa1l0bzBWbXhab2xzYVlnTTFHZmFRdC54VE5CZ192Umw0NVAzcjhNZGpyc1Vob0ZvN3pCZkVJR0ZlNWVFWDljU2Y0"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=2016-10-01 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak3de12c5/497441539ff34e91b0f5ae07576949c2","attributes":{"enabled":true,"created":1618954683,"updated":1618954683,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '222' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_backup_restore_7_0.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_backup_restore_7_0.yaml new file mode 100644 index 000000000000..c33d09162527 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_backup_restore_7_0.yaml @@ -0,0 +1,1288 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bb1142?api-version=7.0 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bb1142?api-version=7.0 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bb1142/30c46264f4784991a6bc576251f72d35","attributes":{"enabled":true,"created":1618954683,"updated":1618954683,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '240' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bb1142/backup?api-version=7.0 + response: + body: + string: '{"value":"KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuSGMxXzZmMlphVDJIT1FRQVFRcTQ0dDRGeXhJVUJHSnhqTnpSMFhxMDlhRkhTZUhYQm05RWRuY0JtZm5Pb3NQbmtkU3loeUE3MlJxRzQ1LWhJRTVZQUk3U2dScnRNajd0dTBJMi1MZjNpeFNSaFRuSlNmYy1kRnYwWnlObmFtaE5hTVJHUkdLZDBkdjhaZy1Ra0pZU1c5LUJNb0x2bS1tTlV1V1VCSVBhajZBSW9UV2dNYWgyVktxZGZtMWhYZWxDSm9MLXZ4WDlhVXpXem1nak51ZUpGM2k2U1RRR0Jyd08xQW5IbDcyTVgtZHFfWXI3ZEFUUkhBZmc3ZHBGMUp6d0JQREQ0Z25vQmxSU2dqNE1tUnE1ZC1tODVsUU1mMC1MX051T2hOUy1tVXhFcWJuTTFLanNoYlh2SjdOWUtVMndJOWNlSl9lWG5yYzRJV21PN2xRZTNBLlpyWWsybzJpNVRleThqS2FxeXNNTGcuTVVHME1nNi1VeGR4dnZzTERRUVd1emN5Sm9QbmxyZi00MDZRUmRLWnRHSmZ2dkxOODB0RTJyUnZtQ296QzdHZmoySHhsTFVLVzlyTTc3eDdiczVnWGlCTkt4cGFxcXQ3SlU0WURNRE5xUjNCTnpoN2FzTHVRMGMyT0hWSV9tOWE5RjRsUnRVWnpHWXJLX2VXZHptSDJJX0FzcTY4ZjQteWpLSVdGQTgwNk9SYTl4RjliOU9OVk5CM2c3OGJ0cGNSMFJoTjA5c1lGMEJKVUFUXzUyOWFkZ19VN2hMSWl6S1FYa0x6OEZlYUVvTTlhRVY0TWdzRGF6Uzh4dWRLbVV6TFNSb2E0R2g5TEN6N3g5OEpYc3BBMUEwLW9jSlJEQUpzU1dSYzRQcFYyNVlhdGFUWW55NTRhWXBkZnppS1dFbERxVmlaSGw4ZFRUT2pXNDZKNGg4NUExMDNCVGQwSHZLQTZUd25ZUGNhcGJiVDFpamVZOGVsTkstS1Rab280Umdxb193VE1UbzVPdHRmdmNwdDhVdG5mYS1oTGN6SnE5OWZCcWJVQnlHd2NMNXZIQVozR29rNnc2UDZjMmxFMkVnZW80NUtCRTA1cVNlbUxpNGd4R000NGJ6b0ktMU5oNWlwUjZBc1BnVUR1R1QtS2Z1RFJuMFdKeV9zaXZidC1qQ0RvdDZYOENEMHJtTFFieTJSd1BJNVI0NFdoZnQ1c0RTeE9YVlhGMGltSXRvLW4zSll6RTgzZ0JkWEhRUENkbmFyYXpIWHpMbFVFZWVLRlBMa01FUmpUT3NOcmlEQ05XRXRHMW52dkM0a25Xa2pYd1FDWmF4SWxNaXlvdkYyWU1uOWlFMzlORk5XNDBxMTl0WXJYOHF3dWpaNnpESUVWWVphVHd4ZlBVSFZidUthRkw1Vm92V3FpS2h0ckZHaGRMZUtYZ3A0Q21uQ1JFMVo1ZU0xMDRBUWs4VjdNUWRiWTJ5cWFOd3VreXdSRzFKWnRHMFRPc2ZCTkFrc3VOQzRYVUh3SllDbXp1bnU5WFBFdTJiMm1xTVRBSmRtdG9WN0JtbDJiN3JPWVhzaTB3UWFhYnFGVlhSbG5QYWdaTjVUa3cwNVNpaXc1RWs1Y3Z1d0VXT2p4V1dEc0UyVmdkSEFVY2s2bF9QZUl3YjdvMUZWald0c2NoWm9pbmJNeXlpbDAxbndKbTE5R1dxN1RxOFk3eE5DY1g3d3I1RTcwS1BqSVU3WTFHMDBBNlRfTU9LV25zWWFZcmd2Qm54bGZ5c3lfM2lHN2lJcHBiSWRMRnFiOWtIQXM2TGpBTHA3QlR0NjdjX3BCalgwVGJvZTVOMWhjRjlnaFQ4UkRHTnM2aGZzNUxCdXBRbjlIQnExX1JxQVRVZ3c5TTMwM3hjOUJsaTd2U3JfYUhCc1BncDJUSjljbDkyQk84V3ZwUkotc3BiTUZNQm1hNkF6MmFGWFBIV1hwb1QyU1IyR2pVOFAtcDRkWmJGbS1rSjlYTjZtRzZ0ZU9abHFqYUt0NmdSZkZmWWVrM0QtV0t2Y1FiUk5NV0FyN2liaDYtZ2MzWW9BcjdQbjktbEJaWjNvajAzTkJnR3JIMDIzVUVPOUtxQmVHWWVEOGRCSDE4bmp1ZDZqWWgtSUI3N3pPc3FRYnBhbUgzcnJyaTFpQVA3Q1c3cGF1UVJWeUYwYjI2eG1hY2JlTjZSZ3o5blVqdVRKYUxmLS1abmczLW5rTkM5MzBhLWZDa1lZZTd1bmgtbGNrNmpEZGxlVHFqZ1hfSHdrb1V4blc0TW1YcUZTLWNXaW50dEpXaURUemxxSFBQOWVuaGRzLUF4RURiZndBZ2lSYy1TVEJrcHBCSjM3T1RtQ01sY3VKMW9ZajFWVTNPWXJ3dVppSmdwSzFyN2c4MC1FWHB0aWhuTTBlTE14aFlaMGlwSmoySnZUOGtjR3FQbzVhWGJEdE1XZW9Scl9LT2ZQcjBua1NjUlN1Y1NVS19MWjBPNDc4TFZCUlZOREdRZnJSakplLTFsY1FGSnQtZTl3ZXdqT2FpQlN2WFBJX2R2OGQxNmhnZUNyUG9Qd2lXcHFsaFV4YU5iSHBoeTg1OEt1WmFfLWZFclZlY1N3V2V5M0QwX0Y0NFAzNFpvU3c4OGxNaHROVzFleHNBcHNqVm1oR3pMeVZqbzlkdmlYam43d2lrbXNXc2lQR0JCd0xHa2hOVy0xeFBmb2ltRTkxVDB5bFJMTzhUMkxxc2NkMVlPUEViR2RVY0x3VzFnbk9pMURHWTNrZm5qVzhJNzdxd21ZMG1YdGduMWhmbzRGODFkY25XQXk0QUExMG1Jazdia0FxSFF5akkzbXdHdXAzQ2ZHbE9ieDZDVllscTVfTVJvX3lmSjZpa2tFSGVrTGlaN1dLUzlyWUV5YUx2bG5vXzlTTEtFYXowYmQ5NTFpakpOeGVuYzlCQzhRRE9tNEZpMzBoYklvblJoU3dkUERDeUlmcDFfZ1ExbnltNXNqR3dESHZPNTE0Q0hYZjRpSThDOFZaOEcwRUtqdF9wTEtFbkkxSjdZVXRLNVFKUXhHbHhUX2djaHpVdDMza3d2Yk9XZjN4ZjNsZjRyQ1lSZlB4dVpBRDZHSzhNc09SMG5pOWNITmZMZmxiRkgyWndhdlpXc25NNl9xa0h2aGNpRTl3NjhDX3VfMHJjeEJ0Z21LZ1FMdU5DbDFuTWw4NkhMdnNIX2pOdDhjQmQ4bWN1cWlkYWxSSkwtQlJoQ19iVGp6UU5qUUs4NVJKYzZqNTdfb2l3V0x2VXZVMXV5VWpYVFJmUV9rVlBvWmhhXy1tQ3d1aUxGa3ZFeE5wYTdyLV9NY2JDajZtdDVtT0lQVE9jRHBsZWVnOVp0TndmY3BYaUdUaEozRHo2VzR6VTNfMkY2eTJCaXUtWGlES0Rnc0ppWkNIZTNBT05FTC1USVI3SDNDV0stUFdwNlJsSm9HSkQyZHY2TE1YM3Q2Z01pUkxjM1NKZ1JLQ2ZOM2ZUVkVZbkprcEJ1YlBXRDd0NDhBNXZybHA4NGJJZzQzVEJCNEVRUzdWVkpPZFZIWnBTZkZVT2UzbUdlT1A1Z295ZUNFbUh5QnNVczRua3JBZ1FLc1JnNThNWTN5RUZPcEVEbzJFOGxhb1d4U0Y2N2t3dkxYYkpLNjVBamVGZkRTdTI2UmwxZTVtTzNRWm1TaDR3a0I4bmo5MXVkWTF3R1p0S1JuRDJqNDBFWlVyUXNUSjAwMnoyTlNYS09EemhaelpQXzZRR2xINzFSSDRnMnNGUWZDZlJYQXh5ZXpZeHpJT2hXSVF0RUp6UHUyUzhqYUpRUEhhTW5kWmFTN2ZKUDdTemQ5bThMbEwyYTFudWw1a1ZLektsQ2dla3JiMWZ6d2o0bUdWRVdzRzhhVnN1d3hEdmU3NDRXSlRPOTFLd01MUmhlbVFxMnRvM1ktSEtxN19RNE8ydnFGOG1UbEFzMmU4elBNelF3eU5aSTNPcGhTVEt3LWxFcjBWUDVIa0RNakFnWFF1elpjNEVRQTVod085bGtlWF9CZHh4QkFySkxVSTJyYlVOWGY2V29pbWh5UnBMRlluQWxiRHpwV1BWWFRPMU5qVUh0SnpxbktrRzVOZE1tWVNQaEMzV2dLNG1SeGIyeUdELWFPY0xGcDVXck5KQm4zenNWa2s4WUk3VzA0WDZiOWRjUDZ1SGFlMWlNYkpMQ3NxcXZuX3NPMjZyWEpXMXU1SFY1akdWc2pUalJPTVdyenByalVQdEdnRVQxSEZXRS1jbkItMjdIb3VEQWhvY29nNFBoYXJVYktyU2gyeldOSTJrMFNtZ2dkdFFHZ2pFOUF6UUgtaVN0bkJ1OVNYT3Y1V0hpaU00cWZPTjJQZ0QtZHM1VHVHVmEtZm4yYmhtODNlMnZWNEM5blVRNzBjck5nd3M4OF9icmZsNVAzZnp4X3dORG5wZTZSVDB1U0p1dTd0MWsydVJJYzVUTjRGSEdleEpaMWladlQyLUpsYXpSdWpwZlI1TzRObWNQNHVHd1V5SGRDcXEyR2lDRkk5cmM0QkhHSHhRZW83NmJDZlZyZHRJNHN0enZENFJBaFpkcFdOd2tPcVVhSHJoU1dwTk83VFhxc2RJYVRlM0QzdGV3MEhvMzBNcHdIQU9XV0ZhRUFKS2ZidEtCREFEQlMtbUpoSTVGei5vNkdQRWd3Vkc1cUlHRWJ2M0lnM1lMMjlTRC1NMTlvaWNUektxYnNjQlJn"}' + headers: + cache-control: + - no-cache + content-length: + - '4956' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bb1142?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bb1142","deletedDate":1618954684,"scheduledPurgeDate":1626730684,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bb1142/30c46264f4784991a6bc576251f72d35","attributes":{"enabled":true,"created":1618954683,"updated":1618954683,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '372' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bb1142?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak85bb1142"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bb1142?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak85bb1142"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bb1142?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak85bb1142"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bb1142?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak85bb1142"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bb1142?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak85bb1142"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bb1142?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak85bb1142"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bb1142?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak85bb1142"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bb1142?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak85bb1142"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bb1142?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak85bb1142"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bb1142?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak85bb1142"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bb1142?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak85bb1142"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bb1142?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak85bb1142"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bb1142?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak85bb1142"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bb1142?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak85bb1142"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bb1142?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bb1142","deletedDate":1618954684,"scheduledPurgeDate":1626730684,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bb1142/30c46264f4784991a6bc576251f72d35","attributes":{"enabled":true,"created":1618954683,"updated":1618954683,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '372' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bb1142?api-version=7.0 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:38:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuSGMxXzZmMlphVDJIT1FRQVFRcTQ0dDRGeXhJVUJHSnhqTnpSMFhxMDlhRkhTZUhYQm05RWRuY0JtZm5Pb3NQbmtkU3loeUE3MlJxRzQ1LWhJRTVZQUk3U2dScnRNajd0dTBJMi1MZjNpeFNSaFRuSlNmYy1kRnYwWnlObmFtaE5hTVJHUkdLZDBkdjhaZy1Ra0pZU1c5LUJNb0x2bS1tTlV1V1VCSVBhajZBSW9UV2dNYWgyVktxZGZtMWhYZWxDSm9MLXZ4WDlhVXpXem1nak51ZUpGM2k2U1RRR0Jyd08xQW5IbDcyTVgtZHFfWXI3ZEFUUkhBZmc3ZHBGMUp6d0JQREQ0Z25vQmxSU2dqNE1tUnE1ZC1tODVsUU1mMC1MX051T2hOUy1tVXhFcWJuTTFLanNoYlh2SjdOWUtVMndJOWNlSl9lWG5yYzRJV21PN2xRZTNBLlpyWWsybzJpNVRleThqS2FxeXNNTGcuTVVHME1nNi1VeGR4dnZzTERRUVd1emN5Sm9QbmxyZi00MDZRUmRLWnRHSmZ2dkxOODB0RTJyUnZtQ296QzdHZmoySHhsTFVLVzlyTTc3eDdiczVnWGlCTkt4cGFxcXQ3SlU0WURNRE5xUjNCTnpoN2FzTHVRMGMyT0hWSV9tOWE5RjRsUnRVWnpHWXJLX2VXZHptSDJJX0FzcTY4ZjQteWpLSVdGQTgwNk9SYTl4RjliOU9OVk5CM2c3OGJ0cGNSMFJoTjA5c1lGMEJKVUFUXzUyOWFkZ19VN2hMSWl6S1FYa0x6OEZlYUVvTTlhRVY0TWdzRGF6Uzh4dWRLbVV6TFNSb2E0R2g5TEN6N3g5OEpYc3BBMUEwLW9jSlJEQUpzU1dSYzRQcFYyNVlhdGFUWW55NTRhWXBkZnppS1dFbERxVmlaSGw4ZFRUT2pXNDZKNGg4NUExMDNCVGQwSHZLQTZUd25ZUGNhcGJiVDFpamVZOGVsTkstS1Rab280Umdxb193VE1UbzVPdHRmdmNwdDhVdG5mYS1oTGN6SnE5OWZCcWJVQnlHd2NMNXZIQVozR29rNnc2UDZjMmxFMkVnZW80NUtCRTA1cVNlbUxpNGd4R000NGJ6b0ktMU5oNWlwUjZBc1BnVUR1R1QtS2Z1RFJuMFdKeV9zaXZidC1qQ0RvdDZYOENEMHJtTFFieTJSd1BJNVI0NFdoZnQ1c0RTeE9YVlhGMGltSXRvLW4zSll6RTgzZ0JkWEhRUENkbmFyYXpIWHpMbFVFZWVLRlBMa01FUmpUT3NOcmlEQ05XRXRHMW52dkM0a25Xa2pYd1FDWmF4SWxNaXlvdkYyWU1uOWlFMzlORk5XNDBxMTl0WXJYOHF3dWpaNnpESUVWWVphVHd4ZlBVSFZidUthRkw1Vm92V3FpS2h0ckZHaGRMZUtYZ3A0Q21uQ1JFMVo1ZU0xMDRBUWs4VjdNUWRiWTJ5cWFOd3VreXdSRzFKWnRHMFRPc2ZCTkFrc3VOQzRYVUh3SllDbXp1bnU5WFBFdTJiMm1xTVRBSmRtdG9WN0JtbDJiN3JPWVhzaTB3UWFhYnFGVlhSbG5QYWdaTjVUa3cwNVNpaXc1RWs1Y3Z1d0VXT2p4V1dEc0UyVmdkSEFVY2s2bF9QZUl3YjdvMUZWald0c2NoWm9pbmJNeXlpbDAxbndKbTE5R1dxN1RxOFk3eE5DY1g3d3I1RTcwS1BqSVU3WTFHMDBBNlRfTU9LV25zWWFZcmd2Qm54bGZ5c3lfM2lHN2lJcHBiSWRMRnFiOWtIQXM2TGpBTHA3QlR0NjdjX3BCalgwVGJvZTVOMWhjRjlnaFQ4UkRHTnM2aGZzNUxCdXBRbjlIQnExX1JxQVRVZ3c5TTMwM3hjOUJsaTd2U3JfYUhCc1BncDJUSjljbDkyQk84V3ZwUkotc3BiTUZNQm1hNkF6MmFGWFBIV1hwb1QyU1IyR2pVOFAtcDRkWmJGbS1rSjlYTjZtRzZ0ZU9abHFqYUt0NmdSZkZmWWVrM0QtV0t2Y1FiUk5NV0FyN2liaDYtZ2MzWW9BcjdQbjktbEJaWjNvajAzTkJnR3JIMDIzVUVPOUtxQmVHWWVEOGRCSDE4bmp1ZDZqWWgtSUI3N3pPc3FRYnBhbUgzcnJyaTFpQVA3Q1c3cGF1UVJWeUYwYjI2eG1hY2JlTjZSZ3o5blVqdVRKYUxmLS1abmczLW5rTkM5MzBhLWZDa1lZZTd1bmgtbGNrNmpEZGxlVHFqZ1hfSHdrb1V4blc0TW1YcUZTLWNXaW50dEpXaURUemxxSFBQOWVuaGRzLUF4RURiZndBZ2lSYy1TVEJrcHBCSjM3T1RtQ01sY3VKMW9ZajFWVTNPWXJ3dVppSmdwSzFyN2c4MC1FWHB0aWhuTTBlTE14aFlaMGlwSmoySnZUOGtjR3FQbzVhWGJEdE1XZW9Scl9LT2ZQcjBua1NjUlN1Y1NVS19MWjBPNDc4TFZCUlZOREdRZnJSakplLTFsY1FGSnQtZTl3ZXdqT2FpQlN2WFBJX2R2OGQxNmhnZUNyUG9Qd2lXcHFsaFV4YU5iSHBoeTg1OEt1WmFfLWZFclZlY1N3V2V5M0QwX0Y0NFAzNFpvU3c4OGxNaHROVzFleHNBcHNqVm1oR3pMeVZqbzlkdmlYam43d2lrbXNXc2lQR0JCd0xHa2hOVy0xeFBmb2ltRTkxVDB5bFJMTzhUMkxxc2NkMVlPUEViR2RVY0x3VzFnbk9pMURHWTNrZm5qVzhJNzdxd21ZMG1YdGduMWhmbzRGODFkY25XQXk0QUExMG1Jazdia0FxSFF5akkzbXdHdXAzQ2ZHbE9ieDZDVllscTVfTVJvX3lmSjZpa2tFSGVrTGlaN1dLUzlyWUV5YUx2bG5vXzlTTEtFYXowYmQ5NTFpakpOeGVuYzlCQzhRRE9tNEZpMzBoYklvblJoU3dkUERDeUlmcDFfZ1ExbnltNXNqR3dESHZPNTE0Q0hYZjRpSThDOFZaOEcwRUtqdF9wTEtFbkkxSjdZVXRLNVFKUXhHbHhUX2djaHpVdDMza3d2Yk9XZjN4ZjNsZjRyQ1lSZlB4dVpBRDZHSzhNc09SMG5pOWNITmZMZmxiRkgyWndhdlpXc25NNl9xa0h2aGNpRTl3NjhDX3VfMHJjeEJ0Z21LZ1FMdU5DbDFuTWw4NkhMdnNIX2pOdDhjQmQ4bWN1cWlkYWxSSkwtQlJoQ19iVGp6UU5qUUs4NVJKYzZqNTdfb2l3V0x2VXZVMXV5VWpYVFJmUV9rVlBvWmhhXy1tQ3d1aUxGa3ZFeE5wYTdyLV9NY2JDajZtdDVtT0lQVE9jRHBsZWVnOVp0TndmY3BYaUdUaEozRHo2VzR6VTNfMkY2eTJCaXUtWGlES0Rnc0ppWkNIZTNBT05FTC1USVI3SDNDV0stUFdwNlJsSm9HSkQyZHY2TE1YM3Q2Z01pUkxjM1NKZ1JLQ2ZOM2ZUVkVZbkprcEJ1YlBXRDd0NDhBNXZybHA4NGJJZzQzVEJCNEVRUzdWVkpPZFZIWnBTZkZVT2UzbUdlT1A1Z295ZUNFbUh5QnNVczRua3JBZ1FLc1JnNThNWTN5RUZPcEVEbzJFOGxhb1d4U0Y2N2t3dkxYYkpLNjVBamVGZkRTdTI2UmwxZTVtTzNRWm1TaDR3a0I4bmo5MXVkWTF3R1p0S1JuRDJqNDBFWlVyUXNUSjAwMnoyTlNYS09EemhaelpQXzZRR2xINzFSSDRnMnNGUWZDZlJYQXh5ZXpZeHpJT2hXSVF0RUp6UHUyUzhqYUpRUEhhTW5kWmFTN2ZKUDdTemQ5bThMbEwyYTFudWw1a1ZLektsQ2dla3JiMWZ6d2o0bUdWRVdzRzhhVnN1d3hEdmU3NDRXSlRPOTFLd01MUmhlbVFxMnRvM1ktSEtxN19RNE8ydnFGOG1UbEFzMmU4elBNelF3eU5aSTNPcGhTVEt3LWxFcjBWUDVIa0RNakFnWFF1elpjNEVRQTVod085bGtlWF9CZHh4QkFySkxVSTJyYlVOWGY2V29pbWh5UnBMRlluQWxiRHpwV1BWWFRPMU5qVUh0SnpxbktrRzVOZE1tWVNQaEMzV2dLNG1SeGIyeUdELWFPY0xGcDVXck5KQm4zenNWa2s4WUk3VzA0WDZiOWRjUDZ1SGFlMWlNYkpMQ3NxcXZuX3NPMjZyWEpXMXU1SFY1akdWc2pUalJPTVdyenByalVQdEdnRVQxSEZXRS1jbkItMjdIb3VEQWhvY29nNFBoYXJVYktyU2gyeldOSTJrMFNtZ2dkdFFHZ2pFOUF6UUgtaVN0bkJ1OVNYT3Y1V0hpaU00cWZPTjJQZ0QtZHM1VHVHVmEtZm4yYmhtODNlMnZWNEM5blVRNzBjck5nd3M4OF9icmZsNVAzZnp4X3dORG5wZTZSVDB1U0p1dTd0MWsydVJJYzVUTjRGSEdleEpaMWladlQyLUpsYXpSdWpwZlI1TzRObWNQNHVHd1V5SGRDcXEyR2lDRkk5cmM0QkhHSHhRZW83NmJDZlZyZHRJNHN0enZENFJBaFpkcFdOd2tPcVVhSHJoU1dwTk83VFhxc2RJYVRlM0QzdGV3MEhvMzBNcHdIQU9XV0ZhRUFKS2ZidEtCREFEQlMtbUpoSTVGei5vNkdQRWd3Vkc1cUlHRWJ2M0lnM1lMMjlTRC1NMTlvaWNUektxYnNjQlJn"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.0 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bb1142/30c46264f4784991a6bc576251f72d35''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 409 + message: Conflict +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuSGMxXzZmMlphVDJIT1FRQVFRcTQ0dDRGeXhJVUJHSnhqTnpSMFhxMDlhRkhTZUhYQm05RWRuY0JtZm5Pb3NQbmtkU3loeUE3MlJxRzQ1LWhJRTVZQUk3U2dScnRNajd0dTBJMi1MZjNpeFNSaFRuSlNmYy1kRnYwWnlObmFtaE5hTVJHUkdLZDBkdjhaZy1Ra0pZU1c5LUJNb0x2bS1tTlV1V1VCSVBhajZBSW9UV2dNYWgyVktxZGZtMWhYZWxDSm9MLXZ4WDlhVXpXem1nak51ZUpGM2k2U1RRR0Jyd08xQW5IbDcyTVgtZHFfWXI3ZEFUUkhBZmc3ZHBGMUp6d0JQREQ0Z25vQmxSU2dqNE1tUnE1ZC1tODVsUU1mMC1MX051T2hOUy1tVXhFcWJuTTFLanNoYlh2SjdOWUtVMndJOWNlSl9lWG5yYzRJV21PN2xRZTNBLlpyWWsybzJpNVRleThqS2FxeXNNTGcuTVVHME1nNi1VeGR4dnZzTERRUVd1emN5Sm9QbmxyZi00MDZRUmRLWnRHSmZ2dkxOODB0RTJyUnZtQ296QzdHZmoySHhsTFVLVzlyTTc3eDdiczVnWGlCTkt4cGFxcXQ3SlU0WURNRE5xUjNCTnpoN2FzTHVRMGMyT0hWSV9tOWE5RjRsUnRVWnpHWXJLX2VXZHptSDJJX0FzcTY4ZjQteWpLSVdGQTgwNk9SYTl4RjliOU9OVk5CM2c3OGJ0cGNSMFJoTjA5c1lGMEJKVUFUXzUyOWFkZ19VN2hMSWl6S1FYa0x6OEZlYUVvTTlhRVY0TWdzRGF6Uzh4dWRLbVV6TFNSb2E0R2g5TEN6N3g5OEpYc3BBMUEwLW9jSlJEQUpzU1dSYzRQcFYyNVlhdGFUWW55NTRhWXBkZnppS1dFbERxVmlaSGw4ZFRUT2pXNDZKNGg4NUExMDNCVGQwSHZLQTZUd25ZUGNhcGJiVDFpamVZOGVsTkstS1Rab280Umdxb193VE1UbzVPdHRmdmNwdDhVdG5mYS1oTGN6SnE5OWZCcWJVQnlHd2NMNXZIQVozR29rNnc2UDZjMmxFMkVnZW80NUtCRTA1cVNlbUxpNGd4R000NGJ6b0ktMU5oNWlwUjZBc1BnVUR1R1QtS2Z1RFJuMFdKeV9zaXZidC1qQ0RvdDZYOENEMHJtTFFieTJSd1BJNVI0NFdoZnQ1c0RTeE9YVlhGMGltSXRvLW4zSll6RTgzZ0JkWEhRUENkbmFyYXpIWHpMbFVFZWVLRlBMa01FUmpUT3NOcmlEQ05XRXRHMW52dkM0a25Xa2pYd1FDWmF4SWxNaXlvdkYyWU1uOWlFMzlORk5XNDBxMTl0WXJYOHF3dWpaNnpESUVWWVphVHd4ZlBVSFZidUthRkw1Vm92V3FpS2h0ckZHaGRMZUtYZ3A0Q21uQ1JFMVo1ZU0xMDRBUWs4VjdNUWRiWTJ5cWFOd3VreXdSRzFKWnRHMFRPc2ZCTkFrc3VOQzRYVUh3SllDbXp1bnU5WFBFdTJiMm1xTVRBSmRtdG9WN0JtbDJiN3JPWVhzaTB3UWFhYnFGVlhSbG5QYWdaTjVUa3cwNVNpaXc1RWs1Y3Z1d0VXT2p4V1dEc0UyVmdkSEFVY2s2bF9QZUl3YjdvMUZWald0c2NoWm9pbmJNeXlpbDAxbndKbTE5R1dxN1RxOFk3eE5DY1g3d3I1RTcwS1BqSVU3WTFHMDBBNlRfTU9LV25zWWFZcmd2Qm54bGZ5c3lfM2lHN2lJcHBiSWRMRnFiOWtIQXM2TGpBTHA3QlR0NjdjX3BCalgwVGJvZTVOMWhjRjlnaFQ4UkRHTnM2aGZzNUxCdXBRbjlIQnExX1JxQVRVZ3c5TTMwM3hjOUJsaTd2U3JfYUhCc1BncDJUSjljbDkyQk84V3ZwUkotc3BiTUZNQm1hNkF6MmFGWFBIV1hwb1QyU1IyR2pVOFAtcDRkWmJGbS1rSjlYTjZtRzZ0ZU9abHFqYUt0NmdSZkZmWWVrM0QtV0t2Y1FiUk5NV0FyN2liaDYtZ2MzWW9BcjdQbjktbEJaWjNvajAzTkJnR3JIMDIzVUVPOUtxQmVHWWVEOGRCSDE4bmp1ZDZqWWgtSUI3N3pPc3FRYnBhbUgzcnJyaTFpQVA3Q1c3cGF1UVJWeUYwYjI2eG1hY2JlTjZSZ3o5blVqdVRKYUxmLS1abmczLW5rTkM5MzBhLWZDa1lZZTd1bmgtbGNrNmpEZGxlVHFqZ1hfSHdrb1V4blc0TW1YcUZTLWNXaW50dEpXaURUemxxSFBQOWVuaGRzLUF4RURiZndBZ2lSYy1TVEJrcHBCSjM3T1RtQ01sY3VKMW9ZajFWVTNPWXJ3dVppSmdwSzFyN2c4MC1FWHB0aWhuTTBlTE14aFlaMGlwSmoySnZUOGtjR3FQbzVhWGJEdE1XZW9Scl9LT2ZQcjBua1NjUlN1Y1NVS19MWjBPNDc4TFZCUlZOREdRZnJSakplLTFsY1FGSnQtZTl3ZXdqT2FpQlN2WFBJX2R2OGQxNmhnZUNyUG9Qd2lXcHFsaFV4YU5iSHBoeTg1OEt1WmFfLWZFclZlY1N3V2V5M0QwX0Y0NFAzNFpvU3c4OGxNaHROVzFleHNBcHNqVm1oR3pMeVZqbzlkdmlYam43d2lrbXNXc2lQR0JCd0xHa2hOVy0xeFBmb2ltRTkxVDB5bFJMTzhUMkxxc2NkMVlPUEViR2RVY0x3VzFnbk9pMURHWTNrZm5qVzhJNzdxd21ZMG1YdGduMWhmbzRGODFkY25XQXk0QUExMG1Jazdia0FxSFF5akkzbXdHdXAzQ2ZHbE9ieDZDVllscTVfTVJvX3lmSjZpa2tFSGVrTGlaN1dLUzlyWUV5YUx2bG5vXzlTTEtFYXowYmQ5NTFpakpOeGVuYzlCQzhRRE9tNEZpMzBoYklvblJoU3dkUERDeUlmcDFfZ1ExbnltNXNqR3dESHZPNTE0Q0hYZjRpSThDOFZaOEcwRUtqdF9wTEtFbkkxSjdZVXRLNVFKUXhHbHhUX2djaHpVdDMza3d2Yk9XZjN4ZjNsZjRyQ1lSZlB4dVpBRDZHSzhNc09SMG5pOWNITmZMZmxiRkgyWndhdlpXc25NNl9xa0h2aGNpRTl3NjhDX3VfMHJjeEJ0Z21LZ1FMdU5DbDFuTWw4NkhMdnNIX2pOdDhjQmQ4bWN1cWlkYWxSSkwtQlJoQ19iVGp6UU5qUUs4NVJKYzZqNTdfb2l3V0x2VXZVMXV5VWpYVFJmUV9rVlBvWmhhXy1tQ3d1aUxGa3ZFeE5wYTdyLV9NY2JDajZtdDVtT0lQVE9jRHBsZWVnOVp0TndmY3BYaUdUaEozRHo2VzR6VTNfMkY2eTJCaXUtWGlES0Rnc0ppWkNIZTNBT05FTC1USVI3SDNDV0stUFdwNlJsSm9HSkQyZHY2TE1YM3Q2Z01pUkxjM1NKZ1JLQ2ZOM2ZUVkVZbkprcEJ1YlBXRDd0NDhBNXZybHA4NGJJZzQzVEJCNEVRUzdWVkpPZFZIWnBTZkZVT2UzbUdlT1A1Z295ZUNFbUh5QnNVczRua3JBZ1FLc1JnNThNWTN5RUZPcEVEbzJFOGxhb1d4U0Y2N2t3dkxYYkpLNjVBamVGZkRTdTI2UmwxZTVtTzNRWm1TaDR3a0I4bmo5MXVkWTF3R1p0S1JuRDJqNDBFWlVyUXNUSjAwMnoyTlNYS09EemhaelpQXzZRR2xINzFSSDRnMnNGUWZDZlJYQXh5ZXpZeHpJT2hXSVF0RUp6UHUyUzhqYUpRUEhhTW5kWmFTN2ZKUDdTemQ5bThMbEwyYTFudWw1a1ZLektsQ2dla3JiMWZ6d2o0bUdWRVdzRzhhVnN1d3hEdmU3NDRXSlRPOTFLd01MUmhlbVFxMnRvM1ktSEtxN19RNE8ydnFGOG1UbEFzMmU4elBNelF3eU5aSTNPcGhTVEt3LWxFcjBWUDVIa0RNakFnWFF1elpjNEVRQTVod085bGtlWF9CZHh4QkFySkxVSTJyYlVOWGY2V29pbWh5UnBMRlluQWxiRHpwV1BWWFRPMU5qVUh0SnpxbktrRzVOZE1tWVNQaEMzV2dLNG1SeGIyeUdELWFPY0xGcDVXck5KQm4zenNWa2s4WUk3VzA0WDZiOWRjUDZ1SGFlMWlNYkpMQ3NxcXZuX3NPMjZyWEpXMXU1SFY1akdWc2pUalJPTVdyenByalVQdEdnRVQxSEZXRS1jbkItMjdIb3VEQWhvY29nNFBoYXJVYktyU2gyeldOSTJrMFNtZ2dkdFFHZ2pFOUF6UUgtaVN0bkJ1OVNYT3Y1V0hpaU00cWZPTjJQZ0QtZHM1VHVHVmEtZm4yYmhtODNlMnZWNEM5blVRNzBjck5nd3M4OF9icmZsNVAzZnp4X3dORG5wZTZSVDB1U0p1dTd0MWsydVJJYzVUTjRGSEdleEpaMWladlQyLUpsYXpSdWpwZlI1TzRObWNQNHVHd1V5SGRDcXEyR2lDRkk5cmM0QkhHSHhRZW83NmJDZlZyZHRJNHN0enZENFJBaFpkcFdOd2tPcVVhSHJoU1dwTk83VFhxc2RJYVRlM0QzdGV3MEhvMzBNcHdIQU9XV0ZhRUFKS2ZidEtCREFEQlMtbUpoSTVGei5vNkdQRWd3Vkc1cUlHRWJ2M0lnM1lMMjlTRC1NMTlvaWNUektxYnNjQlJn"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.0 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bb1142/30c46264f4784991a6bc576251f72d35''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 409 + message: Conflict +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuSGMxXzZmMlphVDJIT1FRQVFRcTQ0dDRGeXhJVUJHSnhqTnpSMFhxMDlhRkhTZUhYQm05RWRuY0JtZm5Pb3NQbmtkU3loeUE3MlJxRzQ1LWhJRTVZQUk3U2dScnRNajd0dTBJMi1MZjNpeFNSaFRuSlNmYy1kRnYwWnlObmFtaE5hTVJHUkdLZDBkdjhaZy1Ra0pZU1c5LUJNb0x2bS1tTlV1V1VCSVBhajZBSW9UV2dNYWgyVktxZGZtMWhYZWxDSm9MLXZ4WDlhVXpXem1nak51ZUpGM2k2U1RRR0Jyd08xQW5IbDcyTVgtZHFfWXI3ZEFUUkhBZmc3ZHBGMUp6d0JQREQ0Z25vQmxSU2dqNE1tUnE1ZC1tODVsUU1mMC1MX051T2hOUy1tVXhFcWJuTTFLanNoYlh2SjdOWUtVMndJOWNlSl9lWG5yYzRJV21PN2xRZTNBLlpyWWsybzJpNVRleThqS2FxeXNNTGcuTVVHME1nNi1VeGR4dnZzTERRUVd1emN5Sm9QbmxyZi00MDZRUmRLWnRHSmZ2dkxOODB0RTJyUnZtQ296QzdHZmoySHhsTFVLVzlyTTc3eDdiczVnWGlCTkt4cGFxcXQ3SlU0WURNRE5xUjNCTnpoN2FzTHVRMGMyT0hWSV9tOWE5RjRsUnRVWnpHWXJLX2VXZHptSDJJX0FzcTY4ZjQteWpLSVdGQTgwNk9SYTl4RjliOU9OVk5CM2c3OGJ0cGNSMFJoTjA5c1lGMEJKVUFUXzUyOWFkZ19VN2hMSWl6S1FYa0x6OEZlYUVvTTlhRVY0TWdzRGF6Uzh4dWRLbVV6TFNSb2E0R2g5TEN6N3g5OEpYc3BBMUEwLW9jSlJEQUpzU1dSYzRQcFYyNVlhdGFUWW55NTRhWXBkZnppS1dFbERxVmlaSGw4ZFRUT2pXNDZKNGg4NUExMDNCVGQwSHZLQTZUd25ZUGNhcGJiVDFpamVZOGVsTkstS1Rab280Umdxb193VE1UbzVPdHRmdmNwdDhVdG5mYS1oTGN6SnE5OWZCcWJVQnlHd2NMNXZIQVozR29rNnc2UDZjMmxFMkVnZW80NUtCRTA1cVNlbUxpNGd4R000NGJ6b0ktMU5oNWlwUjZBc1BnVUR1R1QtS2Z1RFJuMFdKeV9zaXZidC1qQ0RvdDZYOENEMHJtTFFieTJSd1BJNVI0NFdoZnQ1c0RTeE9YVlhGMGltSXRvLW4zSll6RTgzZ0JkWEhRUENkbmFyYXpIWHpMbFVFZWVLRlBMa01FUmpUT3NOcmlEQ05XRXRHMW52dkM0a25Xa2pYd1FDWmF4SWxNaXlvdkYyWU1uOWlFMzlORk5XNDBxMTl0WXJYOHF3dWpaNnpESUVWWVphVHd4ZlBVSFZidUthRkw1Vm92V3FpS2h0ckZHaGRMZUtYZ3A0Q21uQ1JFMVo1ZU0xMDRBUWs4VjdNUWRiWTJ5cWFOd3VreXdSRzFKWnRHMFRPc2ZCTkFrc3VOQzRYVUh3SllDbXp1bnU5WFBFdTJiMm1xTVRBSmRtdG9WN0JtbDJiN3JPWVhzaTB3UWFhYnFGVlhSbG5QYWdaTjVUa3cwNVNpaXc1RWs1Y3Z1d0VXT2p4V1dEc0UyVmdkSEFVY2s2bF9QZUl3YjdvMUZWald0c2NoWm9pbmJNeXlpbDAxbndKbTE5R1dxN1RxOFk3eE5DY1g3d3I1RTcwS1BqSVU3WTFHMDBBNlRfTU9LV25zWWFZcmd2Qm54bGZ5c3lfM2lHN2lJcHBiSWRMRnFiOWtIQXM2TGpBTHA3QlR0NjdjX3BCalgwVGJvZTVOMWhjRjlnaFQ4UkRHTnM2aGZzNUxCdXBRbjlIQnExX1JxQVRVZ3c5TTMwM3hjOUJsaTd2U3JfYUhCc1BncDJUSjljbDkyQk84V3ZwUkotc3BiTUZNQm1hNkF6MmFGWFBIV1hwb1QyU1IyR2pVOFAtcDRkWmJGbS1rSjlYTjZtRzZ0ZU9abHFqYUt0NmdSZkZmWWVrM0QtV0t2Y1FiUk5NV0FyN2liaDYtZ2MzWW9BcjdQbjktbEJaWjNvajAzTkJnR3JIMDIzVUVPOUtxQmVHWWVEOGRCSDE4bmp1ZDZqWWgtSUI3N3pPc3FRYnBhbUgzcnJyaTFpQVA3Q1c3cGF1UVJWeUYwYjI2eG1hY2JlTjZSZ3o5blVqdVRKYUxmLS1abmczLW5rTkM5MzBhLWZDa1lZZTd1bmgtbGNrNmpEZGxlVHFqZ1hfSHdrb1V4blc0TW1YcUZTLWNXaW50dEpXaURUemxxSFBQOWVuaGRzLUF4RURiZndBZ2lSYy1TVEJrcHBCSjM3T1RtQ01sY3VKMW9ZajFWVTNPWXJ3dVppSmdwSzFyN2c4MC1FWHB0aWhuTTBlTE14aFlaMGlwSmoySnZUOGtjR3FQbzVhWGJEdE1XZW9Scl9LT2ZQcjBua1NjUlN1Y1NVS19MWjBPNDc4TFZCUlZOREdRZnJSakplLTFsY1FGSnQtZTl3ZXdqT2FpQlN2WFBJX2R2OGQxNmhnZUNyUG9Qd2lXcHFsaFV4YU5iSHBoeTg1OEt1WmFfLWZFclZlY1N3V2V5M0QwX0Y0NFAzNFpvU3c4OGxNaHROVzFleHNBcHNqVm1oR3pMeVZqbzlkdmlYam43d2lrbXNXc2lQR0JCd0xHa2hOVy0xeFBmb2ltRTkxVDB5bFJMTzhUMkxxc2NkMVlPUEViR2RVY0x3VzFnbk9pMURHWTNrZm5qVzhJNzdxd21ZMG1YdGduMWhmbzRGODFkY25XQXk0QUExMG1Jazdia0FxSFF5akkzbXdHdXAzQ2ZHbE9ieDZDVllscTVfTVJvX3lmSjZpa2tFSGVrTGlaN1dLUzlyWUV5YUx2bG5vXzlTTEtFYXowYmQ5NTFpakpOeGVuYzlCQzhRRE9tNEZpMzBoYklvblJoU3dkUERDeUlmcDFfZ1ExbnltNXNqR3dESHZPNTE0Q0hYZjRpSThDOFZaOEcwRUtqdF9wTEtFbkkxSjdZVXRLNVFKUXhHbHhUX2djaHpVdDMza3d2Yk9XZjN4ZjNsZjRyQ1lSZlB4dVpBRDZHSzhNc09SMG5pOWNITmZMZmxiRkgyWndhdlpXc25NNl9xa0h2aGNpRTl3NjhDX3VfMHJjeEJ0Z21LZ1FMdU5DbDFuTWw4NkhMdnNIX2pOdDhjQmQ4bWN1cWlkYWxSSkwtQlJoQ19iVGp6UU5qUUs4NVJKYzZqNTdfb2l3V0x2VXZVMXV5VWpYVFJmUV9rVlBvWmhhXy1tQ3d1aUxGa3ZFeE5wYTdyLV9NY2JDajZtdDVtT0lQVE9jRHBsZWVnOVp0TndmY3BYaUdUaEozRHo2VzR6VTNfMkY2eTJCaXUtWGlES0Rnc0ppWkNIZTNBT05FTC1USVI3SDNDV0stUFdwNlJsSm9HSkQyZHY2TE1YM3Q2Z01pUkxjM1NKZ1JLQ2ZOM2ZUVkVZbkprcEJ1YlBXRDd0NDhBNXZybHA4NGJJZzQzVEJCNEVRUzdWVkpPZFZIWnBTZkZVT2UzbUdlT1A1Z295ZUNFbUh5QnNVczRua3JBZ1FLc1JnNThNWTN5RUZPcEVEbzJFOGxhb1d4U0Y2N2t3dkxYYkpLNjVBamVGZkRTdTI2UmwxZTVtTzNRWm1TaDR3a0I4bmo5MXVkWTF3R1p0S1JuRDJqNDBFWlVyUXNUSjAwMnoyTlNYS09EemhaelpQXzZRR2xINzFSSDRnMnNGUWZDZlJYQXh5ZXpZeHpJT2hXSVF0RUp6UHUyUzhqYUpRUEhhTW5kWmFTN2ZKUDdTemQ5bThMbEwyYTFudWw1a1ZLektsQ2dla3JiMWZ6d2o0bUdWRVdzRzhhVnN1d3hEdmU3NDRXSlRPOTFLd01MUmhlbVFxMnRvM1ktSEtxN19RNE8ydnFGOG1UbEFzMmU4elBNelF3eU5aSTNPcGhTVEt3LWxFcjBWUDVIa0RNakFnWFF1elpjNEVRQTVod085bGtlWF9CZHh4QkFySkxVSTJyYlVOWGY2V29pbWh5UnBMRlluQWxiRHpwV1BWWFRPMU5qVUh0SnpxbktrRzVOZE1tWVNQaEMzV2dLNG1SeGIyeUdELWFPY0xGcDVXck5KQm4zenNWa2s4WUk3VzA0WDZiOWRjUDZ1SGFlMWlNYkpMQ3NxcXZuX3NPMjZyWEpXMXU1SFY1akdWc2pUalJPTVdyenByalVQdEdnRVQxSEZXRS1jbkItMjdIb3VEQWhvY29nNFBoYXJVYktyU2gyeldOSTJrMFNtZ2dkdFFHZ2pFOUF6UUgtaVN0bkJ1OVNYT3Y1V0hpaU00cWZPTjJQZ0QtZHM1VHVHVmEtZm4yYmhtODNlMnZWNEM5blVRNzBjck5nd3M4OF9icmZsNVAzZnp4X3dORG5wZTZSVDB1U0p1dTd0MWsydVJJYzVUTjRGSEdleEpaMWladlQyLUpsYXpSdWpwZlI1TzRObWNQNHVHd1V5SGRDcXEyR2lDRkk5cmM0QkhHSHhRZW83NmJDZlZyZHRJNHN0enZENFJBaFpkcFdOd2tPcVVhSHJoU1dwTk83VFhxc2RJYVRlM0QzdGV3MEhvMzBNcHdIQU9XV0ZhRUFKS2ZidEtCREFEQlMtbUpoSTVGei5vNkdQRWd3Vkc1cUlHRWJ2M0lnM1lMMjlTRC1NMTlvaWNUektxYnNjQlJn"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.0 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bb1142/30c46264f4784991a6bc576251f72d35''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 409 + message: Conflict +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuSGMxXzZmMlphVDJIT1FRQVFRcTQ0dDRGeXhJVUJHSnhqTnpSMFhxMDlhRkhTZUhYQm05RWRuY0JtZm5Pb3NQbmtkU3loeUE3MlJxRzQ1LWhJRTVZQUk3U2dScnRNajd0dTBJMi1MZjNpeFNSaFRuSlNmYy1kRnYwWnlObmFtaE5hTVJHUkdLZDBkdjhaZy1Ra0pZU1c5LUJNb0x2bS1tTlV1V1VCSVBhajZBSW9UV2dNYWgyVktxZGZtMWhYZWxDSm9MLXZ4WDlhVXpXem1nak51ZUpGM2k2U1RRR0Jyd08xQW5IbDcyTVgtZHFfWXI3ZEFUUkhBZmc3ZHBGMUp6d0JQREQ0Z25vQmxSU2dqNE1tUnE1ZC1tODVsUU1mMC1MX051T2hOUy1tVXhFcWJuTTFLanNoYlh2SjdOWUtVMndJOWNlSl9lWG5yYzRJV21PN2xRZTNBLlpyWWsybzJpNVRleThqS2FxeXNNTGcuTVVHME1nNi1VeGR4dnZzTERRUVd1emN5Sm9QbmxyZi00MDZRUmRLWnRHSmZ2dkxOODB0RTJyUnZtQ296QzdHZmoySHhsTFVLVzlyTTc3eDdiczVnWGlCTkt4cGFxcXQ3SlU0WURNRE5xUjNCTnpoN2FzTHVRMGMyT0hWSV9tOWE5RjRsUnRVWnpHWXJLX2VXZHptSDJJX0FzcTY4ZjQteWpLSVdGQTgwNk9SYTl4RjliOU9OVk5CM2c3OGJ0cGNSMFJoTjA5c1lGMEJKVUFUXzUyOWFkZ19VN2hMSWl6S1FYa0x6OEZlYUVvTTlhRVY0TWdzRGF6Uzh4dWRLbVV6TFNSb2E0R2g5TEN6N3g5OEpYc3BBMUEwLW9jSlJEQUpzU1dSYzRQcFYyNVlhdGFUWW55NTRhWXBkZnppS1dFbERxVmlaSGw4ZFRUT2pXNDZKNGg4NUExMDNCVGQwSHZLQTZUd25ZUGNhcGJiVDFpamVZOGVsTkstS1Rab280Umdxb193VE1UbzVPdHRmdmNwdDhVdG5mYS1oTGN6SnE5OWZCcWJVQnlHd2NMNXZIQVozR29rNnc2UDZjMmxFMkVnZW80NUtCRTA1cVNlbUxpNGd4R000NGJ6b0ktMU5oNWlwUjZBc1BnVUR1R1QtS2Z1RFJuMFdKeV9zaXZidC1qQ0RvdDZYOENEMHJtTFFieTJSd1BJNVI0NFdoZnQ1c0RTeE9YVlhGMGltSXRvLW4zSll6RTgzZ0JkWEhRUENkbmFyYXpIWHpMbFVFZWVLRlBMa01FUmpUT3NOcmlEQ05XRXRHMW52dkM0a25Xa2pYd1FDWmF4SWxNaXlvdkYyWU1uOWlFMzlORk5XNDBxMTl0WXJYOHF3dWpaNnpESUVWWVphVHd4ZlBVSFZidUthRkw1Vm92V3FpS2h0ckZHaGRMZUtYZ3A0Q21uQ1JFMVo1ZU0xMDRBUWs4VjdNUWRiWTJ5cWFOd3VreXdSRzFKWnRHMFRPc2ZCTkFrc3VOQzRYVUh3SllDbXp1bnU5WFBFdTJiMm1xTVRBSmRtdG9WN0JtbDJiN3JPWVhzaTB3UWFhYnFGVlhSbG5QYWdaTjVUa3cwNVNpaXc1RWs1Y3Z1d0VXT2p4V1dEc0UyVmdkSEFVY2s2bF9QZUl3YjdvMUZWald0c2NoWm9pbmJNeXlpbDAxbndKbTE5R1dxN1RxOFk3eE5DY1g3d3I1RTcwS1BqSVU3WTFHMDBBNlRfTU9LV25zWWFZcmd2Qm54bGZ5c3lfM2lHN2lJcHBiSWRMRnFiOWtIQXM2TGpBTHA3QlR0NjdjX3BCalgwVGJvZTVOMWhjRjlnaFQ4UkRHTnM2aGZzNUxCdXBRbjlIQnExX1JxQVRVZ3c5TTMwM3hjOUJsaTd2U3JfYUhCc1BncDJUSjljbDkyQk84V3ZwUkotc3BiTUZNQm1hNkF6MmFGWFBIV1hwb1QyU1IyR2pVOFAtcDRkWmJGbS1rSjlYTjZtRzZ0ZU9abHFqYUt0NmdSZkZmWWVrM0QtV0t2Y1FiUk5NV0FyN2liaDYtZ2MzWW9BcjdQbjktbEJaWjNvajAzTkJnR3JIMDIzVUVPOUtxQmVHWWVEOGRCSDE4bmp1ZDZqWWgtSUI3N3pPc3FRYnBhbUgzcnJyaTFpQVA3Q1c3cGF1UVJWeUYwYjI2eG1hY2JlTjZSZ3o5blVqdVRKYUxmLS1abmczLW5rTkM5MzBhLWZDa1lZZTd1bmgtbGNrNmpEZGxlVHFqZ1hfSHdrb1V4blc0TW1YcUZTLWNXaW50dEpXaURUemxxSFBQOWVuaGRzLUF4RURiZndBZ2lSYy1TVEJrcHBCSjM3T1RtQ01sY3VKMW9ZajFWVTNPWXJ3dVppSmdwSzFyN2c4MC1FWHB0aWhuTTBlTE14aFlaMGlwSmoySnZUOGtjR3FQbzVhWGJEdE1XZW9Scl9LT2ZQcjBua1NjUlN1Y1NVS19MWjBPNDc4TFZCUlZOREdRZnJSakplLTFsY1FGSnQtZTl3ZXdqT2FpQlN2WFBJX2R2OGQxNmhnZUNyUG9Qd2lXcHFsaFV4YU5iSHBoeTg1OEt1WmFfLWZFclZlY1N3V2V5M0QwX0Y0NFAzNFpvU3c4OGxNaHROVzFleHNBcHNqVm1oR3pMeVZqbzlkdmlYam43d2lrbXNXc2lQR0JCd0xHa2hOVy0xeFBmb2ltRTkxVDB5bFJMTzhUMkxxc2NkMVlPUEViR2RVY0x3VzFnbk9pMURHWTNrZm5qVzhJNzdxd21ZMG1YdGduMWhmbzRGODFkY25XQXk0QUExMG1Jazdia0FxSFF5akkzbXdHdXAzQ2ZHbE9ieDZDVllscTVfTVJvX3lmSjZpa2tFSGVrTGlaN1dLUzlyWUV5YUx2bG5vXzlTTEtFYXowYmQ5NTFpakpOeGVuYzlCQzhRRE9tNEZpMzBoYklvblJoU3dkUERDeUlmcDFfZ1ExbnltNXNqR3dESHZPNTE0Q0hYZjRpSThDOFZaOEcwRUtqdF9wTEtFbkkxSjdZVXRLNVFKUXhHbHhUX2djaHpVdDMza3d2Yk9XZjN4ZjNsZjRyQ1lSZlB4dVpBRDZHSzhNc09SMG5pOWNITmZMZmxiRkgyWndhdlpXc25NNl9xa0h2aGNpRTl3NjhDX3VfMHJjeEJ0Z21LZ1FMdU5DbDFuTWw4NkhMdnNIX2pOdDhjQmQ4bWN1cWlkYWxSSkwtQlJoQ19iVGp6UU5qUUs4NVJKYzZqNTdfb2l3V0x2VXZVMXV5VWpYVFJmUV9rVlBvWmhhXy1tQ3d1aUxGa3ZFeE5wYTdyLV9NY2JDajZtdDVtT0lQVE9jRHBsZWVnOVp0TndmY3BYaUdUaEozRHo2VzR6VTNfMkY2eTJCaXUtWGlES0Rnc0ppWkNIZTNBT05FTC1USVI3SDNDV0stUFdwNlJsSm9HSkQyZHY2TE1YM3Q2Z01pUkxjM1NKZ1JLQ2ZOM2ZUVkVZbkprcEJ1YlBXRDd0NDhBNXZybHA4NGJJZzQzVEJCNEVRUzdWVkpPZFZIWnBTZkZVT2UzbUdlT1A1Z295ZUNFbUh5QnNVczRua3JBZ1FLc1JnNThNWTN5RUZPcEVEbzJFOGxhb1d4U0Y2N2t3dkxYYkpLNjVBamVGZkRTdTI2UmwxZTVtTzNRWm1TaDR3a0I4bmo5MXVkWTF3R1p0S1JuRDJqNDBFWlVyUXNUSjAwMnoyTlNYS09EemhaelpQXzZRR2xINzFSSDRnMnNGUWZDZlJYQXh5ZXpZeHpJT2hXSVF0RUp6UHUyUzhqYUpRUEhhTW5kWmFTN2ZKUDdTemQ5bThMbEwyYTFudWw1a1ZLektsQ2dla3JiMWZ6d2o0bUdWRVdzRzhhVnN1d3hEdmU3NDRXSlRPOTFLd01MUmhlbVFxMnRvM1ktSEtxN19RNE8ydnFGOG1UbEFzMmU4elBNelF3eU5aSTNPcGhTVEt3LWxFcjBWUDVIa0RNakFnWFF1elpjNEVRQTVod085bGtlWF9CZHh4QkFySkxVSTJyYlVOWGY2V29pbWh5UnBMRlluQWxiRHpwV1BWWFRPMU5qVUh0SnpxbktrRzVOZE1tWVNQaEMzV2dLNG1SeGIyeUdELWFPY0xGcDVXck5KQm4zenNWa2s4WUk3VzA0WDZiOWRjUDZ1SGFlMWlNYkpMQ3NxcXZuX3NPMjZyWEpXMXU1SFY1akdWc2pUalJPTVdyenByalVQdEdnRVQxSEZXRS1jbkItMjdIb3VEQWhvY29nNFBoYXJVYktyU2gyeldOSTJrMFNtZ2dkdFFHZ2pFOUF6UUgtaVN0bkJ1OVNYT3Y1V0hpaU00cWZPTjJQZ0QtZHM1VHVHVmEtZm4yYmhtODNlMnZWNEM5blVRNzBjck5nd3M4OF9icmZsNVAzZnp4X3dORG5wZTZSVDB1U0p1dTd0MWsydVJJYzVUTjRGSEdleEpaMWladlQyLUpsYXpSdWpwZlI1TzRObWNQNHVHd1V5SGRDcXEyR2lDRkk5cmM0QkhHSHhRZW83NmJDZlZyZHRJNHN0enZENFJBaFpkcFdOd2tPcVVhSHJoU1dwTk83VFhxc2RJYVRlM0QzdGV3MEhvMzBNcHdIQU9XV0ZhRUFKS2ZidEtCREFEQlMtbUpoSTVGei5vNkdQRWd3Vkc1cUlHRWJ2M0lnM1lMMjlTRC1NMTlvaWNUektxYnNjQlJn"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.0 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bb1142/30c46264f4784991a6bc576251f72d35''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 409 + message: Conflict +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuSGMxXzZmMlphVDJIT1FRQVFRcTQ0dDRGeXhJVUJHSnhqTnpSMFhxMDlhRkhTZUhYQm05RWRuY0JtZm5Pb3NQbmtkU3loeUE3MlJxRzQ1LWhJRTVZQUk3U2dScnRNajd0dTBJMi1MZjNpeFNSaFRuSlNmYy1kRnYwWnlObmFtaE5hTVJHUkdLZDBkdjhaZy1Ra0pZU1c5LUJNb0x2bS1tTlV1V1VCSVBhajZBSW9UV2dNYWgyVktxZGZtMWhYZWxDSm9MLXZ4WDlhVXpXem1nak51ZUpGM2k2U1RRR0Jyd08xQW5IbDcyTVgtZHFfWXI3ZEFUUkhBZmc3ZHBGMUp6d0JQREQ0Z25vQmxSU2dqNE1tUnE1ZC1tODVsUU1mMC1MX051T2hOUy1tVXhFcWJuTTFLanNoYlh2SjdOWUtVMndJOWNlSl9lWG5yYzRJV21PN2xRZTNBLlpyWWsybzJpNVRleThqS2FxeXNNTGcuTVVHME1nNi1VeGR4dnZzTERRUVd1emN5Sm9QbmxyZi00MDZRUmRLWnRHSmZ2dkxOODB0RTJyUnZtQ296QzdHZmoySHhsTFVLVzlyTTc3eDdiczVnWGlCTkt4cGFxcXQ3SlU0WURNRE5xUjNCTnpoN2FzTHVRMGMyT0hWSV9tOWE5RjRsUnRVWnpHWXJLX2VXZHptSDJJX0FzcTY4ZjQteWpLSVdGQTgwNk9SYTl4RjliOU9OVk5CM2c3OGJ0cGNSMFJoTjA5c1lGMEJKVUFUXzUyOWFkZ19VN2hMSWl6S1FYa0x6OEZlYUVvTTlhRVY0TWdzRGF6Uzh4dWRLbVV6TFNSb2E0R2g5TEN6N3g5OEpYc3BBMUEwLW9jSlJEQUpzU1dSYzRQcFYyNVlhdGFUWW55NTRhWXBkZnppS1dFbERxVmlaSGw4ZFRUT2pXNDZKNGg4NUExMDNCVGQwSHZLQTZUd25ZUGNhcGJiVDFpamVZOGVsTkstS1Rab280Umdxb193VE1UbzVPdHRmdmNwdDhVdG5mYS1oTGN6SnE5OWZCcWJVQnlHd2NMNXZIQVozR29rNnc2UDZjMmxFMkVnZW80NUtCRTA1cVNlbUxpNGd4R000NGJ6b0ktMU5oNWlwUjZBc1BnVUR1R1QtS2Z1RFJuMFdKeV9zaXZidC1qQ0RvdDZYOENEMHJtTFFieTJSd1BJNVI0NFdoZnQ1c0RTeE9YVlhGMGltSXRvLW4zSll6RTgzZ0JkWEhRUENkbmFyYXpIWHpMbFVFZWVLRlBMa01FUmpUT3NOcmlEQ05XRXRHMW52dkM0a25Xa2pYd1FDWmF4SWxNaXlvdkYyWU1uOWlFMzlORk5XNDBxMTl0WXJYOHF3dWpaNnpESUVWWVphVHd4ZlBVSFZidUthRkw1Vm92V3FpS2h0ckZHaGRMZUtYZ3A0Q21uQ1JFMVo1ZU0xMDRBUWs4VjdNUWRiWTJ5cWFOd3VreXdSRzFKWnRHMFRPc2ZCTkFrc3VOQzRYVUh3SllDbXp1bnU5WFBFdTJiMm1xTVRBSmRtdG9WN0JtbDJiN3JPWVhzaTB3UWFhYnFGVlhSbG5QYWdaTjVUa3cwNVNpaXc1RWs1Y3Z1d0VXT2p4V1dEc0UyVmdkSEFVY2s2bF9QZUl3YjdvMUZWald0c2NoWm9pbmJNeXlpbDAxbndKbTE5R1dxN1RxOFk3eE5DY1g3d3I1RTcwS1BqSVU3WTFHMDBBNlRfTU9LV25zWWFZcmd2Qm54bGZ5c3lfM2lHN2lJcHBiSWRMRnFiOWtIQXM2TGpBTHA3QlR0NjdjX3BCalgwVGJvZTVOMWhjRjlnaFQ4UkRHTnM2aGZzNUxCdXBRbjlIQnExX1JxQVRVZ3c5TTMwM3hjOUJsaTd2U3JfYUhCc1BncDJUSjljbDkyQk84V3ZwUkotc3BiTUZNQm1hNkF6MmFGWFBIV1hwb1QyU1IyR2pVOFAtcDRkWmJGbS1rSjlYTjZtRzZ0ZU9abHFqYUt0NmdSZkZmWWVrM0QtV0t2Y1FiUk5NV0FyN2liaDYtZ2MzWW9BcjdQbjktbEJaWjNvajAzTkJnR3JIMDIzVUVPOUtxQmVHWWVEOGRCSDE4bmp1ZDZqWWgtSUI3N3pPc3FRYnBhbUgzcnJyaTFpQVA3Q1c3cGF1UVJWeUYwYjI2eG1hY2JlTjZSZ3o5blVqdVRKYUxmLS1abmczLW5rTkM5MzBhLWZDa1lZZTd1bmgtbGNrNmpEZGxlVHFqZ1hfSHdrb1V4blc0TW1YcUZTLWNXaW50dEpXaURUemxxSFBQOWVuaGRzLUF4RURiZndBZ2lSYy1TVEJrcHBCSjM3T1RtQ01sY3VKMW9ZajFWVTNPWXJ3dVppSmdwSzFyN2c4MC1FWHB0aWhuTTBlTE14aFlaMGlwSmoySnZUOGtjR3FQbzVhWGJEdE1XZW9Scl9LT2ZQcjBua1NjUlN1Y1NVS19MWjBPNDc4TFZCUlZOREdRZnJSakplLTFsY1FGSnQtZTl3ZXdqT2FpQlN2WFBJX2R2OGQxNmhnZUNyUG9Qd2lXcHFsaFV4YU5iSHBoeTg1OEt1WmFfLWZFclZlY1N3V2V5M0QwX0Y0NFAzNFpvU3c4OGxNaHROVzFleHNBcHNqVm1oR3pMeVZqbzlkdmlYam43d2lrbXNXc2lQR0JCd0xHa2hOVy0xeFBmb2ltRTkxVDB5bFJMTzhUMkxxc2NkMVlPUEViR2RVY0x3VzFnbk9pMURHWTNrZm5qVzhJNzdxd21ZMG1YdGduMWhmbzRGODFkY25XQXk0QUExMG1Jazdia0FxSFF5akkzbXdHdXAzQ2ZHbE9ieDZDVllscTVfTVJvX3lmSjZpa2tFSGVrTGlaN1dLUzlyWUV5YUx2bG5vXzlTTEtFYXowYmQ5NTFpakpOeGVuYzlCQzhRRE9tNEZpMzBoYklvblJoU3dkUERDeUlmcDFfZ1ExbnltNXNqR3dESHZPNTE0Q0hYZjRpSThDOFZaOEcwRUtqdF9wTEtFbkkxSjdZVXRLNVFKUXhHbHhUX2djaHpVdDMza3d2Yk9XZjN4ZjNsZjRyQ1lSZlB4dVpBRDZHSzhNc09SMG5pOWNITmZMZmxiRkgyWndhdlpXc25NNl9xa0h2aGNpRTl3NjhDX3VfMHJjeEJ0Z21LZ1FMdU5DbDFuTWw4NkhMdnNIX2pOdDhjQmQ4bWN1cWlkYWxSSkwtQlJoQ19iVGp6UU5qUUs4NVJKYzZqNTdfb2l3V0x2VXZVMXV5VWpYVFJmUV9rVlBvWmhhXy1tQ3d1aUxGa3ZFeE5wYTdyLV9NY2JDajZtdDVtT0lQVE9jRHBsZWVnOVp0TndmY3BYaUdUaEozRHo2VzR6VTNfMkY2eTJCaXUtWGlES0Rnc0ppWkNIZTNBT05FTC1USVI3SDNDV0stUFdwNlJsSm9HSkQyZHY2TE1YM3Q2Z01pUkxjM1NKZ1JLQ2ZOM2ZUVkVZbkprcEJ1YlBXRDd0NDhBNXZybHA4NGJJZzQzVEJCNEVRUzdWVkpPZFZIWnBTZkZVT2UzbUdlT1A1Z295ZUNFbUh5QnNVczRua3JBZ1FLc1JnNThNWTN5RUZPcEVEbzJFOGxhb1d4U0Y2N2t3dkxYYkpLNjVBamVGZkRTdTI2UmwxZTVtTzNRWm1TaDR3a0I4bmo5MXVkWTF3R1p0S1JuRDJqNDBFWlVyUXNUSjAwMnoyTlNYS09EemhaelpQXzZRR2xINzFSSDRnMnNGUWZDZlJYQXh5ZXpZeHpJT2hXSVF0RUp6UHUyUzhqYUpRUEhhTW5kWmFTN2ZKUDdTemQ5bThMbEwyYTFudWw1a1ZLektsQ2dla3JiMWZ6d2o0bUdWRVdzRzhhVnN1d3hEdmU3NDRXSlRPOTFLd01MUmhlbVFxMnRvM1ktSEtxN19RNE8ydnFGOG1UbEFzMmU4elBNelF3eU5aSTNPcGhTVEt3LWxFcjBWUDVIa0RNakFnWFF1elpjNEVRQTVod085bGtlWF9CZHh4QkFySkxVSTJyYlVOWGY2V29pbWh5UnBMRlluQWxiRHpwV1BWWFRPMU5qVUh0SnpxbktrRzVOZE1tWVNQaEMzV2dLNG1SeGIyeUdELWFPY0xGcDVXck5KQm4zenNWa2s4WUk3VzA0WDZiOWRjUDZ1SGFlMWlNYkpMQ3NxcXZuX3NPMjZyWEpXMXU1SFY1akdWc2pUalJPTVdyenByalVQdEdnRVQxSEZXRS1jbkItMjdIb3VEQWhvY29nNFBoYXJVYktyU2gyeldOSTJrMFNtZ2dkdFFHZ2pFOUF6UUgtaVN0bkJ1OVNYT3Y1V0hpaU00cWZPTjJQZ0QtZHM1VHVHVmEtZm4yYmhtODNlMnZWNEM5blVRNzBjck5nd3M4OF9icmZsNVAzZnp4X3dORG5wZTZSVDB1U0p1dTd0MWsydVJJYzVUTjRGSEdleEpaMWladlQyLUpsYXpSdWpwZlI1TzRObWNQNHVHd1V5SGRDcXEyR2lDRkk5cmM0QkhHSHhRZW83NmJDZlZyZHRJNHN0enZENFJBaFpkcFdOd2tPcVVhSHJoU1dwTk83VFhxc2RJYVRlM0QzdGV3MEhvMzBNcHdIQU9XV0ZhRUFKS2ZidEtCREFEQlMtbUpoSTVGei5vNkdQRWd3Vkc1cUlHRWJ2M0lnM1lMMjlTRC1NMTlvaWNUektxYnNjQlJn"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.0 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bb1142/30c46264f4784991a6bc576251f72d35''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 409 + message: Conflict +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuSGMxXzZmMlphVDJIT1FRQVFRcTQ0dDRGeXhJVUJHSnhqTnpSMFhxMDlhRkhTZUhYQm05RWRuY0JtZm5Pb3NQbmtkU3loeUE3MlJxRzQ1LWhJRTVZQUk3U2dScnRNajd0dTBJMi1MZjNpeFNSaFRuSlNmYy1kRnYwWnlObmFtaE5hTVJHUkdLZDBkdjhaZy1Ra0pZU1c5LUJNb0x2bS1tTlV1V1VCSVBhajZBSW9UV2dNYWgyVktxZGZtMWhYZWxDSm9MLXZ4WDlhVXpXem1nak51ZUpGM2k2U1RRR0Jyd08xQW5IbDcyTVgtZHFfWXI3ZEFUUkhBZmc3ZHBGMUp6d0JQREQ0Z25vQmxSU2dqNE1tUnE1ZC1tODVsUU1mMC1MX051T2hOUy1tVXhFcWJuTTFLanNoYlh2SjdOWUtVMndJOWNlSl9lWG5yYzRJV21PN2xRZTNBLlpyWWsybzJpNVRleThqS2FxeXNNTGcuTVVHME1nNi1VeGR4dnZzTERRUVd1emN5Sm9QbmxyZi00MDZRUmRLWnRHSmZ2dkxOODB0RTJyUnZtQ296QzdHZmoySHhsTFVLVzlyTTc3eDdiczVnWGlCTkt4cGFxcXQ3SlU0WURNRE5xUjNCTnpoN2FzTHVRMGMyT0hWSV9tOWE5RjRsUnRVWnpHWXJLX2VXZHptSDJJX0FzcTY4ZjQteWpLSVdGQTgwNk9SYTl4RjliOU9OVk5CM2c3OGJ0cGNSMFJoTjA5c1lGMEJKVUFUXzUyOWFkZ19VN2hMSWl6S1FYa0x6OEZlYUVvTTlhRVY0TWdzRGF6Uzh4dWRLbVV6TFNSb2E0R2g5TEN6N3g5OEpYc3BBMUEwLW9jSlJEQUpzU1dSYzRQcFYyNVlhdGFUWW55NTRhWXBkZnppS1dFbERxVmlaSGw4ZFRUT2pXNDZKNGg4NUExMDNCVGQwSHZLQTZUd25ZUGNhcGJiVDFpamVZOGVsTkstS1Rab280Umdxb193VE1UbzVPdHRmdmNwdDhVdG5mYS1oTGN6SnE5OWZCcWJVQnlHd2NMNXZIQVozR29rNnc2UDZjMmxFMkVnZW80NUtCRTA1cVNlbUxpNGd4R000NGJ6b0ktMU5oNWlwUjZBc1BnVUR1R1QtS2Z1RFJuMFdKeV9zaXZidC1qQ0RvdDZYOENEMHJtTFFieTJSd1BJNVI0NFdoZnQ1c0RTeE9YVlhGMGltSXRvLW4zSll6RTgzZ0JkWEhRUENkbmFyYXpIWHpMbFVFZWVLRlBMa01FUmpUT3NOcmlEQ05XRXRHMW52dkM0a25Xa2pYd1FDWmF4SWxNaXlvdkYyWU1uOWlFMzlORk5XNDBxMTl0WXJYOHF3dWpaNnpESUVWWVphVHd4ZlBVSFZidUthRkw1Vm92V3FpS2h0ckZHaGRMZUtYZ3A0Q21uQ1JFMVo1ZU0xMDRBUWs4VjdNUWRiWTJ5cWFOd3VreXdSRzFKWnRHMFRPc2ZCTkFrc3VOQzRYVUh3SllDbXp1bnU5WFBFdTJiMm1xTVRBSmRtdG9WN0JtbDJiN3JPWVhzaTB3UWFhYnFGVlhSbG5QYWdaTjVUa3cwNVNpaXc1RWs1Y3Z1d0VXT2p4V1dEc0UyVmdkSEFVY2s2bF9QZUl3YjdvMUZWald0c2NoWm9pbmJNeXlpbDAxbndKbTE5R1dxN1RxOFk3eE5DY1g3d3I1RTcwS1BqSVU3WTFHMDBBNlRfTU9LV25zWWFZcmd2Qm54bGZ5c3lfM2lHN2lJcHBiSWRMRnFiOWtIQXM2TGpBTHA3QlR0NjdjX3BCalgwVGJvZTVOMWhjRjlnaFQ4UkRHTnM2aGZzNUxCdXBRbjlIQnExX1JxQVRVZ3c5TTMwM3hjOUJsaTd2U3JfYUhCc1BncDJUSjljbDkyQk84V3ZwUkotc3BiTUZNQm1hNkF6MmFGWFBIV1hwb1QyU1IyR2pVOFAtcDRkWmJGbS1rSjlYTjZtRzZ0ZU9abHFqYUt0NmdSZkZmWWVrM0QtV0t2Y1FiUk5NV0FyN2liaDYtZ2MzWW9BcjdQbjktbEJaWjNvajAzTkJnR3JIMDIzVUVPOUtxQmVHWWVEOGRCSDE4bmp1ZDZqWWgtSUI3N3pPc3FRYnBhbUgzcnJyaTFpQVA3Q1c3cGF1UVJWeUYwYjI2eG1hY2JlTjZSZ3o5blVqdVRKYUxmLS1abmczLW5rTkM5MzBhLWZDa1lZZTd1bmgtbGNrNmpEZGxlVHFqZ1hfSHdrb1V4blc0TW1YcUZTLWNXaW50dEpXaURUemxxSFBQOWVuaGRzLUF4RURiZndBZ2lSYy1TVEJrcHBCSjM3T1RtQ01sY3VKMW9ZajFWVTNPWXJ3dVppSmdwSzFyN2c4MC1FWHB0aWhuTTBlTE14aFlaMGlwSmoySnZUOGtjR3FQbzVhWGJEdE1XZW9Scl9LT2ZQcjBua1NjUlN1Y1NVS19MWjBPNDc4TFZCUlZOREdRZnJSakplLTFsY1FGSnQtZTl3ZXdqT2FpQlN2WFBJX2R2OGQxNmhnZUNyUG9Qd2lXcHFsaFV4YU5iSHBoeTg1OEt1WmFfLWZFclZlY1N3V2V5M0QwX0Y0NFAzNFpvU3c4OGxNaHROVzFleHNBcHNqVm1oR3pMeVZqbzlkdmlYam43d2lrbXNXc2lQR0JCd0xHa2hOVy0xeFBmb2ltRTkxVDB5bFJMTzhUMkxxc2NkMVlPUEViR2RVY0x3VzFnbk9pMURHWTNrZm5qVzhJNzdxd21ZMG1YdGduMWhmbzRGODFkY25XQXk0QUExMG1Jazdia0FxSFF5akkzbXdHdXAzQ2ZHbE9ieDZDVllscTVfTVJvX3lmSjZpa2tFSGVrTGlaN1dLUzlyWUV5YUx2bG5vXzlTTEtFYXowYmQ5NTFpakpOeGVuYzlCQzhRRE9tNEZpMzBoYklvblJoU3dkUERDeUlmcDFfZ1ExbnltNXNqR3dESHZPNTE0Q0hYZjRpSThDOFZaOEcwRUtqdF9wTEtFbkkxSjdZVXRLNVFKUXhHbHhUX2djaHpVdDMza3d2Yk9XZjN4ZjNsZjRyQ1lSZlB4dVpBRDZHSzhNc09SMG5pOWNITmZMZmxiRkgyWndhdlpXc25NNl9xa0h2aGNpRTl3NjhDX3VfMHJjeEJ0Z21LZ1FMdU5DbDFuTWw4NkhMdnNIX2pOdDhjQmQ4bWN1cWlkYWxSSkwtQlJoQ19iVGp6UU5qUUs4NVJKYzZqNTdfb2l3V0x2VXZVMXV5VWpYVFJmUV9rVlBvWmhhXy1tQ3d1aUxGa3ZFeE5wYTdyLV9NY2JDajZtdDVtT0lQVE9jRHBsZWVnOVp0TndmY3BYaUdUaEozRHo2VzR6VTNfMkY2eTJCaXUtWGlES0Rnc0ppWkNIZTNBT05FTC1USVI3SDNDV0stUFdwNlJsSm9HSkQyZHY2TE1YM3Q2Z01pUkxjM1NKZ1JLQ2ZOM2ZUVkVZbkprcEJ1YlBXRDd0NDhBNXZybHA4NGJJZzQzVEJCNEVRUzdWVkpPZFZIWnBTZkZVT2UzbUdlT1A1Z295ZUNFbUh5QnNVczRua3JBZ1FLc1JnNThNWTN5RUZPcEVEbzJFOGxhb1d4U0Y2N2t3dkxYYkpLNjVBamVGZkRTdTI2UmwxZTVtTzNRWm1TaDR3a0I4bmo5MXVkWTF3R1p0S1JuRDJqNDBFWlVyUXNUSjAwMnoyTlNYS09EemhaelpQXzZRR2xINzFSSDRnMnNGUWZDZlJYQXh5ZXpZeHpJT2hXSVF0RUp6UHUyUzhqYUpRUEhhTW5kWmFTN2ZKUDdTemQ5bThMbEwyYTFudWw1a1ZLektsQ2dla3JiMWZ6d2o0bUdWRVdzRzhhVnN1d3hEdmU3NDRXSlRPOTFLd01MUmhlbVFxMnRvM1ktSEtxN19RNE8ydnFGOG1UbEFzMmU4elBNelF3eU5aSTNPcGhTVEt3LWxFcjBWUDVIa0RNakFnWFF1elpjNEVRQTVod085bGtlWF9CZHh4QkFySkxVSTJyYlVOWGY2V29pbWh5UnBMRlluQWxiRHpwV1BWWFRPMU5qVUh0SnpxbktrRzVOZE1tWVNQaEMzV2dLNG1SeGIyeUdELWFPY0xGcDVXck5KQm4zenNWa2s4WUk3VzA0WDZiOWRjUDZ1SGFlMWlNYkpMQ3NxcXZuX3NPMjZyWEpXMXU1SFY1akdWc2pUalJPTVdyenByalVQdEdnRVQxSEZXRS1jbkItMjdIb3VEQWhvY29nNFBoYXJVYktyU2gyeldOSTJrMFNtZ2dkdFFHZ2pFOUF6UUgtaVN0bkJ1OVNYT3Y1V0hpaU00cWZPTjJQZ0QtZHM1VHVHVmEtZm4yYmhtODNlMnZWNEM5blVRNzBjck5nd3M4OF9icmZsNVAzZnp4X3dORG5wZTZSVDB1U0p1dTd0MWsydVJJYzVUTjRGSEdleEpaMWladlQyLUpsYXpSdWpwZlI1TzRObWNQNHVHd1V5SGRDcXEyR2lDRkk5cmM0QkhHSHhRZW83NmJDZlZyZHRJNHN0enZENFJBaFpkcFdOd2tPcVVhSHJoU1dwTk83VFhxc2RJYVRlM0QzdGV3MEhvMzBNcHdIQU9XV0ZhRUFKS2ZidEtCREFEQlMtbUpoSTVGei5vNkdQRWd3Vkc1cUlHRWJ2M0lnM1lMMjlTRC1NMTlvaWNUektxYnNjQlJn"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.0 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bb1142/30c46264f4784991a6bc576251f72d35''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 409 + message: Conflict +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuSGMxXzZmMlphVDJIT1FRQVFRcTQ0dDRGeXhJVUJHSnhqTnpSMFhxMDlhRkhTZUhYQm05RWRuY0JtZm5Pb3NQbmtkU3loeUE3MlJxRzQ1LWhJRTVZQUk3U2dScnRNajd0dTBJMi1MZjNpeFNSaFRuSlNmYy1kRnYwWnlObmFtaE5hTVJHUkdLZDBkdjhaZy1Ra0pZU1c5LUJNb0x2bS1tTlV1V1VCSVBhajZBSW9UV2dNYWgyVktxZGZtMWhYZWxDSm9MLXZ4WDlhVXpXem1nak51ZUpGM2k2U1RRR0Jyd08xQW5IbDcyTVgtZHFfWXI3ZEFUUkhBZmc3ZHBGMUp6d0JQREQ0Z25vQmxSU2dqNE1tUnE1ZC1tODVsUU1mMC1MX051T2hOUy1tVXhFcWJuTTFLanNoYlh2SjdOWUtVMndJOWNlSl9lWG5yYzRJV21PN2xRZTNBLlpyWWsybzJpNVRleThqS2FxeXNNTGcuTVVHME1nNi1VeGR4dnZzTERRUVd1emN5Sm9QbmxyZi00MDZRUmRLWnRHSmZ2dkxOODB0RTJyUnZtQ296QzdHZmoySHhsTFVLVzlyTTc3eDdiczVnWGlCTkt4cGFxcXQ3SlU0WURNRE5xUjNCTnpoN2FzTHVRMGMyT0hWSV9tOWE5RjRsUnRVWnpHWXJLX2VXZHptSDJJX0FzcTY4ZjQteWpLSVdGQTgwNk9SYTl4RjliOU9OVk5CM2c3OGJ0cGNSMFJoTjA5c1lGMEJKVUFUXzUyOWFkZ19VN2hMSWl6S1FYa0x6OEZlYUVvTTlhRVY0TWdzRGF6Uzh4dWRLbVV6TFNSb2E0R2g5TEN6N3g5OEpYc3BBMUEwLW9jSlJEQUpzU1dSYzRQcFYyNVlhdGFUWW55NTRhWXBkZnppS1dFbERxVmlaSGw4ZFRUT2pXNDZKNGg4NUExMDNCVGQwSHZLQTZUd25ZUGNhcGJiVDFpamVZOGVsTkstS1Rab280Umdxb193VE1UbzVPdHRmdmNwdDhVdG5mYS1oTGN6SnE5OWZCcWJVQnlHd2NMNXZIQVozR29rNnc2UDZjMmxFMkVnZW80NUtCRTA1cVNlbUxpNGd4R000NGJ6b0ktMU5oNWlwUjZBc1BnVUR1R1QtS2Z1RFJuMFdKeV9zaXZidC1qQ0RvdDZYOENEMHJtTFFieTJSd1BJNVI0NFdoZnQ1c0RTeE9YVlhGMGltSXRvLW4zSll6RTgzZ0JkWEhRUENkbmFyYXpIWHpMbFVFZWVLRlBMa01FUmpUT3NOcmlEQ05XRXRHMW52dkM0a25Xa2pYd1FDWmF4SWxNaXlvdkYyWU1uOWlFMzlORk5XNDBxMTl0WXJYOHF3dWpaNnpESUVWWVphVHd4ZlBVSFZidUthRkw1Vm92V3FpS2h0ckZHaGRMZUtYZ3A0Q21uQ1JFMVo1ZU0xMDRBUWs4VjdNUWRiWTJ5cWFOd3VreXdSRzFKWnRHMFRPc2ZCTkFrc3VOQzRYVUh3SllDbXp1bnU5WFBFdTJiMm1xTVRBSmRtdG9WN0JtbDJiN3JPWVhzaTB3UWFhYnFGVlhSbG5QYWdaTjVUa3cwNVNpaXc1RWs1Y3Z1d0VXT2p4V1dEc0UyVmdkSEFVY2s2bF9QZUl3YjdvMUZWald0c2NoWm9pbmJNeXlpbDAxbndKbTE5R1dxN1RxOFk3eE5DY1g3d3I1RTcwS1BqSVU3WTFHMDBBNlRfTU9LV25zWWFZcmd2Qm54bGZ5c3lfM2lHN2lJcHBiSWRMRnFiOWtIQXM2TGpBTHA3QlR0NjdjX3BCalgwVGJvZTVOMWhjRjlnaFQ4UkRHTnM2aGZzNUxCdXBRbjlIQnExX1JxQVRVZ3c5TTMwM3hjOUJsaTd2U3JfYUhCc1BncDJUSjljbDkyQk84V3ZwUkotc3BiTUZNQm1hNkF6MmFGWFBIV1hwb1QyU1IyR2pVOFAtcDRkWmJGbS1rSjlYTjZtRzZ0ZU9abHFqYUt0NmdSZkZmWWVrM0QtV0t2Y1FiUk5NV0FyN2liaDYtZ2MzWW9BcjdQbjktbEJaWjNvajAzTkJnR3JIMDIzVUVPOUtxQmVHWWVEOGRCSDE4bmp1ZDZqWWgtSUI3N3pPc3FRYnBhbUgzcnJyaTFpQVA3Q1c3cGF1UVJWeUYwYjI2eG1hY2JlTjZSZ3o5blVqdVRKYUxmLS1abmczLW5rTkM5MzBhLWZDa1lZZTd1bmgtbGNrNmpEZGxlVHFqZ1hfSHdrb1V4blc0TW1YcUZTLWNXaW50dEpXaURUemxxSFBQOWVuaGRzLUF4RURiZndBZ2lSYy1TVEJrcHBCSjM3T1RtQ01sY3VKMW9ZajFWVTNPWXJ3dVppSmdwSzFyN2c4MC1FWHB0aWhuTTBlTE14aFlaMGlwSmoySnZUOGtjR3FQbzVhWGJEdE1XZW9Scl9LT2ZQcjBua1NjUlN1Y1NVS19MWjBPNDc4TFZCUlZOREdRZnJSakplLTFsY1FGSnQtZTl3ZXdqT2FpQlN2WFBJX2R2OGQxNmhnZUNyUG9Qd2lXcHFsaFV4YU5iSHBoeTg1OEt1WmFfLWZFclZlY1N3V2V5M0QwX0Y0NFAzNFpvU3c4OGxNaHROVzFleHNBcHNqVm1oR3pMeVZqbzlkdmlYam43d2lrbXNXc2lQR0JCd0xHa2hOVy0xeFBmb2ltRTkxVDB5bFJMTzhUMkxxc2NkMVlPUEViR2RVY0x3VzFnbk9pMURHWTNrZm5qVzhJNzdxd21ZMG1YdGduMWhmbzRGODFkY25XQXk0QUExMG1Jazdia0FxSFF5akkzbXdHdXAzQ2ZHbE9ieDZDVllscTVfTVJvX3lmSjZpa2tFSGVrTGlaN1dLUzlyWUV5YUx2bG5vXzlTTEtFYXowYmQ5NTFpakpOeGVuYzlCQzhRRE9tNEZpMzBoYklvblJoU3dkUERDeUlmcDFfZ1ExbnltNXNqR3dESHZPNTE0Q0hYZjRpSThDOFZaOEcwRUtqdF9wTEtFbkkxSjdZVXRLNVFKUXhHbHhUX2djaHpVdDMza3d2Yk9XZjN4ZjNsZjRyQ1lSZlB4dVpBRDZHSzhNc09SMG5pOWNITmZMZmxiRkgyWndhdlpXc25NNl9xa0h2aGNpRTl3NjhDX3VfMHJjeEJ0Z21LZ1FMdU5DbDFuTWw4NkhMdnNIX2pOdDhjQmQ4bWN1cWlkYWxSSkwtQlJoQ19iVGp6UU5qUUs4NVJKYzZqNTdfb2l3V0x2VXZVMXV5VWpYVFJmUV9rVlBvWmhhXy1tQ3d1aUxGa3ZFeE5wYTdyLV9NY2JDajZtdDVtT0lQVE9jRHBsZWVnOVp0TndmY3BYaUdUaEozRHo2VzR6VTNfMkY2eTJCaXUtWGlES0Rnc0ppWkNIZTNBT05FTC1USVI3SDNDV0stUFdwNlJsSm9HSkQyZHY2TE1YM3Q2Z01pUkxjM1NKZ1JLQ2ZOM2ZUVkVZbkprcEJ1YlBXRDd0NDhBNXZybHA4NGJJZzQzVEJCNEVRUzdWVkpPZFZIWnBTZkZVT2UzbUdlT1A1Z295ZUNFbUh5QnNVczRua3JBZ1FLc1JnNThNWTN5RUZPcEVEbzJFOGxhb1d4U0Y2N2t3dkxYYkpLNjVBamVGZkRTdTI2UmwxZTVtTzNRWm1TaDR3a0I4bmo5MXVkWTF3R1p0S1JuRDJqNDBFWlVyUXNUSjAwMnoyTlNYS09EemhaelpQXzZRR2xINzFSSDRnMnNGUWZDZlJYQXh5ZXpZeHpJT2hXSVF0RUp6UHUyUzhqYUpRUEhhTW5kWmFTN2ZKUDdTemQ5bThMbEwyYTFudWw1a1ZLektsQ2dla3JiMWZ6d2o0bUdWRVdzRzhhVnN1d3hEdmU3NDRXSlRPOTFLd01MUmhlbVFxMnRvM1ktSEtxN19RNE8ydnFGOG1UbEFzMmU4elBNelF3eU5aSTNPcGhTVEt3LWxFcjBWUDVIa0RNakFnWFF1elpjNEVRQTVod085bGtlWF9CZHh4QkFySkxVSTJyYlVOWGY2V29pbWh5UnBMRlluQWxiRHpwV1BWWFRPMU5qVUh0SnpxbktrRzVOZE1tWVNQaEMzV2dLNG1SeGIyeUdELWFPY0xGcDVXck5KQm4zenNWa2s4WUk3VzA0WDZiOWRjUDZ1SGFlMWlNYkpMQ3NxcXZuX3NPMjZyWEpXMXU1SFY1akdWc2pUalJPTVdyenByalVQdEdnRVQxSEZXRS1jbkItMjdIb3VEQWhvY29nNFBoYXJVYktyU2gyeldOSTJrMFNtZ2dkdFFHZ2pFOUF6UUgtaVN0bkJ1OVNYT3Y1V0hpaU00cWZPTjJQZ0QtZHM1VHVHVmEtZm4yYmhtODNlMnZWNEM5blVRNzBjck5nd3M4OF9icmZsNVAzZnp4X3dORG5wZTZSVDB1U0p1dTd0MWsydVJJYzVUTjRGSEdleEpaMWladlQyLUpsYXpSdWpwZlI1TzRObWNQNHVHd1V5SGRDcXEyR2lDRkk5cmM0QkhHSHhRZW83NmJDZlZyZHRJNHN0enZENFJBaFpkcFdOd2tPcVVhSHJoU1dwTk83VFhxc2RJYVRlM0QzdGV3MEhvMzBNcHdIQU9XV0ZhRUFKS2ZidEtCREFEQlMtbUpoSTVGei5vNkdQRWd3Vkc1cUlHRWJ2M0lnM1lMMjlTRC1NMTlvaWNUektxYnNjQlJn"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.0 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bb1142/30c46264f4784991a6bc576251f72d35","attributes":{"enabled":true,"created":1618954683,"updated":1618954683,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '223' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_backup_restore_7_1.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_backup_restore_7_1.yaml new file mode 100644 index 000000000000..ac619f64f11d --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_backup_restore_7_1.yaml @@ -0,0 +1,1063 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bc1143?api-version=7.1 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bc1143?api-version=7.1 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bc1143/21a6f14453484546b562671ce7af8a2d","attributes":{"enabled":true,"created":1618954732,"updated":1618954732,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '261' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bc1143/backup?api-version=7.1 + response: + body: + string: '{"value":"KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuaEN3dFVmUjlNb1R2WTBKUzUwSkFHQlE3Tk9WZGxMeXVmQ1ZpVFZvTV8wN0FTdFFhaTNDYU83cEdRQk56eDVEV29ISllic3Z4OTdSSTNDSnNvNmdTRnJjZXdEdURmaVNQT3hnUGFDZVd5T3BKaDBCRTdqZmF3WUVSTlZfOU82R2JrZHd4aGN6dnhlbFphNlhLOHV0QXoyZGpfY0w5TUdyOGNCYWVZR1FnNzhCOVV4UWFnX3lwX3diNUN2YTdZbDVXendNY1p3MHpSZjNQWHZsWDdzcVRJQ3FZMDdYZ01SNGVFUF9QUUNBZE9LT1lNbjR1Njl6dk1Wa1ktQy1aRzRZb3IwcERVZGlEa182NlNMXzdUZW9OY3JPUV9uczRCek9uc3lIRVZpTXZYOVlYaGtUaVMxSkxmOU5xVWlhdG05R3QyZHdoVlA2Q2J3MTJaYWR3cFJUZldRLlFvclpsRDJDVk93ekZreTNMNVBIN2cubDgzNXFkbGxBMmthcUs0Q1k1Z2EtWXBManhva19mZVJrMkNmTklRbjJPSEFkYnVlZGVyOTByMWEtNGxjdzh4QWZ2ZzJKRU11cUNxWVVtalVuRXdPVUVGLVUtWG5NTENDaHZOX0F2bjBfV3VDcjRkSUdhbXlycnFFMHlkN0N5bW5KTXdIWTMxSHZINUt4UE03QTNLREoyVmljZ3VxTVhqTU9Wa1JjQ0hEUE9rT2VaSDhjX1h6Z2g3N2hGeEdReXpZMElnamNPNlZlRUxvdUxrSTVicXZsUl85dk1XdWlYX2Y0dEJSVmNxOE85QUhib1BRZllrMXNXdFJoSnpJczFMV0I1Nktrd1NJREd3cHQtMmNOZC1fbGdVY0hQNnU0YnlKY2VQRDVxYVl0S3pTWFFFVTZiSlpmdHk2ZU1uTWk3VUxIUHVOY1FzbDVUcXZQMDNISkNPQWloSTJpeUhtTklxWmtaM1dGR0tvUHN0VGNjWHJzY1ZCUFlCTGxxLTVnRDMwamxSOUIteTE5UlNMeUZ6a3Uyc0lWTzZUT0lzTEhTQWMyX0FrR0dCcnRkRGVWdHBmY195akdaWE0zQW9FS3BxMWlyZkdVaWZuNTVvejJIWFJ6djJNcDlJNTVDZDloa245T3E5Yjh3SU94Zk0zaXBQWlFmeDlYQlJNRjFIcGhzNHlnbEo5MW5IUGJiLUdpMjg2bEtGMFV5M0czMmk1SDB0cXItb0JJVWVCLWx1UHZvTnlVQnZzQnBNRHdqQXEtR015X3Y2OWVNeEFiazJiY0pEMW1LTUJpOWRJUF9HR3VxdFVCU0pzOXVJOFB4OHcwUEM0cmJqcFh6V1g3WG5ISVJqbjRuNnZ5eXdiTEJoWDRUaGRZVnVIQ3VtQjFJc1ZGeEhWZ3lvNDl1ZjhQTkduMVljQ3BiSGZId0F5cjRNS0FIMkhGVHo2SmVyYWxsRFF2ZnFseHQ2LWlieG9iMWkzSmVFV1Z5VXZiYno2dk5UOUtXb0ZRaG9pdFltYmJTeVM0ZkRrdG1udXp1OWFkUzB3ZDNvRmw4SE9teWIzemNzNklIZUZwM2tsbVFtbDhYcllhazN3M0t6enFtclpZYXcwakd5NkZhLVJMYXpnYkgwcFB3SlcycEF1MG9zQmV2Z1BwcGdBODJCaFNrYnotSlpIakYyNElRWVRkaWMycmlzYXluckZzVEw5NkpFT3NUaVdjdjlSOUdCME1tdm92dEd2a3U5a05yWmE1ekFKZXQ4Mlo4Ujhfd3lOaXFCZTNIS0pQR2N2QVBGdkFKTnpDTjhTTDIxZWYyN2RvMHIwLUtyTWlBRGd1dXB5dWxydXZ1bThRbG5WUzFKU203Mkh5NG1ValFHcENOTG1WUk5uZENGak9PRnpTNm50Q1NES3d0S2JEXzBpQ09BRnlyTkxwSHBIdGFrVlJHNzcwM0g4VTBYN05DbWg2TzM4WFF6R19UU2tKYmpUUkNJTXgzMXdoOVBMaUpvdmZDR0syMjQtRkNjZVhwQ3pQOEhtUjdPM3pBWnUtbXp1VFpaZndZUmZEdENZdVhqOU5DRkctV016bFRpSlBFSGdXU2JTc0FVQThCWTc5SXNUaWdWMzh0OS03RUl6RnU5MVpKMVBfOFFoY0JOVXRRYi05d2Jxem5YSFB4N2VDNDF5OWlhLURkNkkwWlNXa2xmOUUzNjVrTHFPdVRyWWtZeUVkU3VJbWxDc0NKM2NDazdtMW1RMnFXOHAyMFNoU2hkU0JVOFZreTZwcDJNc3lWTmR3X0RmVmFlcmtSY1JGTUxDNlVNYUJzeVJPRzduZ3hKeXBwYWhvRU5OS0tqNVl1YzZNbktQUFFXVmFYMk92dHFkVmNJUDFzSXQwbjVPM2ExZnZsV1MzQ2ZZOUt6UVV3X1NfWDh4bi04SUpwVWI5N0wyeGxsUXpNWHdjRjZHUDZBLWpRVXRlbmpfQlYzUGtZUVNtakVSOXNKa2tOZ3JrcXRfcjRCZ0tiR2owWVB0LW5WWGUtVEhyTGJMV2NPdFZ5a0JPX09GMmFUSWZVSENSTWl1eTRENmdabXkzUUM3QkxsN1RxOFhGd1VxcjZuWGZtV29XWHg2OWk2Tk5wQ0FZaFozdjJ4VXRGY2tEelB3QWowbWo2bFR1VWZYTVpnaS16T1B4TGc2c3lDTTROdnV1dGFNQ09TV0RIT1VlWnh4dXQzY0VFUkE1MUxaa2xGLXQ4SkhNbXVDNmNnVEV2dm9XS3l2bTNCdTluSW1nVGpCS2szMmFmd2NNZ3llTzJKRDg1LTh0WVJOZC1wVFRDZUtLQ2ZDMkpLSEpIS3FxLWp4QXZYakV3UHVGaWYxZ1MtdU5NLXBFbkVtZU9WTnJoT2xjdUVMbm5YX3lVc2tfR2VEcXpRNEJPd2dLckVZaFVVcDJTbnBFLU5RdzhkY1hGTGk5WWRJclVlbTd4SFdocC1kdklZQWRCLVZRUzA2Zk1pV2R1UU9KLTJqbFJja201Q1pfcVpEQzF2Rk0yVThveVlHVk1oaGpKYUJjcmlMM0hTd3V6a25KSXNoYlRvUjNWYWFqLV9aUEZHYnl1eHpxMTVNZ091ZXNxQ0tDY0YwRDRJb2hwTVhxRDlPQlNyTTF6NDJCYURxcG5PMzUwR2gxRUVyWElnOXJMVElWNUFfZkJ6UUZYaVdNSzhRaFJ0RFFaRFVtYWp2MHllUVV6TVgyOWtHdkN6UEtvcFB2ZUYwaGpiZTlNTm9MNlJSOU91aEMxYVNKVmRsdWxQdzlqUDlTMVRKSEwtTEEtM0Q0SVhmWjdWSVFxUEp3S3VzRWdaTkdDMHZLaXJVeDZHOVo0enpNOHFqcVBlTldPS1ZBQjJPejk3YTZrOFgxMV90RHU1cDBmenlvaEVMZ0kwWkZ1T3JwSHU2X3ZoU3pZVm1YNlVESmlEOVMxUlVleUlzZkJwNmxOMnFQX0tCNjRHTzlXM0lwMjNfQ2RSVFFMeG1QRXRFZGtyRnM0ZHVjZHFWU0hzYl9wZDlUdXNIUmlqTExLSzY5VW93eW5mOEFrWVBBdWxybW9BSGNtVlRGOFhzeTEtOGZKNGxERnE3Vm9HN25zNGxPTkVJNVdxdFdMMlRYcGJLVmhDVURoZjdnamRhbGw2eHlVSFMxdU5vQUJRWUIzUG9jaDlpVzN3RlRQVXYyRkJfQUZGTC1XNkxiUjVpX1B0R09WZ0pfVG5WczluaW54RUE5YmNLbHZsOHUyRVdfZGU2cW1PdUZadmh4eTRQNlZsQ1puRmc0MF9RRE5hVnJ4UUFWM3NEYmNIQjRUQVV6YS0yNGhBdGJmSlJMLW5salU0WmhyZ2I3ZGx3NWVHWDc4Q0gzVEJBLVZrdUgza1hkUkktbmd0dEVQQm5DXy1xQS1kR0xEVXBkWXRnZFlGbWxxQnZIRVF6dlJwMXA0cEFBbGN6cmZadXBvN1kxMXM2Z2JhdWZBSXgxU1RxUzhWQjhQN1FSd3R0Q1hOVjlXc28wVGtaWkpWb3dsT0p6azlGRzgzNGhzNTFieGdDQnBQUElVYzZuS1piMTE2cVNtYkVQLU1wUVJUZ1VkazdocmpmTW1OaElLazZXdG5IbVhTZE1XX0dUTTNvMjl4bzZiMzFpNmNzRlJaSzV5Qm1FWGU1X2lFR1dJaEhJR3dYN1FoTEtHdUV3eHpNVmRsX1pVMUxkRVFtanlvQml4Sjdld3JjX0hhaG1MZGRnRUNfSHpzUm5SNFQ0TG1nMmdBRUh6emNDM3pHZFdocUFOWHBYWUVNeVh2YnZSejBINVNPb0Y4bWJMNzI5TGhheGRfbUFMc1pmY054dlQ2dVRmWnJWTEdXVHJBOUZka3ZvV1NyYkdSNmJlX0RZaGdCQ2hiZ3ZENHM3NE1UOVg4UWlqbFFjY3dmbDZfUTJMUGhQWUN6OWJzNzZQQkxVQ3FqOVlORnBOOTZvZFlic2duUVJmTTlkVXl3ZG5WUTFEVkhOcXZRLW1HLTlVbklyb3AxbjRGQ1FFbTRjdXpkQ2RCVzAySE55V1MwdTQySVFLdzZQa0JnMmpYU2xxaTRBNW1qUlBxU1lUdkpGZVp3ZmlmSkxMYVlzRE51MVlHT0h4NVVQa1c5SktOSmpub09vbGhremlieE82TWtKQUdrSDIyYlBnSFo3LXdxM3doYl8yOGxBWTF1QldVdVIwamNDMEJyMEpBay5nZ3RvOHFsd2lQRUpKelJmR296YVhNczJwUGszTFlkWmFVZ0JMNXdVaGNJ"}' + headers: + cache-control: + - no-cache + content-length: + - '4956' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bc1143?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bc1143","deletedDate":1618954733,"scheduledPurgeDate":1626730733,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bc1143/21a6f14453484546b562671ce7af8a2d","attributes":{"enabled":true,"created":1618954732,"updated":1618954732,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '393' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bc1143?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak85bc1143"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bc1143?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak85bc1143"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bc1143?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak85bc1143"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bc1143?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak85bc1143"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bc1143?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak85bc1143"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bc1143?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak85bc1143"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bc1143?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak85bc1143"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bc1143?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak85bc1143"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bc1143?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecbak85bc1143"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bc1143?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bc1143","deletedDate":1618954733,"scheduledPurgeDate":1626730733,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bc1143/21a6f14453484546b562671ce7af8a2d","attributes":{"enabled":true,"created":1618954732,"updated":1618954732,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '393' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecbak85bc1143?api-version=7.1 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:39:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuaEN3dFVmUjlNb1R2WTBKUzUwSkFHQlE3Tk9WZGxMeXVmQ1ZpVFZvTV8wN0FTdFFhaTNDYU83cEdRQk56eDVEV29ISllic3Z4OTdSSTNDSnNvNmdTRnJjZXdEdURmaVNQT3hnUGFDZVd5T3BKaDBCRTdqZmF3WUVSTlZfOU82R2JrZHd4aGN6dnhlbFphNlhLOHV0QXoyZGpfY0w5TUdyOGNCYWVZR1FnNzhCOVV4UWFnX3lwX3diNUN2YTdZbDVXendNY1p3MHpSZjNQWHZsWDdzcVRJQ3FZMDdYZ01SNGVFUF9QUUNBZE9LT1lNbjR1Njl6dk1Wa1ktQy1aRzRZb3IwcERVZGlEa182NlNMXzdUZW9OY3JPUV9uczRCek9uc3lIRVZpTXZYOVlYaGtUaVMxSkxmOU5xVWlhdG05R3QyZHdoVlA2Q2J3MTJaYWR3cFJUZldRLlFvclpsRDJDVk93ekZreTNMNVBIN2cubDgzNXFkbGxBMmthcUs0Q1k1Z2EtWXBManhva19mZVJrMkNmTklRbjJPSEFkYnVlZGVyOTByMWEtNGxjdzh4QWZ2ZzJKRU11cUNxWVVtalVuRXdPVUVGLVUtWG5NTENDaHZOX0F2bjBfV3VDcjRkSUdhbXlycnFFMHlkN0N5bW5KTXdIWTMxSHZINUt4UE03QTNLREoyVmljZ3VxTVhqTU9Wa1JjQ0hEUE9rT2VaSDhjX1h6Z2g3N2hGeEdReXpZMElnamNPNlZlRUxvdUxrSTVicXZsUl85dk1XdWlYX2Y0dEJSVmNxOE85QUhib1BRZllrMXNXdFJoSnpJczFMV0I1Nktrd1NJREd3cHQtMmNOZC1fbGdVY0hQNnU0YnlKY2VQRDVxYVl0S3pTWFFFVTZiSlpmdHk2ZU1uTWk3VUxIUHVOY1FzbDVUcXZQMDNISkNPQWloSTJpeUhtTklxWmtaM1dGR0tvUHN0VGNjWHJzY1ZCUFlCTGxxLTVnRDMwamxSOUIteTE5UlNMeUZ6a3Uyc0lWTzZUT0lzTEhTQWMyX0FrR0dCcnRkRGVWdHBmY195akdaWE0zQW9FS3BxMWlyZkdVaWZuNTVvejJIWFJ6djJNcDlJNTVDZDloa245T3E5Yjh3SU94Zk0zaXBQWlFmeDlYQlJNRjFIcGhzNHlnbEo5MW5IUGJiLUdpMjg2bEtGMFV5M0czMmk1SDB0cXItb0JJVWVCLWx1UHZvTnlVQnZzQnBNRHdqQXEtR015X3Y2OWVNeEFiazJiY0pEMW1LTUJpOWRJUF9HR3VxdFVCU0pzOXVJOFB4OHcwUEM0cmJqcFh6V1g3WG5ISVJqbjRuNnZ5eXdiTEJoWDRUaGRZVnVIQ3VtQjFJc1ZGeEhWZ3lvNDl1ZjhQTkduMVljQ3BiSGZId0F5cjRNS0FIMkhGVHo2SmVyYWxsRFF2ZnFseHQ2LWlieG9iMWkzSmVFV1Z5VXZiYno2dk5UOUtXb0ZRaG9pdFltYmJTeVM0ZkRrdG1udXp1OWFkUzB3ZDNvRmw4SE9teWIzemNzNklIZUZwM2tsbVFtbDhYcllhazN3M0t6enFtclpZYXcwakd5NkZhLVJMYXpnYkgwcFB3SlcycEF1MG9zQmV2Z1BwcGdBODJCaFNrYnotSlpIakYyNElRWVRkaWMycmlzYXluckZzVEw5NkpFT3NUaVdjdjlSOUdCME1tdm92dEd2a3U5a05yWmE1ekFKZXQ4Mlo4Ujhfd3lOaXFCZTNIS0pQR2N2QVBGdkFKTnpDTjhTTDIxZWYyN2RvMHIwLUtyTWlBRGd1dXB5dWxydXZ1bThRbG5WUzFKU203Mkh5NG1ValFHcENOTG1WUk5uZENGak9PRnpTNm50Q1NES3d0S2JEXzBpQ09BRnlyTkxwSHBIdGFrVlJHNzcwM0g4VTBYN05DbWg2TzM4WFF6R19UU2tKYmpUUkNJTXgzMXdoOVBMaUpvdmZDR0syMjQtRkNjZVhwQ3pQOEhtUjdPM3pBWnUtbXp1VFpaZndZUmZEdENZdVhqOU5DRkctV016bFRpSlBFSGdXU2JTc0FVQThCWTc5SXNUaWdWMzh0OS03RUl6RnU5MVpKMVBfOFFoY0JOVXRRYi05d2Jxem5YSFB4N2VDNDF5OWlhLURkNkkwWlNXa2xmOUUzNjVrTHFPdVRyWWtZeUVkU3VJbWxDc0NKM2NDazdtMW1RMnFXOHAyMFNoU2hkU0JVOFZreTZwcDJNc3lWTmR3X0RmVmFlcmtSY1JGTUxDNlVNYUJzeVJPRzduZ3hKeXBwYWhvRU5OS0tqNVl1YzZNbktQUFFXVmFYMk92dHFkVmNJUDFzSXQwbjVPM2ExZnZsV1MzQ2ZZOUt6UVV3X1NfWDh4bi04SUpwVWI5N0wyeGxsUXpNWHdjRjZHUDZBLWpRVXRlbmpfQlYzUGtZUVNtakVSOXNKa2tOZ3JrcXRfcjRCZ0tiR2owWVB0LW5WWGUtVEhyTGJMV2NPdFZ5a0JPX09GMmFUSWZVSENSTWl1eTRENmdabXkzUUM3QkxsN1RxOFhGd1VxcjZuWGZtV29XWHg2OWk2Tk5wQ0FZaFozdjJ4VXRGY2tEelB3QWowbWo2bFR1VWZYTVpnaS16T1B4TGc2c3lDTTROdnV1dGFNQ09TV0RIT1VlWnh4dXQzY0VFUkE1MUxaa2xGLXQ4SkhNbXVDNmNnVEV2dm9XS3l2bTNCdTluSW1nVGpCS2szMmFmd2NNZ3llTzJKRDg1LTh0WVJOZC1wVFRDZUtLQ2ZDMkpLSEpIS3FxLWp4QXZYakV3UHVGaWYxZ1MtdU5NLXBFbkVtZU9WTnJoT2xjdUVMbm5YX3lVc2tfR2VEcXpRNEJPd2dLckVZaFVVcDJTbnBFLU5RdzhkY1hGTGk5WWRJclVlbTd4SFdocC1kdklZQWRCLVZRUzA2Zk1pV2R1UU9KLTJqbFJja201Q1pfcVpEQzF2Rk0yVThveVlHVk1oaGpKYUJjcmlMM0hTd3V6a25KSXNoYlRvUjNWYWFqLV9aUEZHYnl1eHpxMTVNZ091ZXNxQ0tDY0YwRDRJb2hwTVhxRDlPQlNyTTF6NDJCYURxcG5PMzUwR2gxRUVyWElnOXJMVElWNUFfZkJ6UUZYaVdNSzhRaFJ0RFFaRFVtYWp2MHllUVV6TVgyOWtHdkN6UEtvcFB2ZUYwaGpiZTlNTm9MNlJSOU91aEMxYVNKVmRsdWxQdzlqUDlTMVRKSEwtTEEtM0Q0SVhmWjdWSVFxUEp3S3VzRWdaTkdDMHZLaXJVeDZHOVo0enpNOHFqcVBlTldPS1ZBQjJPejk3YTZrOFgxMV90RHU1cDBmenlvaEVMZ0kwWkZ1T3JwSHU2X3ZoU3pZVm1YNlVESmlEOVMxUlVleUlzZkJwNmxOMnFQX0tCNjRHTzlXM0lwMjNfQ2RSVFFMeG1QRXRFZGtyRnM0ZHVjZHFWU0hzYl9wZDlUdXNIUmlqTExLSzY5VW93eW5mOEFrWVBBdWxybW9BSGNtVlRGOFhzeTEtOGZKNGxERnE3Vm9HN25zNGxPTkVJNVdxdFdMMlRYcGJLVmhDVURoZjdnamRhbGw2eHlVSFMxdU5vQUJRWUIzUG9jaDlpVzN3RlRQVXYyRkJfQUZGTC1XNkxiUjVpX1B0R09WZ0pfVG5WczluaW54RUE5YmNLbHZsOHUyRVdfZGU2cW1PdUZadmh4eTRQNlZsQ1puRmc0MF9RRE5hVnJ4UUFWM3NEYmNIQjRUQVV6YS0yNGhBdGJmSlJMLW5salU0WmhyZ2I3ZGx3NWVHWDc4Q0gzVEJBLVZrdUgza1hkUkktbmd0dEVQQm5DXy1xQS1kR0xEVXBkWXRnZFlGbWxxQnZIRVF6dlJwMXA0cEFBbGN6cmZadXBvN1kxMXM2Z2JhdWZBSXgxU1RxUzhWQjhQN1FSd3R0Q1hOVjlXc28wVGtaWkpWb3dsT0p6azlGRzgzNGhzNTFieGdDQnBQUElVYzZuS1piMTE2cVNtYkVQLU1wUVJUZ1VkazdocmpmTW1OaElLazZXdG5IbVhTZE1XX0dUTTNvMjl4bzZiMzFpNmNzRlJaSzV5Qm1FWGU1X2lFR1dJaEhJR3dYN1FoTEtHdUV3eHpNVmRsX1pVMUxkRVFtanlvQml4Sjdld3JjX0hhaG1MZGRnRUNfSHpzUm5SNFQ0TG1nMmdBRUh6emNDM3pHZFdocUFOWHBYWUVNeVh2YnZSejBINVNPb0Y4bWJMNzI5TGhheGRfbUFMc1pmY054dlQ2dVRmWnJWTEdXVHJBOUZka3ZvV1NyYkdSNmJlX0RZaGdCQ2hiZ3ZENHM3NE1UOVg4UWlqbFFjY3dmbDZfUTJMUGhQWUN6OWJzNzZQQkxVQ3FqOVlORnBOOTZvZFlic2duUVJmTTlkVXl3ZG5WUTFEVkhOcXZRLW1HLTlVbklyb3AxbjRGQ1FFbTRjdXpkQ2RCVzAySE55V1MwdTQySVFLdzZQa0JnMmpYU2xxaTRBNW1qUlBxU1lUdkpGZVp3ZmlmSkxMYVlzRE51MVlHT0h4NVVQa1c5SktOSmpub09vbGhremlieE82TWtKQUdrSDIyYlBnSFo3LXdxM3doYl8yOGxBWTF1QldVdVIwamNDMEJyMEpBay5nZ3RvOHFsd2lQRUpKelJmR296YVhNczJwUGszTFlkWmFVZ0JMNXdVaGNJ"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bc1143/21a6f14453484546b562671ce7af8a2d''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 409 + message: Conflict +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuaEN3dFVmUjlNb1R2WTBKUzUwSkFHQlE3Tk9WZGxMeXVmQ1ZpVFZvTV8wN0FTdFFhaTNDYU83cEdRQk56eDVEV29ISllic3Z4OTdSSTNDSnNvNmdTRnJjZXdEdURmaVNQT3hnUGFDZVd5T3BKaDBCRTdqZmF3WUVSTlZfOU82R2JrZHd4aGN6dnhlbFphNlhLOHV0QXoyZGpfY0w5TUdyOGNCYWVZR1FnNzhCOVV4UWFnX3lwX3diNUN2YTdZbDVXendNY1p3MHpSZjNQWHZsWDdzcVRJQ3FZMDdYZ01SNGVFUF9QUUNBZE9LT1lNbjR1Njl6dk1Wa1ktQy1aRzRZb3IwcERVZGlEa182NlNMXzdUZW9OY3JPUV9uczRCek9uc3lIRVZpTXZYOVlYaGtUaVMxSkxmOU5xVWlhdG05R3QyZHdoVlA2Q2J3MTJaYWR3cFJUZldRLlFvclpsRDJDVk93ekZreTNMNVBIN2cubDgzNXFkbGxBMmthcUs0Q1k1Z2EtWXBManhva19mZVJrMkNmTklRbjJPSEFkYnVlZGVyOTByMWEtNGxjdzh4QWZ2ZzJKRU11cUNxWVVtalVuRXdPVUVGLVUtWG5NTENDaHZOX0F2bjBfV3VDcjRkSUdhbXlycnFFMHlkN0N5bW5KTXdIWTMxSHZINUt4UE03QTNLREoyVmljZ3VxTVhqTU9Wa1JjQ0hEUE9rT2VaSDhjX1h6Z2g3N2hGeEdReXpZMElnamNPNlZlRUxvdUxrSTVicXZsUl85dk1XdWlYX2Y0dEJSVmNxOE85QUhib1BRZllrMXNXdFJoSnpJczFMV0I1Nktrd1NJREd3cHQtMmNOZC1fbGdVY0hQNnU0YnlKY2VQRDVxYVl0S3pTWFFFVTZiSlpmdHk2ZU1uTWk3VUxIUHVOY1FzbDVUcXZQMDNISkNPQWloSTJpeUhtTklxWmtaM1dGR0tvUHN0VGNjWHJzY1ZCUFlCTGxxLTVnRDMwamxSOUIteTE5UlNMeUZ6a3Uyc0lWTzZUT0lzTEhTQWMyX0FrR0dCcnRkRGVWdHBmY195akdaWE0zQW9FS3BxMWlyZkdVaWZuNTVvejJIWFJ6djJNcDlJNTVDZDloa245T3E5Yjh3SU94Zk0zaXBQWlFmeDlYQlJNRjFIcGhzNHlnbEo5MW5IUGJiLUdpMjg2bEtGMFV5M0czMmk1SDB0cXItb0JJVWVCLWx1UHZvTnlVQnZzQnBNRHdqQXEtR015X3Y2OWVNeEFiazJiY0pEMW1LTUJpOWRJUF9HR3VxdFVCU0pzOXVJOFB4OHcwUEM0cmJqcFh6V1g3WG5ISVJqbjRuNnZ5eXdiTEJoWDRUaGRZVnVIQ3VtQjFJc1ZGeEhWZ3lvNDl1ZjhQTkduMVljQ3BiSGZId0F5cjRNS0FIMkhGVHo2SmVyYWxsRFF2ZnFseHQ2LWlieG9iMWkzSmVFV1Z5VXZiYno2dk5UOUtXb0ZRaG9pdFltYmJTeVM0ZkRrdG1udXp1OWFkUzB3ZDNvRmw4SE9teWIzemNzNklIZUZwM2tsbVFtbDhYcllhazN3M0t6enFtclpZYXcwakd5NkZhLVJMYXpnYkgwcFB3SlcycEF1MG9zQmV2Z1BwcGdBODJCaFNrYnotSlpIakYyNElRWVRkaWMycmlzYXluckZzVEw5NkpFT3NUaVdjdjlSOUdCME1tdm92dEd2a3U5a05yWmE1ekFKZXQ4Mlo4Ujhfd3lOaXFCZTNIS0pQR2N2QVBGdkFKTnpDTjhTTDIxZWYyN2RvMHIwLUtyTWlBRGd1dXB5dWxydXZ1bThRbG5WUzFKU203Mkh5NG1ValFHcENOTG1WUk5uZENGak9PRnpTNm50Q1NES3d0S2JEXzBpQ09BRnlyTkxwSHBIdGFrVlJHNzcwM0g4VTBYN05DbWg2TzM4WFF6R19UU2tKYmpUUkNJTXgzMXdoOVBMaUpvdmZDR0syMjQtRkNjZVhwQ3pQOEhtUjdPM3pBWnUtbXp1VFpaZndZUmZEdENZdVhqOU5DRkctV016bFRpSlBFSGdXU2JTc0FVQThCWTc5SXNUaWdWMzh0OS03RUl6RnU5MVpKMVBfOFFoY0JOVXRRYi05d2Jxem5YSFB4N2VDNDF5OWlhLURkNkkwWlNXa2xmOUUzNjVrTHFPdVRyWWtZeUVkU3VJbWxDc0NKM2NDazdtMW1RMnFXOHAyMFNoU2hkU0JVOFZreTZwcDJNc3lWTmR3X0RmVmFlcmtSY1JGTUxDNlVNYUJzeVJPRzduZ3hKeXBwYWhvRU5OS0tqNVl1YzZNbktQUFFXVmFYMk92dHFkVmNJUDFzSXQwbjVPM2ExZnZsV1MzQ2ZZOUt6UVV3X1NfWDh4bi04SUpwVWI5N0wyeGxsUXpNWHdjRjZHUDZBLWpRVXRlbmpfQlYzUGtZUVNtakVSOXNKa2tOZ3JrcXRfcjRCZ0tiR2owWVB0LW5WWGUtVEhyTGJMV2NPdFZ5a0JPX09GMmFUSWZVSENSTWl1eTRENmdabXkzUUM3QkxsN1RxOFhGd1VxcjZuWGZtV29XWHg2OWk2Tk5wQ0FZaFozdjJ4VXRGY2tEelB3QWowbWo2bFR1VWZYTVpnaS16T1B4TGc2c3lDTTROdnV1dGFNQ09TV0RIT1VlWnh4dXQzY0VFUkE1MUxaa2xGLXQ4SkhNbXVDNmNnVEV2dm9XS3l2bTNCdTluSW1nVGpCS2szMmFmd2NNZ3llTzJKRDg1LTh0WVJOZC1wVFRDZUtLQ2ZDMkpLSEpIS3FxLWp4QXZYakV3UHVGaWYxZ1MtdU5NLXBFbkVtZU9WTnJoT2xjdUVMbm5YX3lVc2tfR2VEcXpRNEJPd2dLckVZaFVVcDJTbnBFLU5RdzhkY1hGTGk5WWRJclVlbTd4SFdocC1kdklZQWRCLVZRUzA2Zk1pV2R1UU9KLTJqbFJja201Q1pfcVpEQzF2Rk0yVThveVlHVk1oaGpKYUJjcmlMM0hTd3V6a25KSXNoYlRvUjNWYWFqLV9aUEZHYnl1eHpxMTVNZ091ZXNxQ0tDY0YwRDRJb2hwTVhxRDlPQlNyTTF6NDJCYURxcG5PMzUwR2gxRUVyWElnOXJMVElWNUFfZkJ6UUZYaVdNSzhRaFJ0RFFaRFVtYWp2MHllUVV6TVgyOWtHdkN6UEtvcFB2ZUYwaGpiZTlNTm9MNlJSOU91aEMxYVNKVmRsdWxQdzlqUDlTMVRKSEwtTEEtM0Q0SVhmWjdWSVFxUEp3S3VzRWdaTkdDMHZLaXJVeDZHOVo0enpNOHFqcVBlTldPS1ZBQjJPejk3YTZrOFgxMV90RHU1cDBmenlvaEVMZ0kwWkZ1T3JwSHU2X3ZoU3pZVm1YNlVESmlEOVMxUlVleUlzZkJwNmxOMnFQX0tCNjRHTzlXM0lwMjNfQ2RSVFFMeG1QRXRFZGtyRnM0ZHVjZHFWU0hzYl9wZDlUdXNIUmlqTExLSzY5VW93eW5mOEFrWVBBdWxybW9BSGNtVlRGOFhzeTEtOGZKNGxERnE3Vm9HN25zNGxPTkVJNVdxdFdMMlRYcGJLVmhDVURoZjdnamRhbGw2eHlVSFMxdU5vQUJRWUIzUG9jaDlpVzN3RlRQVXYyRkJfQUZGTC1XNkxiUjVpX1B0R09WZ0pfVG5WczluaW54RUE5YmNLbHZsOHUyRVdfZGU2cW1PdUZadmh4eTRQNlZsQ1puRmc0MF9RRE5hVnJ4UUFWM3NEYmNIQjRUQVV6YS0yNGhBdGJmSlJMLW5salU0WmhyZ2I3ZGx3NWVHWDc4Q0gzVEJBLVZrdUgza1hkUkktbmd0dEVQQm5DXy1xQS1kR0xEVXBkWXRnZFlGbWxxQnZIRVF6dlJwMXA0cEFBbGN6cmZadXBvN1kxMXM2Z2JhdWZBSXgxU1RxUzhWQjhQN1FSd3R0Q1hOVjlXc28wVGtaWkpWb3dsT0p6azlGRzgzNGhzNTFieGdDQnBQUElVYzZuS1piMTE2cVNtYkVQLU1wUVJUZ1VkazdocmpmTW1OaElLazZXdG5IbVhTZE1XX0dUTTNvMjl4bzZiMzFpNmNzRlJaSzV5Qm1FWGU1X2lFR1dJaEhJR3dYN1FoTEtHdUV3eHpNVmRsX1pVMUxkRVFtanlvQml4Sjdld3JjX0hhaG1MZGRnRUNfSHpzUm5SNFQ0TG1nMmdBRUh6emNDM3pHZFdocUFOWHBYWUVNeVh2YnZSejBINVNPb0Y4bWJMNzI5TGhheGRfbUFMc1pmY054dlQ2dVRmWnJWTEdXVHJBOUZka3ZvV1NyYkdSNmJlX0RZaGdCQ2hiZ3ZENHM3NE1UOVg4UWlqbFFjY3dmbDZfUTJMUGhQWUN6OWJzNzZQQkxVQ3FqOVlORnBOOTZvZFlic2duUVJmTTlkVXl3ZG5WUTFEVkhOcXZRLW1HLTlVbklyb3AxbjRGQ1FFbTRjdXpkQ2RCVzAySE55V1MwdTQySVFLdzZQa0JnMmpYU2xxaTRBNW1qUlBxU1lUdkpGZVp3ZmlmSkxMYVlzRE51MVlHT0h4NVVQa1c5SktOSmpub09vbGhremlieE82TWtKQUdrSDIyYlBnSFo3LXdxM3doYl8yOGxBWTF1QldVdVIwamNDMEJyMEpBay5nZ3RvOHFsd2lQRUpKelJmR296YVhNczJwUGszTFlkWmFVZ0JMNXdVaGNJ"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bc1143/21a6f14453484546b562671ce7af8a2d''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 409 + message: Conflict +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuaEN3dFVmUjlNb1R2WTBKUzUwSkFHQlE3Tk9WZGxMeXVmQ1ZpVFZvTV8wN0FTdFFhaTNDYU83cEdRQk56eDVEV29ISllic3Z4OTdSSTNDSnNvNmdTRnJjZXdEdURmaVNQT3hnUGFDZVd5T3BKaDBCRTdqZmF3WUVSTlZfOU82R2JrZHd4aGN6dnhlbFphNlhLOHV0QXoyZGpfY0w5TUdyOGNCYWVZR1FnNzhCOVV4UWFnX3lwX3diNUN2YTdZbDVXendNY1p3MHpSZjNQWHZsWDdzcVRJQ3FZMDdYZ01SNGVFUF9QUUNBZE9LT1lNbjR1Njl6dk1Wa1ktQy1aRzRZb3IwcERVZGlEa182NlNMXzdUZW9OY3JPUV9uczRCek9uc3lIRVZpTXZYOVlYaGtUaVMxSkxmOU5xVWlhdG05R3QyZHdoVlA2Q2J3MTJaYWR3cFJUZldRLlFvclpsRDJDVk93ekZreTNMNVBIN2cubDgzNXFkbGxBMmthcUs0Q1k1Z2EtWXBManhva19mZVJrMkNmTklRbjJPSEFkYnVlZGVyOTByMWEtNGxjdzh4QWZ2ZzJKRU11cUNxWVVtalVuRXdPVUVGLVUtWG5NTENDaHZOX0F2bjBfV3VDcjRkSUdhbXlycnFFMHlkN0N5bW5KTXdIWTMxSHZINUt4UE03QTNLREoyVmljZ3VxTVhqTU9Wa1JjQ0hEUE9rT2VaSDhjX1h6Z2g3N2hGeEdReXpZMElnamNPNlZlRUxvdUxrSTVicXZsUl85dk1XdWlYX2Y0dEJSVmNxOE85QUhib1BRZllrMXNXdFJoSnpJczFMV0I1Nktrd1NJREd3cHQtMmNOZC1fbGdVY0hQNnU0YnlKY2VQRDVxYVl0S3pTWFFFVTZiSlpmdHk2ZU1uTWk3VUxIUHVOY1FzbDVUcXZQMDNISkNPQWloSTJpeUhtTklxWmtaM1dGR0tvUHN0VGNjWHJzY1ZCUFlCTGxxLTVnRDMwamxSOUIteTE5UlNMeUZ6a3Uyc0lWTzZUT0lzTEhTQWMyX0FrR0dCcnRkRGVWdHBmY195akdaWE0zQW9FS3BxMWlyZkdVaWZuNTVvejJIWFJ6djJNcDlJNTVDZDloa245T3E5Yjh3SU94Zk0zaXBQWlFmeDlYQlJNRjFIcGhzNHlnbEo5MW5IUGJiLUdpMjg2bEtGMFV5M0czMmk1SDB0cXItb0JJVWVCLWx1UHZvTnlVQnZzQnBNRHdqQXEtR015X3Y2OWVNeEFiazJiY0pEMW1LTUJpOWRJUF9HR3VxdFVCU0pzOXVJOFB4OHcwUEM0cmJqcFh6V1g3WG5ISVJqbjRuNnZ5eXdiTEJoWDRUaGRZVnVIQ3VtQjFJc1ZGeEhWZ3lvNDl1ZjhQTkduMVljQ3BiSGZId0F5cjRNS0FIMkhGVHo2SmVyYWxsRFF2ZnFseHQ2LWlieG9iMWkzSmVFV1Z5VXZiYno2dk5UOUtXb0ZRaG9pdFltYmJTeVM0ZkRrdG1udXp1OWFkUzB3ZDNvRmw4SE9teWIzemNzNklIZUZwM2tsbVFtbDhYcllhazN3M0t6enFtclpZYXcwakd5NkZhLVJMYXpnYkgwcFB3SlcycEF1MG9zQmV2Z1BwcGdBODJCaFNrYnotSlpIakYyNElRWVRkaWMycmlzYXluckZzVEw5NkpFT3NUaVdjdjlSOUdCME1tdm92dEd2a3U5a05yWmE1ekFKZXQ4Mlo4Ujhfd3lOaXFCZTNIS0pQR2N2QVBGdkFKTnpDTjhTTDIxZWYyN2RvMHIwLUtyTWlBRGd1dXB5dWxydXZ1bThRbG5WUzFKU203Mkh5NG1ValFHcENOTG1WUk5uZENGak9PRnpTNm50Q1NES3d0S2JEXzBpQ09BRnlyTkxwSHBIdGFrVlJHNzcwM0g4VTBYN05DbWg2TzM4WFF6R19UU2tKYmpUUkNJTXgzMXdoOVBMaUpvdmZDR0syMjQtRkNjZVhwQ3pQOEhtUjdPM3pBWnUtbXp1VFpaZndZUmZEdENZdVhqOU5DRkctV016bFRpSlBFSGdXU2JTc0FVQThCWTc5SXNUaWdWMzh0OS03RUl6RnU5MVpKMVBfOFFoY0JOVXRRYi05d2Jxem5YSFB4N2VDNDF5OWlhLURkNkkwWlNXa2xmOUUzNjVrTHFPdVRyWWtZeUVkU3VJbWxDc0NKM2NDazdtMW1RMnFXOHAyMFNoU2hkU0JVOFZreTZwcDJNc3lWTmR3X0RmVmFlcmtSY1JGTUxDNlVNYUJzeVJPRzduZ3hKeXBwYWhvRU5OS0tqNVl1YzZNbktQUFFXVmFYMk92dHFkVmNJUDFzSXQwbjVPM2ExZnZsV1MzQ2ZZOUt6UVV3X1NfWDh4bi04SUpwVWI5N0wyeGxsUXpNWHdjRjZHUDZBLWpRVXRlbmpfQlYzUGtZUVNtakVSOXNKa2tOZ3JrcXRfcjRCZ0tiR2owWVB0LW5WWGUtVEhyTGJMV2NPdFZ5a0JPX09GMmFUSWZVSENSTWl1eTRENmdabXkzUUM3QkxsN1RxOFhGd1VxcjZuWGZtV29XWHg2OWk2Tk5wQ0FZaFozdjJ4VXRGY2tEelB3QWowbWo2bFR1VWZYTVpnaS16T1B4TGc2c3lDTTROdnV1dGFNQ09TV0RIT1VlWnh4dXQzY0VFUkE1MUxaa2xGLXQ4SkhNbXVDNmNnVEV2dm9XS3l2bTNCdTluSW1nVGpCS2szMmFmd2NNZ3llTzJKRDg1LTh0WVJOZC1wVFRDZUtLQ2ZDMkpLSEpIS3FxLWp4QXZYakV3UHVGaWYxZ1MtdU5NLXBFbkVtZU9WTnJoT2xjdUVMbm5YX3lVc2tfR2VEcXpRNEJPd2dLckVZaFVVcDJTbnBFLU5RdzhkY1hGTGk5WWRJclVlbTd4SFdocC1kdklZQWRCLVZRUzA2Zk1pV2R1UU9KLTJqbFJja201Q1pfcVpEQzF2Rk0yVThveVlHVk1oaGpKYUJjcmlMM0hTd3V6a25KSXNoYlRvUjNWYWFqLV9aUEZHYnl1eHpxMTVNZ091ZXNxQ0tDY0YwRDRJb2hwTVhxRDlPQlNyTTF6NDJCYURxcG5PMzUwR2gxRUVyWElnOXJMVElWNUFfZkJ6UUZYaVdNSzhRaFJ0RFFaRFVtYWp2MHllUVV6TVgyOWtHdkN6UEtvcFB2ZUYwaGpiZTlNTm9MNlJSOU91aEMxYVNKVmRsdWxQdzlqUDlTMVRKSEwtTEEtM0Q0SVhmWjdWSVFxUEp3S3VzRWdaTkdDMHZLaXJVeDZHOVo0enpNOHFqcVBlTldPS1ZBQjJPejk3YTZrOFgxMV90RHU1cDBmenlvaEVMZ0kwWkZ1T3JwSHU2X3ZoU3pZVm1YNlVESmlEOVMxUlVleUlzZkJwNmxOMnFQX0tCNjRHTzlXM0lwMjNfQ2RSVFFMeG1QRXRFZGtyRnM0ZHVjZHFWU0hzYl9wZDlUdXNIUmlqTExLSzY5VW93eW5mOEFrWVBBdWxybW9BSGNtVlRGOFhzeTEtOGZKNGxERnE3Vm9HN25zNGxPTkVJNVdxdFdMMlRYcGJLVmhDVURoZjdnamRhbGw2eHlVSFMxdU5vQUJRWUIzUG9jaDlpVzN3RlRQVXYyRkJfQUZGTC1XNkxiUjVpX1B0R09WZ0pfVG5WczluaW54RUE5YmNLbHZsOHUyRVdfZGU2cW1PdUZadmh4eTRQNlZsQ1puRmc0MF9RRE5hVnJ4UUFWM3NEYmNIQjRUQVV6YS0yNGhBdGJmSlJMLW5salU0WmhyZ2I3ZGx3NWVHWDc4Q0gzVEJBLVZrdUgza1hkUkktbmd0dEVQQm5DXy1xQS1kR0xEVXBkWXRnZFlGbWxxQnZIRVF6dlJwMXA0cEFBbGN6cmZadXBvN1kxMXM2Z2JhdWZBSXgxU1RxUzhWQjhQN1FSd3R0Q1hOVjlXc28wVGtaWkpWb3dsT0p6azlGRzgzNGhzNTFieGdDQnBQUElVYzZuS1piMTE2cVNtYkVQLU1wUVJUZ1VkazdocmpmTW1OaElLazZXdG5IbVhTZE1XX0dUTTNvMjl4bzZiMzFpNmNzRlJaSzV5Qm1FWGU1X2lFR1dJaEhJR3dYN1FoTEtHdUV3eHpNVmRsX1pVMUxkRVFtanlvQml4Sjdld3JjX0hhaG1MZGRnRUNfSHpzUm5SNFQ0TG1nMmdBRUh6emNDM3pHZFdocUFOWHBYWUVNeVh2YnZSejBINVNPb0Y4bWJMNzI5TGhheGRfbUFMc1pmY054dlQ2dVRmWnJWTEdXVHJBOUZka3ZvV1NyYkdSNmJlX0RZaGdCQ2hiZ3ZENHM3NE1UOVg4UWlqbFFjY3dmbDZfUTJMUGhQWUN6OWJzNzZQQkxVQ3FqOVlORnBOOTZvZFlic2duUVJmTTlkVXl3ZG5WUTFEVkhOcXZRLW1HLTlVbklyb3AxbjRGQ1FFbTRjdXpkQ2RCVzAySE55V1MwdTQySVFLdzZQa0JnMmpYU2xxaTRBNW1qUlBxU1lUdkpGZVp3ZmlmSkxMYVlzRE51MVlHT0h4NVVQa1c5SktOSmpub09vbGhremlieE82TWtKQUdrSDIyYlBnSFo3LXdxM3doYl8yOGxBWTF1QldVdVIwamNDMEJyMEpBay5nZ3RvOHFsd2lQRUpKelJmR296YVhNczJwUGszTFlkWmFVZ0JMNXdVaGNJ"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bc1143/21a6f14453484546b562671ce7af8a2d''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 409 + message: Conflict +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuaEN3dFVmUjlNb1R2WTBKUzUwSkFHQlE3Tk9WZGxMeXVmQ1ZpVFZvTV8wN0FTdFFhaTNDYU83cEdRQk56eDVEV29ISllic3Z4OTdSSTNDSnNvNmdTRnJjZXdEdURmaVNQT3hnUGFDZVd5T3BKaDBCRTdqZmF3WUVSTlZfOU82R2JrZHd4aGN6dnhlbFphNlhLOHV0QXoyZGpfY0w5TUdyOGNCYWVZR1FnNzhCOVV4UWFnX3lwX3diNUN2YTdZbDVXendNY1p3MHpSZjNQWHZsWDdzcVRJQ3FZMDdYZ01SNGVFUF9QUUNBZE9LT1lNbjR1Njl6dk1Wa1ktQy1aRzRZb3IwcERVZGlEa182NlNMXzdUZW9OY3JPUV9uczRCek9uc3lIRVZpTXZYOVlYaGtUaVMxSkxmOU5xVWlhdG05R3QyZHdoVlA2Q2J3MTJaYWR3cFJUZldRLlFvclpsRDJDVk93ekZreTNMNVBIN2cubDgzNXFkbGxBMmthcUs0Q1k1Z2EtWXBManhva19mZVJrMkNmTklRbjJPSEFkYnVlZGVyOTByMWEtNGxjdzh4QWZ2ZzJKRU11cUNxWVVtalVuRXdPVUVGLVUtWG5NTENDaHZOX0F2bjBfV3VDcjRkSUdhbXlycnFFMHlkN0N5bW5KTXdIWTMxSHZINUt4UE03QTNLREoyVmljZ3VxTVhqTU9Wa1JjQ0hEUE9rT2VaSDhjX1h6Z2g3N2hGeEdReXpZMElnamNPNlZlRUxvdUxrSTVicXZsUl85dk1XdWlYX2Y0dEJSVmNxOE85QUhib1BRZllrMXNXdFJoSnpJczFMV0I1Nktrd1NJREd3cHQtMmNOZC1fbGdVY0hQNnU0YnlKY2VQRDVxYVl0S3pTWFFFVTZiSlpmdHk2ZU1uTWk3VUxIUHVOY1FzbDVUcXZQMDNISkNPQWloSTJpeUhtTklxWmtaM1dGR0tvUHN0VGNjWHJzY1ZCUFlCTGxxLTVnRDMwamxSOUIteTE5UlNMeUZ6a3Uyc0lWTzZUT0lzTEhTQWMyX0FrR0dCcnRkRGVWdHBmY195akdaWE0zQW9FS3BxMWlyZkdVaWZuNTVvejJIWFJ6djJNcDlJNTVDZDloa245T3E5Yjh3SU94Zk0zaXBQWlFmeDlYQlJNRjFIcGhzNHlnbEo5MW5IUGJiLUdpMjg2bEtGMFV5M0czMmk1SDB0cXItb0JJVWVCLWx1UHZvTnlVQnZzQnBNRHdqQXEtR015X3Y2OWVNeEFiazJiY0pEMW1LTUJpOWRJUF9HR3VxdFVCU0pzOXVJOFB4OHcwUEM0cmJqcFh6V1g3WG5ISVJqbjRuNnZ5eXdiTEJoWDRUaGRZVnVIQ3VtQjFJc1ZGeEhWZ3lvNDl1ZjhQTkduMVljQ3BiSGZId0F5cjRNS0FIMkhGVHo2SmVyYWxsRFF2ZnFseHQ2LWlieG9iMWkzSmVFV1Z5VXZiYno2dk5UOUtXb0ZRaG9pdFltYmJTeVM0ZkRrdG1udXp1OWFkUzB3ZDNvRmw4SE9teWIzemNzNklIZUZwM2tsbVFtbDhYcllhazN3M0t6enFtclpZYXcwakd5NkZhLVJMYXpnYkgwcFB3SlcycEF1MG9zQmV2Z1BwcGdBODJCaFNrYnotSlpIakYyNElRWVRkaWMycmlzYXluckZzVEw5NkpFT3NUaVdjdjlSOUdCME1tdm92dEd2a3U5a05yWmE1ekFKZXQ4Mlo4Ujhfd3lOaXFCZTNIS0pQR2N2QVBGdkFKTnpDTjhTTDIxZWYyN2RvMHIwLUtyTWlBRGd1dXB5dWxydXZ1bThRbG5WUzFKU203Mkh5NG1ValFHcENOTG1WUk5uZENGak9PRnpTNm50Q1NES3d0S2JEXzBpQ09BRnlyTkxwSHBIdGFrVlJHNzcwM0g4VTBYN05DbWg2TzM4WFF6R19UU2tKYmpUUkNJTXgzMXdoOVBMaUpvdmZDR0syMjQtRkNjZVhwQ3pQOEhtUjdPM3pBWnUtbXp1VFpaZndZUmZEdENZdVhqOU5DRkctV016bFRpSlBFSGdXU2JTc0FVQThCWTc5SXNUaWdWMzh0OS03RUl6RnU5MVpKMVBfOFFoY0JOVXRRYi05d2Jxem5YSFB4N2VDNDF5OWlhLURkNkkwWlNXa2xmOUUzNjVrTHFPdVRyWWtZeUVkU3VJbWxDc0NKM2NDazdtMW1RMnFXOHAyMFNoU2hkU0JVOFZreTZwcDJNc3lWTmR3X0RmVmFlcmtSY1JGTUxDNlVNYUJzeVJPRzduZ3hKeXBwYWhvRU5OS0tqNVl1YzZNbktQUFFXVmFYMk92dHFkVmNJUDFzSXQwbjVPM2ExZnZsV1MzQ2ZZOUt6UVV3X1NfWDh4bi04SUpwVWI5N0wyeGxsUXpNWHdjRjZHUDZBLWpRVXRlbmpfQlYzUGtZUVNtakVSOXNKa2tOZ3JrcXRfcjRCZ0tiR2owWVB0LW5WWGUtVEhyTGJMV2NPdFZ5a0JPX09GMmFUSWZVSENSTWl1eTRENmdabXkzUUM3QkxsN1RxOFhGd1VxcjZuWGZtV29XWHg2OWk2Tk5wQ0FZaFozdjJ4VXRGY2tEelB3QWowbWo2bFR1VWZYTVpnaS16T1B4TGc2c3lDTTROdnV1dGFNQ09TV0RIT1VlWnh4dXQzY0VFUkE1MUxaa2xGLXQ4SkhNbXVDNmNnVEV2dm9XS3l2bTNCdTluSW1nVGpCS2szMmFmd2NNZ3llTzJKRDg1LTh0WVJOZC1wVFRDZUtLQ2ZDMkpLSEpIS3FxLWp4QXZYakV3UHVGaWYxZ1MtdU5NLXBFbkVtZU9WTnJoT2xjdUVMbm5YX3lVc2tfR2VEcXpRNEJPd2dLckVZaFVVcDJTbnBFLU5RdzhkY1hGTGk5WWRJclVlbTd4SFdocC1kdklZQWRCLVZRUzA2Zk1pV2R1UU9KLTJqbFJja201Q1pfcVpEQzF2Rk0yVThveVlHVk1oaGpKYUJjcmlMM0hTd3V6a25KSXNoYlRvUjNWYWFqLV9aUEZHYnl1eHpxMTVNZ091ZXNxQ0tDY0YwRDRJb2hwTVhxRDlPQlNyTTF6NDJCYURxcG5PMzUwR2gxRUVyWElnOXJMVElWNUFfZkJ6UUZYaVdNSzhRaFJ0RFFaRFVtYWp2MHllUVV6TVgyOWtHdkN6UEtvcFB2ZUYwaGpiZTlNTm9MNlJSOU91aEMxYVNKVmRsdWxQdzlqUDlTMVRKSEwtTEEtM0Q0SVhmWjdWSVFxUEp3S3VzRWdaTkdDMHZLaXJVeDZHOVo0enpNOHFqcVBlTldPS1ZBQjJPejk3YTZrOFgxMV90RHU1cDBmenlvaEVMZ0kwWkZ1T3JwSHU2X3ZoU3pZVm1YNlVESmlEOVMxUlVleUlzZkJwNmxOMnFQX0tCNjRHTzlXM0lwMjNfQ2RSVFFMeG1QRXRFZGtyRnM0ZHVjZHFWU0hzYl9wZDlUdXNIUmlqTExLSzY5VW93eW5mOEFrWVBBdWxybW9BSGNtVlRGOFhzeTEtOGZKNGxERnE3Vm9HN25zNGxPTkVJNVdxdFdMMlRYcGJLVmhDVURoZjdnamRhbGw2eHlVSFMxdU5vQUJRWUIzUG9jaDlpVzN3RlRQVXYyRkJfQUZGTC1XNkxiUjVpX1B0R09WZ0pfVG5WczluaW54RUE5YmNLbHZsOHUyRVdfZGU2cW1PdUZadmh4eTRQNlZsQ1puRmc0MF9RRE5hVnJ4UUFWM3NEYmNIQjRUQVV6YS0yNGhBdGJmSlJMLW5salU0WmhyZ2I3ZGx3NWVHWDc4Q0gzVEJBLVZrdUgza1hkUkktbmd0dEVQQm5DXy1xQS1kR0xEVXBkWXRnZFlGbWxxQnZIRVF6dlJwMXA0cEFBbGN6cmZadXBvN1kxMXM2Z2JhdWZBSXgxU1RxUzhWQjhQN1FSd3R0Q1hOVjlXc28wVGtaWkpWb3dsT0p6azlGRzgzNGhzNTFieGdDQnBQUElVYzZuS1piMTE2cVNtYkVQLU1wUVJUZ1VkazdocmpmTW1OaElLazZXdG5IbVhTZE1XX0dUTTNvMjl4bzZiMzFpNmNzRlJaSzV5Qm1FWGU1X2lFR1dJaEhJR3dYN1FoTEtHdUV3eHpNVmRsX1pVMUxkRVFtanlvQml4Sjdld3JjX0hhaG1MZGRnRUNfSHpzUm5SNFQ0TG1nMmdBRUh6emNDM3pHZFdocUFOWHBYWUVNeVh2YnZSejBINVNPb0Y4bWJMNzI5TGhheGRfbUFMc1pmY054dlQ2dVRmWnJWTEdXVHJBOUZka3ZvV1NyYkdSNmJlX0RZaGdCQ2hiZ3ZENHM3NE1UOVg4UWlqbFFjY3dmbDZfUTJMUGhQWUN6OWJzNzZQQkxVQ3FqOVlORnBOOTZvZFlic2duUVJmTTlkVXl3ZG5WUTFEVkhOcXZRLW1HLTlVbklyb3AxbjRGQ1FFbTRjdXpkQ2RCVzAySE55V1MwdTQySVFLdzZQa0JnMmpYU2xxaTRBNW1qUlBxU1lUdkpGZVp3ZmlmSkxMYVlzRE51MVlHT0h4NVVQa1c5SktOSmpub09vbGhremlieE82TWtKQUdrSDIyYlBnSFo3LXdxM3doYl8yOGxBWTF1QldVdVIwamNDMEJyMEpBay5nZ3RvOHFsd2lQRUpKelJmR296YVhNczJwUGszTFlkWmFVZ0JMNXdVaGNJ"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bc1143/21a6f14453484546b562671ce7af8a2d''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 409 + message: Conflict +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuaEN3dFVmUjlNb1R2WTBKUzUwSkFHQlE3Tk9WZGxMeXVmQ1ZpVFZvTV8wN0FTdFFhaTNDYU83cEdRQk56eDVEV29ISllic3Z4OTdSSTNDSnNvNmdTRnJjZXdEdURmaVNQT3hnUGFDZVd5T3BKaDBCRTdqZmF3WUVSTlZfOU82R2JrZHd4aGN6dnhlbFphNlhLOHV0QXoyZGpfY0w5TUdyOGNCYWVZR1FnNzhCOVV4UWFnX3lwX3diNUN2YTdZbDVXendNY1p3MHpSZjNQWHZsWDdzcVRJQ3FZMDdYZ01SNGVFUF9QUUNBZE9LT1lNbjR1Njl6dk1Wa1ktQy1aRzRZb3IwcERVZGlEa182NlNMXzdUZW9OY3JPUV9uczRCek9uc3lIRVZpTXZYOVlYaGtUaVMxSkxmOU5xVWlhdG05R3QyZHdoVlA2Q2J3MTJaYWR3cFJUZldRLlFvclpsRDJDVk93ekZreTNMNVBIN2cubDgzNXFkbGxBMmthcUs0Q1k1Z2EtWXBManhva19mZVJrMkNmTklRbjJPSEFkYnVlZGVyOTByMWEtNGxjdzh4QWZ2ZzJKRU11cUNxWVVtalVuRXdPVUVGLVUtWG5NTENDaHZOX0F2bjBfV3VDcjRkSUdhbXlycnFFMHlkN0N5bW5KTXdIWTMxSHZINUt4UE03QTNLREoyVmljZ3VxTVhqTU9Wa1JjQ0hEUE9rT2VaSDhjX1h6Z2g3N2hGeEdReXpZMElnamNPNlZlRUxvdUxrSTVicXZsUl85dk1XdWlYX2Y0dEJSVmNxOE85QUhib1BRZllrMXNXdFJoSnpJczFMV0I1Nktrd1NJREd3cHQtMmNOZC1fbGdVY0hQNnU0YnlKY2VQRDVxYVl0S3pTWFFFVTZiSlpmdHk2ZU1uTWk3VUxIUHVOY1FzbDVUcXZQMDNISkNPQWloSTJpeUhtTklxWmtaM1dGR0tvUHN0VGNjWHJzY1ZCUFlCTGxxLTVnRDMwamxSOUIteTE5UlNMeUZ6a3Uyc0lWTzZUT0lzTEhTQWMyX0FrR0dCcnRkRGVWdHBmY195akdaWE0zQW9FS3BxMWlyZkdVaWZuNTVvejJIWFJ6djJNcDlJNTVDZDloa245T3E5Yjh3SU94Zk0zaXBQWlFmeDlYQlJNRjFIcGhzNHlnbEo5MW5IUGJiLUdpMjg2bEtGMFV5M0czMmk1SDB0cXItb0JJVWVCLWx1UHZvTnlVQnZzQnBNRHdqQXEtR015X3Y2OWVNeEFiazJiY0pEMW1LTUJpOWRJUF9HR3VxdFVCU0pzOXVJOFB4OHcwUEM0cmJqcFh6V1g3WG5ISVJqbjRuNnZ5eXdiTEJoWDRUaGRZVnVIQ3VtQjFJc1ZGeEhWZ3lvNDl1ZjhQTkduMVljQ3BiSGZId0F5cjRNS0FIMkhGVHo2SmVyYWxsRFF2ZnFseHQ2LWlieG9iMWkzSmVFV1Z5VXZiYno2dk5UOUtXb0ZRaG9pdFltYmJTeVM0ZkRrdG1udXp1OWFkUzB3ZDNvRmw4SE9teWIzemNzNklIZUZwM2tsbVFtbDhYcllhazN3M0t6enFtclpZYXcwakd5NkZhLVJMYXpnYkgwcFB3SlcycEF1MG9zQmV2Z1BwcGdBODJCaFNrYnotSlpIakYyNElRWVRkaWMycmlzYXluckZzVEw5NkpFT3NUaVdjdjlSOUdCME1tdm92dEd2a3U5a05yWmE1ekFKZXQ4Mlo4Ujhfd3lOaXFCZTNIS0pQR2N2QVBGdkFKTnpDTjhTTDIxZWYyN2RvMHIwLUtyTWlBRGd1dXB5dWxydXZ1bThRbG5WUzFKU203Mkh5NG1ValFHcENOTG1WUk5uZENGak9PRnpTNm50Q1NES3d0S2JEXzBpQ09BRnlyTkxwSHBIdGFrVlJHNzcwM0g4VTBYN05DbWg2TzM4WFF6R19UU2tKYmpUUkNJTXgzMXdoOVBMaUpvdmZDR0syMjQtRkNjZVhwQ3pQOEhtUjdPM3pBWnUtbXp1VFpaZndZUmZEdENZdVhqOU5DRkctV016bFRpSlBFSGdXU2JTc0FVQThCWTc5SXNUaWdWMzh0OS03RUl6RnU5MVpKMVBfOFFoY0JOVXRRYi05d2Jxem5YSFB4N2VDNDF5OWlhLURkNkkwWlNXa2xmOUUzNjVrTHFPdVRyWWtZeUVkU3VJbWxDc0NKM2NDazdtMW1RMnFXOHAyMFNoU2hkU0JVOFZreTZwcDJNc3lWTmR3X0RmVmFlcmtSY1JGTUxDNlVNYUJzeVJPRzduZ3hKeXBwYWhvRU5OS0tqNVl1YzZNbktQUFFXVmFYMk92dHFkVmNJUDFzSXQwbjVPM2ExZnZsV1MzQ2ZZOUt6UVV3X1NfWDh4bi04SUpwVWI5N0wyeGxsUXpNWHdjRjZHUDZBLWpRVXRlbmpfQlYzUGtZUVNtakVSOXNKa2tOZ3JrcXRfcjRCZ0tiR2owWVB0LW5WWGUtVEhyTGJMV2NPdFZ5a0JPX09GMmFUSWZVSENSTWl1eTRENmdabXkzUUM3QkxsN1RxOFhGd1VxcjZuWGZtV29XWHg2OWk2Tk5wQ0FZaFozdjJ4VXRGY2tEelB3QWowbWo2bFR1VWZYTVpnaS16T1B4TGc2c3lDTTROdnV1dGFNQ09TV0RIT1VlWnh4dXQzY0VFUkE1MUxaa2xGLXQ4SkhNbXVDNmNnVEV2dm9XS3l2bTNCdTluSW1nVGpCS2szMmFmd2NNZ3llTzJKRDg1LTh0WVJOZC1wVFRDZUtLQ2ZDMkpLSEpIS3FxLWp4QXZYakV3UHVGaWYxZ1MtdU5NLXBFbkVtZU9WTnJoT2xjdUVMbm5YX3lVc2tfR2VEcXpRNEJPd2dLckVZaFVVcDJTbnBFLU5RdzhkY1hGTGk5WWRJclVlbTd4SFdocC1kdklZQWRCLVZRUzA2Zk1pV2R1UU9KLTJqbFJja201Q1pfcVpEQzF2Rk0yVThveVlHVk1oaGpKYUJjcmlMM0hTd3V6a25KSXNoYlRvUjNWYWFqLV9aUEZHYnl1eHpxMTVNZ091ZXNxQ0tDY0YwRDRJb2hwTVhxRDlPQlNyTTF6NDJCYURxcG5PMzUwR2gxRUVyWElnOXJMVElWNUFfZkJ6UUZYaVdNSzhRaFJ0RFFaRFVtYWp2MHllUVV6TVgyOWtHdkN6UEtvcFB2ZUYwaGpiZTlNTm9MNlJSOU91aEMxYVNKVmRsdWxQdzlqUDlTMVRKSEwtTEEtM0Q0SVhmWjdWSVFxUEp3S3VzRWdaTkdDMHZLaXJVeDZHOVo0enpNOHFqcVBlTldPS1ZBQjJPejk3YTZrOFgxMV90RHU1cDBmenlvaEVMZ0kwWkZ1T3JwSHU2X3ZoU3pZVm1YNlVESmlEOVMxUlVleUlzZkJwNmxOMnFQX0tCNjRHTzlXM0lwMjNfQ2RSVFFMeG1QRXRFZGtyRnM0ZHVjZHFWU0hzYl9wZDlUdXNIUmlqTExLSzY5VW93eW5mOEFrWVBBdWxybW9BSGNtVlRGOFhzeTEtOGZKNGxERnE3Vm9HN25zNGxPTkVJNVdxdFdMMlRYcGJLVmhDVURoZjdnamRhbGw2eHlVSFMxdU5vQUJRWUIzUG9jaDlpVzN3RlRQVXYyRkJfQUZGTC1XNkxiUjVpX1B0R09WZ0pfVG5WczluaW54RUE5YmNLbHZsOHUyRVdfZGU2cW1PdUZadmh4eTRQNlZsQ1puRmc0MF9RRE5hVnJ4UUFWM3NEYmNIQjRUQVV6YS0yNGhBdGJmSlJMLW5salU0WmhyZ2I3ZGx3NWVHWDc4Q0gzVEJBLVZrdUgza1hkUkktbmd0dEVQQm5DXy1xQS1kR0xEVXBkWXRnZFlGbWxxQnZIRVF6dlJwMXA0cEFBbGN6cmZadXBvN1kxMXM2Z2JhdWZBSXgxU1RxUzhWQjhQN1FSd3R0Q1hOVjlXc28wVGtaWkpWb3dsT0p6azlGRzgzNGhzNTFieGdDQnBQUElVYzZuS1piMTE2cVNtYkVQLU1wUVJUZ1VkazdocmpmTW1OaElLazZXdG5IbVhTZE1XX0dUTTNvMjl4bzZiMzFpNmNzRlJaSzV5Qm1FWGU1X2lFR1dJaEhJR3dYN1FoTEtHdUV3eHpNVmRsX1pVMUxkRVFtanlvQml4Sjdld3JjX0hhaG1MZGRnRUNfSHpzUm5SNFQ0TG1nMmdBRUh6emNDM3pHZFdocUFOWHBYWUVNeVh2YnZSejBINVNPb0Y4bWJMNzI5TGhheGRfbUFMc1pmY054dlQ2dVRmWnJWTEdXVHJBOUZka3ZvV1NyYkdSNmJlX0RZaGdCQ2hiZ3ZENHM3NE1UOVg4UWlqbFFjY3dmbDZfUTJMUGhQWUN6OWJzNzZQQkxVQ3FqOVlORnBOOTZvZFlic2duUVJmTTlkVXl3ZG5WUTFEVkhOcXZRLW1HLTlVbklyb3AxbjRGQ1FFbTRjdXpkQ2RCVzAySE55V1MwdTQySVFLdzZQa0JnMmpYU2xxaTRBNW1qUlBxU1lUdkpGZVp3ZmlmSkxMYVlzRE51MVlHT0h4NVVQa1c5SktOSmpub09vbGhremlieE82TWtKQUdrSDIyYlBnSFo3LXdxM3doYl8yOGxBWTF1QldVdVIwamNDMEJyMEpBay5nZ3RvOHFsd2lQRUpKelJmR296YVhNczJwUGszTFlkWmFVZ0JMNXdVaGNJ"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bc1143/21a6f14453484546b562671ce7af8a2d''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 409 + message: Conflict +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuaEN3dFVmUjlNb1R2WTBKUzUwSkFHQlE3Tk9WZGxMeXVmQ1ZpVFZvTV8wN0FTdFFhaTNDYU83cEdRQk56eDVEV29ISllic3Z4OTdSSTNDSnNvNmdTRnJjZXdEdURmaVNQT3hnUGFDZVd5T3BKaDBCRTdqZmF3WUVSTlZfOU82R2JrZHd4aGN6dnhlbFphNlhLOHV0QXoyZGpfY0w5TUdyOGNCYWVZR1FnNzhCOVV4UWFnX3lwX3diNUN2YTdZbDVXendNY1p3MHpSZjNQWHZsWDdzcVRJQ3FZMDdYZ01SNGVFUF9QUUNBZE9LT1lNbjR1Njl6dk1Wa1ktQy1aRzRZb3IwcERVZGlEa182NlNMXzdUZW9OY3JPUV9uczRCek9uc3lIRVZpTXZYOVlYaGtUaVMxSkxmOU5xVWlhdG05R3QyZHdoVlA2Q2J3MTJaYWR3cFJUZldRLlFvclpsRDJDVk93ekZreTNMNVBIN2cubDgzNXFkbGxBMmthcUs0Q1k1Z2EtWXBManhva19mZVJrMkNmTklRbjJPSEFkYnVlZGVyOTByMWEtNGxjdzh4QWZ2ZzJKRU11cUNxWVVtalVuRXdPVUVGLVUtWG5NTENDaHZOX0F2bjBfV3VDcjRkSUdhbXlycnFFMHlkN0N5bW5KTXdIWTMxSHZINUt4UE03QTNLREoyVmljZ3VxTVhqTU9Wa1JjQ0hEUE9rT2VaSDhjX1h6Z2g3N2hGeEdReXpZMElnamNPNlZlRUxvdUxrSTVicXZsUl85dk1XdWlYX2Y0dEJSVmNxOE85QUhib1BRZllrMXNXdFJoSnpJczFMV0I1Nktrd1NJREd3cHQtMmNOZC1fbGdVY0hQNnU0YnlKY2VQRDVxYVl0S3pTWFFFVTZiSlpmdHk2ZU1uTWk3VUxIUHVOY1FzbDVUcXZQMDNISkNPQWloSTJpeUhtTklxWmtaM1dGR0tvUHN0VGNjWHJzY1ZCUFlCTGxxLTVnRDMwamxSOUIteTE5UlNMeUZ6a3Uyc0lWTzZUT0lzTEhTQWMyX0FrR0dCcnRkRGVWdHBmY195akdaWE0zQW9FS3BxMWlyZkdVaWZuNTVvejJIWFJ6djJNcDlJNTVDZDloa245T3E5Yjh3SU94Zk0zaXBQWlFmeDlYQlJNRjFIcGhzNHlnbEo5MW5IUGJiLUdpMjg2bEtGMFV5M0czMmk1SDB0cXItb0JJVWVCLWx1UHZvTnlVQnZzQnBNRHdqQXEtR015X3Y2OWVNeEFiazJiY0pEMW1LTUJpOWRJUF9HR3VxdFVCU0pzOXVJOFB4OHcwUEM0cmJqcFh6V1g3WG5ISVJqbjRuNnZ5eXdiTEJoWDRUaGRZVnVIQ3VtQjFJc1ZGeEhWZ3lvNDl1ZjhQTkduMVljQ3BiSGZId0F5cjRNS0FIMkhGVHo2SmVyYWxsRFF2ZnFseHQ2LWlieG9iMWkzSmVFV1Z5VXZiYno2dk5UOUtXb0ZRaG9pdFltYmJTeVM0ZkRrdG1udXp1OWFkUzB3ZDNvRmw4SE9teWIzemNzNklIZUZwM2tsbVFtbDhYcllhazN3M0t6enFtclpZYXcwakd5NkZhLVJMYXpnYkgwcFB3SlcycEF1MG9zQmV2Z1BwcGdBODJCaFNrYnotSlpIakYyNElRWVRkaWMycmlzYXluckZzVEw5NkpFT3NUaVdjdjlSOUdCME1tdm92dEd2a3U5a05yWmE1ekFKZXQ4Mlo4Ujhfd3lOaXFCZTNIS0pQR2N2QVBGdkFKTnpDTjhTTDIxZWYyN2RvMHIwLUtyTWlBRGd1dXB5dWxydXZ1bThRbG5WUzFKU203Mkh5NG1ValFHcENOTG1WUk5uZENGak9PRnpTNm50Q1NES3d0S2JEXzBpQ09BRnlyTkxwSHBIdGFrVlJHNzcwM0g4VTBYN05DbWg2TzM4WFF6R19UU2tKYmpUUkNJTXgzMXdoOVBMaUpvdmZDR0syMjQtRkNjZVhwQ3pQOEhtUjdPM3pBWnUtbXp1VFpaZndZUmZEdENZdVhqOU5DRkctV016bFRpSlBFSGdXU2JTc0FVQThCWTc5SXNUaWdWMzh0OS03RUl6RnU5MVpKMVBfOFFoY0JOVXRRYi05d2Jxem5YSFB4N2VDNDF5OWlhLURkNkkwWlNXa2xmOUUzNjVrTHFPdVRyWWtZeUVkU3VJbWxDc0NKM2NDazdtMW1RMnFXOHAyMFNoU2hkU0JVOFZreTZwcDJNc3lWTmR3X0RmVmFlcmtSY1JGTUxDNlVNYUJzeVJPRzduZ3hKeXBwYWhvRU5OS0tqNVl1YzZNbktQUFFXVmFYMk92dHFkVmNJUDFzSXQwbjVPM2ExZnZsV1MzQ2ZZOUt6UVV3X1NfWDh4bi04SUpwVWI5N0wyeGxsUXpNWHdjRjZHUDZBLWpRVXRlbmpfQlYzUGtZUVNtakVSOXNKa2tOZ3JrcXRfcjRCZ0tiR2owWVB0LW5WWGUtVEhyTGJMV2NPdFZ5a0JPX09GMmFUSWZVSENSTWl1eTRENmdabXkzUUM3QkxsN1RxOFhGd1VxcjZuWGZtV29XWHg2OWk2Tk5wQ0FZaFozdjJ4VXRGY2tEelB3QWowbWo2bFR1VWZYTVpnaS16T1B4TGc2c3lDTTROdnV1dGFNQ09TV0RIT1VlWnh4dXQzY0VFUkE1MUxaa2xGLXQ4SkhNbXVDNmNnVEV2dm9XS3l2bTNCdTluSW1nVGpCS2szMmFmd2NNZ3llTzJKRDg1LTh0WVJOZC1wVFRDZUtLQ2ZDMkpLSEpIS3FxLWp4QXZYakV3UHVGaWYxZ1MtdU5NLXBFbkVtZU9WTnJoT2xjdUVMbm5YX3lVc2tfR2VEcXpRNEJPd2dLckVZaFVVcDJTbnBFLU5RdzhkY1hGTGk5WWRJclVlbTd4SFdocC1kdklZQWRCLVZRUzA2Zk1pV2R1UU9KLTJqbFJja201Q1pfcVpEQzF2Rk0yVThveVlHVk1oaGpKYUJjcmlMM0hTd3V6a25KSXNoYlRvUjNWYWFqLV9aUEZHYnl1eHpxMTVNZ091ZXNxQ0tDY0YwRDRJb2hwTVhxRDlPQlNyTTF6NDJCYURxcG5PMzUwR2gxRUVyWElnOXJMVElWNUFfZkJ6UUZYaVdNSzhRaFJ0RFFaRFVtYWp2MHllUVV6TVgyOWtHdkN6UEtvcFB2ZUYwaGpiZTlNTm9MNlJSOU91aEMxYVNKVmRsdWxQdzlqUDlTMVRKSEwtTEEtM0Q0SVhmWjdWSVFxUEp3S3VzRWdaTkdDMHZLaXJVeDZHOVo0enpNOHFqcVBlTldPS1ZBQjJPejk3YTZrOFgxMV90RHU1cDBmenlvaEVMZ0kwWkZ1T3JwSHU2X3ZoU3pZVm1YNlVESmlEOVMxUlVleUlzZkJwNmxOMnFQX0tCNjRHTzlXM0lwMjNfQ2RSVFFMeG1QRXRFZGtyRnM0ZHVjZHFWU0hzYl9wZDlUdXNIUmlqTExLSzY5VW93eW5mOEFrWVBBdWxybW9BSGNtVlRGOFhzeTEtOGZKNGxERnE3Vm9HN25zNGxPTkVJNVdxdFdMMlRYcGJLVmhDVURoZjdnamRhbGw2eHlVSFMxdU5vQUJRWUIzUG9jaDlpVzN3RlRQVXYyRkJfQUZGTC1XNkxiUjVpX1B0R09WZ0pfVG5WczluaW54RUE5YmNLbHZsOHUyRVdfZGU2cW1PdUZadmh4eTRQNlZsQ1puRmc0MF9RRE5hVnJ4UUFWM3NEYmNIQjRUQVV6YS0yNGhBdGJmSlJMLW5salU0WmhyZ2I3ZGx3NWVHWDc4Q0gzVEJBLVZrdUgza1hkUkktbmd0dEVQQm5DXy1xQS1kR0xEVXBkWXRnZFlGbWxxQnZIRVF6dlJwMXA0cEFBbGN6cmZadXBvN1kxMXM2Z2JhdWZBSXgxU1RxUzhWQjhQN1FSd3R0Q1hOVjlXc28wVGtaWkpWb3dsT0p6azlGRzgzNGhzNTFieGdDQnBQUElVYzZuS1piMTE2cVNtYkVQLU1wUVJUZ1VkazdocmpmTW1OaElLazZXdG5IbVhTZE1XX0dUTTNvMjl4bzZiMzFpNmNzRlJaSzV5Qm1FWGU1X2lFR1dJaEhJR3dYN1FoTEtHdUV3eHpNVmRsX1pVMUxkRVFtanlvQml4Sjdld3JjX0hhaG1MZGRnRUNfSHpzUm5SNFQ0TG1nMmdBRUh6emNDM3pHZFdocUFOWHBYWUVNeVh2YnZSejBINVNPb0Y4bWJMNzI5TGhheGRfbUFMc1pmY054dlQ2dVRmWnJWTEdXVHJBOUZka3ZvV1NyYkdSNmJlX0RZaGdCQ2hiZ3ZENHM3NE1UOVg4UWlqbFFjY3dmbDZfUTJMUGhQWUN6OWJzNzZQQkxVQ3FqOVlORnBOOTZvZFlic2duUVJmTTlkVXl3ZG5WUTFEVkhOcXZRLW1HLTlVbklyb3AxbjRGQ1FFbTRjdXpkQ2RCVzAySE55V1MwdTQySVFLdzZQa0JnMmpYU2xxaTRBNW1qUlBxU1lUdkpGZVp3ZmlmSkxMYVlzRE51MVlHT0h4NVVQa1c5SktOSmpub09vbGhremlieE82TWtKQUdrSDIyYlBnSFo3LXdxM3doYl8yOGxBWTF1QldVdVIwamNDMEJyMEpBay5nZ3RvOHFsd2lQRUpKelJmR296YVhNczJwUGszTFlkWmFVZ0JMNXdVaGNJ"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the secret ''https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bc1143/21a6f14453484546b562671ce7af8a2d''. + This can happen if either: a second secret with the same name was created + after the first secret was deleted; thus trying to restore a secret whose + name is already in use. To fix this, rename the second secret to something + else so that the restore works. The second probable cause of this exception + is when multiple operations are performed in parallel against the secret. + To avoid this error, perform operations against a secret in a sequential manner."}}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 409 + message: Conflict +- request: + body: '{"value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuaEN3dFVmUjlNb1R2WTBKUzUwSkFHQlE3Tk9WZGxMeXVmQ1ZpVFZvTV8wN0FTdFFhaTNDYU83cEdRQk56eDVEV29ISllic3Z4OTdSSTNDSnNvNmdTRnJjZXdEdURmaVNQT3hnUGFDZVd5T3BKaDBCRTdqZmF3WUVSTlZfOU82R2JrZHd4aGN6dnhlbFphNlhLOHV0QXoyZGpfY0w5TUdyOGNCYWVZR1FnNzhCOVV4UWFnX3lwX3diNUN2YTdZbDVXendNY1p3MHpSZjNQWHZsWDdzcVRJQ3FZMDdYZ01SNGVFUF9QUUNBZE9LT1lNbjR1Njl6dk1Wa1ktQy1aRzRZb3IwcERVZGlEa182NlNMXzdUZW9OY3JPUV9uczRCek9uc3lIRVZpTXZYOVlYaGtUaVMxSkxmOU5xVWlhdG05R3QyZHdoVlA2Q2J3MTJaYWR3cFJUZldRLlFvclpsRDJDVk93ekZreTNMNVBIN2cubDgzNXFkbGxBMmthcUs0Q1k1Z2EtWXBManhva19mZVJrMkNmTklRbjJPSEFkYnVlZGVyOTByMWEtNGxjdzh4QWZ2ZzJKRU11cUNxWVVtalVuRXdPVUVGLVUtWG5NTENDaHZOX0F2bjBfV3VDcjRkSUdhbXlycnFFMHlkN0N5bW5KTXdIWTMxSHZINUt4UE03QTNLREoyVmljZ3VxTVhqTU9Wa1JjQ0hEUE9rT2VaSDhjX1h6Z2g3N2hGeEdReXpZMElnamNPNlZlRUxvdUxrSTVicXZsUl85dk1XdWlYX2Y0dEJSVmNxOE85QUhib1BRZllrMXNXdFJoSnpJczFMV0I1Nktrd1NJREd3cHQtMmNOZC1fbGdVY0hQNnU0YnlKY2VQRDVxYVl0S3pTWFFFVTZiSlpmdHk2ZU1uTWk3VUxIUHVOY1FzbDVUcXZQMDNISkNPQWloSTJpeUhtTklxWmtaM1dGR0tvUHN0VGNjWHJzY1ZCUFlCTGxxLTVnRDMwamxSOUIteTE5UlNMeUZ6a3Uyc0lWTzZUT0lzTEhTQWMyX0FrR0dCcnRkRGVWdHBmY195akdaWE0zQW9FS3BxMWlyZkdVaWZuNTVvejJIWFJ6djJNcDlJNTVDZDloa245T3E5Yjh3SU94Zk0zaXBQWlFmeDlYQlJNRjFIcGhzNHlnbEo5MW5IUGJiLUdpMjg2bEtGMFV5M0czMmk1SDB0cXItb0JJVWVCLWx1UHZvTnlVQnZzQnBNRHdqQXEtR015X3Y2OWVNeEFiazJiY0pEMW1LTUJpOWRJUF9HR3VxdFVCU0pzOXVJOFB4OHcwUEM0cmJqcFh6V1g3WG5ISVJqbjRuNnZ5eXdiTEJoWDRUaGRZVnVIQ3VtQjFJc1ZGeEhWZ3lvNDl1ZjhQTkduMVljQ3BiSGZId0F5cjRNS0FIMkhGVHo2SmVyYWxsRFF2ZnFseHQ2LWlieG9iMWkzSmVFV1Z5VXZiYno2dk5UOUtXb0ZRaG9pdFltYmJTeVM0ZkRrdG1udXp1OWFkUzB3ZDNvRmw4SE9teWIzemNzNklIZUZwM2tsbVFtbDhYcllhazN3M0t6enFtclpZYXcwakd5NkZhLVJMYXpnYkgwcFB3SlcycEF1MG9zQmV2Z1BwcGdBODJCaFNrYnotSlpIakYyNElRWVRkaWMycmlzYXluckZzVEw5NkpFT3NUaVdjdjlSOUdCME1tdm92dEd2a3U5a05yWmE1ekFKZXQ4Mlo4Ujhfd3lOaXFCZTNIS0pQR2N2QVBGdkFKTnpDTjhTTDIxZWYyN2RvMHIwLUtyTWlBRGd1dXB5dWxydXZ1bThRbG5WUzFKU203Mkh5NG1ValFHcENOTG1WUk5uZENGak9PRnpTNm50Q1NES3d0S2JEXzBpQ09BRnlyTkxwSHBIdGFrVlJHNzcwM0g4VTBYN05DbWg2TzM4WFF6R19UU2tKYmpUUkNJTXgzMXdoOVBMaUpvdmZDR0syMjQtRkNjZVhwQ3pQOEhtUjdPM3pBWnUtbXp1VFpaZndZUmZEdENZdVhqOU5DRkctV016bFRpSlBFSGdXU2JTc0FVQThCWTc5SXNUaWdWMzh0OS03RUl6RnU5MVpKMVBfOFFoY0JOVXRRYi05d2Jxem5YSFB4N2VDNDF5OWlhLURkNkkwWlNXa2xmOUUzNjVrTHFPdVRyWWtZeUVkU3VJbWxDc0NKM2NDazdtMW1RMnFXOHAyMFNoU2hkU0JVOFZreTZwcDJNc3lWTmR3X0RmVmFlcmtSY1JGTUxDNlVNYUJzeVJPRzduZ3hKeXBwYWhvRU5OS0tqNVl1YzZNbktQUFFXVmFYMk92dHFkVmNJUDFzSXQwbjVPM2ExZnZsV1MzQ2ZZOUt6UVV3X1NfWDh4bi04SUpwVWI5N0wyeGxsUXpNWHdjRjZHUDZBLWpRVXRlbmpfQlYzUGtZUVNtakVSOXNKa2tOZ3JrcXRfcjRCZ0tiR2owWVB0LW5WWGUtVEhyTGJMV2NPdFZ5a0JPX09GMmFUSWZVSENSTWl1eTRENmdabXkzUUM3QkxsN1RxOFhGd1VxcjZuWGZtV29XWHg2OWk2Tk5wQ0FZaFozdjJ4VXRGY2tEelB3QWowbWo2bFR1VWZYTVpnaS16T1B4TGc2c3lDTTROdnV1dGFNQ09TV0RIT1VlWnh4dXQzY0VFUkE1MUxaa2xGLXQ4SkhNbXVDNmNnVEV2dm9XS3l2bTNCdTluSW1nVGpCS2szMmFmd2NNZ3llTzJKRDg1LTh0WVJOZC1wVFRDZUtLQ2ZDMkpLSEpIS3FxLWp4QXZYakV3UHVGaWYxZ1MtdU5NLXBFbkVtZU9WTnJoT2xjdUVMbm5YX3lVc2tfR2VEcXpRNEJPd2dLckVZaFVVcDJTbnBFLU5RdzhkY1hGTGk5WWRJclVlbTd4SFdocC1kdklZQWRCLVZRUzA2Zk1pV2R1UU9KLTJqbFJja201Q1pfcVpEQzF2Rk0yVThveVlHVk1oaGpKYUJjcmlMM0hTd3V6a25KSXNoYlRvUjNWYWFqLV9aUEZHYnl1eHpxMTVNZ091ZXNxQ0tDY0YwRDRJb2hwTVhxRDlPQlNyTTF6NDJCYURxcG5PMzUwR2gxRUVyWElnOXJMVElWNUFfZkJ6UUZYaVdNSzhRaFJ0RFFaRFVtYWp2MHllUVV6TVgyOWtHdkN6UEtvcFB2ZUYwaGpiZTlNTm9MNlJSOU91aEMxYVNKVmRsdWxQdzlqUDlTMVRKSEwtTEEtM0Q0SVhmWjdWSVFxUEp3S3VzRWdaTkdDMHZLaXJVeDZHOVo0enpNOHFqcVBlTldPS1ZBQjJPejk3YTZrOFgxMV90RHU1cDBmenlvaEVMZ0kwWkZ1T3JwSHU2X3ZoU3pZVm1YNlVESmlEOVMxUlVleUlzZkJwNmxOMnFQX0tCNjRHTzlXM0lwMjNfQ2RSVFFMeG1QRXRFZGtyRnM0ZHVjZHFWU0hzYl9wZDlUdXNIUmlqTExLSzY5VW93eW5mOEFrWVBBdWxybW9BSGNtVlRGOFhzeTEtOGZKNGxERnE3Vm9HN25zNGxPTkVJNVdxdFdMMlRYcGJLVmhDVURoZjdnamRhbGw2eHlVSFMxdU5vQUJRWUIzUG9jaDlpVzN3RlRQVXYyRkJfQUZGTC1XNkxiUjVpX1B0R09WZ0pfVG5WczluaW54RUE5YmNLbHZsOHUyRVdfZGU2cW1PdUZadmh4eTRQNlZsQ1puRmc0MF9RRE5hVnJ4UUFWM3NEYmNIQjRUQVV6YS0yNGhBdGJmSlJMLW5salU0WmhyZ2I3ZGx3NWVHWDc4Q0gzVEJBLVZrdUgza1hkUkktbmd0dEVQQm5DXy1xQS1kR0xEVXBkWXRnZFlGbWxxQnZIRVF6dlJwMXA0cEFBbGN6cmZadXBvN1kxMXM2Z2JhdWZBSXgxU1RxUzhWQjhQN1FSd3R0Q1hOVjlXc28wVGtaWkpWb3dsT0p6azlGRzgzNGhzNTFieGdDQnBQUElVYzZuS1piMTE2cVNtYkVQLU1wUVJUZ1VkazdocmpmTW1OaElLazZXdG5IbVhTZE1XX0dUTTNvMjl4bzZiMzFpNmNzRlJaSzV5Qm1FWGU1X2lFR1dJaEhJR3dYN1FoTEtHdUV3eHpNVmRsX1pVMUxkRVFtanlvQml4Sjdld3JjX0hhaG1MZGRnRUNfSHpzUm5SNFQ0TG1nMmdBRUh6emNDM3pHZFdocUFOWHBYWUVNeVh2YnZSejBINVNPb0Y4bWJMNzI5TGhheGRfbUFMc1pmY054dlQ2dVRmWnJWTEdXVHJBOUZka3ZvV1NyYkdSNmJlX0RZaGdCQ2hiZ3ZENHM3NE1UOVg4UWlqbFFjY3dmbDZfUTJMUGhQWUN6OWJzNzZQQkxVQ3FqOVlORnBOOTZvZFlic2duUVJmTTlkVXl3ZG5WUTFEVkhOcXZRLW1HLTlVbklyb3AxbjRGQ1FFbTRjdXpkQ2RCVzAySE55V1MwdTQySVFLdzZQa0JnMmpYU2xxaTRBNW1qUlBxU1lUdkpGZVp3ZmlmSkxMYVlzRE51MVlHT0h4NVVQa1c5SktOSmpub09vbGhremlieE82TWtKQUdrSDIyYlBnSFo3LXdxM3doYl8yOGxBWTF1QldVdVIwamNDMEJyMEpBay5nZ3RvOHFsd2lQRUpKelJmR296YVhNczJwUGszTFlkWmFVZ0JMNXdVaGNJ"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '4957' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/secrets/restore?api-version=7.1 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bc1143/21a6f14453484546b562671ce7af8a2d","attributes":{"enabled":true,"created":1618954732,"updated":1618954732,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '244' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_deleted_secrets.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_deleted_secrets.yaml deleted file mode 100644 index 0f6262376475..000000000000 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_deleted_secrets.yaml +++ /dev/null @@ -1,2999 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer - or PoP token."}}' - headers: - cache-control: - - no-cache - content-length: - - '87' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:27:58 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - www-authenticate: - - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", - resource="https://vault.azure.net" - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 401 - message: Unauthorized -- request: - body: '{"value": "value0"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0ab6c128e?api-version=7.1 - response: - body: - string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0ab6c128e/cb78099aab444781bda3dea51e5ccc03","attributes":{"enabled":true,"created":1613676479,"updated":1613676479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '260' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:27:58 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"value": "value1"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1ab6c128e?api-version=7.1 - response: - body: - string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1ab6c128e/98eb12b9e5bc4ffba4b7d48845c1c70d","attributes":{"enabled":true,"created":1613676479,"updated":1613676479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '260' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:27:58 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"value": "value2"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2ab6c128e?api-version=7.1 - response: - body: - string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2ab6c128e/2f0ea9161cd94c989d117b8208652205","attributes":{"enabled":true,"created":1613676479,"updated":1613676479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '260' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:27:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"value": "value3"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3ab6c128e?api-version=7.1 - response: - body: - string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3ab6c128e/f2ca24011ca74e5ba3beb9aaeb58937c","attributes":{"enabled":true,"created":1613676479,"updated":1613676479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '260' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:27:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"value": "value4"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4ab6c128e?api-version=7.1 - response: - body: - string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4ab6c128e/8d20d2760a0a4d049eaaf8763eb78e57","attributes":{"enabled":true,"created":1613676479,"updated":1613676479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '260' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:27:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"value": "value5"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5ab6c128e?api-version=7.1 - response: - body: - string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5ab6c128e/443db981aed74b4aa5be368203ee1912","attributes":{"enabled":true,"created":1613676480,"updated":1613676480,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '260' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:27:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"value": "value6"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6ab6c128e?api-version=7.1 - response: - body: - string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6ab6c128e/aafa5ecf20d34ba98fc13ac12651101e","attributes":{"enabled":true,"created":1613676480,"updated":1613676480,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '260' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:27:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5ab6c128e?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5ab6c128e","deletedDate":1613676480,"scheduledPurgeDate":1621452480,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5ab6c128e/443db981aed74b4aa5be368203ee1912","attributes":{"enabled":true,"created":1613676480,"updated":1613676480,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:27:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:27:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:01 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:03 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:05 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:08 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:10 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:12 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:14 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:16 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5ab6c128e?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5ab6c128e","deletedDate":1613676480,"scheduledPurgeDate":1621452480,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5ab6c128e/443db981aed74b4aa5be368203ee1912","attributes":{"enabled":true,"created":1613676480,"updated":1613676480,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:18 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1ab6c128e?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1ab6c128e","deletedDate":1613676499,"scheduledPurgeDate":1621452499,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1ab6c128e/98eb12b9e5bc4ffba4b7d48845c1c70d","attributes":{"enabled":true,"created":1613676479,"updated":1613676479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:18 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:18 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:20 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:22 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:24 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:27 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:29 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1ab6c128e?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1ab6c128e","deletedDate":1613676499,"scheduledPurgeDate":1621452499,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1ab6c128e/98eb12b9e5bc4ffba4b7d48845c1c70d","attributes":{"enabled":true,"created":1613676479,"updated":1613676479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:31 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4ab6c128e?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4ab6c128e","deletedDate":1613676511,"scheduledPurgeDate":1621452511,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4ab6c128e/8d20d2760a0a4d049eaaf8763eb78e57","attributes":{"enabled":true,"created":1613676479,"updated":1613676479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:31 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:31 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:33 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:35 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:37 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:39 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:41 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4ab6c128e?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4ab6c128e","deletedDate":1613676511,"scheduledPurgeDate":1621452511,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4ab6c128e/8d20d2760a0a4d049eaaf8763eb78e57","attributes":{"enabled":true,"created":1613676479,"updated":1613676479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:43 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3ab6c128e?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3ab6c128e","deletedDate":1613676524,"scheduledPurgeDate":1621452524,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3ab6c128e/f2ca24011ca74e5ba3beb9aaeb58937c","attributes":{"enabled":true,"created":1613676479,"updated":1613676479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:43 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:43 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:45 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:47 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:49 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:51 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3ab6c128e?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3ab6c128e","deletedDate":1613676524,"scheduledPurgeDate":1621452524,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3ab6c128e/f2ca24011ca74e5ba3beb9aaeb58937c","attributes":{"enabled":true,"created":1613676479,"updated":1613676479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:53 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6ab6c128e?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6ab6c128e","deletedDate":1613676534,"scheduledPurgeDate":1621452534,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6ab6c128e/aafa5ecf20d34ba98fc13ac12651101e","attributes":{"enabled":true,"created":1613676480,"updated":1613676480,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:54 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:54 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:57 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:28:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:29:01 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:29:03 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:29:05 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6ab6c128e?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6ab6c128e","deletedDate":1613676534,"scheduledPurgeDate":1621452534,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6ab6c128e/aafa5ecf20d34ba98fc13ac12651101e","attributes":{"enabled":true,"created":1613676480,"updated":1613676480,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:29:07 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2ab6c128e?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2ab6c128e","deletedDate":1613676547,"scheduledPurgeDate":1621452547,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2ab6c128e/2f0ea9161cd94c989d117b8208652205","attributes":{"enabled":true,"created":1613676479,"updated":1613676479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:29:07 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:29:07 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:29:09 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:29:11 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:29:13 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:29:15 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:29:17 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2ab6c128e?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2ab6c128e","deletedDate":1613676547,"scheduledPurgeDate":1621452547,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2ab6c128e/2f0ea9161cd94c989d117b8208652205","attributes":{"enabled":true,"created":1613676479,"updated":1613676479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:29:19 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0ab6c128e?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0ab6c128e","deletedDate":1613676559,"scheduledPurgeDate":1621452559,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0ab6c128e/cb78099aab444781bda3dea51e5ccc03","attributes":{"enabled":true,"created":1613676479,"updated":1613676479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:29:19 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:29:19 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:29:21 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:29:23 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:29:25 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0ab6c128e?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0ab6c128e"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:29:28 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0ab6c128e?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0ab6c128e","deletedDate":1613676559,"scheduledPurgeDate":1621452559,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0ab6c128e/cb78099aab444781bda3dea51e5ccc03","attributes":{"enabled":true,"created":1613676479,"updated":1613676479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:29:30 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1 - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0ab6c128e","deletedDate":1613676559,"scheduledPurgeDate":1621452559,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0ab6c128e","attributes":{"enabled":true,"created":1613676479,"updated":1613676479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1ab6c128e","deletedDate":1613676499,"scheduledPurgeDate":1621452499,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1ab6c128e","attributes":{"enabled":true,"created":1613676479,"updated":1613676479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2ab6c128e","deletedDate":1613676547,"scheduledPurgeDate":1621452547,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2ab6c128e","attributes":{"enabled":true,"created":1613676479,"updated":1613676479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3ab6c128e","deletedDate":1613676524,"scheduledPurgeDate":1621452524,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3ab6c128e","attributes":{"enabled":true,"created":1613676479,"updated":1613676479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4ab6c128e","deletedDate":1613676511,"scheduledPurgeDate":1621452511,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4ab6c128e","attributes":{"enabled":true,"created":1613676479,"updated":1613676479,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5ab6c128e","deletedDate":1613676480,"scheduledPurgeDate":1621452480,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5ab6c128e","attributes":{"enabled":true,"created":1613676480,"updated":1613676480,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6ab6c128e","deletedDate":1613676534,"scheduledPurgeDate":1621452534,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6ab6c128e","attributes":{"enabled":true,"created":1613676480,"updated":1613676480,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' - headers: - cache-control: - - no-cache - content-length: - - '2540' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:29:30 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_deleted_secrets_2016_10_01.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_deleted_secrets_2016_10_01.yaml new file mode 100644 index 000000000000..c0123af41c07 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_deleted_secrets_2016_10_01.yaml @@ -0,0 +1,5514 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret087ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "value0"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret087ed1536?api-version=2016-10-01 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret087ed1536/be96035326a948ee817773e310f7e648","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value1"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret187ed1536?api-version=2016-10-01 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret187ed1536/bb0c4a970bc544fe85441da36fb5f3f9","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret287ed1536?api-version=2016-10-01 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret287ed1536/501e30ecdbd343e6be5118eec0b0567a","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value3"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret387ed1536?api-version=2016-10-01 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret387ed1536/7707343badd8467e8fc7af4c6b2b45af","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value4"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret487ed1536?api-version=2016-10-01 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret487ed1536/b65d368616ec4f228ee749c7e286cf71","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value5"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret587ed1536?api-version=2016-10-01 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret587ed1536/ad797bb07b3c4520b908a83eb0550866","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value6"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret687ed1536?api-version=2016-10-01 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret687ed1536/1e123156677e4469ac94ac3836f1a917","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret487ed1536?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536","deletedDate":1618954737,"scheduledPurgeDate":1626730737,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret487ed1536/b65d368616ec4f228ee749c7e286cf71","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret487ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret487ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:38:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret487ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret487ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret487ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret487ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret487ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret487ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret487ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret487ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret487ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret487ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret487ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret487ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret487ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret487ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536","deletedDate":1618954737,"scheduledPurgeDate":1626730737,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret487ed1536/b65d368616ec4f228ee749c7e286cf71","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret187ed1536?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret187ed1536","deletedDate":1618954771,"scheduledPurgeDate":1626730771,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret187ed1536/bb0c4a970bc544fe85441da36fb5f3f9","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret187ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret187ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret187ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret187ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret187ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret187ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret187ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret187ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret187ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret187ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret187ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret187ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret187ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret187ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret187ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret187ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret187ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret187ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret187ed1536?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret187ed1536","deletedDate":1618954771,"scheduledPurgeDate":1626730771,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret187ed1536/bb0c4a970bc544fe85441da36fb5f3f9","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret587ed1536?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536","deletedDate":1618954791,"scheduledPurgeDate":1626730791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret587ed1536/ad797bb07b3c4520b908a83eb0550866","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret587ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret587ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret587ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret587ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret587ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:39:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret587ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret587ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret587ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret587ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret587ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret587ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret587ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret587ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret587ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret587ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret587ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret587ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret587ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret587ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret587ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret587ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret587ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536","deletedDate":1618954791,"scheduledPurgeDate":1626730791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret587ed1536/ad797bb07b3c4520b908a83eb0550866","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret087ed1536?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret087ed1536","deletedDate":1618954838,"scheduledPurgeDate":1626730838,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret087ed1536/be96035326a948ee817773e310f7e648","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret087ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret087ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret087ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret087ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret087ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret087ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret087ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret087ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret087ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret087ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret087ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret087ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret087ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret087ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret087ed1536?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret087ed1536","deletedDate":1618954838,"scheduledPurgeDate":1626730838,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret087ed1536/be96035326a948ee817773e310f7e648","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret387ed1536?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret387ed1536","deletedDate":1618954854,"scheduledPurgeDate":1626730854,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret387ed1536/7707343badd8467e8fc7af4c6b2b45af","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret387ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret387ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret387ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret387ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret387ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret387ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:40:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret387ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret387ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret387ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret387ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret387ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret387ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret387ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret387ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret387ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret387ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret387ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret387ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret387ed1536?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret387ed1536","deletedDate":1618954854,"scheduledPurgeDate":1626730854,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret387ed1536/7707343badd8467e8fc7af4c6b2b45af","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret287ed1536?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536","deletedDate":1618954873,"scheduledPurgeDate":1626730873,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret287ed1536/501e30ecdbd343e6be5118eec0b0567a","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret287ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret287ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret287ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret287ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret287ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret287ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret287ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret287ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret287ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret287ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret287ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536","deletedDate":1618954873,"scheduledPurgeDate":1626730873,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret287ed1536/501e30ecdbd343e6be5118eec0b0567a","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret687ed1536?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536","deletedDate":1618954897,"scheduledPurgeDate":1626730897,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret687ed1536/1e123156677e4469ac94ac3836f1a917","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret687ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret687ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret687ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret687ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret687ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret687ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret687ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret687ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret687ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret687ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret687ed1536"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:41:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536","deletedDate":1618954897,"scheduledPurgeDate":1626730897,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret687ed1536/1e123156677e4469ac94ac3836f1a917","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1","deletedDate":1618954405,"scheduledPurgeDate":1626730405,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954403,"updated":1618954405,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e","deletedDate":1618954533,"scheduledPurgeDate":1626730533,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretf9f143e","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954531,"updated":1618954533,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f","deletedDate":1618954440,"scheduledPurgeDate":1626730440,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954438,"updated":1618954439,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEUXdSa0U1TDBaRFJEY3lRVVpGUkVZMU1EUkVSVFE0TWtJMVJFRTVOelZCUVRKQ05FTkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '1682' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEUXdSa0U1TDBaRFJEY3lRVVpGUkVZMU1EUkVSVFE0TWtJMVJFRTVOelZCUVRKQ05FTkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '306' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTkVZek1VTTFRaTh4UmtaRk1EYzFOREJGUmpFME1UVTBPRUZHUTBFNU1rTkZSRFpFT0RoRk15RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '375' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTkVZek1VTTFRaTh4UmtaRk1EYzFOREJGUmpFME1UVTBPRUZHUTBFNU1rTkZSRFpFT0RoRk15RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZFUkVNNU1UZEdOU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '2007' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZFUkVNNU1UZEdOU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861","deletedDate":1618953267,"scheduledPurgeDate":1626729267,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04a010eae","attributes":{"enabled":true,"created":1618953819,"updated":1618953819,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe","deletedDate":1618954281,"scheduledPurgeDate":1626730281,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff","deletedDate":1618954436,"scheduledPurgeDate":1626730436,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81","deletedDate":1618954001,"scheduledPurgeDate":1626730001,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret06c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EY3lNMEV4TkVRMUx6YzBSVFZEUWpFd01ESXpSRFEzUWpOQ00wSXpORVV3TkVJM05UWkZNVVpGSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '2921' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EY3lNMEV4TkVRMUx6YzBSVFZEUWpFd01ESXpSRFEzUWpOQ00wSXpORVV3TkVJM05UWkZNVVpGSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret087ed1536","deletedDate":1618954838,"scheduledPurgeDate":1626730838,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret087ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353","deletedDate":1618953829,"scheduledPurgeDate":1626729829,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a81353","attributes":{"enabled":true,"created":1618953793,"updated":1618953793,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c","deletedDate":1618954229,"scheduledPurgeDate":1626730229,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae","deletedDate":1618953880,"scheduledPurgeDate":1626729880,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UUkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '2357' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UUkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe","deletedDate":1618954296,"scheduledPurgeDate":1626730296,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret16c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret187ed1536","deletedDate":1618954771,"scheduledPurgeDate":1626730771,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret187ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352","deletedDate":1618953674,"scheduledPurgeDate":1626729674,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353","deletedDate":1618953795,"scheduledPurgeDate":1626729795,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b","deletedDate":1618954136,"scheduledPurgeDate":1626730136,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c","deletedDate":1618954295,"scheduledPurgeDate":1626730295,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTRPREF3UkRKREwwRkdNa1JCUVVFNFJqWTRRelEzTWpGQ04wSXpSRE01UlRoRFFUQTBRak0ySVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3443' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTRPREF3UkRKREwwRkdNa1JCUVVFNFJqWTRRelEzTWpGQ04wSXpSRE01UlRoRFFUQTBRak0ySVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3","deletedDate":1618954874,"scheduledPurgeDate":1626730874,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae","deletedDate":1618953856,"scheduledPurgeDate":1626729856,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff","deletedDate":1618954486,"scheduledPurgeDate":1626730486,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81","deletedDate":1618954092,"scheduledPurgeDate":1626730092,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret26c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5","deletedDate":1618953672,"scheduledPurgeDate":1626729672,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536","deletedDate":1618954873,"scheduledPurgeDate":1626730873,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret287ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2700' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c","deletedDate":1618954332,"scheduledPurgeDate":1626730332,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3","deletedDate":1618954811,"scheduledPurgeDate":1626730811,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae","deletedDate":1618953917,"scheduledPurgeDate":1626729917,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe","deletedDate":1618954198,"scheduledPurgeDate":1626730198,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff","deletedDate":1618954397,"scheduledPurgeDate":1626730397,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81","deletedDate":1618954135,"scheduledPurgeDate":1626730135,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret36c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16WkRNVEF3UmpneEx6QkJOamhETmtZeU9UVTVORFF3T0RoQ01UZEVRakExTlRCRFJEVTRPRU0wSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3443' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16WkRNVEF3UmpneEx6QkJOamhETmtZeU9UVTVORFF3T0RoQ01UZEVRakExTlRCRFJEVTRPRU0wSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret387ed1536","deletedDate":1618954854,"scheduledPurgeDate":1626730854,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret387ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352","deletedDate":1618953791,"scheduledPurgeDate":1626729791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353","deletedDate":1618953855,"scheduledPurgeDate":1626729855,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b","deletedDate":1618954160,"scheduledPurgeDate":1626730160,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c","deletedDate":1618954315,"scheduledPurgeDate":1626730315,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EUkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2362' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EUkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe","deletedDate":1618954166,"scheduledPurgeDate":1626730166,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff","deletedDate":1618954322,"scheduledPurgeDate":1626730322,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81","deletedDate":1618954025,"scheduledPurgeDate":1626730025,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret46c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536","deletedDate":1618954737,"scheduledPurgeDate":1626730737,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret487ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353","deletedDate":1618953881,"scheduledPurgeDate":1626729881,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b","deletedDate":1618954090,"scheduledPurgeDate":1626730090,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTROMFl3UkRKQ0x6SkJNelZGUlRZeU16WTBSalJDTlVFNE5qSkROekkwUmpGQlJVVTROa0k1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3443' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTROMFl3UkRKQ0x6SkJNelZGUlRZeU16WTBSalJDTlVFNE5qSkROekkwUmpGQlJVVTROa0k1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3","deletedDate":1618954839,"scheduledPurgeDate":1626730839,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae","deletedDate":1618953964,"scheduledPurgeDate":1626729964,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe","deletedDate":1618954222,"scheduledPurgeDate":1626730222,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff","deletedDate":1618954460,"scheduledPurgeDate":1626730460,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret56c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5","deletedDate":1618953636,"scheduledPurgeDate":1626729636,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536","deletedDate":1618954791,"scheduledPurgeDate":1626730791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret587ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '3042' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353","deletedDate":1618953916,"scheduledPurgeDate":1626729916,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b","deletedDate":1618954180,"scheduledPurgeDate":1626730180,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c","deletedDate":1618954280,"scheduledPurgeDate":1626730280,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3","deletedDate":1618954774,"scheduledPurgeDate":1626730774,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae","deletedDate":1618953821,"scheduledPurgeDate":1626729821,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe","deletedDate":1618954242,"scheduledPurgeDate":1626730242,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff","deletedDate":1618954419,"scheduledPurgeDate":1626730419,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d90dff","attributes":{"enabled":true,"created":1618954322,"updated":1618954322,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qVTJPVFl4UXpaRkx6TXhPVEU1TTBGRE4wSTROelF4TjBJNU1EQkdSVGMwTURFMU5Ua3dRakkySVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3101' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qVTJPVFl4UXpaRkx6TXhPVEU1TTBGRE4wSTROelF4TjBJNU1EQkdSVGMwTURFMU5Ua3dRakkySVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81","deletedDate":1618953978,"scheduledPurgeDate":1626729978,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret66c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536","deletedDate":1618954897,"scheduledPurgeDate":1626730897,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret687ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b","deletedDate":1618954006,"scheduledPurgeDate":1626730006,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTRRak14TTBJeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2704' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTRRak14TTBJeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3","deletedDate":1618954898,"scheduledPurgeDate":1626730898,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '369' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_recover.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_deleted_secrets_7_0.yaml similarity index 53% rename from sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_recover.yaml rename to sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_deleted_secrets_7_0.yaml index af865890c917..4cb87b801f7a 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_recover.yaml +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_deleted_secrets_7_0.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:16 GMT + - Tue, 20 Apr 2021 21:39:32 GMT expires: - '-1' pragma: @@ -41,11 +41,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -65,21 +65,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b313b3?api-version=7.0 response: body: - string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0daf10d3a/dfd758bea9ce48d3b6b7ec950c39ada1","attributes":{"enabled":true,"created":1613675896,"updated":1613675896,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b313b3/501b0d3b3cfe4b248611502ac1914780","attributes":{"enabled":true,"created":1618954772,"updated":1618954772,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '260' + - '241' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:16 GMT + - Tue, 20 Apr 2021 21:39:33 GMT expires: - '-1' pragma: @@ -89,11 +89,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -113,21 +113,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b313b3?api-version=7.0 response: body: - string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1daf10d3a/6dc3c531246e4a7f9ff9d15e1434ecdf","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b313b3/7367892a98474663958bf53b6de579aa","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '260' + - '241' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:17 GMT + - Tue, 20 Apr 2021 21:39:33 GMT expires: - '-1' pragma: @@ -137,11 +137,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -161,21 +161,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b313b3?api-version=7.0 response: body: - string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2daf10d3a/cc4f42276e604dc99551e237419c59c8","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b313b3/a122e1550a114013b8d562610d48a771","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '260' + - '241' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:17 GMT + - Tue, 20 Apr 2021 21:39:33 GMT expires: - '-1' pragma: @@ -185,11 +185,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -209,21 +209,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b313b3?api-version=7.0 response: body: - string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3daf10d3a/c4b872eeeee743219ae10d3dd8278f17","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b313b3/87576b1b78b94496ad10e8205acbec67","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '260' + - '241' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:17 GMT + - Tue, 20 Apr 2021 21:39:33 GMT expires: - '-1' pragma: @@ -233,11 +233,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -257,21 +257,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b313b3?api-version=7.0 response: body: - string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4daf10d3a/74c792e02062451e8a4be2d98da031c9","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b313b3/3036a4192ba941b8965ee466fd2b2a8f","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '260' + - '241' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:17 GMT + - Tue, 20 Apr 2021 21:39:34 GMT expires: - '-1' pragma: @@ -281,11 +281,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -305,21 +305,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b313b3?api-version=7.0 response: body: - string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5daf10d3a/5ba21bdca6874a67aa97267a578c994d","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b313b3/a024b0c3574f4c6cac4881fd3084949b","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '260' + - '241' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:17 GMT + - Tue, 20 Apr 2021 21:39:34 GMT expires: - '-1' pragma: @@ -329,11 +329,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -353,21 +353,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b313b3?api-version=7.0 response: body: - string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6daf10d3a/db90391ee54e4111a08dacbb8a03411e","attributes":{"enabled":true,"created":1613675898,"updated":1613675898,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b313b3/b0d51a41d8714a3b99319708b87c353d","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '260' + - '241' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:17 GMT + - Tue, 20 Apr 2021 21:39:34 GMT expires: - '-1' pragma: @@ -377,11 +377,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -399,21 +399,21 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b313b3?api-version=7.0 response: body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5daf10d3a","deletedDate":1613675898,"scheduledPurgeDate":1621451898,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5daf10d3a/5ba21bdca6874a67aa97267a578c994d","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3","deletedDate":1618954774,"scheduledPurgeDate":1626730774,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b313b3/a024b0c3574f4c6cac4881fd3084949b","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '391' + - '374' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:18 GMT + - Tue, 20 Apr 2021 21:39:34 GMT expires: - '-1' pragma: @@ -423,11 +423,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -443,13 +443,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5daf10d3a"}}' + livekvtestsecret5f8b313b3"}}' headers: cache-control: - no-cache @@ -458,7 +458,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:18 GMT + - Tue, 20 Apr 2021 21:39:34 GMT expires: - '-1' pragma: @@ -468,11 +468,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -488,13 +488,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5daf10d3a"}}' + livekvtestsecret5f8b313b3"}}' headers: cache-control: - no-cache @@ -503,7 +503,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:20 GMT + - Tue, 20 Apr 2021 21:39:36 GMT expires: - '-1' pragma: @@ -513,11 +513,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -533,13 +533,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5daf10d3a"}}' + livekvtestsecret5f8b313b3"}}' headers: cache-control: - no-cache @@ -548,7 +548,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:22 GMT + - Tue, 20 Apr 2021 21:39:39 GMT expires: - '-1' pragma: @@ -558,11 +558,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -578,13 +578,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5daf10d3a"}}' + livekvtestsecret5f8b313b3"}}' headers: cache-control: - no-cache @@ -593,7 +593,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:24 GMT + - Tue, 20 Apr 2021 21:39:41 GMT expires: - '-1' pragma: @@ -603,11 +603,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -623,13 +623,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5daf10d3a"}}' + livekvtestsecret5f8b313b3"}}' headers: cache-control: - no-cache @@ -638,7 +638,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:26 GMT + - Tue, 20 Apr 2021 21:39:43 GMT expires: - '-1' pragma: @@ -648,11 +648,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -668,13 +668,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5daf10d3a"}}' + livekvtestsecret5f8b313b3"}}' headers: cache-control: - no-cache @@ -683,7 +683,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:27 GMT + - Tue, 20 Apr 2021 21:39:45 GMT expires: - '-1' pragma: @@ -693,11 +693,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -713,103 +713,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5daf10d3a?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5daf10d3a","deletedDate":1613675898,"scheduledPurgeDate":1621451898,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5daf10d3a/5ba21bdca6874a67aa97267a578c994d","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:29 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4daf10d3a?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4daf10d3a","deletedDate":1613675910,"scheduledPurgeDate":1621451910,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4daf10d3a/74c792e02062451e8a4be2d98da031c9","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:29 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4daf10d3a"}}' + livekvtestsecret5f8b313b3"}}' headers: cache-control: - no-cache @@ -818,7 +728,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:29 GMT + - Tue, 20 Apr 2021 21:39:47 GMT expires: - '-1' pragma: @@ -828,11 +738,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -848,13 +758,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4daf10d3a"}}' + livekvtestsecret5f8b313b3"}}' headers: cache-control: - no-cache @@ -863,7 +773,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:32 GMT + - Tue, 20 Apr 2021 21:39:49 GMT expires: - '-1' pragma: @@ -873,11 +783,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -893,13 +803,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4daf10d3a"}}' + livekvtestsecret5f8b313b3"}}' headers: cache-control: - no-cache @@ -908,7 +818,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:34 GMT + - Tue, 20 Apr 2021 21:39:51 GMT expires: - '-1' pragma: @@ -918,11 +828,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -938,13 +848,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4daf10d3a"}}' + livekvtestsecret5f8b313b3"}}' headers: cache-control: - no-cache @@ -953,7 +863,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:36 GMT + - Tue, 20 Apr 2021 21:39:53 GMT expires: - '-1' pragma: @@ -963,11 +873,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -983,13 +893,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4daf10d3a"}}' + livekvtestsecret5f8b313b3"}}' headers: cache-control: - no-cache @@ -998,7 +908,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:38 GMT + - Tue, 20 Apr 2021 21:39:55 GMT expires: - '-1' pragma: @@ -1008,11 +918,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -1028,13 +938,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4daf10d3a"}}' + livekvtestsecret5f8b313b3"}}' headers: cache-control: - no-cache @@ -1043,7 +953,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:40 GMT + - Tue, 20 Apr 2021 21:39:58 GMT expires: - '-1' pragma: @@ -1053,11 +963,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -1073,67 +983,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4daf10d3a?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4daf10d3a","deletedDate":1613675910,"scheduledPurgeDate":1621451910,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4daf10d3a/74c792e02062451e8a4be2d98da031c9","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:42 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3?api-version=7.0 response: body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2daf10d3a","deletedDate":1613675923,"scheduledPurgeDate":1621451923,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2daf10d3a/cc4f42276e604dc99551e237419c59c8","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '391' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:42 GMT + - Tue, 20 Apr 2021 21:40:00 GMT expires: - '-1' pragma: @@ -1143,16 +1008,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 404 + message: Not Found - request: body: null headers: @@ -1163,13 +1028,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2daf10d3a"}}' + livekvtestsecret5f8b313b3"}}' headers: cache-control: - no-cache @@ -1178,7 +1043,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:42 GMT + - Tue, 20 Apr 2021 21:40:02 GMT expires: - '-1' pragma: @@ -1188,11 +1053,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -1208,13 +1073,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2daf10d3a"}}' + livekvtestsecret5f8b313b3"}}' headers: cache-control: - no-cache @@ -1223,7 +1088,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:44 GMT + - Tue, 20 Apr 2021 21:40:04 GMT expires: - '-1' pragma: @@ -1233,11 +1098,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -1253,13 +1118,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2daf10d3a"}}' + livekvtestsecret5f8b313b3"}}' headers: cache-control: - no-cache @@ -1268,7 +1133,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:46 GMT + - Tue, 20 Apr 2021 21:40:07 GMT expires: - '-1' pragma: @@ -1278,11 +1143,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -1298,13 +1163,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2daf10d3a"}}' + livekvtestsecret5f8b313b3"}}' headers: cache-control: - no-cache @@ -1313,7 +1178,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:48 GMT + - Tue, 20 Apr 2021 21:40:09 GMT expires: - '-1' pragma: @@ -1323,11 +1188,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -1343,22 +1208,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2daf10d3a"}}' + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3","deletedDate":1618954774,"scheduledPurgeDate":1626730774,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b313b3/a024b0c3574f4c6cac4881fd3084949b","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '99' + - '374' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:50 GMT + - Tue, 20 Apr 2021 21:40:11 GMT expires: - '-1' pragma: @@ -1368,16 +1232,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 404 - message: Not Found + code: 200 + message: OK - request: body: null headers: @@ -1387,22 +1251,24 @@ interactions: - gzip, deflate Connection: - keep-alive + Content-Length: + - '0' User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2daf10d3a?api-version=7.1 + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b313b3?api-version=7.0 response: body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2daf10d3a","deletedDate":1613675923,"scheduledPurgeDate":1621451923,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2daf10d3a/cc4f42276e604dc99551e237419c59c8","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3","deletedDate":1618954811,"scheduledPurgeDate":1626730811,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b313b3/a122e1550a114013b8d562610d48a771","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '391' + - '374' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:52 GMT + - Tue, 20 Apr 2021 21:40:11 GMT expires: - '-1' pragma: @@ -1412,11 +1278,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -1431,24 +1297,23 @@ interactions: - gzip, deflate Connection: - keep-alive - Content-Length: - - '0' User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1daf10d3a?api-version=7.1 + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3?api-version=7.0 response: body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1daf10d3a","deletedDate":1613675933,"scheduledPurgeDate":1621451933,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1daf10d3a/6dc3c531246e4a7f9ff9d15e1434ecdf","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '391' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:52 GMT + - Tue, 20 Apr 2021 21:40:11 GMT expires: - '-1' pragma: @@ -1458,16 +1323,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 404 + message: Not Found - request: body: null headers: @@ -1478,13 +1343,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1daf10d3a"}}' + livekvtestsecret2f8b313b3"}}' headers: cache-control: - no-cache @@ -1493,7 +1358,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:52 GMT + - Tue, 20 Apr 2021 21:40:13 GMT expires: - '-1' pragma: @@ -1503,11 +1368,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -1523,13 +1388,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1daf10d3a"}}' + livekvtestsecret2f8b313b3"}}' headers: cache-control: - no-cache @@ -1538,7 +1403,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:55 GMT + - Tue, 20 Apr 2021 21:40:15 GMT expires: - '-1' pragma: @@ -1548,11 +1413,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -1568,13 +1433,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1daf10d3a"}}' + livekvtestsecret2f8b313b3"}}' headers: cache-control: - no-cache @@ -1583,7 +1448,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:57 GMT + - Tue, 20 Apr 2021 21:40:17 GMT expires: - '-1' pragma: @@ -1593,11 +1458,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -1613,13 +1478,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1daf10d3a"}}' + livekvtestsecret2f8b313b3"}}' headers: cache-control: - no-cache @@ -1628,7 +1493,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:59 GMT + - Tue, 20 Apr 2021 21:40:20 GMT expires: - '-1' pragma: @@ -1638,11 +1503,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -1658,13 +1523,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1daf10d3a"}}' + livekvtestsecret2f8b313b3"}}' headers: cache-control: - no-cache @@ -1673,7 +1538,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:01 GMT + - Tue, 20 Apr 2021 21:40:22 GMT expires: - '-1' pragma: @@ -1683,11 +1548,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -1703,13 +1568,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1daf10d3a"}}' + livekvtestsecret2f8b313b3"}}' headers: cache-control: - no-cache @@ -1718,7 +1583,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:03 GMT + - Tue, 20 Apr 2021 21:40:24 GMT expires: - '-1' pragma: @@ -1728,11 +1593,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -1748,21 +1613,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3?api-version=7.0 response: body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1daf10d3a","deletedDate":1613675933,"scheduledPurgeDate":1621451933,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1daf10d3a/6dc3c531246e4a7f9ff9d15e1434ecdf","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '391' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:05 GMT + - Tue, 20 Apr 2021 21:40:26 GMT expires: - '-1' pragma: @@ -1772,16 +1638,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 404 + message: Not Found - request: body: null headers: @@ -1791,24 +1657,23 @@ interactions: - gzip, deflate Connection: - keep-alive - Content-Length: - - '0' User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6daf10d3a?api-version=7.1 + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3?api-version=7.0 response: body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6daf10d3a","deletedDate":1613675946,"scheduledPurgeDate":1621451946,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6daf10d3a/db90391ee54e4111a08dacbb8a03411e","attributes":{"enabled":true,"created":1613675898,"updated":1613675898,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '391' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:05 GMT + - Tue, 20 Apr 2021 21:40:28 GMT expires: - '-1' pragma: @@ -1818,16 +1683,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 404 + message: Not Found - request: body: null headers: @@ -1838,13 +1703,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6daf10d3a"}}' + livekvtestsecret2f8b313b3"}}' headers: cache-control: - no-cache @@ -1853,7 +1718,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:05 GMT + - Tue, 20 Apr 2021 21:40:30 GMT expires: - '-1' pragma: @@ -1863,11 +1728,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -1883,13 +1748,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6daf10d3a"}}' + livekvtestsecret2f8b313b3"}}' headers: cache-control: - no-cache @@ -1898,7 +1763,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:07 GMT + - Tue, 20 Apr 2021 21:40:33 GMT expires: - '-1' pragma: @@ -1908,11 +1773,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -1928,13 +1793,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6daf10d3a"}}' + livekvtestsecret2f8b313b3"}}' headers: cache-control: - no-cache @@ -1943,7 +1808,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:09 GMT + - Tue, 20 Apr 2021 21:40:34 GMT expires: - '-1' pragma: @@ -1953,11 +1818,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -1973,13 +1838,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6daf10d3a"}}' + livekvtestsecret2f8b313b3"}}' headers: cache-control: - no-cache @@ -1988,7 +1853,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:11 GMT + - Tue, 20 Apr 2021 21:40:37 GMT expires: - '-1' pragma: @@ -1998,11 +1863,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -2018,22 +1883,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6daf10d3a"}}' + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3","deletedDate":1618954811,"scheduledPurgeDate":1626730811,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b313b3/a122e1550a114013b8d562610d48a771","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '99' + - '374' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:14 GMT + - Tue, 20 Apr 2021 21:40:39 GMT expires: - '-1' pragma: @@ -2043,16 +1907,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 404 - message: Not Found + code: 200 + message: OK - request: body: null headers: @@ -2062,23 +1926,24 @@ interactions: - gzip, deflate Connection: - keep-alive + Content-Length: + - '0' User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6daf10d3a?api-version=7.1 + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6daf10d3a"}}' + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3","deletedDate":1618954839,"scheduledPurgeDate":1626730839,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b313b3/3036a4192ba941b8965ee466fd2b2a8f","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '99' + - '374' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:16 GMT + - Tue, 20 Apr 2021 21:40:39 GMT expires: - '-1' pragma: @@ -2088,16 +1953,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 404 - message: Not Found + code: 200 + message: OK - request: body: null headers: @@ -2108,21 +1973,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3?api-version=7.0 response: body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6daf10d3a","deletedDate":1613675946,"scheduledPurgeDate":1621451946,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6daf10d3a/db90391ee54e4111a08dacbb8a03411e","attributes":{"enabled":true,"created":1613675898,"updated":1613675898,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '391' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:18 GMT + - Tue, 20 Apr 2021 21:40:39 GMT expires: - '-1' pragma: @@ -2132,16 +1998,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 404 + message: Not Found - request: body: null headers: @@ -2151,24 +2017,23 @@ interactions: - gzip, deflate Connection: - keep-alive - Content-Length: - - '0' User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0daf10d3a?api-version=7.1 + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3?api-version=7.0 response: body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0daf10d3a","deletedDate":1613675958,"scheduledPurgeDate":1621451958,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0daf10d3a/dfd758bea9ce48d3b6b7ec950c39ada1","attributes":{"enabled":true,"created":1613675896,"updated":1613675896,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '391' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:18 GMT + - Tue, 20 Apr 2021 21:40:42 GMT expires: - '-1' pragma: @@ -2178,16 +2043,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 404 + message: Not Found - request: body: null headers: @@ -2198,13 +2063,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0daf10d3a"}}' + livekvtestsecret4f8b313b3"}}' headers: cache-control: - no-cache @@ -2213,7 +2078,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:18 GMT + - Tue, 20 Apr 2021 21:40:44 GMT expires: - '-1' pragma: @@ -2223,11 +2088,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -2243,13 +2108,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0daf10d3a"}}' + livekvtestsecret4f8b313b3"}}' headers: cache-control: - no-cache @@ -2258,7 +2123,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:20 GMT + - Tue, 20 Apr 2021 21:40:46 GMT expires: - '-1' pragma: @@ -2268,11 +2133,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -2288,13 +2153,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0daf10d3a"}}' + livekvtestsecret4f8b313b3"}}' headers: cache-control: - no-cache @@ -2303,7 +2168,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:22 GMT + - Tue, 20 Apr 2021 21:40:48 GMT expires: - '-1' pragma: @@ -2313,11 +2178,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -2333,13 +2198,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0daf10d3a"}}' + livekvtestsecret4f8b313b3"}}' headers: cache-control: - no-cache @@ -2348,7 +2213,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:24 GMT + - Tue, 20 Apr 2021 21:40:50 GMT expires: - '-1' pragma: @@ -2358,11 +2223,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -2378,13 +2243,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0daf10d3a"}}' + livekvtestsecret4f8b313b3"}}' headers: cache-control: - no-cache @@ -2393,7 +2258,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:26 GMT + - Tue, 20 Apr 2021 21:40:52 GMT expires: - '-1' pragma: @@ -2403,11 +2268,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -2423,13 +2288,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0daf10d3a"}}' + livekvtestsecret4f8b313b3"}}' headers: cache-control: - no-cache @@ -2438,7 +2303,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:28 GMT + - Tue, 20 Apr 2021 21:40:54 GMT expires: - '-1' pragma: @@ -2448,11 +2313,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -2468,21 +2333,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3?api-version=7.0 response: body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0daf10d3a","deletedDate":1613675958,"scheduledPurgeDate":1621451958,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0daf10d3a/dfd758bea9ce48d3b6b7ec950c39ada1","attributes":{"enabled":true,"created":1613675896,"updated":1613675896,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '391' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:30 GMT + - Tue, 20 Apr 2021 21:40:57 GMT expires: - '-1' pragma: @@ -2492,16 +2358,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 404 + message: Not Found - request: body: null headers: @@ -2511,24 +2377,23 @@ interactions: - gzip, deflate Connection: - keep-alive - Content-Length: - - '0' User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3daf10d3a?api-version=7.1 + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3?api-version=7.0 response: body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3daf10d3a","deletedDate":1613675971,"scheduledPurgeDate":1621451971,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3daf10d3a/c4b872eeeee743219ae10d3dd8278f17","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '391' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:30 GMT + - Tue, 20 Apr 2021 21:40:59 GMT expires: - '-1' pragma: @@ -2538,16 +2403,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 404 + message: Not Found - request: body: null headers: @@ -2558,13 +2423,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3daf10d3a"}}' + livekvtestsecret4f8b313b3"}}' headers: cache-control: - no-cache @@ -2573,7 +2438,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:30 GMT + - Tue, 20 Apr 2021 21:41:01 GMT expires: - '-1' pragma: @@ -2583,11 +2448,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -2603,13 +2468,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3daf10d3a"}}' + livekvtestsecret4f8b313b3"}}' headers: cache-control: - no-cache @@ -2618,7 +2483,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:32 GMT + - Tue, 20 Apr 2021 21:41:03 GMT expires: - '-1' pragma: @@ -2628,11 +2493,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -2648,13 +2513,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3daf10d3a"}}' + livekvtestsecret4f8b313b3"}}' headers: cache-control: - no-cache @@ -2663,7 +2528,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:35 GMT + - Tue, 20 Apr 2021 21:41:05 GMT expires: - '-1' pragma: @@ -2673,11 +2538,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -2693,13 +2558,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3daf10d3a"}}' + livekvtestsecret4f8b313b3"}}' headers: cache-control: - no-cache @@ -2708,7 +2573,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:37 GMT + - Tue, 20 Apr 2021 21:41:07 GMT expires: - '-1' pragma: @@ -2718,11 +2583,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -2738,13 +2603,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3?api-version=7.0 response: body: string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3daf10d3a"}}' + livekvtestsecret4f8b313b3"}}' headers: cache-control: - no-cache @@ -2753,7 +2618,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:39 GMT + - Tue, 20 Apr 2021 21:41:09 GMT expires: - '-1' pragma: @@ -2763,11 +2628,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -2783,21 +2648,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3daf10d3a?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3?api-version=7.0 response: body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3daf10d3a","deletedDate":1613675971,"scheduledPurgeDate":1621451971,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3daf10d3a/c4b872eeeee743219ae10d3dd8278f17","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '391' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:41 GMT + - Tue, 20 Apr 2021 21:41:11 GMT expires: - '-1' pragma: @@ -2807,16 +2673,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 404 + message: Not Found - request: body: null headers: @@ -2827,22 +2693,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3?api-version=7.0 response: body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretd267137a","deletedDate":1613675897,"scheduledPurgeDate":1621451897,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretd267137a","attributes":{"enabled":false,"nbf":1422864000,"exp":2524723200,"created":1613675895,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0ab6c128e","deletedDate":1613675933,"scheduledPurgeDate":1621451933,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0ab6c128e","attributes":{"enabled":true,"created":1613675894,"updated":1613675894,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0daf10d3a","deletedDate":1613675958,"scheduledPurgeDate":1621451958,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0daf10d3a","attributes":{"enabled":true,"created":1613675896,"updated":1613675896,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FUkJSakV3UkROQkwwUkdSRGMxT0VKRlFUbERSVFE0UkROQ05rSTNSVU01TlRCRE16bEJSRUV4SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3","deletedDate":1618954839,"scheduledPurgeDate":1626730839,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b313b3/3036a4192ba941b8965ee466fd2b2a8f","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '1536' + - '374' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:41 GMT + - Tue, 20 Apr 2021 21:41:13 GMT expires: - '-1' pragma: @@ -2852,11 +2717,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -2871,22 +2736,24 @@ interactions: - gzip, deflate Connection: - keep-alive + Content-Length: + - '0' User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FUkJSakV3UkROQkwwUkdSRGMxT0VKRlFUbERSVFE0UkROQ05rSTNSVU01TlRCRE16bEJSRUV4SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b313b3?api-version=7.0 response: body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1ab6c128e","deletedDate":1613675923,"scheduledPurgeDate":1621451923,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1ab6c128e","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1daf10d3a","deletedDate":1613675933,"scheduledPurgeDate":1621451933,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1daf10d3a","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2ab6c128e","deletedDate":1613675896,"scheduledPurgeDate":1621451896,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2ab6c128e","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2daf10d3a","deletedDate":1613675923,"scheduledPurgeDate":1621451923,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2daf10d3a","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3ab6c128e","deletedDate":1613675946,"scheduledPurgeDate":1621451946,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3ab6c128e","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3daf10d3a","deletedDate":1613675971,"scheduledPurgeDate":1621451971,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3daf10d3a","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4ab6c128e","deletedDate":1613675910,"scheduledPurgeDate":1621451910,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4ab6c128e","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4daf10d3a","deletedDate":1613675910,"scheduledPurgeDate":1621451910,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4daf10d3a","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5ab6c128e","deletedDate":1613675958,"scheduledPurgeDate":1621451958,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5ab6c128e","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5daf10d3a","deletedDate":1613675898,"scheduledPurgeDate":1621451898,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5daf10d3a","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6ab6c128e","deletedDate":1613675971,"scheduledPurgeDate":1621451971,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6ab6c128e","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6daf10d3a","deletedDate":1613675946,"scheduledPurgeDate":1621451946,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6daf10d3a","attributes":{"enabled":true,"created":1613675898,"updated":1613675898,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVmtWU016TkJPVEJHUkRnaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3","deletedDate":1618954874,"scheduledPurgeDate":1626730874,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b313b3/7367892a98474663958bf53b6de579aa","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '4604' + - '374' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:41 GMT + - Tue, 20 Apr 2021 21:41:13 GMT expires: - '-1' pragma: @@ -2896,11 +2763,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -2916,21 +2783,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVmtWU016TkJPVEJHUkRnaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3?api-version=7.0 response: body: - string: '{"value":[],"nextLink":null}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '28' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:41 GMT + - Tue, 20 Apr 2021 21:41:13 GMT expires: - '-1' pragma: @@ -2940,16 +2808,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 404 + message: Not Found - request: body: null headers: @@ -2959,24 +2827,23 @@ interactions: - gzip, deflate Connection: - keep-alive - Content-Length: - - '0' User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5daf10d3a/recover?api-version=7.1 + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3?api-version=7.0 response: body: - string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5daf10d3a/5ba21bdca6874a67aa97267a578c994d","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '243' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:41 GMT + - Tue, 20 Apr 2021 21:41:15 GMT expires: - '-1' pragma: @@ -2986,16 +2853,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 404 + message: Not Found - request: body: null headers: @@ -3006,24 +2873,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret5daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:41 GMT + - Tue, 20 Apr 2021 21:41:17 GMT expires: - '-1' pragma: @@ -3033,11 +2898,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -3053,24 +2918,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret5daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:43 GMT + - Tue, 20 Apr 2021 21:41:20 GMT expires: - '-1' pragma: @@ -3080,11 +2943,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -3100,24 +2963,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret5daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:45 GMT + - Tue, 20 Apr 2021 21:41:23 GMT expires: - '-1' pragma: @@ -3127,11 +2988,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -3147,24 +3008,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret5daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:47 GMT + - Tue, 20 Apr 2021 21:41:25 GMT expires: - '-1' pragma: @@ -3174,11 +3033,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -3194,24 +3053,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret5daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:49 GMT + - Tue, 20 Apr 2021 21:41:27 GMT expires: - '-1' pragma: @@ -3221,11 +3078,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -3241,24 +3098,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret5daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:51 GMT + - Tue, 20 Apr 2021 21:41:29 GMT expires: - '-1' pragma: @@ -3268,11 +3123,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -3288,21 +3143,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3?api-version=7.0 response: body: - string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5daf10d3a/5ba21bdca6874a67aa97267a578c994d","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '260' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:53 GMT + - Tue, 20 Apr 2021 21:41:31 GMT expires: - '-1' pragma: @@ -3312,16 +3168,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 404 + message: Not Found - request: body: null headers: @@ -3331,24 +3187,23 @@ interactions: - gzip, deflate Connection: - keep-alive - Content-Length: - - '0' User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4daf10d3a/recover?api-version=7.1 + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3?api-version=7.0 response: body: - string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4daf10d3a/74c792e02062451e8a4be2d98da031c9","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '243' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:54 GMT + - Tue, 20 Apr 2021 21:41:33 GMT expires: - '-1' pragma: @@ -3358,16 +3213,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 404 + message: Not Found - request: body: null headers: @@ -3378,24 +3233,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret4daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:54 GMT + - Tue, 20 Apr 2021 21:41:35 GMT expires: - '-1' pragma: @@ -3405,11 +3258,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -3425,24 +3278,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret4daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3","deletedDate":1618954874,"scheduledPurgeDate":1626730874,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b313b3/7367892a98474663958bf53b6de579aa","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '322' + - '374' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:56 GMT + - Tue, 20 Apr 2021 21:41:37 GMT expires: - '-1' pragma: @@ -3452,16 +3302,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 404 - message: Not Found + code: 200 + message: OK - request: body: null headers: @@ -3471,25 +3321,24 @@ interactions: - gzip, deflate Connection: - keep-alive + Content-Length: + - '0' User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4daf10d3a/?api-version=7.1 + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret4daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3","deletedDate":1618954898,"scheduledPurgeDate":1626730898,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b313b3/b0d51a41d8714a3b99319708b87c353d","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '322' + - '374' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:19:58 GMT + - Tue, 20 Apr 2021 21:41:37 GMT expires: - '-1' pragma: @@ -3499,16 +3348,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 404 - message: Not Found + code: 200 + message: OK - request: body: null headers: @@ -3519,24 +3368,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret4daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:01 GMT + - Tue, 20 Apr 2021 21:41:37 GMT expires: - '-1' pragma: @@ -3546,11 +3393,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -3566,24 +3413,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret4daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:03 GMT + - Tue, 20 Apr 2021 21:41:40 GMT expires: - '-1' pragma: @@ -3593,11 +3438,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -3613,24 +3458,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret4daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:05 GMT + - Tue, 20 Apr 2021 21:41:42 GMT expires: - '-1' pragma: @@ -3640,11 +3483,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -3660,21 +3503,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3?api-version=7.0 response: body: - string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4daf10d3a/74c792e02062451e8a4be2d98da031c9","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '260' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:07 GMT + - Tue, 20 Apr 2021 21:41:44 GMT expires: - '-1' pragma: @@ -3684,16 +3528,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 404 + message: Not Found - request: body: null headers: @@ -3703,24 +3547,23 @@ interactions: - gzip, deflate Connection: - keep-alive - Content-Length: - - '0' User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2daf10d3a/recover?api-version=7.1 + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3?api-version=7.0 response: body: - string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2daf10d3a/cc4f42276e604dc99551e237419c59c8","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '243' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:07 GMT + - Tue, 20 Apr 2021 21:41:46 GMT expires: - '-1' pragma: @@ -3730,16 +3573,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 404 + message: Not Found - request: body: null headers: @@ -3750,24 +3593,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret2daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:07 GMT + - Tue, 20 Apr 2021 21:41:48 GMT expires: - '-1' pragma: @@ -3777,11 +3618,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -3797,24 +3638,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret2daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:09 GMT + - Tue, 20 Apr 2021 21:41:51 GMT expires: - '-1' pragma: @@ -3824,11 +3663,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -3844,24 +3683,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret2daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:11 GMT + - Tue, 20 Apr 2021 21:41:53 GMT expires: - '-1' pragma: @@ -3871,11 +3708,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -3891,24 +3728,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret2daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:13 GMT + - Tue, 20 Apr 2021 21:41:55 GMT expires: - '-1' pragma: @@ -3918,11 +3753,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -3938,24 +3773,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret2daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:15 GMT + - Tue, 20 Apr 2021 21:41:57 GMT expires: - '-1' pragma: @@ -3965,11 +3798,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -3985,24 +3818,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret2daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:17 GMT + - Tue, 20 Apr 2021 21:41:59 GMT expires: - '-1' pragma: @@ -4012,11 +3843,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -4032,21 +3863,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3?api-version=7.0 response: body: - string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2daf10d3a/cc4f42276e604dc99551e237419c59c8","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3","deletedDate":1618954898,"scheduledPurgeDate":1626730898,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b313b3/b0d51a41d8714a3b99319708b87c353d","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '260' + - '374' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:19 GMT + - Tue, 20 Apr 2021 21:42:01 GMT expires: - '-1' pragma: @@ -4056,11 +3887,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -4078,21 +3909,21 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1daf10d3a/recover?api-version=7.1 + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b313b3?api-version=7.0 response: body: - string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1daf10d3a/6dc3c531246e4a7f9ff9d15e1434ecdf","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b313b3","deletedDate":1618954922,"scheduledPurgeDate":1626730922,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b313b3/501b0d3b3cfe4b248611502ac1914780","attributes":{"enabled":true,"created":1618954772,"updated":1618954772,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '243' + - '374' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:19 GMT + - Tue, 20 Apr 2021 21:42:01 GMT expires: - '-1' pragma: @@ -4102,11 +3933,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -4122,24 +3953,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret1daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:19 GMT + - Tue, 20 Apr 2021 21:42:01 GMT expires: - '-1' pragma: @@ -4149,11 +3978,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -4169,24 +3998,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret1daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:21 GMT + - Tue, 20 Apr 2021 21:42:03 GMT expires: - '-1' pragma: @@ -4196,11 +4023,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -4216,24 +4043,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret1daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:24 GMT + - Tue, 20 Apr 2021 21:42:06 GMT expires: - '-1' pragma: @@ -4243,11 +4068,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -4263,24 +4088,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret1daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:26 GMT + - Tue, 20 Apr 2021 21:42:08 GMT expires: - '-1' pragma: @@ -4290,11 +4113,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -4310,24 +4133,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret1daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:28 GMT + - Tue, 20 Apr 2021 21:42:10 GMT expires: - '-1' pragma: @@ -4337,11 +4158,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -4357,21 +4178,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b313b3?api-version=7.0 response: body: - string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1daf10d3a/6dc3c531246e4a7f9ff9d15e1434ecdf","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '260' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:30 GMT + - Tue, 20 Apr 2021 21:42:12 GMT expires: - '-1' pragma: @@ -4381,16 +4203,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 404 + message: Not Found - request: body: null headers: @@ -4400,24 +4222,23 @@ interactions: - gzip, deflate Connection: - keep-alive - Content-Length: - - '0' User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6daf10d3a/recover?api-version=7.1 + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b313b3?api-version=7.0 response: body: - string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6daf10d3a/db90391ee54e4111a08dacbb8a03411e","attributes":{"enabled":true,"created":1613675898,"updated":1613675898,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '243' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:30 GMT + - Tue, 20 Apr 2021 21:42:14 GMT expires: - '-1' pragma: @@ -4427,16 +4248,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 404 + message: Not Found - request: body: null headers: @@ -4447,24 +4268,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret6daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:30 GMT + - Tue, 20 Apr 2021 21:42:17 GMT expires: - '-1' pragma: @@ -4474,11 +4293,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -4494,24 +4313,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret6daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:32 GMT + - Tue, 20 Apr 2021 21:42:19 GMT expires: - '-1' pragma: @@ -4521,11 +4338,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -4541,24 +4358,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret6daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:34 GMT + - Tue, 20 Apr 2021 21:42:21 GMT expires: - '-1' pragma: @@ -4568,11 +4383,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -4588,24 +4403,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret6daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b313b3","deletedDate":1618954922,"scheduledPurgeDate":1626730922,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b313b3/501b0d3b3cfe4b248611502ac1914780","attributes":{"enabled":true,"created":1618954772,"updated":1618954772,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '322' + - '374' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:36 GMT + - Tue, 20 Apr 2021 21:42:23 GMT expires: - '-1' pragma: @@ -4615,16 +4427,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 404 - message: Not Found + code: 200 + message: OK - request: body: null headers: @@ -4634,25 +4446,24 @@ interactions: - gzip, deflate Connection: - keep-alive + Content-Length: + - '0' User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6daf10d3a/?api-version=7.1 + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret6daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b313b3","deletedDate":1618954944,"scheduledPurgeDate":1626730944,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b313b3/87576b1b78b94496ad10e8205acbec67","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '322' + - '374' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:38 GMT + - Tue, 20 Apr 2021 21:42:23 GMT expires: - '-1' pragma: @@ -4662,16 +4473,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 404 - message: Not Found + code: 200 + message: OK - request: body: null headers: @@ -4682,24 +4493,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret6daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:40 GMT + - Tue, 20 Apr 2021 21:42:23 GMT expires: - '-1' pragma: @@ -4709,11 +4518,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -4729,21 +4538,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b313b3?api-version=7.0 response: body: - string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6daf10d3a/db90391ee54e4111a08dacbb8a03411e","attributes":{"enabled":true,"created":1613675898,"updated":1613675898,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '260' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:42 GMT + - Tue, 20 Apr 2021 21:42:25 GMT expires: - '-1' pragma: @@ -4753,16 +4563,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 404 + message: Not Found - request: body: null headers: @@ -4772,24 +4582,23 @@ interactions: - gzip, deflate Connection: - keep-alive - Content-Length: - - '0' User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0daf10d3a/recover?api-version=7.1 + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b313b3?api-version=7.0 response: body: - string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0daf10d3a/dfd758bea9ce48d3b6b7ec950c39ada1","attributes":{"enabled":true,"created":1613675896,"updated":1613675896,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '243' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:42 GMT + - Tue, 20 Apr 2021 21:42:28 GMT expires: - '-1' pragma: @@ -4799,16 +4608,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 404 + message: Not Found - request: body: null headers: @@ -4819,24 +4628,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret0daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:43 GMT + - Tue, 20 Apr 2021 21:42:30 GMT expires: - '-1' pragma: @@ -4846,11 +4653,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -4866,24 +4673,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret0daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:45 GMT + - Tue, 20 Apr 2021 21:42:32 GMT expires: - '-1' pragma: @@ -4893,11 +4698,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -4913,24 +4718,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret0daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:47 GMT + - Tue, 20 Apr 2021 21:42:34 GMT expires: - '-1' pragma: @@ -4940,11 +4743,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -4960,24 +4763,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret0daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:49 GMT + - Tue, 20 Apr 2021 21:42:36 GMT expires: - '-1' pragma: @@ -4987,11 +4788,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -5007,24 +4808,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret0daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f8b313b3"}}' headers: cache-control: - no-cache content-length: - - '322' + - '99' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:51 GMT + - Tue, 20 Apr 2021 21:42:38 GMT expires: - '-1' pragma: @@ -5034,11 +4833,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -5054,24 +4853,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b313b3?api-version=7.0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret0daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b313b3","deletedDate":1618954944,"scheduledPurgeDate":1626730944,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b313b3/87576b1b78b94496ad10e8205acbec67","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '322' + - '374' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:53 GMT + - Tue, 20 Apr 2021 21:42:40 GMT expires: - '-1' pragma: @@ -5081,16 +4877,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 404 - message: Not Found + code: 200 + message: OK - request: body: null headers: @@ -5101,21 +4897,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0 response: body: - string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0daf10d3a/dfd758bea9ce48d3b6b7ec950c39ada1","attributes":{"enabled":true,"created":1613675896,"updated":1613675896,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1","deletedDate":1618954405,"scheduledPurgeDate":1626730405,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954403,"updated":1618954405,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e","deletedDate":1618954533,"scheduledPurgeDate":1626730533,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretf9f143e","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954531,"updated":1618954533,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f","deletedDate":1618954440,"scheduledPurgeDate":1626730440,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954438,"updated":1618954439,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEUXdSa0U1TDBaRFJEY3lRVVpGUkVZMU1EUkVSVFE0TWtJMVJFRTVOelZCUVRKQ05FTkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' headers: cache-control: - no-cache content-length: - - '260' + - '1675' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:55 GMT + - Tue, 20 Apr 2021 21:42:40 GMT expires: - '-1' pragma: @@ -5125,11 +4924,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -5144,24 +4943,22 @@ interactions: - gzip, deflate Connection: - keep-alive - Content-Length: - - '0' User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3daf10d3a/recover?api-version=7.1 + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEUXdSa0U1TDBaRFJEY3lRVVpGUkVZMU1EUkVSVFE0TWtJMVJFRTVOelZCUVRKQ05FTkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9 response: body: - string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3daf10d3a/c4b872eeeee743219ae10d3dd8278f17","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' headers: cache-control: - no-cache content-length: - - '243' + - '299' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:55 GMT + - Tue, 20 Apr 2021 21:42:40 GMT expires: - '-1' pragma: @@ -5171,11 +4968,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -5191,24 +4988,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret3daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTkVZek1VTTFRaTh4UmtaRk1EYzFOREJGUmpFME1UVTBPRUZHUTBFNU1rTkZSRFpFT0RoRk15RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' headers: cache-control: - no-cache content-length: - - '322' + - '368' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:55 GMT + - Tue, 20 Apr 2021 21:42:41 GMT expires: - '-1' pragma: @@ -5218,16 +5012,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 404 - message: Not Found + code: 200 + message: OK - request: body: null headers: @@ -5238,24 +5032,25 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTkVZek1VTTFRaTh4UmtaRk1EYzFOREJGUmpFME1UVTBPRUZHUTBFNU1rTkZSRFpFT0RoRk15RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret3daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZFUkVNNU1UZEdOU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' headers: cache-control: - no-cache content-length: - - '322' + - '2000' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:57 GMT + - Tue, 20 Apr 2021 21:42:41 GMT expires: - '-1' pragma: @@ -5265,16 +5060,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 404 - message: Not Found + code: 200 + message: OK - request: body: null headers: @@ -5285,24 +5080,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZFUkVNNU1UZEdOU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret3daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861","deletedDate":1618953267,"scheduledPurgeDate":1626729267,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04a010eae","attributes":{"enabled":true,"created":1618953819,"updated":1618953819,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe","deletedDate":1618954281,"scheduledPurgeDate":1626730281,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff","deletedDate":1618954436,"scheduledPurgeDate":1626730436,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81","deletedDate":1618954001,"scheduledPurgeDate":1626730001,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret06c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EY3lNMEV4TkVRMUx6YzBSVFZEUWpFd01ESXpSRFEzUWpOQ00wSXpORVV3TkVJM05UWkZNVVpGSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' headers: cache-control: - no-cache content-length: - - '322' + - '2914' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:20:59 GMT + - Tue, 20 Apr 2021 21:42:41 GMT expires: - '-1' pragma: @@ -5312,16 +5106,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 404 - message: Not Found + code: 200 + message: OK - request: body: null headers: @@ -5332,24 +5126,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EY3lNMEV4TkVRMUx6YzBSVFZEUWpFd01ESXpSRFEzUWpOQ00wSXpORVV3TkVJM05UWkZNVVpGSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret3daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret087ed1536","deletedDate":1618954838,"scheduledPurgeDate":1626730838,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret087ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353","deletedDate":1618953829,"scheduledPurgeDate":1626729829,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a81353","attributes":{"enabled":true,"created":1618953793,"updated":1618953793,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c","deletedDate":1618954229,"scheduledPurgeDate":1626730229,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b313b3","deletedDate":1618954922,"scheduledPurgeDate":1626730922,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b313b3","attributes":{"enabled":true,"created":1618954772,"updated":1618954772,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UUkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' headers: cache-control: - no-cache content-length: - - '322' + - '2355' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:21:00 GMT + - Tue, 20 Apr 2021 21:42:41 GMT expires: - '-1' pragma: @@ -5359,16 +5150,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 404 - message: Not Found + code: 200 + message: OK - request: body: null headers: @@ -5379,24 +5170,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UUkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 response: body: - string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) - livekvtestsecret3daf10d3a was not found in this key vault. If you recently - deleted this secret you may be able to recover it using the correct recovery - command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae","deletedDate":1618953880,"scheduledPurgeDate":1626729880,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe","deletedDate":1618954296,"scheduledPurgeDate":1626730296,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret16c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret187ed1536","deletedDate":1618954771,"scheduledPurgeDate":1626730771,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret187ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352","deletedDate":1618953674,"scheduledPurgeDate":1626729674,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353","deletedDate":1618953795,"scheduledPurgeDate":1626729795,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b","deletedDate":1618954136,"scheduledPurgeDate":1626730136,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTROMFl3UkRKQ0x6UTRRemM1TkVVd05UVTNNVFExTURCQ016azNPREpCUlRkRFJUZ3pORVZDSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' headers: cache-control: - no-cache content-length: - - '322' + - '3436' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:21:03 GMT + - Tue, 20 Apr 2021 21:42:43 GMT expires: - '-1' pragma: @@ -5406,16 +5194,16 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: - code: 404 - message: Not Found + code: 200 + message: OK - request: body: null headers: @@ -5426,21 +5214,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTROMFl3UkRKQ0x6UTRRemM1TkVVd05UVTNNVFExTURCQ016azNPREpCUlRkRFJUZ3pORVZDSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ response: body: - string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3daf10d3a/c4b872eeeee743219ae10d3dd8278f17","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c","deletedDate":1618954295,"scheduledPurgeDate":1626730295,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3","deletedDate":1618954874,"scheduledPurgeDate":1626730874,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae","deletedDate":1618953856,"scheduledPurgeDate":1626729856,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff","deletedDate":1618954486,"scheduledPurgeDate":1626730486,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81","deletedDate":1618954092,"scheduledPurgeDate":1626730092,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret26c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5","deletedDate":1618953672,"scheduledPurgeDate":1626729672,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536","deletedDate":1618954873,"scheduledPurgeDate":1626730873,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret287ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' headers: cache-control: - no-cache content-length: - - '260' + - '3035' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:21:05 GMT + - Tue, 20 Apr 2021 21:42:43 GMT expires: - '-1' pragma: @@ -5450,11 +5238,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -5470,21 +5258,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 response: body: - string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5daf10d3a/5ba21bdca6874a67aa97267a578c994d","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c","deletedDate":1618954332,"scheduledPurgeDate":1626730332,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3","deletedDate":1618954811,"scheduledPurgeDate":1626730811,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae","deletedDate":1618953917,"scheduledPurgeDate":1626729917,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe","deletedDate":1618954198,"scheduledPurgeDate":1626730198,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16UkVPREJFUmtVdk9UazBOamRFTXpjek9EUkRORFk1TnpnMlFrWTROa0pETVRjNVFqUkVRa01oTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' headers: cache-control: - no-cache content-length: - - '260' + - '2748' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:21:05 GMT + - Tue, 20 Apr 2021 21:42:43 GMT expires: - '-1' pragma: @@ -5494,11 +5282,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -5514,21 +5302,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16UkVPREJFUmtVdk9UazBOamRFTXpjek9EUkRORFk1TnpnMlFrWTROa0pETVRjNVFqUkVRa01oTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9 response: body: - string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4daf10d3a/74c792e02062451e8a4be2d98da031c9","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff","deletedDate":1618954397,"scheduledPurgeDate":1626730397,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81","deletedDate":1618954135,"scheduledPurgeDate":1626730135,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret36c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret387ed1536","deletedDate":1618954854,"scheduledPurgeDate":1626730854,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret387ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352","deletedDate":1618953791,"scheduledPurgeDate":1626729791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353","deletedDate":1618953855,"scheduledPurgeDate":1626729855,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b","deletedDate":1618954160,"scheduledPurgeDate":1626730160,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c","deletedDate":1618954315,"scheduledPurgeDate":1626730315,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wWTJNVUV4T0RaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' headers: cache-control: - no-cache content-length: - - '260' + - '3037' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:21:05 GMT + - Tue, 20 Apr 2021 21:42:44 GMT expires: - '-1' pragma: @@ -5538,11 +5326,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -5558,21 +5346,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wWTJNVUV4T0RaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 response: body: - string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2daf10d3a/cc4f42276e604dc99551e237419c59c8","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b313b3","deletedDate":1618954944,"scheduledPurgeDate":1626730944,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe","deletedDate":1618954166,"scheduledPurgeDate":1626730166,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff","deletedDate":1618954322,"scheduledPurgeDate":1626730322,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81","deletedDate":1618954025,"scheduledPurgeDate":1626730025,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret46c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536","deletedDate":1618954737,"scheduledPurgeDate":1626730737,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret487ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EazBSRFV4UVVWREx6STVOVFU0UTBNeE9UUTJORFJFTkVKQ01rUXdOVVU1T0VVMFF6TkNPVFpDSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' headers: cache-control: - no-cache content-length: - - '260' + - '2752' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:21:05 GMT + - Tue, 20 Apr 2021 21:42:44 GMT expires: - '-1' pragma: @@ -5582,11 +5370,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -5602,21 +5390,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EazBSRFV4UVVWREx6STVOVFU0UTBNeE9UUTJORFJFTkVKQ01rUXdOVVU1T0VVMFF6TkNPVFpDSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ response: body: - string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1daf10d3a/6dc3c531246e4a7f9ff9d15e1434ecdf","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353","deletedDate":1618953881,"scheduledPurgeDate":1626729881,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b","deletedDate":1618954090,"scheduledPurgeDate":1626730090,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3","deletedDate":1618954839,"scheduledPurgeDate":1626730839,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4","deletedDate":1618954929,"scheduledPurgeDate":1626730929,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae","deletedDate":1618953964,"scheduledPurgeDate":1626729964,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe","deletedDate":1618954222,"scheduledPurgeDate":1626730222,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff","deletedDate":1618954460,"scheduledPurgeDate":1626730460,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' headers: cache-control: - no-cache content-length: - - '260' + - '3377' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:21:06 GMT + - Tue, 20 Apr 2021 21:42:44 GMT expires: - '-1' pragma: @@ -5626,11 +5414,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -5646,21 +5434,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 response: body: - string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6daf10d3a/db90391ee54e4111a08dacbb8a03411e","attributes":{"enabled":true,"created":1613675898,"updated":1613675898,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret56c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5","deletedDate":1618953636,"scheduledPurgeDate":1626729636,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536","deletedDate":1618954791,"scheduledPurgeDate":1626730791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret587ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353","deletedDate":1618953916,"scheduledPurgeDate":1626729916,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b","deletedDate":1618954180,"scheduledPurgeDate":1626730180,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c","deletedDate":1618954280,"scheduledPurgeDate":1626730280,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VWTJNVUl4T0RaR0wwWkZNRE00TlRGRk5qWTFOVFF5UmtZNFJUSkRPVGhHT1RoRU1FVXlSRVJGSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' headers: cache-control: - no-cache content-length: - - '260' + - '2756' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:21:06 GMT + - Tue, 20 Apr 2021 21:42:44 GMT expires: - '-1' pragma: @@ -5670,11 +5458,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -5690,21 +5478,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VWTJNVUl4T0RaR0wwWkZNRE00TlRGRk5qWTFOVFF5UmtZNFJUSkRPVGhHT1RoRU1FVXlSRVJGSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ response: body: - string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0daf10d3a/dfd758bea9ce48d3b6b7ec950c39ada1","attributes":{"enabled":true,"created":1613675896,"updated":1613675896,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3","deletedDate":1618954774,"scheduledPurgeDate":1626730774,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae","deletedDate":1618953821,"scheduledPurgeDate":1626729821,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe","deletedDate":1618954242,"scheduledPurgeDate":1626730242,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff","deletedDate":1618954419,"scheduledPurgeDate":1626730419,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d90dff","attributes":{"enabled":true,"created":1618954322,"updated":1618954322,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81","deletedDate":1618953978,"scheduledPurgeDate":1626729978,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret66c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536","deletedDate":1618954897,"scheduledPurgeDate":1626730897,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret687ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' headers: cache-control: - no-cache content-length: - - '260' + - '2693' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:21:06 GMT + - Tue, 20 Apr 2021 21:42:44 GMT expires: - '-1' pragma: @@ -5714,11 +5502,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -5734,21 +5522,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3daf10d3a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 response: body: - string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3daf10d3a/c4b872eeeee743219ae10d3dd8278f17","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b","deletedDate":1618954006,"scheduledPurgeDate":1626730006,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3","deletedDate":1618954898,"scheduledPurgeDate":1626730898,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":null}' headers: cache-control: - no-cache content-length: - - '260' + - '1737' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:21:06 GMT + - Tue, 20 Apr 2021 21:42:45 GMT expires: - '-1' pragma: @@ -5758,11 +5546,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_deleted_secrets_7_1.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_deleted_secrets_7_1.yaml new file mode 100644 index 000000000000..bd9aae704ac7 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_deleted_secrets_7_1.yaml @@ -0,0 +1,4928 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "value0"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b413b4?api-version=7.1 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b413b4/bc923f3dcccb4e99a0caaea4f70e6531","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value1"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b413b4?api-version=7.1 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b413b4/051337c8601442e19e74d5d5eafffd5e","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b413b4?api-version=7.1 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b413b4/71c80d4231814c409c0b670431b2a9d9","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value3"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b413b4?api-version=7.1 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b413b4/a0bb6a27cd0e4cc1bc6844e5d6c024bb","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value4"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b413b4?api-version=7.1 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b413b4/82dc5b9074aa4a32879a68a4051c8c57","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value5"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b413b4?api-version=7.1 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b413b4/5fffb458e8b54626b66aa2c89c0d430b","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value6"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b413b4?api-version=7.1 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b413b4/b381b7bec2fc48cc99356eb900321852","attributes":{"enabled":true,"created":1618954929,"updated":1618954929,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b413b4?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4","deletedDate":1618954929,"scheduledPurgeDate":1626730929,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b413b4/82dc5b9074aa4a32879a68a4051c8c57","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4","deletedDate":1618954929,"scheduledPurgeDate":1626730929,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b413b4/82dc5b9074aa4a32879a68a4051c8c57","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b413b4?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b413b4","deletedDate":1618954961,"scheduledPurgeDate":1626730961,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b413b4/a0bb6a27cd0e4cc1bc6844e5d6c024bb","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b413b4?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b413b4","deletedDate":1618954961,"scheduledPurgeDate":1626730961,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b413b4/a0bb6a27cd0e4cc1bc6844e5d6c024bb","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b413b4?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b413b4","deletedDate":1618954983,"scheduledPurgeDate":1626730983,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b413b4/b381b7bec2fc48cc99356eb900321852","attributes":{"enabled":true,"created":1618954929,"updated":1618954929,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b413b4?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b413b4","deletedDate":1618954983,"scheduledPurgeDate":1626730983,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b413b4/b381b7bec2fc48cc99356eb900321852","attributes":{"enabled":true,"created":1618954929,"updated":1618954929,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b413b4?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b413b4","deletedDate":1618955003,"scheduledPurgeDate":1626731003,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b413b4/71c80d4231814c409c0b670431b2a9d9","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b413b4?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b413b4","deletedDate":1618955003,"scheduledPurgeDate":1626731003,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b413b4/71c80d4231814c409c0b670431b2a9d9","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b413b4?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b413b4","deletedDate":1618955024,"scheduledPurgeDate":1626731024,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b413b4/051337c8601442e19e74d5d5eafffd5e","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b413b4?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b413b4","deletedDate":1618955024,"scheduledPurgeDate":1626731024,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b413b4/051337c8601442e19e74d5d5eafffd5e","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b413b4?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b413b4","deletedDate":1618955042,"scheduledPurgeDate":1626731042,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b413b4/bc923f3dcccb4e99a0caaea4f70e6531","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b413b4?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b413b4","deletedDate":1618955042,"scheduledPurgeDate":1626731042,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b413b4/bc923f3dcccb4e99a0caaea4f70e6531","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b413b4?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b413b4","deletedDate":1618955064,"scheduledPurgeDate":1626731064,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b413b4/5fffb458e8b54626b66aa2c89c0d430b","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b413b4?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f8b413b4"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b413b4?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b413b4","deletedDate":1618955064,"scheduledPurgeDate":1626731064,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b413b4/5fffb458e8b54626b66aa2c89c0d430b","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1","deletedDate":1618954405,"scheduledPurgeDate":1626730405,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954403,"updated":1618954405,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e","deletedDate":1618954533,"scheduledPurgeDate":1626730533,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretf9f143e","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954531,"updated":1618954533,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f","deletedDate":1618954440,"scheduledPurgeDate":1626730440,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954438,"updated":1618954439,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEUXdSa0U1TDBaRFJEY3lRVVpGUkVZMU1EUkVSVFE0TWtJMVJFRTVOelZCUVRKQ05FTkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '1738' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEUXdSa0U1TDBaRFJEY3lRVVpGUkVZMU1EUkVSVFE0TWtJMVJFRTVOelZCUVRKQ05FTkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '299' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURoQk1UVTNPUzlFTWpnd056TTVPRFV4UWpVME4wRTVRa0pDUkRsRlF6ZENNRUpGTlVSR05DRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '368' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURoQk1UVTNPUzlFTWpnd056TTVPRFV4UWpVME4wRTVRa0pDUkRsRlF6ZENNRUpGTlVSR05DRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBVd01URTROeUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '1640' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBVd01URTROeUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861","deletedDate":1618953267,"scheduledPurgeDate":1626729267,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04a010eae","attributes":{"enabled":true,"created":1618953819,"updated":1618953819,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe","deletedDate":1618954281,"scheduledPurgeDate":1626730281,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EUkVPREJFUmtVdk56WTJORFV5T1VZd05UTTFORUUzTUVFNFEwVTJRekE0TmpKR1JEUXdRMFloTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '2412' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EUkVPREJFUmtVdk56WTJORFV5T1VZd05UTTFORUUzTUVFNFEwVTJRekE0TmpKR1JEUXdRMFloTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff","deletedDate":1618954436,"scheduledPurgeDate":1626730436,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81","deletedDate":1618954001,"scheduledPurgeDate":1626730001,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret06c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret087ed1536","deletedDate":1618954838,"scheduledPurgeDate":1626730838,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret087ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353","deletedDate":1618953829,"scheduledPurgeDate":1626729829,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a81353","attributes":{"enabled":true,"created":1618953793,"updated":1618953793,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2842' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c","deletedDate":1618954229,"scheduledPurgeDate":1626730229,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b313b3","deletedDate":1618954922,"scheduledPurgeDate":1626730922,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b313b3","attributes":{"enabled":true,"created":1618954772,"updated":1618954772,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b413b4","deletedDate":1618955042,"scheduledPurgeDate":1626731042,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae","deletedDate":1618953880,"scheduledPurgeDate":1626729880,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe","deletedDate":1618954296,"scheduledPurgeDate":1626730296,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret16c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret187ed1536","deletedDate":1618954771,"scheduledPurgeDate":1626730771,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret187ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UZzNSVVF4TlRNMkwwSkNNRU0wUVRrM01FSkROVFEwUmtVNE5UUTBNVVJCTXpaR1FqVkdNMFk1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3625' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UZzNSVVF4TlRNMkwwSkNNRU0wUVRrM01FSkROVFEwUmtVNE5UUTBNVVJCTXpaR1FqVkdNMFk1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352","deletedDate":1618953674,"scheduledPurgeDate":1626729674,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353","deletedDate":1618953795,"scheduledPurgeDate":1626729795,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b","deletedDate":1618954136,"scheduledPurgeDate":1626730136,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c","deletedDate":1618954295,"scheduledPurgeDate":1626730295,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3","deletedDate":1618954874,"scheduledPurgeDate":1626730874,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b413b4","deletedDate":1618955024,"scheduledPurgeDate":1626731024,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae","deletedDate":1618953856,"scheduledPurgeDate":1626729856,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qUkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '2839' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qUkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff","deletedDate":1618954486,"scheduledPurgeDate":1626730486,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret25a050f0f","deletedDate":1618955043,"scheduledPurgeDate":1626731043,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret25a050f0f","attributes":{"enabled":true,"created":1618954976,"updated":1618954976,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81","deletedDate":1618954092,"scheduledPurgeDate":1626730092,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret26c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5","deletedDate":1618953672,"scheduledPurgeDate":1626729672,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536","deletedDate":1618954873,"scheduledPurgeDate":1626730873,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret287ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rVTROMFl3UkRKQ0x6YzVRemxCTURVeE9UQkZRalEwUWtSQ016TkNNamd4TkRoQ1FVWTNOa0U0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3625' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rVTROMFl3UkRKQ0x6YzVRemxCTURVeE9UQkZRalEwUWtSQ016TkNNamd4TkRoQ1FVWTNOa0U0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c","deletedDate":1618954332,"scheduledPurgeDate":1626730332,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3","deletedDate":1618954811,"scheduledPurgeDate":1626730811,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b413b4","deletedDate":1618955003,"scheduledPurgeDate":1626731003,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae","deletedDate":1618953917,"scheduledPurgeDate":1626729917,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe","deletedDate":1618954198,"scheduledPurgeDate":1626730198,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff","deletedDate":1618954397,"scheduledPurgeDate":1626730397,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret35a050f0f","deletedDate":1618955025,"scheduledPurgeDate":1626731025,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret35a050f0f","attributes":{"enabled":true,"created":1618954976,"updated":1618954976,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81","deletedDate":1618954135,"scheduledPurgeDate":1626730135,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret36c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16ZzNSVVF4TlRNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '3566' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16ZzNSVVF4TlRNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret387ed1536","deletedDate":1618954854,"scheduledPurgeDate":1626730854,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret387ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352","deletedDate":1618953791,"scheduledPurgeDate":1626729791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353","deletedDate":1618953855,"scheduledPurgeDate":1626729855,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b","deletedDate":1618954160,"scheduledPurgeDate":1626730160,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c","deletedDate":1618954315,"scheduledPurgeDate":1626730315,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b313b3","deletedDate":1618954944,"scheduledPurgeDate":1626730944,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b413b4","deletedDate":1618954961,"scheduledPurgeDate":1626730961,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EUkJNREV3UlVGRkx6TXdNVFZHTURkRlEwVTRNelF3TmpBNVFUWXhOMEpDUVRjek56aENNakV4SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3266' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EUkJNREV3UlVGRkx6TXdNVFZHTURkRlEwVTRNelF3TmpBNVFUWXhOMEpDUVRjek56aENNakV4SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe","deletedDate":1618954166,"scheduledPurgeDate":1626730166,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff","deletedDate":1618954322,"scheduledPurgeDate":1626730322,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret45a050f0f","deletedDate":1618954977,"scheduledPurgeDate":1626730977,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret45a050f0f","attributes":{"enabled":true,"created":1618954976,"updated":1618954976,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81","deletedDate":1618954025,"scheduledPurgeDate":1626730025,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret46c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536","deletedDate":1618954737,"scheduledPurgeDate":1626730737,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret487ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353","deletedDate":1618953881,"scheduledPurgeDate":1626729881,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTROMFl3UkRKQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '3203' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTROMFl3UkRKQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b","deletedDate":1618954090,"scheduledPurgeDate":1626730090,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3","deletedDate":1618954839,"scheduledPurgeDate":1626730839,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4","deletedDate":1618954929,"scheduledPurgeDate":1626730929,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae","deletedDate":1618953964,"scheduledPurgeDate":1626729964,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe","deletedDate":1618954222,"scheduledPurgeDate":1626730222,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff","deletedDate":1618954460,"scheduledPurgeDate":1626730460,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret55a050f0f","deletedDate":1618955003,"scheduledPurgeDate":1626731003,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret55a050f0f","attributes":{"enabled":true,"created":1618954977,"updated":1618954977,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret56c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5","deletedDate":1618953636,"scheduledPurgeDate":1626729636,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UY3lNMEV4TkVRMUx6VXhNRVV6T0RRd1FqWTBOalF3TlVJNFJqQkdSREV5T1RaQlJqRTJNekJGSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3988' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UY3lNMEV4TkVRMUx6VXhNRVV6T0RRd1FqWTBOalF3TlVJNFJqQkdSREV5T1RaQlJqRTJNekJGSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536","deletedDate":1618954791,"scheduledPurgeDate":1626730791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret587ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353","deletedDate":1618953916,"scheduledPurgeDate":1626729916,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b","deletedDate":1618954180,"scheduledPurgeDate":1626730180,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c","deletedDate":1618954280,"scheduledPurgeDate":1626730280,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3","deletedDate":1618954774,"scheduledPurgeDate":1626730774,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b413b4","deletedDate":1618955064,"scheduledPurgeDate":1626731064,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qUkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2844' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qUkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae","deletedDate":1618953821,"scheduledPurgeDate":1626729821,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe","deletedDate":1618954242,"scheduledPurgeDate":1626730242,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff","deletedDate":1618954419,"scheduledPurgeDate":1626730419,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d90dff","attributes":{"enabled":true,"created":1618954322,"updated":1618954322,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81","deletedDate":1618953978,"scheduledPurgeDate":1626729978,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret66c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536","deletedDate":1618954897,"scheduledPurgeDate":1626730897,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret687ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rVTFRVGd4TXpVekx6ZEdPVE0xTXpreFFUYzVORFEyT0VRNFFUTXlOMEZHUkVSR05qQkdNamszSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rVTFRVGd4TXpVekx6ZEdPVE0xTXpreFFUYzVORFEyT0VRNFFUTXlOMEZHUkVSR05qQkdNamszSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b","deletedDate":1618954006,"scheduledPurgeDate":1626730006,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3","deletedDate":1618954898,"scheduledPurgeDate":1626730898,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b413b4","deletedDate":1618954983,"scheduledPurgeDate":1626730983,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b413b4","attributes":{"enabled":true,"created":1618954929,"updated":1618954929,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '1479' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_list_operations.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_versions_2016_10_01.yaml similarity index 51% rename from sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_list_operations.yaml rename to sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_versions_2016_10_01.yaml index d6e8cb08b7f0..19b0d1604bb3 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_samples_secrets.test_example_secret_list_operations.yaml +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_versions_2016_10_01.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret095e71749?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280?api-version=2016-10-01 response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:50:40 GMT + - Tue, 20 Apr 2021 21:42:45 GMT expires: - '-1' pragma: @@ -41,18 +41,18 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: code: 401 message: Unauthorized - request: - body: '{"value": "value0"}' + body: '{"value": "secVal"}' headers: Accept: - application/json @@ -65,21 +65,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret095e71749?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280?api-version=2016-10-01 response: body: - string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret095e71749/977abc19a88841a99661bfae29bcb9b7","attributes":{"enabled":true,"created":1613613041,"updated":1613613041,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280/b13525151a744f98ad8a90e1ee6b0585","attributes":{"enabled":true,"created":1618954966,"updated":1618954966,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '260' + - '240' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:50:40 GMT + - Tue, 20 Apr 2021 21:42:46 GMT expires: - '-1' pragma: @@ -89,18 +89,18 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"value": "value1"}' + body: '{"value": "secVal"}' headers: Accept: - application/json @@ -113,21 +113,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret195e71749?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280?api-version=2016-10-01 response: body: - string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret195e71749/2cc734c842264acb8295c87f9ed664b9","attributes":{"enabled":true,"created":1613613041,"updated":1613613041,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280/c00c75de426146e7b7b7a493820267fa","attributes":{"enabled":true,"created":1618954967,"updated":1618954967,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '260' + - '240' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:50:41 GMT + - Tue, 20 Apr 2021 21:42:46 GMT expires: - '-1' pragma: @@ -137,18 +137,18 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"value": "value2"}' + body: '{"value": "secVal"}' headers: Accept: - application/json @@ -161,21 +161,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret295e71749?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280?api-version=2016-10-01 response: body: - string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret295e71749/5ca24f4738f9479eb10b103a3cd3ea2b","attributes":{"enabled":true,"created":1613613041,"updated":1613613041,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280/ea81be8b6f854fd5a278e3e6a8e2588b","attributes":{"enabled":true,"created":1618954967,"updated":1618954967,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '260' + - '240' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:50:41 GMT + - Tue, 20 Apr 2021 21:42:47 GMT expires: - '-1' pragma: @@ -185,18 +185,18 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"value": "value3"}' + body: '{"value": "secVal"}' headers: Accept: - application/json @@ -209,21 +209,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret395e71749?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280?api-version=2016-10-01 response: body: - string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret395e71749/d42d4adcdb6a44e4adbea76a82f7e1b4","attributes":{"enabled":true,"created":1613613041,"updated":1613613041,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280/5a86189bad9d4b87b6d7b5d9f5df97d1","attributes":{"enabled":true,"created":1618954967,"updated":1618954967,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '260' + - '240' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:50:41 GMT + - Tue, 20 Apr 2021 21:42:47 GMT expires: - '-1' pragma: @@ -233,18 +233,18 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"value": "value4"}' + body: '{"value": "secVal"}' headers: Accept: - application/json @@ -257,21 +257,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret495e71749?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280?api-version=2016-10-01 response: body: - string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret495e71749/2302afba37f94ffa82d8ee7d6f4559a6","attributes":{"enabled":true,"created":1613613042,"updated":1613613042,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280/9fe2c5231a6f43edaa55c79953fa2907","attributes":{"enabled":true,"created":1618954968,"updated":1618954968,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '260' + - '240' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:50:41 GMT + - Tue, 20 Apr 2021 21:42:47 GMT expires: - '-1' pragma: @@ -281,18 +281,18 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"value": "value5"}' + body: '{"value": "secVal"}' headers: Accept: - application/json @@ -305,21 +305,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret595e71749?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280?api-version=2016-10-01 response: body: - string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret595e71749/d70c2c53111d45f4bc923c6c8fdc1599","attributes":{"enabled":true,"created":1613613042,"updated":1613613042,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280/bd017a2181234ac3bb84872aee4b0f69","attributes":{"enabled":true,"created":1618954968,"updated":1618954968,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '260' + - '240' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:50:41 GMT + - Tue, 20 Apr 2021 21:42:48 GMT expires: - '-1' pragma: @@ -329,18 +329,18 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"value": "value6"}' + body: '{"value": "secVal"}' headers: Accept: - application/json @@ -353,21 +353,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret695e71749?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280?api-version=2016-10-01 response: body: - string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret695e71749/12bfe69a4f1d4c99a1524055cd7e19bb","attributes":{"enabled":true,"created":1613613042,"updated":1613613042,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280/e5b394ca866240bf9d3d82cab7a0103f","attributes":{"enabled":true,"created":1618954968,"updated":1618954968,"recoveryLevel":"Recoverable+Purgeable"}}' headers: cache-control: - no-cache content-length: - - '260' + - '240' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:50:41 GMT + - Tue, 20 Apr 2021 21:42:48 GMT expires: - '-1' pragma: @@ -377,11 +377,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -397,21 +397,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280/versions?maxresults=6&api-version=2016-10-01 response: body: - string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret095e71749","attributes":{"enabled":true,"created":1613613041,"updated":1613613041,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret195e71749","attributes":{"enabled":true,"created":1613613041,"updated":1613613041,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret295e71749","attributes":{"enabled":true,"created":1613613041,"updated":1613613041,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret395e71749","attributes":{"enabled":true,"created":1613613041,"updated":1613613041,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret495e71749","attributes":{"enabled":true,"created":1613613042,"updated":1613613042,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret595e71749","attributes":{"enabled":true,"created":1613613042,"updated":1613613042,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret695e71749","attributes":{"enabled":true,"created":1613613042,"updated":1613613042,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"contentType":"application/x-pkcs12","id":"https://vaultname.vault.azure.net/secrets/sftest","managed":true,"attributes":{"enabled":true,"nbf":1613082951,"exp":1644619551,"created":1613083552,"updated":1613083552,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280/5a86189bad9d4b87b6d7b5d9f5df97d1","attributes":{"enabled":true,"created":1618954967,"updated":1618954967,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280/9fe2c5231a6f43edaa55c79953fa2907","attributes":{"enabled":true,"created":1618954968,"updated":1618954968,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280/b13525151a744f98ad8a90e1ee6b0585","attributes":{"enabled":true,"created":1618954966,"updated":1618954966,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280/bd017a2181234ac3bb84872aee4b0f69","attributes":{"enabled":true,"created":1618954968,"updated":1618954968,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280/c00c75de426146e7b7b7a493820267fa","attributes":{"enabled":true,"created":1618954967,"updated":1618954967,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280/e5b394ca866240bf9d3d82cab7a0103f","attributes":{"enabled":true,"created":1618954968,"updated":1618954968,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets/livekvtestsecVerf2491280/versions?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVmtWU1JqSTBPVEV5T0RBdlJVRTRNVUpGT0VJMlJqZzFORVpFTlVFeU56aEZNMFUyUVRoRk1qVTRPRUloTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' headers: cache-control: - no-cache content-length: - - '1782' + - '1747' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:50:41 GMT + - Tue, 20 Apr 2021 21:42:48 GMT expires: - '-1' pragma: @@ -421,11 +421,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -441,21 +441,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/secret-name/versions?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280/versions?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVmtWU1JqSTBPVEV5T0RBdlJVRTRNVUpGT0VJMlJqZzFORVpFTlVFeU56aEZNMFUyUVRoRk1qVTRPRUloTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 response: body: - string: '{"value":[],"nextLink":null}' + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280/ea81be8b6f854fd5a278e3e6a8e2588b","attributes":{"enabled":true,"created":1618954967,"updated":1618954967,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":null}' headers: cache-control: - no-cache content-length: - - '28' + - '251' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 01:50:41 GMT + - Tue, 20 Apr 2021 21:42:48 GMT expires: - '-1' pragma: @@ -465,56 +465,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1 - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name9538173b","deletedDate":1613613030,"scheduledPurgeDate":1621389030,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name9538173b","attributes":{"enabled":true,"exp":2527401600,"created":1613613029,"updated":1613613030,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}}],"nextLink":null}' - headers: - cache-control: - - no-cache - content-length: - - '467' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 01:50:42 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_versions_7_0.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_versions_7_0.yaml new file mode 100644 index 000000000000..d94100256b19 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_versions_7_0.yaml @@ -0,0 +1,478 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd?api-version=7.0 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd?api-version=7.0 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd/eaf717d8e423485791e819497c0e2be2","attributes":{"enabled":true,"created":1618955089,"updated":1618955089,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '240' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd?api-version=7.0 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd/2fb4a2940bc44db8a48a827b841fbe3d","attributes":{"enabled":true,"created":1618955090,"updated":1618955090,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '240' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd?api-version=7.0 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd/adcccefe183d40a395d4af258ab8fc9b","attributes":{"enabled":true,"created":1618955090,"updated":1618955090,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '240' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd?api-version=7.0 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd/76417b92d3bd45eb849bb06adeb2391d","attributes":{"enabled":true,"created":1618955090,"updated":1618955090,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '240' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd?api-version=7.0 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd/8c3a0819a6b044deaed63e42475b08b9","attributes":{"enabled":true,"created":1618955091,"updated":1618955091,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '240' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd?api-version=7.0 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd/ddca7a01d6ff443f98bd18a8cbe7a9bb","attributes":{"enabled":true,"created":1618955091,"updated":1618955091,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '240' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "secVal"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd?api-version=7.0 + response: + body: + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd/80c46b699ed5401cb445c08b24428e5f","attributes":{"enabled":true,"created":1618955091,"updated":1618955091,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '240' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd/versions?maxresults=6&api-version=7.0 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd/2fb4a2940bc44db8a48a827b841fbe3d","attributes":{"enabled":true,"created":1618955090,"updated":1618955090,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd/76417b92d3bd45eb849bb06adeb2391d","attributes":{"enabled":true,"created":1618955090,"updated":1618955090,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd/80c46b699ed5401cb445c08b24428e5f","attributes":{"enabled":true,"created":1618955091,"updated":1618955091,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd/8c3a0819a6b044deaed63e42475b08b9","attributes":{"enabled":true,"created":1618955091,"updated":1618955091,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd/adcccefe183d40a395d4af258ab8fc9b","attributes":{"enabled":true,"created":1618955090,"updated":1618955090,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd/ddca7a01d6ff443f98bd18a8cbe7a9bb","attributes":{"enabled":true,"created":1618955091,"updated":1618955091,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets/livekvtestsecVer761810fd/versions?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVmtWU056WXhPREV3UmtRdlJVRkdOekUzUkRoRk5ESXpORGcxTnpreFJUZ3hPVFE1TjBNd1JUSkNSVEloTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1740' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd/versions?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVmtWU056WXhPREV3UmtRdlJVRkdOekUzUkRoRk5ESXpORGcxTnpreFJUZ3hPVFE1TjBNd1JUSkNSVEloTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd/eaf717d8e423485791e819497c0e2be2","attributes":{"enabled":true,"created":1618955089,"updated":1618955089,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '251' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_versions.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_versions_7_1.yaml similarity index 64% rename from sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_versions.yaml rename to sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_versions_7_1.yaml index d5dd038e5c1f..29acd217a6e0 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_versions.yaml +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_list_versions_7_1.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer33a90fd8?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe?api-version=7.1 response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:14 GMT + - Tue, 20 Apr 2021 21:44:52 GMT expires: - '-1' pragma: @@ -41,11 +41,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -65,21 +65,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer33a90fd8?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe?api-version=7.1 response: body: - string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer33a90fd8/d37382cbdfd64a978dfd6e968f655724","attributes":{"enabled":true,"created":1613675894,"updated":1613675894,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe/e65d1373c2a2444b8361bc54df469780","attributes":{"enabled":true,"created":1618955093,"updated":1618955093,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache content-length: - - '259' + - '261' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:14 GMT + - Tue, 20 Apr 2021 21:44:53 GMT expires: - '-1' pragma: @@ -89,11 +89,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -113,21 +113,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer33a90fd8?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe?api-version=7.1 response: body: - string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer33a90fd8/735a4daa326b4c8b8e4b8cdaf2ea72f5","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe/6152496a21e84570822afa4276868b77","attributes":{"enabled":true,"created":1618955093,"updated":1618955093,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache content-length: - - '259' + - '261' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:15 GMT + - Tue, 20 Apr 2021 21:44:53 GMT expires: - '-1' pragma: @@ -137,11 +137,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -161,21 +161,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer33a90fd8?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe?api-version=7.1 response: body: - string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer33a90fd8/bb289a3117e04dc2906a3d5518c225fc","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe/2100e9c0850f42a683e8ad87315844ab","attributes":{"enabled":true,"created":1618955093,"updated":1618955093,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache content-length: - - '259' + - '261' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:15 GMT + - Tue, 20 Apr 2021 21:44:53 GMT expires: - '-1' pragma: @@ -185,11 +185,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -209,21 +209,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer33a90fd8?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe?api-version=7.1 response: body: - string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer33a90fd8/e0d1759448134528aa23b026ece8bf86","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe/202bef80dc594af285d4838fe8c23413","attributes":{"enabled":true,"created":1618955094,"updated":1618955094,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache content-length: - - '259' + - '261' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:15 GMT + - Tue, 20 Apr 2021 21:44:54 GMT expires: - '-1' pragma: @@ -233,11 +233,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -257,21 +257,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer33a90fd8?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe?api-version=7.1 response: body: - string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer33a90fd8/704a5a565dea4792b00f92f6eaac9648","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe/77a8ff86266349cabdf60a6ef58a260c","attributes":{"enabled":true,"created":1618955094,"updated":1618955094,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache content-length: - - '259' + - '261' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:15 GMT + - Tue, 20 Apr 2021 21:44:54 GMT expires: - '-1' pragma: @@ -281,11 +281,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -305,21 +305,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer33a90fd8?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe?api-version=7.1 response: body: - string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer33a90fd8/024276c99290460dafc9f8c394e64716","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe/4141c4a4b36944ed9aeb384be129814f","attributes":{"enabled":true,"created":1618955094,"updated":1618955094,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache content-length: - - '259' + - '261' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:15 GMT + - Tue, 20 Apr 2021 21:44:54 GMT expires: - '-1' pragma: @@ -329,11 +329,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -353,21 +353,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer33a90fd8?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe?api-version=7.1 response: body: - string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer33a90fd8/a2c2fde46a074739951c494f1e840d79","attributes":{"enabled":true,"created":1613675896,"updated":1613675896,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"secVal","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe/11d38435a6d14834999319e1ce2caa87","attributes":{"enabled":true,"created":1618955095,"updated":1618955095,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache content-length: - - '259' + - '261' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:15 GMT + - Tue, 20 Apr 2021 21:44:54 GMT expires: - '-1' pragma: @@ -377,11 +377,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -397,21 +397,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer33a90fd8/versions?api-version=7.1&maxresults=6 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe/versions?maxresults=6&api-version=7.1 response: body: - string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer33a90fd8/024276c99290460dafc9f8c394e64716","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer33a90fd8/704a5a565dea4792b00f92f6eaac9648","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer33a90fd8/735a4daa326b4c8b8e4b8cdaf2ea72f5","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer33a90fd8/a2c2fde46a074739951c494f1e840d79","attributes":{"enabled":true,"created":1613675896,"updated":1613675896,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer33a90fd8/bb289a3117e04dc2906a3d5518c225fc","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer33a90fd8/d37382cbdfd64a978dfd6e968f655724","attributes":{"enabled":true,"created":1613675894,"updated":1613675894,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets/livekvtestsecVer33a90fd8/versions?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVmtWU016TkJPVEJHUkRndlJUQkVNVGMxT1RRME9ERXpORFV5T0VGQk1qTkNNREkyUlVORk9FSkdPRFloTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe/11d38435a6d14834999319e1ce2caa87","attributes":{"enabled":true,"created":1618955095,"updated":1618955095,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe/202bef80dc594af285d4838fe8c23413","attributes":{"enabled":true,"created":1618955094,"updated":1618955094,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe/2100e9c0850f42a683e8ad87315844ab","attributes":{"enabled":true,"created":1618955093,"updated":1618955093,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe/4141c4a4b36944ed9aeb384be129814f","attributes":{"enabled":true,"created":1618955094,"updated":1618955094,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe/6152496a21e84570822afa4276868b77","attributes":{"enabled":true,"created":1618955093,"updated":1618955093,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe/77a8ff86266349cabdf60a6ef58a260c","attributes":{"enabled":true,"created":1618955094,"updated":1618955094,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets/livekvtestsecVer761910fe/versions?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVmtWU056WXhPVEV3UmtVdlJUWTFSREV6TnpORE1rRXlORFEwUWpnek5qRkNRelUwUkVZME5qazNPREFoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' headers: cache-control: - no-cache content-length: - - '1852' + - '1866' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:16 GMT + - Tue, 20 Apr 2021 21:44:55 GMT expires: - '-1' pragma: @@ -421,11 +421,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -441,21 +441,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer33a90fd8/versions?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVmtWU016TkJPVEJHUkRndlJUQkVNVGMxT1RRME9ERXpORFV5T0VGQk1qTkNNREkyUlVORk9FSkdPRFloTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe/versions?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVmtWU056WXhPVEV3UmtVdlJUWTFSREV6TnpORE1rRXlORFEwUWpnek5qRkNRelUwUkVZME5qazNPREFoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 response: body: - string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer33a90fd8/e0d1759448134528aa23b026ece8bf86","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe/e65d1373c2a2444b8361bc54df469780","attributes":{"enabled":true,"created":1618955093,"updated":1618955093,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' headers: cache-control: - no-cache content-length: - - '270' + - '272' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:16 GMT + - Tue, 20 Apr 2021 21:44:55 GMT expires: - '-1' pragma: @@ -465,11 +465,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_disabled_2016_10_01.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_disabled_2016_10_01.yaml new file mode 100644 index 000000000000..7494e0623ce8 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_disabled_2016_10_01.yaml @@ -0,0 +1,102 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name2c0d136a?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "secret-value"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name2c0d136a?api-version=2016-10-01 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name2c0d136a/4d8b4fe339974849ab268bee267e807a","attributes":{"enabled":true,"created":1618955096,"updated":1618955096,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '251' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_disabled_7_0.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_disabled_7_0.yaml new file mode 100644 index 000000000000..e6bf39be3cff --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_disabled_7_0.yaml @@ -0,0 +1,102 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea96711e7?api-version=7.0 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "secret-value"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea96711e7?api-version=7.0 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea96711e7/0322cfb835b04c088e4fef38cd36b3bf","attributes":{"enabled":true,"created":1618955098,"updated":1618955098,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '251' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_disabled.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_disabled_7_1.yaml similarity index 75% rename from sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_disabled.yaml rename to sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_disabled_7_1.yaml index 1bcd9d470e56..9ccf73993b18 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_disabled.yaml +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_disabled_7_1.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name635010c2?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea96811e8?api-version=7.1 response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:14 GMT + - Tue, 20 Apr 2021 21:42:48 GMT expires: - '-1' pragma: @@ -41,11 +41,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -65,21 +65,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name635010c2?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea96811e8?api-version=7.1 response: body: - string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name635010c2/18c4445787e94ea58b08fc3d92ced012","attributes":{"enabled":true,"created":1613675894,"updated":1613675894,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea96811e8/c6cf35a847c04fb8a5bd3afde221f1e2","attributes":{"enabled":true,"created":1618954970,"updated":1618954970,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache content-length: - - '270' + - '272' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:14 GMT + - Tue, 20 Apr 2021 21:42:49 GMT expires: - '-1' pragma: @@ -89,11 +89,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_enabled_2016_10_01.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_enabled_2016_10_01.yaml new file mode 100644 index 000000000000..cd5447208bfc --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_enabled_2016_10_01.yaml @@ -0,0 +1,102 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name167a12fd?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "secret-value"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name167a12fd?api-version=2016-10-01 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name167a12fd/6d559c55fe0c42faa2c89f50017f0206","attributes":{"enabled":true,"created":1618954971,"updated":1618954971,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '251' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_enabled_7_0.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_enabled_7_0.yaml new file mode 100644 index 000000000000..e092ec2a7a0e --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_enabled_7_0.yaml @@ -0,0 +1,102 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name96cf117a?api-version=7.0 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "secret-value"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name96cf117a?api-version=7.0 + response: + body: + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name96cf117a/67119530e121464d92c490e10240a245","attributes":{"enabled":true,"created":1618954973,"updated":1618954973,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '251' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_enabled.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_enabled_7_1.yaml similarity index 75% rename from sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_enabled.yaml rename to sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_enabled_7_1.yaml index d02483493c3e..af7a2f4d45d3 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_enabled.yaml +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_logging_enabled_7_1.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name526c1055?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name96d0117b?api-version=7.1 response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:41 GMT + - Tue, 20 Apr 2021 21:42:53 GMT expires: - '-1' pragma: @@ -41,11 +41,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -65,21 +65,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name526c1055?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret-name96d0117b?api-version=7.1 response: body: - string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name526c1055/a6cdecf0a2be43b8ab3dcf93ed4c7415","attributes":{"enabled":true,"created":1613675922,"updated":1613675922,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"secret-value","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name96d0117b/35c966673b764f0dae078a3e249b3fc7","attributes":{"enabled":true,"created":1618954974,"updated":1618954974,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache content-length: - - '270' + - '272' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:43 GMT + - Tue, 20 Apr 2021 21:42:54 GMT expires: - '-1' pragma: @@ -89,11 +89,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_purge.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_purge.yaml deleted file mode 100644 index 7096ed92ac83..000000000000 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_purge.yaml +++ /dev/null @@ -1,3650 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer - or PoP token."}}' - headers: - cache-control: - - no-cache - content-length: - - '87' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:19:42 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - www-authenticate: - - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", - resource="https://vault.azure.net" - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 401 - message: Unauthorized -- request: - body: '{"value": "value0"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0c1310c67?api-version=7.1 - response: - body: - string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0c1310c67/ea51b7bf79414e63bff7f4171e647748","attributes":{"enabled":true,"created":1613675982,"updated":1613675982,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '260' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:19:43 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"value": "value1"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1c1310c67?api-version=7.1 - response: - body: - string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1c1310c67/25c53d7a64f2451bb3989aa26dce2606","attributes":{"enabled":true,"created":1613675983,"updated":1613675983,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '260' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:19:43 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"value": "value2"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2c1310c67?api-version=7.1 - response: - body: - string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2c1310c67/a086b6a9bf40493ea3492aee294ff4b6","attributes":{"enabled":true,"created":1613675983,"updated":1613675983,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '260' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:19:43 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"value": "value3"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3c1310c67?api-version=7.1 - response: - body: - string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3c1310c67/c33ebe750ad64c23ac80fa6e3c63ff72","attributes":{"enabled":true,"created":1613675983,"updated":1613675983,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '260' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:19:43 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"value": "value4"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4c1310c67?api-version=7.1 - response: - body: - string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4c1310c67/57851936192a4295b8ea610e12e05612","attributes":{"enabled":true,"created":1613675983,"updated":1613675983,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '260' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:19:43 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"value": "value5"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5c1310c67?api-version=7.1 - response: - body: - string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5c1310c67/db6cd9a5f34b4dca803dc4d460ae9019","attributes":{"enabled":true,"created":1613675984,"updated":1613675984,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '260' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:19:44 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"value": "value6"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '19' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6c1310c67?api-version=7.1 - response: - body: - string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6c1310c67/2b499c5be4494ae39424ece89fb1a6b2","attributes":{"enabled":true,"created":1613675984,"updated":1613675984,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '260' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:19:44 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5c1310c67?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5c1310c67","deletedDate":1613675984,"scheduledPurgeDate":1621451984,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5c1310c67/db6cd9a5f34b4dca803dc4d460ae9019","attributes":{"enabled":true,"created":1613675984,"updated":1613675984,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:19:44 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:19:44 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:19:46 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:19:48 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:19:50 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:19:52 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5c1310c67?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5c1310c67","deletedDate":1613675984,"scheduledPurgeDate":1621451984,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5c1310c67/db6cd9a5f34b4dca803dc4d460ae9019","attributes":{"enabled":true,"created":1613675984,"updated":1613675984,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:19:53 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2c1310c67?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2c1310c67","deletedDate":1613675994,"scheduledPurgeDate":1621451994,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2c1310c67/a086b6a9bf40493ea3492aee294ff4b6","attributes":{"enabled":true,"created":1613675983,"updated":1613675983,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:19:55 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:19:55 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:19:56 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:19:58 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:00 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:02 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:05 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2c1310c67?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2c1310c67","deletedDate":1613675994,"scheduledPurgeDate":1621451994,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2c1310c67/a086b6a9bf40493ea3492aee294ff4b6","attributes":{"enabled":true,"created":1613675983,"updated":1613675983,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:06 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6c1310c67?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6c1310c67","deletedDate":1613676007,"scheduledPurgeDate":1621452007,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6c1310c67/2b499c5be4494ae39424ece89fb1a6b2","attributes":{"enabled":true,"created":1613675984,"updated":1613675984,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:07 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:07 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:09 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:11 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:13 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:15 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6c1310c67?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6c1310c67","deletedDate":1613676007,"scheduledPurgeDate":1621452007,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6c1310c67/2b499c5be4494ae39424ece89fb1a6b2","attributes":{"enabled":true,"created":1613675984,"updated":1613675984,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:17 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3c1310c67?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3c1310c67","deletedDate":1613676018,"scheduledPurgeDate":1621452018,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3c1310c67/c33ebe750ad64c23ac80fa6e3c63ff72","attributes":{"enabled":true,"created":1613675983,"updated":1613675983,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:17 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:17 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:19 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:21 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:23 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:25 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:27 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3c1310c67?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3c1310c67","deletedDate":1613676018,"scheduledPurgeDate":1621452018,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3c1310c67/c33ebe750ad64c23ac80fa6e3c63ff72","attributes":{"enabled":true,"created":1613675983,"updated":1613675983,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:30 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0c1310c67?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0c1310c67","deletedDate":1613676030,"scheduledPurgeDate":1621452030,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0c1310c67/ea51b7bf79414e63bff7f4171e647748","attributes":{"enabled":true,"created":1613675982,"updated":1613675982,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:30 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:30 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:32 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:34 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:36 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:38 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:40 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0c1310c67?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0c1310c67","deletedDate":1613676030,"scheduledPurgeDate":1621452030,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0c1310c67/ea51b7bf79414e63bff7f4171e647748","attributes":{"enabled":true,"created":1613675982,"updated":1613675982,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:42 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4c1310c67?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4c1310c67","deletedDate":1613676043,"scheduledPurgeDate":1621452043,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4c1310c67/57851936192a4295b8ea610e12e05612","attributes":{"enabled":true,"created":1613675983,"updated":1613675983,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:42 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:42 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:45 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:47 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:49 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:51 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:52 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4c1310c67?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4c1310c67","deletedDate":1613676043,"scheduledPurgeDate":1621452043,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4c1310c67/57851936192a4295b8ea610e12e05612","attributes":{"enabled":true,"created":1613675983,"updated":1613675983,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:55 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1c1310c67?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1c1310c67","deletedDate":1613676055,"scheduledPurgeDate":1621452055,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1c1310c67/25c53d7a64f2451bb3989aa26dce2606","attributes":{"enabled":true,"created":1613675983,"updated":1613675983,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:55 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:55 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:56 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:20:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:21:01 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:21:03 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1c1310c67?api-version=7.1 - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1c1310c67","deletedDate":1613676055,"scheduledPurgeDate":1621452055,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1c1310c67/25c53d7a64f2451bb3989aa26dce2606","attributes":{"enabled":true,"created":1613675983,"updated":1613675983,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '391' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:21:05 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1 - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretd267137a","deletedDate":1613675897,"scheduledPurgeDate":1621451897,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretd267137a","attributes":{"enabled":false,"nbf":1422864000,"exp":2524723200,"created":1613675895,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0ab6c128e","deletedDate":1613675933,"scheduledPurgeDate":1621451933,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0ab6c128e","attributes":{"enabled":true,"created":1613675894,"updated":1613675894,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0c1310c67","deletedDate":1613676030,"scheduledPurgeDate":1621452030,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0c1310c67","attributes":{"enabled":true,"created":1613675982,"updated":1613675982,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FTXhNekV3UXpZM0wwVkJOVEZDTjBKR056azBNVFJGTmpOQ1JrWTNSalF4TnpGRk5qUTNOelE0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' - headers: - cache-control: - - no-cache - content-length: - - '1536' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:21:05 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FTXhNekV3UXpZM0wwVkJOVEZDTjBKR056azBNVFJGTmpOQ1JrWTNSalF4TnpGRk5qUTNOelE0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1ab6c128e","deletedDate":1613675923,"scheduledPurgeDate":1621451923,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1ab6c128e","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1c1310c67","deletedDate":1613676055,"scheduledPurgeDate":1621452055,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1c1310c67","attributes":{"enabled":true,"created":1613675983,"updated":1613675983,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2ab6c128e","deletedDate":1613675896,"scheduledPurgeDate":1621451896,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2ab6c128e","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2c1310c67","deletedDate":1613675994,"scheduledPurgeDate":1621451994,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2c1310c67","attributes":{"enabled":true,"created":1613675983,"updated":1613675983,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3ab6c128e","deletedDate":1613675946,"scheduledPurgeDate":1621451946,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3ab6c128e","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3c1310c67","deletedDate":1613676018,"scheduledPurgeDate":1621452018,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3c1310c67","attributes":{"enabled":true,"created":1613675983,"updated":1613675983,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4ab6c128e","deletedDate":1613675910,"scheduledPurgeDate":1621451910,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4ab6c128e","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4c1310c67","deletedDate":1613676043,"scheduledPurgeDate":1621452043,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4c1310c67","attributes":{"enabled":true,"created":1613675983,"updated":1613675983,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FTkZOVFl3UTBRNUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' - headers: - cache-control: - - no-cache - content-length: - - '3173' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:21:05 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FTkZOVFl3UTBRNUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5ab6c128e","deletedDate":1613675958,"scheduledPurgeDate":1621451958,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5ab6c128e","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5c1310c67","deletedDate":1613675984,"scheduledPurgeDate":1621451984,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5c1310c67","attributes":{"enabled":true,"created":1613675984,"updated":1613675984,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6ab6c128e","deletedDate":1613675971,"scheduledPurgeDate":1621451971,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6ab6c128e","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6c1310c67","deletedDate":1613676007,"scheduledPurgeDate":1621452007,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6c1310c67","attributes":{"enabled":true,"created":1613675984,"updated":1613675984,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' - headers: - cache-control: - - no-cache - content-length: - - '1463' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:21:05 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5c1310c67?api-version=7.1 - response: - body: - string: '' - headers: - cache-control: - - no-cache - date: - - Thu, 18 Feb 2021 19:21:05 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2c1310c67?api-version=7.1 - response: - body: - string: '' - headers: - cache-control: - - no-cache - date: - - Thu, 18 Feb 2021 19:21:05 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6c1310c67?api-version=7.1 - response: - body: - string: '' - headers: - cache-control: - - no-cache - date: - - Thu, 18 Feb 2021 19:21:05 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3c1310c67?api-version=7.1 - response: - body: - string: '' - headers: - cache-control: - - no-cache - date: - - Thu, 18 Feb 2021 19:21:05 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0c1310c67?api-version=7.1 - response: - body: - string: '' - headers: - cache-control: - - no-cache - date: - - Thu, 18 Feb 2021 19:21:05 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4c1310c67?api-version=7.1 - response: - body: - string: '' - headers: - cache-control: - - no-cache - date: - - Thu, 18 Feb 2021 19:21:07 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1c1310c67?api-version=7.1 - response: - body: - string: '' - headers: - cache-control: - - no-cache - date: - - Thu, 18 Feb 2021 19:21:07 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret5c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:21:07 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret2c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:21:07 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret6c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:21:07 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret3c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:21:07 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret0c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:21:07 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret4c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:21:07 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1c1310c67?api-version=7.1 - response: - body: - string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: - livekvtestsecret1c1310c67"}}' - headers: - cache-control: - - no-cache - content-length: - - '99' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:21:07 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1 - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretd267137a","deletedDate":1613675897,"scheduledPurgeDate":1621451897,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretd267137a","attributes":{"enabled":false,"nbf":1422864000,"exp":2524723200,"created":1613675895,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0ab6c128e","deletedDate":1613675933,"scheduledPurgeDate":1621451933,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0ab6c128e","attributes":{"enabled":true,"created":1613675894,"updated":1613675894,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FTXhNekV3UXpZM0wwVkJOVEZDTjBKR056azBNVFJGTmpOQ1JrWTNSalF4TnpGRk5qUTNOelE0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' - headers: - cache-control: - - no-cache - content-length: - - '1177' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:21:07 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FTXhNekV3UXpZM0wwVkJOVEZDTjBKR056azBNVFJGTmpOQ1JrWTNSalF4TnpGRk5qUTNOelE0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1ab6c128e","deletedDate":1613675923,"scheduledPurgeDate":1621451923,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1ab6c128e","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2ab6c128e","deletedDate":1613675896,"scheduledPurgeDate":1621451896,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2ab6c128e","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3ab6c128e","deletedDate":1613675946,"scheduledPurgeDate":1621451946,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3ab6c128e","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4ab6c128e","deletedDate":1613675910,"scheduledPurgeDate":1621451910,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4ab6c128e","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FTkZOVFl3UTBRNUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' - headers: - cache-control: - - no-cache - content-length: - - '1737' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:21:07 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FTkZOVFl3UTBRNUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5ab6c128e","deletedDate":1613675958,"scheduledPurgeDate":1621451958,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5ab6c128e","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6ab6c128e","deletedDate":1613675971,"scheduledPurgeDate":1621451971,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6ab6c128e","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' - headers: - cache-control: - - no-cache - content-length: - - '745' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:21:07 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_purge_2016_10_01.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_purge_2016_10_01.yaml new file mode 100644 index 000000000000..41304a668280 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_purge_2016_10_01.yaml @@ -0,0 +1,7193 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret05a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "value0"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret05a050f0f?api-version=2016-10-01 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret05a050f0f/41280a4652eb4c5c90585f087058b190","attributes":{"enabled":true,"created":1618954975,"updated":1618954975,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value1"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret15a050f0f?api-version=2016-10-01 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret15a050f0f/0a4c1b86d0b84c73b7ebe1796f81e904","attributes":{"enabled":true,"created":1618954976,"updated":1618954976,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret25a050f0f?api-version=2016-10-01 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret25a050f0f/bd875bc3baf244d0830a51f71ca82405","attributes":{"enabled":true,"created":1618954976,"updated":1618954976,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value3"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret35a050f0f?api-version=2016-10-01 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret35a050f0f/ea0aa38a85424ea69c9c9a0548fdac73","attributes":{"enabled":true,"created":1618954976,"updated":1618954976,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value4"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret45a050f0f?api-version=2016-10-01 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret45a050f0f/90c3fca637264af3b7e033a578da3e65","attributes":{"enabled":true,"created":1618954976,"updated":1618954976,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value5"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret55a050f0f?api-version=2016-10-01 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret55a050f0f/49a6a00c342f458d91467bd95a8cac2b","attributes":{"enabled":true,"created":1618954977,"updated":1618954977,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value6"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret65a050f0f?api-version=2016-10-01 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret65a050f0f/de1d80efb2b74e0bad5f5ed155c0ead8","attributes":{"enabled":true,"created":1618954977,"updated":1618954977,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret45a050f0f?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret45a050f0f","deletedDate":1618954977,"scheduledPurgeDate":1626730977,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret45a050f0f/90c3fca637264af3b7e033a578da3e65","attributes":{"enabled":true,"created":1618954976,"updated":1618954976,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret45a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret45a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret45a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret45a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:42:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret45a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret45a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret45a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret45a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret45a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret45a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret45a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret45a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret45a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret45a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret45a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret45a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret45a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret45a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret45a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret45a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret45a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret45a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret45a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret45a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret45a050f0f?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret45a050f0f","deletedDate":1618954977,"scheduledPurgeDate":1626730977,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret45a050f0f/90c3fca637264af3b7e033a578da3e65","attributes":{"enabled":true,"created":1618954976,"updated":1618954976,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret55a050f0f?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret55a050f0f","deletedDate":1618955003,"scheduledPurgeDate":1626731003,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret55a050f0f/49a6a00c342f458d91467bd95a8cac2b","attributes":{"enabled":true,"created":1618954977,"updated":1618954977,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret55a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret55a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret55a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret55a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret55a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret55a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret55a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret55a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret55a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret55a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret55a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret55a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret55a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret55a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret55a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret55a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret55a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret55a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret55a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret55a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret55a050f0f?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret55a050f0f","deletedDate":1618955003,"scheduledPurgeDate":1626731003,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret55a050f0f/49a6a00c342f458d91467bd95a8cac2b","attributes":{"enabled":true,"created":1618954977,"updated":1618954977,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret35a050f0f?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret35a050f0f","deletedDate":1618955025,"scheduledPurgeDate":1626731025,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret35a050f0f/ea0aa38a85424ea69c9c9a0548fdac73","attributes":{"enabled":true,"created":1618954976,"updated":1618954976,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret35a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret35a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret35a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret35a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret35a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret35a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret35a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret35a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret35a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret35a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret35a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret35a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret35a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret35a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:43:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret35a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret35a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret35a050f0f?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret35a050f0f","deletedDate":1618955025,"scheduledPurgeDate":1626731025,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret35a050f0f/ea0aa38a85424ea69c9c9a0548fdac73","attributes":{"enabled":true,"created":1618954976,"updated":1618954976,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret25a050f0f?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret25a050f0f","deletedDate":1618955043,"scheduledPurgeDate":1626731043,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret25a050f0f/bd875bc3baf244d0830a51f71ca82405","attributes":{"enabled":true,"created":1618954976,"updated":1618954976,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret25a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret25a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret25a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret25a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret25a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret25a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret25a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret25a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret25a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret25a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret25a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret25a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret25a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret25a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret25a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret25a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret25a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret25a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret25a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret25a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret25a050f0f?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret25a050f0f","deletedDate":1618955043,"scheduledPurgeDate":1626731043,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret25a050f0f/bd875bc3baf244d0830a51f71ca82405","attributes":{"enabled":true,"created":1618954976,"updated":1618954976,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret15a050f0f?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret15a050f0f","deletedDate":1618955065,"scheduledPurgeDate":1626731065,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret15a050f0f/0a4c1b86d0b84c73b7ebe1796f81e904","attributes":{"enabled":true,"created":1618954976,"updated":1618954976,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret15a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret15a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret15a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret15a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret15a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret15a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret15a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret15a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret15a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret15a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret15a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret15a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret15a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret15a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret15a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret15a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret15a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret15a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret15a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret15a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret15a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret15a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret15a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret15a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret15a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret15a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret15a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret15a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret15a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret15a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret15a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret15a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret15a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret15a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret15a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret15a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret15a050f0f?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret15a050f0f","deletedDate":1618955065,"scheduledPurgeDate":1626731065,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret15a050f0f/0a4c1b86d0b84c73b7ebe1796f81e904","attributes":{"enabled":true,"created":1618954976,"updated":1618954976,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret65a050f0f?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret65a050f0f","deletedDate":1618955104,"scheduledPurgeDate":1626731104,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret65a050f0f/de1d80efb2b74e0bad5f5ed155c0ead8","attributes":{"enabled":true,"created":1618954977,"updated":1618954977,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret65a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret65a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret65a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret65a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret65a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret65a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret65a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret65a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret65a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret65a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret65a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret65a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret65a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret65a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret65a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret65a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret65a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret65a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret65a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret65a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret65a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret65a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret65a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret65a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret65a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret65a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret65a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret65a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret65a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret65a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret65a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret65a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret65a050f0f?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret65a050f0f","deletedDate":1618955104,"scheduledPurgeDate":1626731104,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret65a050f0f/de1d80efb2b74e0bad5f5ed155c0ead8","attributes":{"enabled":true,"created":1618954977,"updated":1618954977,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret05a050f0f?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret05a050f0f","deletedDate":1618955139,"scheduledPurgeDate":1626731139,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret05a050f0f/41280a4652eb4c5c90585f087058b190","attributes":{"enabled":true,"created":1618954975,"updated":1618954975,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret05a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret05a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret05a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret05a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret05a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret05a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret05a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret05a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret05a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret05a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret05a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret05a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret05a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret05a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret05a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret05a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret05a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret05a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret05a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret05a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret05a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret05a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret05a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret05a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret05a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret05a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret05a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret05a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret05a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret05a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret05a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret05a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret05a050f0f?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret05a050f0f","deletedDate":1618955139,"scheduledPurgeDate":1626731139,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret05a050f0f/41280a4652eb4c5c90585f087058b190","attributes":{"enabled":true,"created":1618954975,"updated":1618954975,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1","deletedDate":1618954405,"scheduledPurgeDate":1626730405,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954403,"updated":1618954405,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e","deletedDate":1618954533,"scheduledPurgeDate":1626730533,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretf9f143e","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954531,"updated":1618954533,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f","deletedDate":1618954440,"scheduledPurgeDate":1626730440,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954438,"updated":1618954439,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEUXdSa0U1TDBaRFJEY3lRVVpGUkVZMU1EUkVSVFE0TWtJMVJFRTVOelZCUVRKQ05FTkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '1682' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEUXdSa0U1TDBaRFJEY3lRVVpGUkVZMU1EUkVSVFE0TWtJMVJFRTVOelZCUVRKQ05FTkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '306' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURnNU1UVTNPQzlET1VRNE9FTXdOMEZCT0RNME4wUkJRa0kzUkVRd01USXlNVVUwTmtVNE5TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '375' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURnNU1UVTNPQzlET1VRNE9FTXdOMEZCT0RNME4wUkJRa0kzUkVRd01USXlNVVUwTmtVNE5TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBSR01URTROaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '1584' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBSR01URTROaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861","deletedDate":1618953267,"scheduledPurgeDate":1626729267,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNME1UZzJNUzh3TURrNU0wUTBSamRHTnpRME5qWXdRa0ZHTmpCQ1JrVTNOMEpHTnpsRVJDRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '1643' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNME1UZzJNUzh3TURrNU0wUTBSamRHTnpRME5qWXdRa0ZHTmpCQ1JrVTNOMEpHTnpsRVJDRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04a010eae","attributes":{"enabled":true,"created":1618953819,"updated":1618953819,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe","deletedDate":1618954281,"scheduledPurgeDate":1626730281,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff","deletedDate":1618954436,"scheduledPurgeDate":1626730436,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret05a050f0f","deletedDate":1618955139,"scheduledPurgeDate":1626731139,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret05a050f0f","attributes":{"enabled":true,"created":1618954975,"updated":1618954975,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81","deletedDate":1618954001,"scheduledPurgeDate":1626730001,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret06c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret087ed1536","deletedDate":1618954838,"scheduledPurgeDate":1626730838,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret087ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2700' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353","deletedDate":1618953829,"scheduledPurgeDate":1626729829,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a81353","attributes":{"enabled":true,"created":1618953793,"updated":1618953793,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c","deletedDate":1618954229,"scheduledPurgeDate":1626730229,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b313b3","deletedDate":1618954922,"scheduledPurgeDate":1626730922,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b313b3","attributes":{"enabled":true,"created":1618954772,"updated":1618954772,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b413b4","deletedDate":1618955042,"scheduledPurgeDate":1626731042,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae","deletedDate":1618953880,"scheduledPurgeDate":1626729880,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe","deletedDate":1618954296,"scheduledPurgeDate":1626730296,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret15a050f0f","deletedDate":1618955065,"scheduledPurgeDate":1626731065,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret15a050f0f","attributes":{"enabled":true,"created":1618954976,"updated":1618954976,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UVkJNRFV3UmpCR0x6QkJORU14UWpnMlJEQkNPRFJETnpOQ04wVkNSVEUzT1RaR09ERkZPVEEwSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3785' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UVkJNRFV3UmpCR0x6QkJORU14UWpnMlJEQkNPRFJETnpOQ04wVkNSVEUzT1RaR09ERkZPVEEwSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret16c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret187ed1536","deletedDate":1618954771,"scheduledPurgeDate":1626730771,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret187ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352","deletedDate":1618953674,"scheduledPurgeDate":1626729674,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353","deletedDate":1618953795,"scheduledPurgeDate":1626729795,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b","deletedDate":1618954136,"scheduledPurgeDate":1626730136,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c","deletedDate":1618954295,"scheduledPurgeDate":1626730295,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2704' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3","deletedDate":1618954874,"scheduledPurgeDate":1626730874,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b413b4","deletedDate":1618955024,"scheduledPurgeDate":1626731024,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae","deletedDate":1618953856,"scheduledPurgeDate":1626729856,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff","deletedDate":1618954486,"scheduledPurgeDate":1626730486,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret25a050f0f","deletedDate":1618955043,"scheduledPurgeDate":1626731043,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret25a050f0f","attributes":{"enabled":true,"created":1618954976,"updated":1618954976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81","deletedDate":1618954092,"scheduledPurgeDate":1626730092,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret26c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5","deletedDate":1618953672,"scheduledPurgeDate":1626729672,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536","deletedDate":1618954873,"scheduledPurgeDate":1626730873,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret287ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qazBSRFF4UVVWQ0x6SXpPRUV5UTBNMU5VWkVNRFJHUWpnNVFqQTVRVGxDUVVORVJqVXlSREpHSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3443' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qazBSRFF4UVVWQ0x6SXpPRUV5UTBNMU5VWkVNRFJHUWpnNVFqQTVRVGxDUVVORVJqVXlSREpHSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c","deletedDate":1618954332,"scheduledPurgeDate":1626730332,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3","deletedDate":1618954811,"scheduledPurgeDate":1626730811,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b413b4","deletedDate":1618955003,"scheduledPurgeDate":1626731003,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae","deletedDate":1618953917,"scheduledPurgeDate":1626729917,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe","deletedDate":1618954198,"scheduledPurgeDate":1626730198,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16UkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3039' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16UkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff","deletedDate":1618954397,"scheduledPurgeDate":1626730397,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret35a050f0f","deletedDate":1618955025,"scheduledPurgeDate":1626731025,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret35a050f0f","attributes":{"enabled":true,"created":1618954976,"updated":1618954976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81","deletedDate":1618954135,"scheduledPurgeDate":1626730135,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret36c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret37cd60fe2","deletedDate":1618955101,"scheduledPurgeDate":1626731101,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret387ed1536","deletedDate":1618954854,"scheduledPurgeDate":1626730854,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret387ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352","deletedDate":1618953791,"scheduledPurgeDate":1626729791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353","deletedDate":1618953855,"scheduledPurgeDate":1626729855,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b","deletedDate":1618954160,"scheduledPurgeDate":1626730160,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTROMFl3UkRKQ0wwSTJOell6TmpWQ05rWkNOVFEyUVRJNU5rTkZNa00xT0RrelJqQXdSRU5ESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3445' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTROMFl3UkRKQ0wwSTJOell6TmpWQ05rWkNOVFEyUVRJNU5rTkZNa00xT0RrelJqQXdSRU5ESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c","deletedDate":1618954315,"scheduledPurgeDate":1626730315,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b313b3","deletedDate":1618954944,"scheduledPurgeDate":1626730944,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b413b4","deletedDate":1618954961,"scheduledPurgeDate":1626730961,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe","deletedDate":1618954166,"scheduledPurgeDate":1626730166,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff","deletedDate":1618954322,"scheduledPurgeDate":1626730322,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret45a050f0f","deletedDate":1618954977,"scheduledPurgeDate":1626730977,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret45a050f0f","attributes":{"enabled":true,"created":1618954976,"updated":1618954976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81","deletedDate":1618954025,"scheduledPurgeDate":1626730025,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret46c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EZERSRFl3UmtVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '3384' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EZERSRFl3UmtVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536","deletedDate":1618954737,"scheduledPurgeDate":1626730737,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret487ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353","deletedDate":1618953881,"scheduledPurgeDate":1626729881,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b","deletedDate":1618954090,"scheduledPurgeDate":1626730090,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3","deletedDate":1618954839,"scheduledPurgeDate":1626730839,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4","deletedDate":1618954929,"scheduledPurgeDate":1626730929,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FWTRRalF4TTBJMEx6Z3lSRU0xUWprd056UkJRVFJCTXpJNE56bEJOamhCTkRBMU1VTTRRelUzSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '2763' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FWTRRalF4TTBJMEx6Z3lSRU0xUWprd056UkJRVFJCTXpJNE56bEJOamhCTkRBMU1VTTRRelUzSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae","deletedDate":1618953964,"scheduledPurgeDate":1626729964,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe","deletedDate":1618954222,"scheduledPurgeDate":1626730222,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff","deletedDate":1618954460,"scheduledPurgeDate":1626730460,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret55a050f0f","deletedDate":1618955003,"scheduledPurgeDate":1626731003,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret55a050f0f","attributes":{"enabled":true,"created":1618954977,"updated":1618954977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret56c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5","deletedDate":1618953636,"scheduledPurgeDate":1626729636,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536","deletedDate":1618954791,"scheduledPurgeDate":1626730791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret587ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2700' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353","deletedDate":1618953916,"scheduledPurgeDate":1626729916,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b","deletedDate":1618954180,"scheduledPurgeDate":1626730180,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c","deletedDate":1618954280,"scheduledPurgeDate":1626730280,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3","deletedDate":1618954774,"scheduledPurgeDate":1626730774,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b413b4","deletedDate":1618955064,"scheduledPurgeDate":1626731064,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae","deletedDate":1618953821,"scheduledPurgeDate":1626729821,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe","deletedDate":1618954242,"scheduledPurgeDate":1626730242,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff","deletedDate":1618954419,"scheduledPurgeDate":1626730419,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d90dff","attributes":{"enabled":true,"created":1618954322,"updated":1618954322,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret65a050f0f","deletedDate":1618955104,"scheduledPurgeDate":1626731104,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret65a050f0f","attributes":{"enabled":true,"created":1618954977,"updated":1618954977,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qVkJNRFV3UmpCR0wwUkZNVVE0TUVWR1FqSkNOelJGTUVKQlJEVkdOVVZFTVRVMVF6QkZRVVE0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3785' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qVkJNRFV3UmpCR0wwUkZNVVE0TUVWR1FqSkNOelJGTUVKQlJEVkdOVVZFTVRVMVF6QkZRVVE0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81","deletedDate":1618953978,"scheduledPurgeDate":1626729978,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret66c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret67cd60fe2","deletedDate":1618955138,"scheduledPurgeDate":1626731138,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2","attributes":{"enabled":true,"created":1618955101,"updated":1618955101,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536","deletedDate":1618954897,"scheduledPurgeDate":1626730897,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret687ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b","deletedDate":1618954006,"scheduledPurgeDate":1626730006,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '3046' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3","deletedDate":1618954898,"scheduledPurgeDate":1626730898,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b413b4","deletedDate":1618954983,"scheduledPurgeDate":1626730983,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b413b4","attributes":{"enabled":true,"created":1618954929,"updated":1618954929,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '711' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret45a050f0f?api-version=2016-10-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:46:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret55a050f0f?api-version=2016-10-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:46:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret35a050f0f?api-version=2016-10-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:46:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret25a050f0f?api-version=2016-10-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:46:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret15a050f0f?api-version=2016-10-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:46:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret65a050f0f?api-version=2016-10-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:46:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret05a050f0f?api-version=2016-10-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:46:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret45a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret45a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret55a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret55a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret35a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret35a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret25a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret25a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret15a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret15a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret65a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret65a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret05a050f0f?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret05a050f0f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1","deletedDate":1618954405,"scheduledPurgeDate":1626730405,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954403,"updated":1618954405,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e","deletedDate":1618954533,"scheduledPurgeDate":1626730533,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretf9f143e","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954531,"updated":1618954533,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f","deletedDate":1618954440,"scheduledPurgeDate":1626730440,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954438,"updated":1618954439,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEUXdSa0U1TDBaRFJEY3lRVVpGUkVZMU1EUkVSVFE0TWtJMVJFRTVOelZCUVRKQ05FTkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '1682' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEUXdSa0U1TDBaRFJEY3lRVVpGUkVZMU1EUkVSVFE0TWtJMVJFRTVOelZCUVRKQ05FTkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '306' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURnNU1UVTNPQzlET1VRNE9FTXdOMEZCT0RNME4wUkJRa0kzUkVRd01USXlNVVUwTmtVNE5TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '375' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURnNU1UVTNPQzlET1VRNE9FTXdOMEZCT0RNME4wUkJRa0kzUkVRd01USXlNVVUwTmtVNE5TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBSR01URTROaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '1584' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBSR01URTROaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861","deletedDate":1618953267,"scheduledPurgeDate":1626729267,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNME1UZzJNUzh3TURrNU0wUTBSamRHTnpRME5qWXdRa0ZHTmpCQ1JrVTNOMEpHTnpsRVJDRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '1643' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNME1UZzJNUzh3TURrNU0wUTBSamRHTnpRME5qWXdRa0ZHTmpCQ1JrVTNOMEpHTnpsRVJDRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04a010eae","attributes":{"enabled":true,"created":1618953819,"updated":1618953819,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe","deletedDate":1618954281,"scheduledPurgeDate":1626730281,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff","deletedDate":1618954436,"scheduledPurgeDate":1626730436,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81","deletedDate":1618954001,"scheduledPurgeDate":1626730001,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret06c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret087ed1536","deletedDate":1618954838,"scheduledPurgeDate":1626730838,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret087ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2358' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353","deletedDate":1618953829,"scheduledPurgeDate":1626729829,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a81353","attributes":{"enabled":true,"created":1618953793,"updated":1618953793,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c","deletedDate":1618954229,"scheduledPurgeDate":1626730229,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b313b3","deletedDate":1618954922,"scheduledPurgeDate":1626730922,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b313b3","attributes":{"enabled":true,"created":1618954772,"updated":1618954772,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b413b4","deletedDate":1618955042,"scheduledPurgeDate":1626731042,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae","deletedDate":1618953880,"scheduledPurgeDate":1626729880,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe","deletedDate":1618954296,"scheduledPurgeDate":1626730296,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UVkJNRFV3UmpCR0x6QkJORU14UWpnMlJEQkNPRFJETnpOQ04wVkNSVEUzT1RaR09ERkZPVEEwSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3443' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UVkJNRFV3UmpCR0x6QkJORU14UWpnMlJEQkNPRFJETnpOQ04wVkNSVEUzT1RaR09ERkZPVEEwSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret16c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret187ed1536","deletedDate":1618954771,"scheduledPurgeDate":1626730771,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret187ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352","deletedDate":1618953674,"scheduledPurgeDate":1626729674,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353","deletedDate":1618953795,"scheduledPurgeDate":1626729795,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b","deletedDate":1618954136,"scheduledPurgeDate":1626730136,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c","deletedDate":1618954295,"scheduledPurgeDate":1626730295,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2704' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3","deletedDate":1618954874,"scheduledPurgeDate":1626730874,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b413b4","deletedDate":1618955024,"scheduledPurgeDate":1626731024,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae","deletedDate":1618953856,"scheduledPurgeDate":1626729856,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff","deletedDate":1618954486,"scheduledPurgeDate":1626730486,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81","deletedDate":1618954092,"scheduledPurgeDate":1626730092,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret26c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5","deletedDate":1618953672,"scheduledPurgeDate":1626729672,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536","deletedDate":1618954873,"scheduledPurgeDate":1626730873,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret287ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qazBSRFF4UVVWQ0x6SXpPRUV5UTBNMU5VWkVNRFJHUWpnNVFqQTVRVGxDUVVORVJqVXlSREpHSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3101' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qazBSRFF4UVVWQ0x6SXpPRUV5UTBNMU5VWkVNRFJHUWpnNVFqQTVRVGxDUVVORVJqVXlSREpHSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c","deletedDate":1618954332,"scheduledPurgeDate":1626730332,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3","deletedDate":1618954811,"scheduledPurgeDate":1626730811,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b413b4","deletedDate":1618955003,"scheduledPurgeDate":1626731003,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae","deletedDate":1618953917,"scheduledPurgeDate":1626729917,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe","deletedDate":1618954198,"scheduledPurgeDate":1626730198,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16UkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3039' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16UkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff","deletedDate":1618954397,"scheduledPurgeDate":1626730397,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81","deletedDate":1618954135,"scheduledPurgeDate":1626730135,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret36c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret37cd60fe2","deletedDate":1618955101,"scheduledPurgeDate":1626731101,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret387ed1536","deletedDate":1618954854,"scheduledPurgeDate":1626730854,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret387ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352","deletedDate":1618953791,"scheduledPurgeDate":1626729791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353","deletedDate":1618953855,"scheduledPurgeDate":1626729855,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b","deletedDate":1618954160,"scheduledPurgeDate":1626730160,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTROMFl3UkRKQ0wwSTJOell6TmpWQ05rWkNOVFEyUVRJNU5rTkZNa00xT0RrelJqQXdSRU5ESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3103' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTROMFl3UkRKQ0wwSTJOell6TmpWQ05rWkNOVFEyUVRJNU5rTkZNa00xT0RrelJqQXdSRU5ESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c","deletedDate":1618954315,"scheduledPurgeDate":1626730315,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b313b3","deletedDate":1618954944,"scheduledPurgeDate":1626730944,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b413b4","deletedDate":1618954961,"scheduledPurgeDate":1626730961,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe","deletedDate":1618954166,"scheduledPurgeDate":1626730166,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff","deletedDate":1618954322,"scheduledPurgeDate":1626730322,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81","deletedDate":1618954025,"scheduledPurgeDate":1626730025,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret46c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EZERSRFl3UmtVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '3042' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EZERSRFl3UmtVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536","deletedDate":1618954737,"scheduledPurgeDate":1626730737,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret487ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353","deletedDate":1618953881,"scheduledPurgeDate":1626729881,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b","deletedDate":1618954090,"scheduledPurgeDate":1626730090,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3","deletedDate":1618954839,"scheduledPurgeDate":1626730839,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4","deletedDate":1618954929,"scheduledPurgeDate":1626730929,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FWTRRalF4TTBJMEx6Z3lSRU0xUWprd056UkJRVFJCTXpJNE56bEJOamhCTkRBMU1VTTRRelUzSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '2763' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FWTRRalF4TTBJMEx6Z3lSRU0xUWprd056UkJRVFJCTXpJNE56bEJOamhCTkRBMU1VTTRRelUzSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae","deletedDate":1618953964,"scheduledPurgeDate":1626729964,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe","deletedDate":1618954222,"scheduledPurgeDate":1626730222,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff","deletedDate":1618954460,"scheduledPurgeDate":1626730460,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret56c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5","deletedDate":1618953636,"scheduledPurgeDate":1626729636,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536","deletedDate":1618954791,"scheduledPurgeDate":1626730791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret587ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2358' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353","deletedDate":1618953916,"scheduledPurgeDate":1626729916,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b","deletedDate":1618954180,"scheduledPurgeDate":1626730180,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c","deletedDate":1618954280,"scheduledPurgeDate":1626730280,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3","deletedDate":1618954774,"scheduledPurgeDate":1626730774,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b413b4","deletedDate":1618955064,"scheduledPurgeDate":1626731064,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae","deletedDate":1618953821,"scheduledPurgeDate":1626729821,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe","deletedDate":1618954242,"scheduledPurgeDate":1626730242,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff","deletedDate":1618954419,"scheduledPurgeDate":1626730419,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d90dff","attributes":{"enabled":true,"created":1618954322,"updated":1618954322,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qVkJNRFV3UmpCR0wwUkZNVVE0TUVWR1FqSkNOelJGTUVKQlJEVkdOVVZFTVRVMVF6QkZRVVE0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3443' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qVkJNRFV3UmpCR0wwUkZNVVE0TUVWR1FqSkNOelJGTUVKQlJEVkdOVVZFTVRVMVF6QkZRVVE0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81","deletedDate":1618953978,"scheduledPurgeDate":1626729978,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret66c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret67cd60fe2","deletedDate":1618955138,"scheduledPurgeDate":1626731138,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2","attributes":{"enabled":true,"created":1618955101,"updated":1618955101,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536","deletedDate":1618954897,"scheduledPurgeDate":1626730897,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret687ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b","deletedDate":1618954006,"scheduledPurgeDate":1626730006,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '3046' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3","deletedDate":1618954898,"scheduledPurgeDate":1626730898,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b413b4","deletedDate":1618954983,"scheduledPurgeDate":1626730983,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b413b4","attributes":{"enabled":true,"created":1618954929,"updated":1618954929,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '711' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_purge_7_0.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_purge_7_0.yaml new file mode 100644 index 000000000000..97ad7c5750f6 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_purge_7_0.yaml @@ -0,0 +1,6923 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "value0"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0f5dc0d8c?api-version=7.0 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f5dc0d8c/3df1b84799574009a121f359287e863f","attributes":{"enabled":true,"created":1618955186,"updated":1618955186,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value1"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1f5dc0d8c?api-version=7.0 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f5dc0d8c/1ad640d3daeb4d1298b4c808dbb7a1d4","attributes":{"enabled":true,"created":1618955186,"updated":1618955186,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2f5dc0d8c?api-version=7.0 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f5dc0d8c/cb986890e5d648ae891429c7b8da1e63","attributes":{"enabled":true,"created":1618955186,"updated":1618955186,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value3"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3f5dc0d8c?api-version=7.0 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f5dc0d8c/7d4fa185de6d402cb10572540b7c62d7","attributes":{"enabled":true,"created":1618955187,"updated":1618955187,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value4"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4f5dc0d8c?api-version=7.0 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f5dc0d8c/9f68271dac354edd9703cff8d0431631","attributes":{"enabled":true,"created":1618955187,"updated":1618955187,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value5"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5f5dc0d8c?api-version=7.0 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f5dc0d8c/d9d14cced78c4eebba07bf430e1926ba","attributes":{"enabled":true,"created":1618955187,"updated":1618955187,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value6"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f5dc0d8c/4229e92977dd4be882c384f9c5d45c3d","attributes":{"enabled":true,"created":1618955188,"updated":1618955188,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c","deletedDate":1618955188,"scheduledPurgeDate":1626731188,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f5dc0d8c/4229e92977dd4be882c384f9c5d45c3d","attributes":{"enabled":true,"created":1618955188,"updated":1618955188,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c","deletedDate":1618955188,"scheduledPurgeDate":1626731188,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f5dc0d8c/4229e92977dd4be882c384f9c5d45c3d","attributes":{"enabled":true,"created":1618955188,"updated":1618955188,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0f5dc0d8c?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dc0d8c","deletedDate":1618955244,"scheduledPurgeDate":1626731244,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f5dc0d8c/3df1b84799574009a121f359287e863f","attributes":{"enabled":true,"created":1618955186,"updated":1618955186,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dc0d8c?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dc0d8c","deletedDate":1618955244,"scheduledPurgeDate":1626731244,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f5dc0d8c/3df1b84799574009a121f359287e863f","attributes":{"enabled":true,"created":1618955186,"updated":1618955186,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1f5dc0d8c?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dc0d8c","deletedDate":1618955264,"scheduledPurgeDate":1626731264,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f5dc0d8c/1ad640d3daeb4d1298b4c808dbb7a1d4","attributes":{"enabled":true,"created":1618955186,"updated":1618955186,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dc0d8c?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dc0d8c","deletedDate":1618955264,"scheduledPurgeDate":1626731264,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f5dc0d8c/1ad640d3daeb4d1298b4c808dbb7a1d4","attributes":{"enabled":true,"created":1618955186,"updated":1618955186,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5f5dc0d8c?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dc0d8c","deletedDate":1618955283,"scheduledPurgeDate":1626731283,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f5dc0d8c/d9d14cced78c4eebba07bf430e1926ba","attributes":{"enabled":true,"created":1618955187,"updated":1618955187,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dc0d8c?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dc0d8c","deletedDate":1618955283,"scheduledPurgeDate":1626731283,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f5dc0d8c/d9d14cced78c4eebba07bf430e1926ba","attributes":{"enabled":true,"created":1618955187,"updated":1618955187,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2f5dc0d8c?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dc0d8c","deletedDate":1618955305,"scheduledPurgeDate":1626731305,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f5dc0d8c/cb986890e5d648ae891429c7b8da1e63","attributes":{"enabled":true,"created":1618955186,"updated":1618955186,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dc0d8c?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dc0d8c","deletedDate":1618955305,"scheduledPurgeDate":1626731305,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f5dc0d8c/cb986890e5d648ae891429c7b8da1e63","attributes":{"enabled":true,"created":1618955186,"updated":1618955186,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3f5dc0d8c?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dc0d8c","deletedDate":1618955327,"scheduledPurgeDate":1626731327,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f5dc0d8c/7d4fa185de6d402cb10572540b7c62d7","attributes":{"enabled":true,"created":1618955187,"updated":1618955187,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dc0d8c?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dc0d8c","deletedDate":1618955327,"scheduledPurgeDate":1626731327,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f5dc0d8c/7d4fa185de6d402cb10572540b7c62d7","attributes":{"enabled":true,"created":1618955187,"updated":1618955187,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4f5dc0d8c?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dc0d8c","deletedDate":1618955345,"scheduledPurgeDate":1626731345,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f5dc0d8c/9f68271dac354edd9703cff8d0431631","attributes":{"enabled":true,"created":1618955187,"updated":1618955187,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dc0d8c?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dc0d8c","deletedDate":1618955345,"scheduledPurgeDate":1626731345,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f5dc0d8c/9f68271dac354edd9703cff8d0431631","attributes":{"enabled":true,"created":1618955187,"updated":1618955187,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1","deletedDate":1618954405,"scheduledPurgeDate":1626730405,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954403,"updated":1618954405,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e","deletedDate":1618954533,"scheduledPurgeDate":1626730533,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretf9f143e","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954531,"updated":1618954533,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f","deletedDate":1618954440,"scheduledPurgeDate":1626730440,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954438,"updated":1618954439,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEUXdSa0U1TDBaRFJEY3lRVVpGUkVZMU1EUkVSVFE0TWtJMVJFRTVOelZCUVRKQ05FTkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '1675' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEUXdSa0U1TDBaRFJEY3lRVVpGUkVZMU1EUkVSVFE0TWtJMVJFRTVOelZCUVRKQ05FTkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '299' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURnNU1UVTNPQzlET1VRNE9FTXdOMEZCT0RNME4wUkJRa0kzUkVRd01USXlNVVUwTmtVNE5TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '368' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURnNU1UVTNPQzlET1VRNE9FTXdOMEZCT0RNME4wUkJRa0kzUkVRd01USXlNVVUwTmtVNE5TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBSR01URTROaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '1577' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBSR01URTROaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861","deletedDate":1618953267,"scheduledPurgeDate":1626729267,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNME1UZzJNUzh3TURrNU0wUTBSamRHTnpRME5qWXdRa0ZHTmpCQ1JrVTNOMEpHTnpsRVJDRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '1636' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNME1UZzJNUzh3TURrNU0wUTBSamRHTnpRME5qWXdRa0ZHTmpCQ1JrVTNOMEpHTnpsRVJDRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04a010eae","attributes":{"enabled":true,"created":1618953819,"updated":1618953819,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe","deletedDate":1618954281,"scheduledPurgeDate":1626730281,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff","deletedDate":1618954436,"scheduledPurgeDate":1626730436,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81","deletedDate":1618954001,"scheduledPurgeDate":1626730001,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret06c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret07cd60fe2","deletedDate":1618955284,"scheduledPurgeDate":1626731284,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2","attributes":{"enabled":true,"created":1618955099,"updated":1618955099,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret087ed1536","deletedDate":1618954838,"scheduledPurgeDate":1626730838,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret087ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '3035' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353","deletedDate":1618953829,"scheduledPurgeDate":1626729829,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a81353","attributes":{"enabled":true,"created":1618953793,"updated":1618953793,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c","deletedDate":1618954229,"scheduledPurgeDate":1626730229,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dc0d8c","deletedDate":1618955244,"scheduledPurgeDate":1626731244,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f5dc0d8c","attributes":{"enabled":true,"created":1618955186,"updated":1618955186,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b313b3","deletedDate":1618954922,"scheduledPurgeDate":1626730922,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b313b3","attributes":{"enabled":true,"created":1618954772,"updated":1618954772,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b413b4","deletedDate":1618955042,"scheduledPurgeDate":1626731042,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae","deletedDate":1618953880,"scheduledPurgeDate":1626729880,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe","deletedDate":1618954296,"scheduledPurgeDate":1626730296,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret16c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UWkRNVEF3UmpneEx6a3hNa1F3TTBFMk4wVXpSRFJGTnpkQ09EbEdSamt5UkROQ016ZzNSRGd3SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3778' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UWkRNVEF3UmpneEx6a3hNa1F3TTBFMk4wVXpSRFJGTnpkQ09EbEdSamt5UkROQ016ZzNSRGd3SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret17cd60fe2","deletedDate":1618955264,"scheduledPurgeDate":1626731264,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2","attributes":{"enabled":true,"created":1618955099,"updated":1618955099,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret187ed1536","deletedDate":1618954771,"scheduledPurgeDate":1626730771,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret187ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352","deletedDate":1618953674,"scheduledPurgeDate":1626729674,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353","deletedDate":1618953795,"scheduledPurgeDate":1626729795,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b","deletedDate":1618954136,"scheduledPurgeDate":1626730136,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c","deletedDate":1618954295,"scheduledPurgeDate":1626730295,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dc0d8c","deletedDate":1618955264,"scheduledPurgeDate":1626731264,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f5dc0d8c","attributes":{"enabled":true,"created":1618955186,"updated":1618955186,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '3039' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3","deletedDate":1618954874,"scheduledPurgeDate":1626730874,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b413b4","deletedDate":1618955024,"scheduledPurgeDate":1626731024,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae","deletedDate":1618953856,"scheduledPurgeDate":1626729856,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff","deletedDate":1618954486,"scheduledPurgeDate":1626730486,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81","deletedDate":1618954092,"scheduledPurgeDate":1626730092,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret26c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5","deletedDate":1618953672,"scheduledPurgeDate":1626729672,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret27cd60fe2","deletedDate":1618955245,"scheduledPurgeDate":1626731245,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret27cd60fe2","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536","deletedDate":1618954873,"scheduledPurgeDate":1626730873,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret287ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qazBSRFV4UVVWREx6WXlOVEJFUkRJNE5rVTNOVFEwUWtOQlJEUTVSVEJGUkVaQ09UZEVRekU0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3436' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qazBSRFV4UVVWREx6WXlOVEJFUkRJNE5rVTNOVFEwUWtOQlJEUTVSVEJGUkVaQ09UZEVRekU0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c","deletedDate":1618954332,"scheduledPurgeDate":1626730332,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dc0d8c","deletedDate":1618955305,"scheduledPurgeDate":1626731305,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f5dc0d8c","attributes":{"enabled":true,"created":1618955186,"updated":1618955186,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3","deletedDate":1618954811,"scheduledPurgeDate":1626730811,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b413b4","deletedDate":1618955003,"scheduledPurgeDate":1626731003,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae","deletedDate":1618953917,"scheduledPurgeDate":1626729917,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe","deletedDate":1618954198,"scheduledPurgeDate":1626730198,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16UkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16UkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff","deletedDate":1618954397,"scheduledPurgeDate":1626730397,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81","deletedDate":1618954135,"scheduledPurgeDate":1626730135,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret36c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret387ed1536","deletedDate":1618954854,"scheduledPurgeDate":1626730854,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret387ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352","deletedDate":1618953791,"scheduledPurgeDate":1626729791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353","deletedDate":1618953855,"scheduledPurgeDate":1626729855,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b","deletedDate":1618954160,"scheduledPurgeDate":1626730160,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c","deletedDate":1618954315,"scheduledPurgeDate":1626730315,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTRPREF3UkRKREwwTkJPVEE1TlVJME5EWXlRalJCT0VJNE5EazNOVU5DTWpoQ1JEQTJSakpDSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3096' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTRPREF3UkRKREwwTkJPVEE1TlVJME5EWXlRalJCT0VJNE5EazNOVU5DTWpoQ1JEQTJSakpDSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dc0d8c","deletedDate":1618955327,"scheduledPurgeDate":1626731327,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f5dc0d8c","attributes":{"enabled":true,"created":1618955187,"updated":1618955187,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b313b3","deletedDate":1618954944,"scheduledPurgeDate":1626730944,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b413b4","deletedDate":1618954961,"scheduledPurgeDate":1626730961,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe","deletedDate":1618954166,"scheduledPurgeDate":1626730166,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff","deletedDate":1618954322,"scheduledPurgeDate":1626730322,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81","deletedDate":1618954025,"scheduledPurgeDate":1626730025,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret46c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret47cd60fe2","deletedDate":1618955212,"scheduledPurgeDate":1626731212,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret47cd60fe2","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EZzNSVVF4TlRNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '3377' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EZzNSVVF4TlRNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536","deletedDate":1618954737,"scheduledPurgeDate":1626730737,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret487ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353","deletedDate":1618953881,"scheduledPurgeDate":1626729881,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b","deletedDate":1618954090,"scheduledPurgeDate":1626730090,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dc0d8c","deletedDate":1618955345,"scheduledPurgeDate":1626731345,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f5dc0d8c","attributes":{"enabled":true,"created":1618955187,"updated":1618955187,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3","deletedDate":1618954839,"scheduledPurgeDate":1626730839,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4","deletedDate":1618954929,"scheduledPurgeDate":1626730929,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FWTRRalF4TTBJMEx6Z3lSRU0xUWprd056UkJRVFJCTXpJNE56bEJOamhCTkRBMU1VTTRRelUzSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3098' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FWTRRalF4TTBJMEx6Z3lSRU0xUWprd056UkJRVFJCTXpJNE56bEJOamhCTkRBMU1VTTRRelUzSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae","deletedDate":1618953964,"scheduledPurgeDate":1626729964,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe","deletedDate":1618954222,"scheduledPurgeDate":1626730222,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff","deletedDate":1618954460,"scheduledPurgeDate":1626730460,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret56c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5","deletedDate":1618953636,"scheduledPurgeDate":1626729636,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536","deletedDate":1618954791,"scheduledPurgeDate":1626730791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret587ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2693' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353","deletedDate":1618953916,"scheduledPurgeDate":1626729916,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b","deletedDate":1618954180,"scheduledPurgeDate":1626730180,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c","deletedDate":1618954280,"scheduledPurgeDate":1626730280,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dc0d8c","deletedDate":1618955283,"scheduledPurgeDate":1626731283,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f5dc0d8c","attributes":{"enabled":true,"created":1618955187,"updated":1618955187,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3","deletedDate":1618954774,"scheduledPurgeDate":1626730774,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b413b4","deletedDate":1618955064,"scheduledPurgeDate":1626731064,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae","deletedDate":1618953821,"scheduledPurgeDate":1626729821,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe","deletedDate":1618954242,"scheduledPurgeDate":1626730242,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff","deletedDate":1618954419,"scheduledPurgeDate":1626730419,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d90dff","attributes":{"enabled":true,"created":1618954322,"updated":1618954322,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81","deletedDate":1618953978,"scheduledPurgeDate":1626729978,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret66c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qWkRNVEF3UmpneEwwTTVOREpFTnpVNU1qVTVORFJFTTBNNU5qVkJSakF5TVRsRFEwWXlRelkySVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3778' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qWkRNVEF3UmpneEwwTTVOREpFTnpVNU1qVTVORFJFTTBNNU5qVkJSakF5TVRsRFEwWXlRelkySVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536","deletedDate":1618954897,"scheduledPurgeDate":1626730897,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret687ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b","deletedDate":1618954006,"scheduledPurgeDate":1626730006,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c","deletedDate":1618955188,"scheduledPurgeDate":1626731188,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f5dc0d8c","attributes":{"enabled":true,"created":1618955188,"updated":1618955188,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2697' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3","deletedDate":1618954898,"scheduledPurgeDate":1626730898,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b413b4","deletedDate":1618954983,"scheduledPurgeDate":1626730983,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b413b4","attributes":{"enabled":true,"created":1618954929,"updated":1618954929,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '711' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:49:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dc0d8c?api-version=7.0 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:49:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dc0d8c?api-version=7.0 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:49:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dc0d8c?api-version=7.0 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:49:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dc0d8c?api-version=7.0 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:49:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dc0d8c?api-version=7.0 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:49:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dc0d8c?api-version=7.0 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:49:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dc0d8c?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f5dc0d8c"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1","deletedDate":1618954405,"scheduledPurgeDate":1626730405,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954403,"updated":1618954405,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e","deletedDate":1618954533,"scheduledPurgeDate":1626730533,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretf9f143e","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954531,"updated":1618954533,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f","deletedDate":1618954440,"scheduledPurgeDate":1626730440,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954438,"updated":1618954439,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEUXdSa0U1TDBaRFJEY3lRVVpGUkVZMU1EUkVSVFE0TWtJMVJFRTVOelZCUVRKQ05FTkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '1675' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEUXdSa0U1TDBaRFJEY3lRVVpGUkVZMU1EUkVSVFE0TWtJMVJFRTVOelZCUVRKQ05FTkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '299' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURnNU1UVTNPQzlET1VRNE9FTXdOMEZCT0RNME4wUkJRa0kzUkVRd01USXlNVVUwTmtVNE5TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '368' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURnNU1UVTNPQzlET1VRNE9FTXdOMEZCT0RNME4wUkJRa0kzUkVRd01USXlNVVUwTmtVNE5TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBSR01URTROaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '1577' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBSR01URTROaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861","deletedDate":1618953267,"scheduledPurgeDate":1626729267,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNME1UZzJNUzh3TURrNU0wUTBSamRHTnpRME5qWXdRa0ZHTmpCQ1JrVTNOMEpHTnpsRVJDRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '1636' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNME1UZzJNUzh3TURrNU0wUTBSamRHTnpRME5qWXdRa0ZHTmpCQ1JrVTNOMEpHTnpsRVJDRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04a010eae","attributes":{"enabled":true,"created":1618953819,"updated":1618953819,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe","deletedDate":1618954281,"scheduledPurgeDate":1626730281,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff","deletedDate":1618954436,"scheduledPurgeDate":1626730436,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81","deletedDate":1618954001,"scheduledPurgeDate":1626730001,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret06c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret07cd60fe2","deletedDate":1618955284,"scheduledPurgeDate":1626731284,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2","attributes":{"enabled":true,"created":1618955099,"updated":1618955099,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret087ed1536","deletedDate":1618954838,"scheduledPurgeDate":1626730838,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret087ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '3035' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353","deletedDate":1618953829,"scheduledPurgeDate":1626729829,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a81353","attributes":{"enabled":true,"created":1618953793,"updated":1618953793,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c","deletedDate":1618954229,"scheduledPurgeDate":1626730229,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b313b3","deletedDate":1618954922,"scheduledPurgeDate":1626730922,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b313b3","attributes":{"enabled":true,"created":1618954772,"updated":1618954772,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b413b4","deletedDate":1618955042,"scheduledPurgeDate":1626731042,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae","deletedDate":1618953880,"scheduledPurgeDate":1626729880,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe","deletedDate":1618954296,"scheduledPurgeDate":1626730296,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret16c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UWkRNVEF3UmpneEx6a3hNa1F3TTBFMk4wVXpSRFJGTnpkQ09EbEdSamt5UkROQ016ZzNSRGd3SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3436' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UWkRNVEF3UmpneEx6a3hNa1F3TTBFMk4wVXpSRFJGTnpkQ09EbEdSamt5UkROQ016ZzNSRGd3SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret17cd60fe2","deletedDate":1618955264,"scheduledPurgeDate":1626731264,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2","attributes":{"enabled":true,"created":1618955099,"updated":1618955099,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret187ed1536","deletedDate":1618954771,"scheduledPurgeDate":1626730771,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret187ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352","deletedDate":1618953674,"scheduledPurgeDate":1626729674,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353","deletedDate":1618953795,"scheduledPurgeDate":1626729795,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b","deletedDate":1618954136,"scheduledPurgeDate":1626730136,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c","deletedDate":1618954295,"scheduledPurgeDate":1626730295,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2697' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3","deletedDate":1618954874,"scheduledPurgeDate":1626730874,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b413b4","deletedDate":1618955024,"scheduledPurgeDate":1626731024,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae","deletedDate":1618953856,"scheduledPurgeDate":1626729856,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff","deletedDate":1618954486,"scheduledPurgeDate":1626730486,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81","deletedDate":1618954092,"scheduledPurgeDate":1626730092,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret26c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5","deletedDate":1618953672,"scheduledPurgeDate":1626729672,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret27cd60fe2","deletedDate":1618955245,"scheduledPurgeDate":1626731245,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret27cd60fe2","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536","deletedDate":1618954873,"scheduledPurgeDate":1626730873,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret287ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qazBSRFV4UVVWREx6WXlOVEJFUkRJNE5rVTNOVFEwUWtOQlJEUTVSVEJGUkVaQ09UZEVRekU0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3436' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qazBSRFV4UVVWREx6WXlOVEJFUkRJNE5rVTNOVFEwUWtOQlJEUTVSVEJGUkVaQ09UZEVRekU0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c","deletedDate":1618954332,"scheduledPurgeDate":1626730332,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3","deletedDate":1618954811,"scheduledPurgeDate":1626730811,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b413b4","deletedDate":1618955003,"scheduledPurgeDate":1626731003,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae","deletedDate":1618953917,"scheduledPurgeDate":1626729917,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe","deletedDate":1618954198,"scheduledPurgeDate":1626730198,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16UkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3032' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16UkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff","deletedDate":1618954397,"scheduledPurgeDate":1626730397,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81","deletedDate":1618954135,"scheduledPurgeDate":1626730135,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret36c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret387ed1536","deletedDate":1618954854,"scheduledPurgeDate":1626730854,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret387ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352","deletedDate":1618953791,"scheduledPurgeDate":1626729791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353","deletedDate":1618953855,"scheduledPurgeDate":1626729855,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b","deletedDate":1618954160,"scheduledPurgeDate":1626730160,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c","deletedDate":1618954315,"scheduledPurgeDate":1626730315,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTRPREF3UkRKREwwTkJPVEE1TlVJME5EWXlRalJCT0VJNE5EazNOVU5DTWpoQ1JEQTJSakpDSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3096' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTRPREF3UkRKREwwTkJPVEE1TlVJME5EWXlRalJCT0VJNE5EazNOVU5DTWpoQ1JEQTJSakpDSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b313b3","deletedDate":1618954944,"scheduledPurgeDate":1626730944,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b413b4","deletedDate":1618954961,"scheduledPurgeDate":1626730961,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe","deletedDate":1618954166,"scheduledPurgeDate":1626730166,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff","deletedDate":1618954322,"scheduledPurgeDate":1626730322,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81","deletedDate":1618954025,"scheduledPurgeDate":1626730025,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret46c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret47cd60fe2","deletedDate":1618955212,"scheduledPurgeDate":1626731212,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret47cd60fe2","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EZzNSVVF4TlRNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '3035' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EZzNSVVF4TlRNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536","deletedDate":1618954737,"scheduledPurgeDate":1626730737,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret487ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353","deletedDate":1618953881,"scheduledPurgeDate":1626729881,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b","deletedDate":1618954090,"scheduledPurgeDate":1626730090,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3","deletedDate":1618954839,"scheduledPurgeDate":1626730839,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4","deletedDate":1618954929,"scheduledPurgeDate":1626730929,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FWTRRalF4TTBJMEx6Z3lSRU0xUWprd056UkJRVFJCTXpJNE56bEJOamhCTkRBMU1VTTRRelUzSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '2756' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FWTRRalF4TTBJMEx6Z3lSRU0xUWprd056UkJRVFJCTXpJNE56bEJOamhCTkRBMU1VTTRRelUzSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae","deletedDate":1618953964,"scheduledPurgeDate":1626729964,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe","deletedDate":1618954222,"scheduledPurgeDate":1626730222,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff","deletedDate":1618954460,"scheduledPurgeDate":1626730460,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret56c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5","deletedDate":1618953636,"scheduledPurgeDate":1626729636,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536","deletedDate":1618954791,"scheduledPurgeDate":1626730791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret587ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2693' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353","deletedDate":1618953916,"scheduledPurgeDate":1626729916,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b","deletedDate":1618954180,"scheduledPurgeDate":1626730180,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c","deletedDate":1618954280,"scheduledPurgeDate":1626730280,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3","deletedDate":1618954774,"scheduledPurgeDate":1626730774,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b413b4","deletedDate":1618955064,"scheduledPurgeDate":1626731064,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae","deletedDate":1618953821,"scheduledPurgeDate":1626729821,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe","deletedDate":1618954242,"scheduledPurgeDate":1626730242,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff","deletedDate":1618954419,"scheduledPurgeDate":1626730419,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d90dff","attributes":{"enabled":true,"created":1618954322,"updated":1618954322,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81","deletedDate":1618953978,"scheduledPurgeDate":1626729978,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret66c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qWkRNVEF3UmpneEwwTTVOREpFTnpVNU1qVTVORFJFTTBNNU5qVkJSakF5TVRsRFEwWXlRelkySVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3436' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qWkRNVEF3UmpneEwwTTVOREpFTnpVNU1qVTVORFJFTTBNNU5qVkJSakF5TVRsRFEwWXlRelkySVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536","deletedDate":1618954897,"scheduledPurgeDate":1626730897,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret687ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b","deletedDate":1618954006,"scheduledPurgeDate":1626730006,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2355' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3","deletedDate":1618954898,"scheduledPurgeDate":1626730898,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b413b4","deletedDate":1618954983,"scheduledPurgeDate":1626730983,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b413b4","attributes":{"enabled":true,"created":1618954929,"updated":1618954929,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '711' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_purge_7_1.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_purge_7_1.yaml new file mode 100644 index 000000000000..0b29966b1653 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_purge_7_1.yaml @@ -0,0 +1,6831 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "value0"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0f5dd0d8d?api-version=7.1 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f5dd0d8d/b23bbd9c6e6a49e5ab816596f15e1ea4","attributes":{"enabled":true,"created":1618955384,"updated":1618955384,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value1"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1f5dd0d8d?api-version=7.1 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f5dd0d8d/01e32567fea044ffbae1d4ca2dbdce5e","attributes":{"enabled":true,"created":1618955384,"updated":1618955384,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2f5dd0d8d?api-version=7.1 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f5dd0d8d/9bb5fb09077c405d8fa9ed6bd66bdcdd","attributes":{"enabled":true,"created":1618955384,"updated":1618955384,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value3"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3f5dd0d8d?api-version=7.1 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f5dd0d8d/379e3c0866fb4b31af23e8e5254c1dba","attributes":{"enabled":true,"created":1618955385,"updated":1618955385,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value4"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4f5dd0d8d?api-version=7.1 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f5dd0d8d/c2a43f8d38b948339726050adf08a866","attributes":{"enabled":true,"created":1618955385,"updated":1618955385,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value5"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5f5dd0d8d?api-version=7.1 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f5dd0d8d/fe69032c81434aa18cfa2e0a4eab15be","attributes":{"enabled":true,"created":1618955385,"updated":1618955385,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value6"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6f5dd0d8d?api-version=7.1 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f5dd0d8d/d0513c25b93b403e96c12a8ba4d12588","attributes":{"enabled":true,"created":1618955385,"updated":1618955385,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret3f5dd0d8d?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dd0d8d","deletedDate":1618955386,"scheduledPurgeDate":1626731386,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f5dd0d8d/379e3c0866fb4b31af23e8e5254c1dba","attributes":{"enabled":true,"created":1618955385,"updated":1618955385,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dd0d8d?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dd0d8d","deletedDate":1618955386,"scheduledPurgeDate":1626731386,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f5dd0d8d/379e3c0866fb4b31af23e8e5254c1dba","attributes":{"enabled":true,"created":1618955385,"updated":1618955385,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret5f5dd0d8d?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dd0d8d","deletedDate":1618955410,"scheduledPurgeDate":1626731410,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f5dd0d8d/fe69032c81434aa18cfa2e0a4eab15be","attributes":{"enabled":true,"created":1618955385,"updated":1618955385,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dd0d8d?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dd0d8d","deletedDate":1618955410,"scheduledPurgeDate":1626731410,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f5dd0d8d/fe69032c81434aa18cfa2e0a4eab15be","attributes":{"enabled":true,"created":1618955385,"updated":1618955385,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret1f5dd0d8d?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dd0d8d","deletedDate":1618955448,"scheduledPurgeDate":1626731448,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f5dd0d8d/01e32567fea044ffbae1d4ca2dbdce5e","attributes":{"enabled":true,"created":1618955384,"updated":1618955384,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dd0d8d?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dd0d8d","deletedDate":1618955448,"scheduledPurgeDate":1626731448,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f5dd0d8d/01e32567fea044ffbae1d4ca2dbdce5e","attributes":{"enabled":true,"created":1618955384,"updated":1618955384,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret2f5dd0d8d?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dd0d8d","deletedDate":1618955468,"scheduledPurgeDate":1626731468,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f5dd0d8d/9bb5fb09077c405d8fa9ed6bd66bdcdd","attributes":{"enabled":true,"created":1618955384,"updated":1618955384,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dd0d8d?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dd0d8d","deletedDate":1618955468,"scheduledPurgeDate":1626731468,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f5dd0d8d/9bb5fb09077c405d8fa9ed6bd66bdcdd","attributes":{"enabled":true,"created":1618955384,"updated":1618955384,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret6f5dd0d8d?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dd0d8d","deletedDate":1618955488,"scheduledPurgeDate":1626731488,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f5dd0d8d/d0513c25b93b403e96c12a8ba4d12588","attributes":{"enabled":true,"created":1618955385,"updated":1618955385,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dd0d8d?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dd0d8d","deletedDate":1618955488,"scheduledPurgeDate":1626731488,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f5dd0d8d/d0513c25b93b403e96c12a8ba4d12588","attributes":{"enabled":true,"created":1618955385,"updated":1618955385,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret0f5dd0d8d?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dd0d8d","deletedDate":1618955508,"scheduledPurgeDate":1626731508,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f5dd0d8d/b23bbd9c6e6a49e5ab816596f15e1ea4","attributes":{"enabled":true,"created":1618955384,"updated":1618955384,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dd0d8d?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dd0d8d","deletedDate":1618955508,"scheduledPurgeDate":1626731508,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f5dd0d8d/b23bbd9c6e6a49e5ab816596f15e1ea4","attributes":{"enabled":true,"created":1618955384,"updated":1618955384,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret4f5dd0d8d?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dd0d8d","deletedDate":1618955536,"scheduledPurgeDate":1626731536,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f5dd0d8d/c2a43f8d38b948339726050adf08a866","attributes":{"enabled":true,"created":1618955385,"updated":1618955385,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dd0d8d?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dd0d8d","deletedDate":1618955536,"scheduledPurgeDate":1626731536,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f5dd0d8d/c2a43f8d38b948339726050adf08a866","attributes":{"enabled":true,"created":1618955385,"updated":1618955385,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1","deletedDate":1618954405,"scheduledPurgeDate":1626730405,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954403,"updated":1618954405,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e","deletedDate":1618954533,"scheduledPurgeDate":1626730533,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretf9f143e","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954531,"updated":1618954533,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f","deletedDate":1618954440,"scheduledPurgeDate":1626730440,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954438,"updated":1618954439,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEUXdSa0U1TDBaRFJEY3lRVVpGUkVZMU1EUkVSVFE0TWtJMVJFRTVOelZCUVRKQ05FTkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '1738' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEUXdSa0U1TDBaRFJEY3lRVVpGUkVZMU1EUkVSVFE0TWtJMVJFRTVOelZCUVRKQ05FTkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '299' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURnNU1UVTNPQzlET1VRNE9FTXdOMEZCT0RNME4wUkJRa0kzUkVRd01USXlNVVUwTmtVNE5TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '368' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURnNU1UVTNPQzlET1VRNE9FTXdOMEZCT0RNME4wUkJRa0kzUkVRd01USXlNVVUwTmtVNE5TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBSR01URTROaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '1640' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBSR01URTROaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861","deletedDate":1618953267,"scheduledPurgeDate":1626729267,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNME1UZzJNUzh3TURrNU0wUTBSamRHTnpRME5qWXdRa0ZHTmpCQ1JrVTNOMEpHTnpsRVJDRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '1699' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNME1UZzJNUzh3TURrNU0wUTBSamRHTnpRME5qWXdRa0ZHTmpCQ1JrVTNOMEpHTnpsRVJDRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04a010eae","attributes":{"enabled":true,"created":1618953819,"updated":1618953819,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe","deletedDate":1618954281,"scheduledPurgeDate":1626730281,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff","deletedDate":1618954436,"scheduledPurgeDate":1626730436,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81","deletedDate":1618954001,"scheduledPurgeDate":1626730001,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret06c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret087ed1536","deletedDate":1618954838,"scheduledPurgeDate":1626730838,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret087ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2477' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353","deletedDate":1618953829,"scheduledPurgeDate":1626729829,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a81353","attributes":{"enabled":true,"created":1618953793,"updated":1618953793,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c","deletedDate":1618954229,"scheduledPurgeDate":1626730229,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dd0d8d","deletedDate":1618955508,"scheduledPurgeDate":1626731508,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f5dd0d8d","attributes":{"enabled":true,"created":1618955384,"updated":1618955384,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b313b3","deletedDate":1618954922,"scheduledPurgeDate":1626730922,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b313b3","attributes":{"enabled":true,"created":1618954772,"updated":1618954772,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b413b4","deletedDate":1618955042,"scheduledPurgeDate":1626731042,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae","deletedDate":1618953880,"scheduledPurgeDate":1626729880,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe","deletedDate":1618954296,"scheduledPurgeDate":1626730296,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UUkVPVEJFUmtZdlJqZ3pRak0yUmtSQ1FVRTFORFJDUmprd01qTkRNekpDUWtWR09VWTVSRFVoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '3982' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UUkVPVEJFUmtZdlJqZ3pRak0yUmtSQ1FVRTFORFJDUmprd01qTkRNekpDUWtWR09VWTVSRFVoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret16c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret187ed1536","deletedDate":1618954771,"scheduledPurgeDate":1626730771,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret187ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352","deletedDate":1618953674,"scheduledPurgeDate":1626729674,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353","deletedDate":1618953795,"scheduledPurgeDate":1626729795,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b","deletedDate":1618954136,"scheduledPurgeDate":1626730136,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c","deletedDate":1618954295,"scheduledPurgeDate":1626730295,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VWTFSRU13UkRoRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2844' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VWTFSRU13UkRoRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dd0d8d","deletedDate":1618955448,"scheduledPurgeDate":1626731448,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f5dd0d8d","attributes":{"enabled":true,"created":1618955384,"updated":1618955384,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3","deletedDate":1618954874,"scheduledPurgeDate":1626730874,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b413b4","deletedDate":1618955024,"scheduledPurgeDate":1626731024,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae","deletedDate":1618953856,"scheduledPurgeDate":1626729856,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff","deletedDate":1618954486,"scheduledPurgeDate":1626730486,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81","deletedDate":1618954092,"scheduledPurgeDate":1626730092,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret26c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5","deletedDate":1618953672,"scheduledPurgeDate":1626729672,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qZERSRFl3UmtVeUx6WXlNemxGUmtFM056RXpNRFJFTjBOQlJqazFORGxGTURjeU9EZ3pOalpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qZERSRFl3UmtVeUx6WXlNemxGUmtFM056RXpNRFJFTjBOQlJqazFORGxGTURjeU9EZ3pOalpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536","deletedDate":1618954873,"scheduledPurgeDate":1626730873,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret287ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c","deletedDate":1618954332,"scheduledPurgeDate":1626730332,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dd0d8d","deletedDate":1618955468,"scheduledPurgeDate":1626731468,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f5dd0d8d","attributes":{"enabled":true,"created":1618955384,"updated":1618955384,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3","deletedDate":1618954811,"scheduledPurgeDate":1626730811,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rWTRRalF4TTBJMElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2844' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rWTRRalF4TTBJMElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b413b4","deletedDate":1618955003,"scheduledPurgeDate":1626731003,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f","deletedDate":1618955512,"scheduledPurgeDate":1626731512,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae","deletedDate":1618953917,"scheduledPurgeDate":1626729917,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe","deletedDate":1618954198,"scheduledPurgeDate":1626730198,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff","deletedDate":1618954397,"scheduledPurgeDate":1626730397,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81","deletedDate":1618954135,"scheduledPurgeDate":1626730135,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret36c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret387ed1536","deletedDate":1618954854,"scheduledPurgeDate":1626730854,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret387ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wRTJOekV4T1VZeEx6QkZNRGhETURjNVF6WTRSRFF4TkVZNVJEUXpOVUUyTmtVM09FTkJSRFk0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wRTJOekV4T1VZeEx6QkZNRGhETURjNVF6WTRSRFF4TkVZNVJEUXpOVUUyTmtVM09FTkJSRFk0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352","deletedDate":1618953791,"scheduledPurgeDate":1626729791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353","deletedDate":1618953855,"scheduledPurgeDate":1626729855,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b","deletedDate":1618954160,"scheduledPurgeDate":1626730160,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c","deletedDate":1618954315,"scheduledPurgeDate":1626730315,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dd0d8d","deletedDate":1618955386,"scheduledPurgeDate":1626731386,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f5dd0d8d","attributes":{"enabled":true,"created":1618955385,"updated":1618955385,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b313b3","deletedDate":1618954944,"scheduledPurgeDate":1626730944,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b413b4","deletedDate":1618954961,"scheduledPurgeDate":1626730961,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe","deletedDate":1618954166,"scheduledPurgeDate":1626730166,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EUkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3563' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EUkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff","deletedDate":1618954322,"scheduledPurgeDate":1626730322,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81","deletedDate":1618954025,"scheduledPurgeDate":1626730025,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret46c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536","deletedDate":1618954737,"scheduledPurgeDate":1626730737,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret487ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353","deletedDate":1618953881,"scheduledPurgeDate":1626729881,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b","deletedDate":1618954090,"scheduledPurgeDate":1626730090,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTRPREF3UkRKREwwTkZORVk0TWpWR01rRkdORFF3UlVZNE5qQTVOa1F6TmtZNU1USTRRa1V5SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3264' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTRPREF3UkRKREwwTkZORVk0TWpWR01rRkdORFF3UlVZNE5qQTVOa1F6TmtZNU1USTRRa1V5SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dd0d8d","deletedDate":1618955536,"scheduledPurgeDate":1626731536,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f5dd0d8d","attributes":{"enabled":true,"created":1618955385,"updated":1618955385,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3","deletedDate":1618954839,"scheduledPurgeDate":1626730839,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4","deletedDate":1618954929,"scheduledPurgeDate":1626730929,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae","deletedDate":1618953964,"scheduledPurgeDate":1626729964,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe","deletedDate":1618954222,"scheduledPurgeDate":1626730222,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff","deletedDate":1618954460,"scheduledPurgeDate":1626730460,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret56c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5","deletedDate":1618953636,"scheduledPurgeDate":1626729636,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UZERSRFl3UmtVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '3203' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UZERSRFl3UmtVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536","deletedDate":1618954791,"scheduledPurgeDate":1626730791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret587ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353","deletedDate":1618953916,"scheduledPurgeDate":1626729916,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b","deletedDate":1618954180,"scheduledPurgeDate":1626730180,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c","deletedDate":1618954280,"scheduledPurgeDate":1626730280,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dd0d8d","deletedDate":1618955410,"scheduledPurgeDate":1626731410,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f5dd0d8d","attributes":{"enabled":true,"created":1618955385,"updated":1618955385,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3","deletedDate":1618954774,"scheduledPurgeDate":1626730774,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VWTRRak14TTBJekwwRXdNalJDTUVNek5UYzBSalJETmtOQlF6UTRPREZHUkRNd09EUTVORGxDSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '2903' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VWTRRak14TTBJekwwRXdNalJDTUVNek5UYzBSalJETmtOQlF6UTRPREZHUkRNd09EUTVORGxDSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b413b4","deletedDate":1618955064,"scheduledPurgeDate":1626731064,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae","deletedDate":1618953821,"scheduledPurgeDate":1626729821,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe","deletedDate":1618954242,"scheduledPurgeDate":1626730242,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff","deletedDate":1618954419,"scheduledPurgeDate":1626730419,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d90dff","attributes":{"enabled":true,"created":1618954322,"updated":1618954322,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81","deletedDate":1618953978,"scheduledPurgeDate":1626729978,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret66c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536","deletedDate":1618954897,"scheduledPurgeDate":1626730897,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret687ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2840' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b","deletedDate":1618954006,"scheduledPurgeDate":1626730006,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dd0d8d","deletedDate":1618955488,"scheduledPurgeDate":1626731488,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f5dd0d8d","attributes":{"enabled":true,"created":1618955385,"updated":1618955385,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3","deletedDate":1618954898,"scheduledPurgeDate":1626730898,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b413b4","deletedDate":1618954983,"scheduledPurgeDate":1626730983,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b413b4","attributes":{"enabled":true,"created":1618954929,"updated":1618954929,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVmtWU1JqSTBPVEV5T0RBdk5VRTROakU0T1VKQlJEbEVORUk0TjBJMlJEZENOVVE1UmpWRVJqazNSREVoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '2897' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVmtWU1JqSTBPVEV5T0RBdk5VRTROakU0T1VKQlJEbEVORUk0TjBJMlJEZENOVVE1UmpWRVJqazNSREVoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '28' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dd0d8d?api-version=7.1 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:52:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dd0d8d?api-version=7.1 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:52:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dd0d8d?api-version=7.1 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:52:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dd0d8d?api-version=7.1 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:52:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dd0d8d?api-version=7.1 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:52:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dd0d8d?api-version=7.1 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:52:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dd0d8d?api-version=7.1 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Tue, 20 Apr 2021 21:52:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret3f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret5f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret1f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret2f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret6f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret0f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f5dd0d8d?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret4f5dd0d8d"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1","deletedDate":1618954405,"scheduledPurgeDate":1626730405,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954403,"updated":1618954405,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e","deletedDate":1618954533,"scheduledPurgeDate":1626730533,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretf9f143e","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954531,"updated":1618954533,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f","deletedDate":1618954440,"scheduledPurgeDate":1626730440,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954438,"updated":1618954439,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEUXdSa0U1TDBaRFJEY3lRVVpGUkVZMU1EUkVSVFE0TWtJMVJFRTVOelZCUVRKQ05FTkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '1738' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEUXdSa0U1TDBaRFJEY3lRVVpGUkVZMU1EUkVSVFE0TWtJMVJFRTVOelZCUVRKQ05FTkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '299' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURnNU1UVTNPQzlET1VRNE9FTXdOMEZCT0RNME4wUkJRa0kzUkVRd01USXlNVVUwTmtVNE5TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '368' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURnNU1UVTNPQzlET1VRNE9FTXdOMEZCT0RNME4wUkJRa0kzUkVRd01USXlNVVUwTmtVNE5TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBSR01URTROaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '1640' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBSR01URTROaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861","deletedDate":1618953267,"scheduledPurgeDate":1626729267,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNME1UZzJNUzh3TURrNU0wUTBSamRHTnpRME5qWXdRa0ZHTmpCQ1JrVTNOMEpHTnpsRVJDRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '1699' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNME1UZzJNUzh3TURrNU0wUTBSamRHTnpRME5qWXdRa0ZHTmpCQ1JrVTNOMEpHTnpsRVJDRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04a010eae","attributes":{"enabled":true,"created":1618953819,"updated":1618953819,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe","deletedDate":1618954281,"scheduledPurgeDate":1626730281,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff","deletedDate":1618954436,"scheduledPurgeDate":1626730436,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81","deletedDate":1618954001,"scheduledPurgeDate":1626730001,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret06c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret087ed1536","deletedDate":1618954838,"scheduledPurgeDate":1626730838,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret087ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2477' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353","deletedDate":1618953829,"scheduledPurgeDate":1626729829,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a81353","attributes":{"enabled":true,"created":1618953793,"updated":1618953793,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c","deletedDate":1618954229,"scheduledPurgeDate":1626730229,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b313b3","deletedDate":1618954922,"scheduledPurgeDate":1626730922,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b313b3","attributes":{"enabled":true,"created":1618954772,"updated":1618954772,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b413b4","deletedDate":1618955042,"scheduledPurgeDate":1626731042,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae","deletedDate":1618953880,"scheduledPurgeDate":1626729880,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe","deletedDate":1618954296,"scheduledPurgeDate":1626730296,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UUkVPVEJFUmtZdlJqZ3pRak0yUmtSQ1FVRTFORFJDUmprd01qTkRNekpDUWtWR09VWTVSRFVoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '3619' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UUkVPVEJFUmtZdlJqZ3pRak0yUmtSQ1FVRTFORFJDUmprd01qTkRNekpDUWtWR09VWTVSRFVoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret16c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret187ed1536","deletedDate":1618954771,"scheduledPurgeDate":1626730771,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret187ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352","deletedDate":1618953674,"scheduledPurgeDate":1626729674,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353","deletedDate":1618953795,"scheduledPurgeDate":1626729795,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b","deletedDate":1618954136,"scheduledPurgeDate":1626730136,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c","deletedDate":1618954295,"scheduledPurgeDate":1626730295,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VWTFSRU13UkRoRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2844' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VWTFSRU13UkRoRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3","deletedDate":1618954874,"scheduledPurgeDate":1626730874,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b413b4","deletedDate":1618955024,"scheduledPurgeDate":1626731024,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae","deletedDate":1618953856,"scheduledPurgeDate":1626729856,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff","deletedDate":1618954486,"scheduledPurgeDate":1626730486,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81","deletedDate":1618954092,"scheduledPurgeDate":1626730092,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret26c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5","deletedDate":1618953672,"scheduledPurgeDate":1626729672,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qZERSRFl3UmtVeUx6WXlNemxGUmtFM056RXpNRFJFTjBOQlJqazFORGxGTURjeU9EZ3pOalpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '2899' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qZERSRFl3UmtVeUx6WXlNemxGUmtFM056RXpNRFJFTjBOQlJqazFORGxGTURjeU9EZ3pOalpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536","deletedDate":1618954873,"scheduledPurgeDate":1626730873,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret287ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c","deletedDate":1618954332,"scheduledPurgeDate":1626730332,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3","deletedDate":1618954811,"scheduledPurgeDate":1626730811,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rWTRRalF4TTBJMElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2481' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rWTRRalF4TTBJMElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b413b4","deletedDate":1618955003,"scheduledPurgeDate":1626731003,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f","deletedDate":1618955512,"scheduledPurgeDate":1626731512,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae","deletedDate":1618953917,"scheduledPurgeDate":1626729917,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe","deletedDate":1618954198,"scheduledPurgeDate":1626730198,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff","deletedDate":1618954397,"scheduledPurgeDate":1626730397,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81","deletedDate":1618954135,"scheduledPurgeDate":1626730135,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret36c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret387ed1536","deletedDate":1618954854,"scheduledPurgeDate":1626730854,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret387ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wRTJOekV4T1VZeEx6QkZNRGhETURjNVF6WTRSRFF4TkVZNVJEUXpOVUUyTmtVM09FTkJSRFk0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wRTJOekV4T1VZeEx6QkZNRGhETURjNVF6WTRSRFF4TkVZNVJEUXpOVUUyTmtVM09FTkJSRFk0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352","deletedDate":1618953791,"scheduledPurgeDate":1626729791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353","deletedDate":1618953855,"scheduledPurgeDate":1626729855,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b","deletedDate":1618954160,"scheduledPurgeDate":1626730160,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c","deletedDate":1618954315,"scheduledPurgeDate":1626730315,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b313b3","deletedDate":1618954944,"scheduledPurgeDate":1626730944,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b413b4","deletedDate":1618954961,"scheduledPurgeDate":1626730961,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe","deletedDate":1618954166,"scheduledPurgeDate":1626730166,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EUkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3200' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EUkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff","deletedDate":1618954322,"scheduledPurgeDate":1626730322,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81","deletedDate":1618954025,"scheduledPurgeDate":1626730025,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret46c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536","deletedDate":1618954737,"scheduledPurgeDate":1626730737,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret487ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353","deletedDate":1618953881,"scheduledPurgeDate":1626729881,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b","deletedDate":1618954090,"scheduledPurgeDate":1626730090,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTRPREF3UkRKREwwTkZORVk0TWpWR01rRkdORFF3UlVZNE5qQTVOa1F6TmtZNU1USTRRa1V5SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3264' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTRPREF3UkRKREwwTkZORVk0TWpWR01rRkdORFF3UlVZNE5qQTVOa1F6TmtZNU1USTRRa1V5SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3","deletedDate":1618954839,"scheduledPurgeDate":1626730839,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4","deletedDate":1618954929,"scheduledPurgeDate":1626730929,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae","deletedDate":1618953964,"scheduledPurgeDate":1626729964,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe","deletedDate":1618954222,"scheduledPurgeDate":1626730222,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff","deletedDate":1618954460,"scheduledPurgeDate":1626730460,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret56c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5","deletedDate":1618953636,"scheduledPurgeDate":1626729636,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UZERSRFl3UmtVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2840' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UZERSRFl3UmtVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536","deletedDate":1618954791,"scheduledPurgeDate":1626730791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret587ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353","deletedDate":1618953916,"scheduledPurgeDate":1626729916,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b","deletedDate":1618954180,"scheduledPurgeDate":1626730180,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c","deletedDate":1618954280,"scheduledPurgeDate":1626730280,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3","deletedDate":1618954774,"scheduledPurgeDate":1626730774,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VWTRRak14TTBJekwwRXdNalJDTUVNek5UYzBSalJETmtOQlF6UTRPREZHUkRNd09EUTVORGxDSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '2540' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VWTRRak14TTBJekwwRXdNalJDTUVNek5UYzBSalJETmtOQlF6UTRPREZHUkRNd09EUTVORGxDSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b413b4","deletedDate":1618955064,"scheduledPurgeDate":1626731064,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae","deletedDate":1618953821,"scheduledPurgeDate":1626729821,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe","deletedDate":1618954242,"scheduledPurgeDate":1626730242,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff","deletedDate":1618954419,"scheduledPurgeDate":1626730419,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d90dff","attributes":{"enabled":true,"created":1618954322,"updated":1618954322,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81","deletedDate":1618953978,"scheduledPurgeDate":1626729978,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret66c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536","deletedDate":1618954897,"scheduledPurgeDate":1626730897,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret687ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2840' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b","deletedDate":1618954006,"scheduledPurgeDate":1626730006,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3","deletedDate":1618954898,"scheduledPurgeDate":1626730898,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b413b4","deletedDate":1618954983,"scheduledPurgeDate":1626730983,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b413b4","attributes":{"enabled":true,"created":1618954929,"updated":1618954929,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVmtWU1JqSTBPVEV5T0RBdk5VRTROakU0T1VKQlJEbEVORUk0TjBJMlJEZENOVVE1UmpWRVJqazNSREVoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '2534' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVmtWU1JqSTBPVEV5T0RBdk5VRTROakU0T1VKQlJEbEVORUk0TjBJMlJEZENOVVE1UmpWRVJqazNSREVoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '28' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_recover_2016_10_01.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_recover_2016_10_01.yaml new file mode 100644 index 000000000000..3e4b5707781b --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_recover_2016_10_01.yaml @@ -0,0 +1,11177 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "value0"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2/57b45c54003a4e2796322e2511f1e25f","attributes":{"enabled":true,"created":1618955099,"updated":1618955099,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value1"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/c6ddd4a39da94350bda6e2dc08bd11ef","attributes":{"enabled":true,"created":1618955099,"updated":1618955099,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:44:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret27cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret27cd60fe2/6239efa771304d7caf9549e07288366c","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value3"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2/90e32789073b48f59983e942377b51af","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value4"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret47cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret47cd60fe2/eb5bd31cb2bc4f9caacc4f71d7e3a51d","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value5"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/5f0b8425d2ac492392ca5af09895df60","attributes":{"enabled":true,"created":1618955101,"updated":1618955101,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value6"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2/25ee66bf9cea47a080ef6f49c4ad1c32","attributes":{"enabled":true,"created":1618955101,"updated":1618955101,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret37cd60fe2","deletedDate":1618955101,"scheduledPurgeDate":1626731101,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2/90e32789073b48f59983e942377b51af","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret37cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret37cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret37cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret37cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret37cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret37cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret37cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret37cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret37cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret37cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret37cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret37cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret37cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret37cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret37cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret37cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret37cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret37cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret37cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret37cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret37cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret37cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret37cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret37cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret37cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret37cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret37cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret37cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret37cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret37cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret37cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret37cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret37cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret37cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret37cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret37cd60fe2","deletedDate":1618955101,"scheduledPurgeDate":1626731101,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2/90e32789073b48f59983e942377b51af","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret67cd60fe2","deletedDate":1618955138,"scheduledPurgeDate":1626731138,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2/25ee66bf9cea47a080ef6f49c4ad1c32","attributes":{"enabled":true,"created":1618955101,"updated":1618955101,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret67cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret67cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret67cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret67cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret67cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret67cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret67cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret67cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret67cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret67cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret67cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret67cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret67cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret67cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret67cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret67cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret67cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret67cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret67cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret67cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret67cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret67cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:45:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret67cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret67cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret67cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret67cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret67cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret67cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret67cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret67cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret67cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret67cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret67cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret67cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret67cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret67cd60fe2","deletedDate":1618955138,"scheduledPurgeDate":1626731138,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2/25ee66bf9cea47a080ef6f49c4ad1c32","attributes":{"enabled":true,"created":1618955101,"updated":1618955101,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret57cd60fe2","deletedDate":1618955175,"scheduledPurgeDate":1626731175,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/5f0b8425d2ac492392ca5af09895df60","attributes":{"enabled":true,"created":1618955101,"updated":1618955101,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret57cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret57cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret57cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret57cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret57cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret57cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret57cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret57cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret57cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret57cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret57cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret57cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret57cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret57cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret57cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret57cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret57cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret57cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret57cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret57cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret57cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret57cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret57cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret57cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret57cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret57cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret57cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret57cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret57cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret57cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret57cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret57cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret57cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret57cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret57cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret57cd60fe2","deletedDate":1618955175,"scheduledPurgeDate":1626731175,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/5f0b8425d2ac492392ca5af09895df60","attributes":{"enabled":true,"created":1618955101,"updated":1618955101,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret47cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret47cd60fe2","deletedDate":1618955212,"scheduledPurgeDate":1626731212,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret47cd60fe2/eb5bd31cb2bc4f9caacc4f71d7e3a51d","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret47cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret47cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret47cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret47cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret47cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret47cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret47cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret47cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:46:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret47cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret47cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret47cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret47cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret47cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret47cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret47cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret47cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret47cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret47cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret47cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret47cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret47cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret47cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret47cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret47cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret47cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret47cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret47cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret47cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret47cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret47cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret47cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret47cd60fe2","deletedDate":1618955212,"scheduledPurgeDate":1626731212,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret47cd60fe2/eb5bd31cb2bc4f9caacc4f71d7e3a51d","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret27cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret27cd60fe2","deletedDate":1618955245,"scheduledPurgeDate":1626731245,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret27cd60fe2/6239efa771304d7caf9549e07288366c","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret27cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret27cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret27cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret27cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret27cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret27cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret27cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret27cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret27cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret27cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret27cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret27cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret27cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret27cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret27cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret27cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret27cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret27cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret27cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret27cd60fe2","deletedDate":1618955245,"scheduledPurgeDate":1626731245,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret27cd60fe2/6239efa771304d7caf9549e07288366c","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret17cd60fe2","deletedDate":1618955264,"scheduledPurgeDate":1626731264,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/c6ddd4a39da94350bda6e2dc08bd11ef","attributes":{"enabled":true,"created":1618955099,"updated":1618955099,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret17cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret17cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret17cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret17cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret17cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret17cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret17cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret17cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret17cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret17cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret17cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret17cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret17cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret17cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret17cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret17cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:47:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret17cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret17cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret17cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret17cd60fe2","deletedDate":1618955264,"scheduledPurgeDate":1626731264,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/c6ddd4a39da94350bda6e2dc08bd11ef","attributes":{"enabled":true,"created":1618955099,"updated":1618955099,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret07cd60fe2","deletedDate":1618955284,"scheduledPurgeDate":1626731284,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2/57b45c54003a4e2796322e2511f1e25f","attributes":{"enabled":true,"created":1618955099,"updated":1618955099,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret07cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret07cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret07cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret07cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret07cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret07cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret07cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret07cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret07cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret07cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret07cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret07cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret07cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret07cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret07cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret07cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret07cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret07cd60fe2"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret07cd60fe2?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret07cd60fe2","deletedDate":1618955284,"scheduledPurgeDate":1626731284,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2/57b45c54003a4e2796322e2511f1e25f","attributes":{"enabled":true,"created":1618955099,"updated":1618955099,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1","deletedDate":1618954405,"scheduledPurgeDate":1626730405,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954403,"updated":1618954405,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e","deletedDate":1618954533,"scheduledPurgeDate":1626730533,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretf9f143e","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954531,"updated":1618954533,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f","deletedDate":1618954440,"scheduledPurgeDate":1626730440,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954438,"updated":1618954439,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEUXdSa0U1TDBaRFJEY3lRVVpGUkVZMU1EUkVSVFE0TWtJMVJFRTVOelZCUVRKQ05FTkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '1682' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEUXdSa0U1TDBaRFJEY3lRVVpGUkVZMU1EUkVSVFE0TWtJMVJFRTVOelZCUVRKQ05FTkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '306' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURnNU1UVTNPQzlET1VRNE9FTXdOMEZCT0RNME4wUkJRa0kzUkVRd01USXlNVVUwTmtVNE5TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '375' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURnNU1UVTNPQzlET1VRNE9FTXdOMEZCT0RNME4wUkJRa0kzUkVRd01USXlNVVUwTmtVNE5TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBSR01URTROaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '1584' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBSR01URTROaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861","deletedDate":1618953267,"scheduledPurgeDate":1626729267,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNME1UZzJNUzh3TURrNU0wUTBSamRHTnpRME5qWXdRa0ZHTmpCQ1JrVTNOMEpHTnpsRVJDRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '1643' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNME1UZzJNUzh3TURrNU0wUTBSamRHTnpRME5qWXdRa0ZHTmpCQ1JrVTNOMEpHTnpsRVJDRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04a010eae","attributes":{"enabled":true,"created":1618953819,"updated":1618953819,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe","deletedDate":1618954281,"scheduledPurgeDate":1626730281,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff","deletedDate":1618954436,"scheduledPurgeDate":1626730436,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81","deletedDate":1618954001,"scheduledPurgeDate":1626730001,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret06c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret07cd60fe2","deletedDate":1618955284,"scheduledPurgeDate":1626731284,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2","attributes":{"enabled":true,"created":1618955099,"updated":1618955099,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret087ed1536","deletedDate":1618954838,"scheduledPurgeDate":1626730838,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret087ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '3042' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353","deletedDate":1618953829,"scheduledPurgeDate":1626729829,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a81353","attributes":{"enabled":true,"created":1618953793,"updated":1618953793,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c","deletedDate":1618954229,"scheduledPurgeDate":1626730229,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f5dc0d8c","deletedDate":1618955244,"scheduledPurgeDate":1626731244,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f5dc0d8c","attributes":{"enabled":true,"created":1618955186,"updated":1618955186,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b313b3","deletedDate":1618954922,"scheduledPurgeDate":1626730922,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b313b3","attributes":{"enabled":true,"created":1618954772,"updated":1618954772,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b413b4","deletedDate":1618955042,"scheduledPurgeDate":1626731042,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae","deletedDate":1618953880,"scheduledPurgeDate":1626729880,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe","deletedDate":1618954296,"scheduledPurgeDate":1626730296,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret16c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UWkRNVEF3UmpneEx6a3hNa1F3TTBFMk4wVXpSRFJGTnpkQ09EbEdSamt5UkROQ016ZzNSRGd3SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3785' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UWkRNVEF3UmpneEx6a3hNa1F3TTBFMk4wVXpSRFJGTnpkQ09EbEdSamt5UkROQ016ZzNSRGd3SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret17cd60fe2","deletedDate":1618955264,"scheduledPurgeDate":1626731264,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2","attributes":{"enabled":true,"created":1618955099,"updated":1618955099,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret187ed1536","deletedDate":1618954771,"scheduledPurgeDate":1626730771,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret187ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352","deletedDate":1618953674,"scheduledPurgeDate":1626729674,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353","deletedDate":1618953795,"scheduledPurgeDate":1626729795,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b","deletedDate":1618954136,"scheduledPurgeDate":1626730136,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c","deletedDate":1618954295,"scheduledPurgeDate":1626730295,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f5dc0d8c","deletedDate":1618955264,"scheduledPurgeDate":1626731264,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f5dc0d8c","attributes":{"enabled":true,"created":1618955186,"updated":1618955186,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '3046' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3","deletedDate":1618954874,"scheduledPurgeDate":1626730874,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b413b4","deletedDate":1618955024,"scheduledPurgeDate":1626731024,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae","deletedDate":1618953856,"scheduledPurgeDate":1626729856,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff","deletedDate":1618954486,"scheduledPurgeDate":1626730486,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81","deletedDate":1618954092,"scheduledPurgeDate":1626730092,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret26c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5","deletedDate":1618953672,"scheduledPurgeDate":1626729672,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret27cd60fe2","deletedDate":1618955245,"scheduledPurgeDate":1626731245,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret27cd60fe2","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536","deletedDate":1618954873,"scheduledPurgeDate":1626730873,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret287ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qazBSRFV4UVVWREx6WXlOVEJFUkRJNE5rVTNOVFEwUWtOQlJEUTVSVEJGUkVaQ09UZEVRekU0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3443' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qazBSRFV4UVVWREx6WXlOVEJFUkRJNE5rVTNOVFEwUWtOQlJEUTVSVEJGUkVaQ09UZEVRekU0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c","deletedDate":1618954332,"scheduledPurgeDate":1626730332,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3","deletedDate":1618954811,"scheduledPurgeDate":1626730811,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b413b4","deletedDate":1618955003,"scheduledPurgeDate":1626731003,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae","deletedDate":1618953917,"scheduledPurgeDate":1626729917,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe","deletedDate":1618954198,"scheduledPurgeDate":1626730198,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16UkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3039' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16UkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff","deletedDate":1618954397,"scheduledPurgeDate":1626730397,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81","deletedDate":1618954135,"scheduledPurgeDate":1626730135,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret36c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret37cd60fe2","deletedDate":1618955101,"scheduledPurgeDate":1626731101,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret387ed1536","deletedDate":1618954854,"scheduledPurgeDate":1626730854,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret387ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352","deletedDate":1618953791,"scheduledPurgeDate":1626729791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353","deletedDate":1618953855,"scheduledPurgeDate":1626729855,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b","deletedDate":1618954160,"scheduledPurgeDate":1626730160,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c","deletedDate":1618954315,"scheduledPurgeDate":1626730315,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTRPREF3UkRKREwwTkJPVEE1TlVJME5EWXlRalJCT0VJNE5EazNOVU5DTWpoQ1JEQTJSakpDSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3445' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTRPREF3UkRKREwwTkJPVEE1TlVJME5EWXlRalJCT0VJNE5EazNOVU5DTWpoQ1JEQTJSakpDSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b313b3","deletedDate":1618954944,"scheduledPurgeDate":1626730944,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b413b4","deletedDate":1618954961,"scheduledPurgeDate":1626730961,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe","deletedDate":1618954166,"scheduledPurgeDate":1626730166,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff","deletedDate":1618954322,"scheduledPurgeDate":1626730322,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81","deletedDate":1618954025,"scheduledPurgeDate":1626730025,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret46c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret47cd60fe2","deletedDate":1618955212,"scheduledPurgeDate":1626731212,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret47cd60fe2","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EZzNSVVF4TlRNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '3042' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EZzNSVVF4TlRNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536","deletedDate":1618954737,"scheduledPurgeDate":1626730737,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret487ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353","deletedDate":1618953881,"scheduledPurgeDate":1626729881,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b","deletedDate":1618954090,"scheduledPurgeDate":1626730090,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3","deletedDate":1618954839,"scheduledPurgeDate":1626730839,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4","deletedDate":1618954929,"scheduledPurgeDate":1626730929,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FWTRRalF4TTBJMEx6Z3lSRU0xUWprd056UkJRVFJCTXpJNE56bEJOamhCTkRBMU1VTTRRelUzSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '2763' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FWTRRalF4TTBJMEx6Z3lSRU0xUWprd056UkJRVFJCTXpJNE56bEJOamhCTkRBMU1VTTRRelUzSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae","deletedDate":1618953964,"scheduledPurgeDate":1626729964,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe","deletedDate":1618954222,"scheduledPurgeDate":1626730222,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff","deletedDate":1618954460,"scheduledPurgeDate":1626730460,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret56c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5","deletedDate":1618953636,"scheduledPurgeDate":1626729636,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret57cd60fe2","deletedDate":1618955175,"scheduledPurgeDate":1626731175,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2","attributes":{"enabled":true,"created":1618955101,"updated":1618955101,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536","deletedDate":1618954791,"scheduledPurgeDate":1626730791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret587ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '3042' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353","deletedDate":1618953916,"scheduledPurgeDate":1626729916,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b","deletedDate":1618954180,"scheduledPurgeDate":1626730180,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c","deletedDate":1618954280,"scheduledPurgeDate":1626730280,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f5dc0d8c","deletedDate":1618955283,"scheduledPurgeDate":1626731283,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f5dc0d8c","attributes":{"enabled":true,"created":1618955187,"updated":1618955187,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3","deletedDate":1618954774,"scheduledPurgeDate":1626730774,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b413b4","deletedDate":1618955064,"scheduledPurgeDate":1626731064,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae","deletedDate":1618953821,"scheduledPurgeDate":1626729821,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe","deletedDate":1618954242,"scheduledPurgeDate":1626730242,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff","deletedDate":1618954419,"scheduledPurgeDate":1626730419,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d90dff","attributes":{"enabled":true,"created":1618954322,"updated":1618954322,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81","deletedDate":1618953978,"scheduledPurgeDate":1626729978,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret66c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qWkRNVEF3UmpneEwwTTVOREpFTnpVNU1qVTVORFJFTTBNNU5qVkJSakF5TVRsRFEwWXlRelkySVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3785' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qWkRNVEF3UmpneEwwTTVOREpFTnpVNU1qVTVORFJFTTBNNU5qVkJSakF5TVRsRFEwWXlRelkySVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret67cd60fe2","deletedDate":1618955138,"scheduledPurgeDate":1626731138,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2","attributes":{"enabled":true,"created":1618955101,"updated":1618955101,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536","deletedDate":1618954897,"scheduledPurgeDate":1626730897,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret687ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b","deletedDate":1618954006,"scheduledPurgeDate":1626730006,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f5dc0d8c","deletedDate":1618955188,"scheduledPurgeDate":1626731188,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f5dc0d8c","attributes":{"enabled":true,"created":1618955188,"updated":1618955188,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '3046' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3","deletedDate":1618954898,"scheduledPurgeDate":1626730898,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b413b4","deletedDate":1618954983,"scheduledPurgeDate":1626730983,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b413b4","attributes":{"enabled":true,"created":1618954929,"updated":1618954929,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '711' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret37cd60fe2/recover?api-version=2016-10-01 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2/90e32789073b48f59983e942377b51af","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '224' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret37cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret37cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret37cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret37cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret37cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret37cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret37cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret37cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret37cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret37cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret37cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret37cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret37cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret37cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret37cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:48:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret37cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2/90e32789073b48f59983e942377b51af","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret67cd60fe2/recover?api-version=2016-10-01 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2/25ee66bf9cea47a080ef6f49c4ad1c32","attributes":{"enabled":true,"created":1618955101,"updated":1618955101,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '224' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret67cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret67cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret67cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret67cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret67cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret67cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret67cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret67cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret67cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret67cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret67cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret67cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2/25ee66bf9cea47a080ef6f49c4ad1c32","attributes":{"enabled":true,"created":1618955101,"updated":1618955101,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret57cd60fe2/recover?api-version=2016-10-01 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/5f0b8425d2ac492392ca5af09895df60","attributes":{"enabled":true,"created":1618955101,"updated":1618955101,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '224' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret57cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret57cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret57cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret57cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret57cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret57cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret57cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret57cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret57cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret57cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret57cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret57cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret57cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret57cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:49:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret57cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret57cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret57cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret57cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/5f0b8425d2ac492392ca5af09895df60","attributes":{"enabled":true,"created":1618955101,"updated":1618955101,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret47cd60fe2/recover?api-version=2016-10-01 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret47cd60fe2/eb5bd31cb2bc4f9caacc4f71d7e3a51d","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '224' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret47cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret47cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret47cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret47cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret47cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret47cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret47cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret47cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret47cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret47cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret47cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret47cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret47cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret47cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret47cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret47cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret47cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret47cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret47cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret47cd60fe2/eb5bd31cb2bc4f9caacc4f71d7e3a51d","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret27cd60fe2/recover?api-version=2016-10-01 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret27cd60fe2/6239efa771304d7caf9549e07288366c","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '224' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret27cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret27cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret27cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret27cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret27cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret27cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret27cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret27cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret27cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret27cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret27cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret27cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret27cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret27cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret27cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret27cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret27cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret27cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret27cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret27cd60fe2/6239efa771304d7caf9549e07288366c","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret17cd60fe2/recover?api-version=2016-10-01 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/c6ddd4a39da94350bda6e2dc08bd11ef","attributes":{"enabled":true,"created":1618955099,"updated":1618955099,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '224' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret17cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret17cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret17cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret17cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret17cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret17cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:50:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret17cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret17cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret17cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret17cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret17cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret17cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret17cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret17cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret17cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret17cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret17cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret17cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/c6ddd4a39da94350bda6e2dc08bd11ef","attributes":{"enabled":true,"created":1618955099,"updated":1618955099,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret07cd60fe2/recover?api-version=2016-10-01 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2/57b45c54003a4e2796322e2511f1e25f","attributes":{"enabled":true,"created":1618955099,"updated":1618955099,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '224' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret07cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret07cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret07cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret07cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret07cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret07cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret07cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret07cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret07cd60fe2 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2/57b45c54003a4e2796322e2511f1e25f","attributes":{"enabled":true,"created":1618955099,"updated":1618955099,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2/90e32789073b48f59983e942377b51af","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2/25ee66bf9cea47a080ef6f49c4ad1c32","attributes":{"enabled":true,"created":1618955101,"updated":1618955101,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2/5f0b8425d2ac492392ca5af09895df60","attributes":{"enabled":true,"created":1618955101,"updated":1618955101,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret47cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret47cd60fe2/eb5bd31cb2bc4f9caacc4f71d7e3a51d","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret27cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret27cd60fe2/6239efa771304d7caf9549e07288366c","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2/c6ddd4a39da94350bda6e2dc08bd11ef","attributes":{"enabled":true,"created":1618955099,"updated":1618955099,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2/?api-version=2016-10-01 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2/57b45c54003a4e2796322e2511f1e25f","attributes":{"enabled":true,"created":1618955099,"updated":1618955099,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_recover_7_0.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_recover_7_0.yaml new file mode 100644 index 000000000000..257756124ee8 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_recover_7_0.yaml @@ -0,0 +1,9913 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "value0"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f70e5f?api-version=7.0 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret012f70e5f/5bce9d447e7c4a74ad887f8c151f4e51","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value1"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret112f70e5f?api-version=7.0 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret112f70e5f/96dda2fb4fc44338a555f48093659e1c","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f70e5f?api-version=7.0 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret212f70e5f/584355c5be7c482ca97ca6901a983293","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value3"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f?api-version=7.0 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f/7b4ece3aa5744f92a702b74c21402f92","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value4"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f70e5f?api-version=7.0 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret412f70e5f/c8f50cc528de4230a914d5490b41e955","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value5"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f70e5f?api-version=7.0 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret512f70e5f/ea106b510b34404183f48c8f9825fbf4","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value6"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret612f70e5f?api-version=7.0 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret612f70e5f/707ddf4528354c09ba108624e88e7822","attributes":{"enabled":true,"created":1618955512,"updated":1618955512,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f","deletedDate":1618955512,"scheduledPurgeDate":1626731512,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f/7b4ece3aa5744f92a702b74c21402f92","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:51:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f","deletedDate":1618955512,"scheduledPurgeDate":1626731512,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f/7b4ece3aa5744f92a702b74c21402f92","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f70e5f?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f70e5f","deletedDate":1618955559,"scheduledPurgeDate":1626731559,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret012f70e5f/5bce9d447e7c4a74ad887f8c151f4e51","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret012f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret012f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret012f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret012f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret012f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret012f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret012f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret012f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret012f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret012f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret012f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret012f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f70e5f?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f70e5f","deletedDate":1618955559,"scheduledPurgeDate":1626731559,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret012f70e5f/5bce9d447e7c4a74ad887f8c151f4e51","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f70e5f?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f70e5f","deletedDate":1618955585,"scheduledPurgeDate":1626731585,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret212f70e5f/584355c5be7c482ca97ca6901a983293","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret212f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret212f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret212f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret212f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret212f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret212f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret212f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret212f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret212f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret212f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f70e5f?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f70e5f","deletedDate":1618955585,"scheduledPurgeDate":1626731585,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret212f70e5f/584355c5be7c482ca97ca6901a983293","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f70e5f?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f70e5f","deletedDate":1618955607,"scheduledPurgeDate":1626731607,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret412f70e5f/c8f50cc528de4230a914d5490b41e955","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f70e5f?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f70e5f","deletedDate":1618955607,"scheduledPurgeDate":1626731607,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret412f70e5f/c8f50cc528de4230a914d5490b41e955","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret112f70e5f?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f70e5f","deletedDate":1618955627,"scheduledPurgeDate":1626731627,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret112f70e5f/96dda2fb4fc44338a555f48093659e1c","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret112f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret112f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret112f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret112f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret112f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret112f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret112f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret112f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret112f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f70e5f?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f70e5f","deletedDate":1618955627,"scheduledPurgeDate":1626731627,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret112f70e5f/96dda2fb4fc44338a555f48093659e1c","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret612f70e5f?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f70e5f","deletedDate":1618955647,"scheduledPurgeDate":1626731647,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret612f70e5f/707ddf4528354c09ba108624e88e7822","attributes":{"enabled":true,"created":1618955512,"updated":1618955512,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret612f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret612f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret612f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret612f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret612f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret612f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret612f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret612f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret612f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret612f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f70e5f?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f70e5f","deletedDate":1618955647,"scheduledPurgeDate":1626731647,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret612f70e5f/707ddf4528354c09ba108624e88e7822","attributes":{"enabled":true,"created":1618955512,"updated":1618955512,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f70e5f?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f70e5f","deletedDate":1618955669,"scheduledPurgeDate":1626731669,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret512f70e5f/ea106b510b34404183f48c8f9825fbf4","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f70e5f?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f70e5f"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f70e5f?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f70e5f","deletedDate":1618955669,"scheduledPurgeDate":1626731669,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret512f70e5f/ea106b510b34404183f48c8f9825fbf4","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1","deletedDate":1618954405,"scheduledPurgeDate":1626730405,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954403,"updated":1618954405,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e","deletedDate":1618954533,"scheduledPurgeDate":1626730533,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretf9f143e","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954531,"updated":1618954533,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f","deletedDate":1618954440,"scheduledPurgeDate":1626730440,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954438,"updated":1618954439,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEUXdSa0U1TDBaRFJEY3lRVVpGUkVZMU1EUkVSVFE0TWtJMVJFRTVOelZCUVRKQ05FTkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '1675' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEUXdSa0U1TDBaRFJEY3lRVVpGUkVZMU1EUkVSVFE0TWtJMVJFRTVOelZCUVRKQ05FTkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '299' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURnNU1UVTNPQzlET1VRNE9FTXdOMEZCT0RNME4wUkJRa0kzUkVRd01USXlNVVUwTmtVNE5TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '368' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURnNU1UVTNPQzlET1VRNE9FTXdOMEZCT0RNME4wUkJRa0kzUkVRd01USXlNVVUwTmtVNE5TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBSR01URTROaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '1577' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBSR01URTROaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861","deletedDate":1618953267,"scheduledPurgeDate":1626729267,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNME1UZzJNUzh3TURrNU0wUTBSamRHTnpRME5qWXdRa0ZHTmpCQ1JrVTNOMEpHTnpsRVJDRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '1636' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNME1UZzJNUzh3TURrNU0wUTBSamRHTnpRME5qWXdRa0ZHTmpCQ1JrVTNOMEpHTnpsRVJDRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f70e5f","deletedDate":1618955559,"scheduledPurgeDate":1626731559,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret012f70e5f","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04a010eae","attributes":{"enabled":true,"created":1618953819,"updated":1618953819,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe","deletedDate":1618954281,"scheduledPurgeDate":1626730281,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff","deletedDate":1618954436,"scheduledPurgeDate":1626730436,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81","deletedDate":1618954001,"scheduledPurgeDate":1626730001,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret06c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret087ed1536","deletedDate":1618954838,"scheduledPurgeDate":1626730838,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret087ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2693' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353","deletedDate":1618953829,"scheduledPurgeDate":1626729829,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a81353","attributes":{"enabled":true,"created":1618953793,"updated":1618953793,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c","deletedDate":1618954229,"scheduledPurgeDate":1626730229,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b313b3","deletedDate":1618954922,"scheduledPurgeDate":1626730922,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b313b3","attributes":{"enabled":true,"created":1618954772,"updated":1618954772,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b413b4","deletedDate":1618955042,"scheduledPurgeDate":1626731042,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f70e5f","deletedDate":1618955627,"scheduledPurgeDate":1626731627,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret112f70e5f","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f80e60","deletedDate":1618955625,"scheduledPurgeDate":1626731625,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret112f80e60","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae","deletedDate":1618953880,"scheduledPurgeDate":1626729880,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe","deletedDate":1618954296,"scheduledPurgeDate":1626730296,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UUkVPREJFUmtVdk5qVXdRemhDT1VVeU4wSXdORUV5TWpreE56aENNVVkzT1VFMlJFTXlPVVVoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '3774' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UUkVPREJFUmtVdk5qVXdRemhDT1VVeU4wSXdORUV5TWpreE56aENNVVkzT1VFMlJFTXlPVVVoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret16c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret187ed1536","deletedDate":1618954771,"scheduledPurgeDate":1626730771,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret187ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352","deletedDate":1618953674,"scheduledPurgeDate":1626729674,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353","deletedDate":1618953795,"scheduledPurgeDate":1626729795,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b","deletedDate":1618954136,"scheduledPurgeDate":1626730136,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2695' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c","deletedDate":1618954295,"scheduledPurgeDate":1626730295,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3","deletedDate":1618954874,"scheduledPurgeDate":1626730874,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b413b4","deletedDate":1618955024,"scheduledPurgeDate":1626731024,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f70e5f","deletedDate":1618955585,"scheduledPurgeDate":1626731585,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret212f70e5f","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f80e60","deletedDate":1618955608,"scheduledPurgeDate":1626731608,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret212f80e60","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae","deletedDate":1618953856,"scheduledPurgeDate":1626729856,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff","deletedDate":1618954486,"scheduledPurgeDate":1626730486,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81","deletedDate":1618954092,"scheduledPurgeDate":1626730092,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret26c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5","deletedDate":1618953672,"scheduledPurgeDate":1626729672,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qY3lNMEV4TkVRMUx6YzBPVVEzTlVKRFFrTXpNVFF5TXpsQ1JFRTBRek0zUlVWRVFqUTRSVFl4SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3778' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qY3lNMEV4TkVRMUx6YzBPVVEzTlVKRFFrTXpNVFF5TXpsQ1JFRTBRek0zUlVWRVFqUTRSVFl4SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536","deletedDate":1618954873,"scheduledPurgeDate":1626730873,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret287ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c","deletedDate":1618954332,"scheduledPurgeDate":1626730332,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3","deletedDate":1618954811,"scheduledPurgeDate":1626730811,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rWTRRalF4TTBJMElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2355' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rWTRRalF4TTBJMElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b413b4","deletedDate":1618955003,"scheduledPurgeDate":1626731003,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f","deletedDate":1618955512,"scheduledPurgeDate":1626731512,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f80e60","deletedDate":1618955575,"scheduledPurgeDate":1626731575,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae","deletedDate":1618953917,"scheduledPurgeDate":1626729917,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe","deletedDate":1618954198,"scheduledPurgeDate":1626730198,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff","deletedDate":1618954397,"scheduledPurgeDate":1626730397,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81","deletedDate":1618954135,"scheduledPurgeDate":1626730135,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret36c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret387ed1536","deletedDate":1618954854,"scheduledPurgeDate":1626730854,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret387ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16azBSRFV4UVVWREx6UTBNakJDT1VRNE5rTkRPVFJFT1VZNFJrUXpNemhDUkRkRU56VTFOekF3SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3436' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16azBSRFV4UVVWREx6UTBNakJDT1VRNE5rTkRPVFJFT1VZNFJrUXpNemhDUkRkRU56VTFOekF3SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352","deletedDate":1618953791,"scheduledPurgeDate":1626729791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353","deletedDate":1618953855,"scheduledPurgeDate":1626729855,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b","deletedDate":1618954160,"scheduledPurgeDate":1626730160,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c","deletedDate":1618954315,"scheduledPurgeDate":1626730315,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b313b3","deletedDate":1618954944,"scheduledPurgeDate":1626730944,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b413b4","deletedDate":1618954961,"scheduledPurgeDate":1626730961,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f70e5f","deletedDate":1618955607,"scheduledPurgeDate":1626731607,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret412f70e5f","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f80e60","deletedDate":1618955669,"scheduledPurgeDate":1626731669,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret412f80e60","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EUkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3376' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EUkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe","deletedDate":1618954166,"scheduledPurgeDate":1626730166,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff","deletedDate":1618954322,"scheduledPurgeDate":1626730322,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81","deletedDate":1618954025,"scheduledPurgeDate":1626730025,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret46c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536","deletedDate":1618954737,"scheduledPurgeDate":1626730737,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret487ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353","deletedDate":1618953881,"scheduledPurgeDate":1626729881,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b","deletedDate":1618954090,"scheduledPurgeDate":1626730090,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTROMFl3UkRKQ0x6SkJNelZGUlRZeU16WTBSalJDTlVFNE5qSkROekkwUmpGQlJVVTROa0k1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3094' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTROMFl3UkRKQ0x6SkJNelZGUlRZeU16WTBSalJDTlVFNE5qSkROekkwUmpGQlJVVTROa0k1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3","deletedDate":1618954839,"scheduledPurgeDate":1626730839,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4","deletedDate":1618954929,"scheduledPurgeDate":1626730929,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f70e5f","deletedDate":1618955669,"scheduledPurgeDate":1626731669,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret512f70e5f","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae","deletedDate":1618953964,"scheduledPurgeDate":1626729964,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe","deletedDate":1618954222,"scheduledPurgeDate":1626730222,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff","deletedDate":1618954460,"scheduledPurgeDate":1626730460,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret56c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UY3lNMEV4TkVRMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '3035' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UY3lNMEV4TkVRMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5","deletedDate":1618953636,"scheduledPurgeDate":1626729636,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536","deletedDate":1618954791,"scheduledPurgeDate":1626730791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret587ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353","deletedDate":1618953916,"scheduledPurgeDate":1626729916,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b","deletedDate":1618954180,"scheduledPurgeDate":1626730180,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c","deletedDate":1618954280,"scheduledPurgeDate":1626730280,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3","deletedDate":1618954774,"scheduledPurgeDate":1626730774,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VWTRRak14TTBJekwwRXdNalJDTUVNek5UYzBSalJETmtOQlF6UTRPREZHUkRNd09EUTVORGxDSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '2756' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VWTRRak14TTBJekwwRXdNalJDTUVNek5UYzBSalJETmtOQlF6UTRPREZHUkRNd09EUTVORGxDSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b413b4","deletedDate":1618955064,"scheduledPurgeDate":1626731064,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f70e5f","deletedDate":1618955647,"scheduledPurgeDate":1626731647,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret612f70e5f","attributes":{"enabled":true,"created":1618955512,"updated":1618955512,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f80e60","deletedDate":1618955647,"scheduledPurgeDate":1626731647,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret612f80e60","attributes":{"enabled":true,"created":1618955575,"updated":1618955575,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae","deletedDate":1618953821,"scheduledPurgeDate":1626729821,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe","deletedDate":1618954242,"scheduledPurgeDate":1626730242,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff","deletedDate":1618954419,"scheduledPurgeDate":1626730419,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d90dff","attributes":{"enabled":true,"created":1618954322,"updated":1618954322,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81","deletedDate":1618953978,"scheduledPurgeDate":1626729978,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret66c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536","deletedDate":1618954897,"scheduledPurgeDate":1626730897,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret687ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '3377' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b","deletedDate":1618954006,"scheduledPurgeDate":1626730006,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3","deletedDate":1618954898,"scheduledPurgeDate":1626730898,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b413b4","deletedDate":1618954983,"scheduledPurgeDate":1626730983,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b413b4","attributes":{"enabled":true,"created":1618954929,"updated":1618954929,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVmtWU1JqSTBPVEV5T0RBdk5VRTROakU0T1VKQlJEbEVORUk0TjBJMlJEZENOVVE1UmpWRVJqazNSREVoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '2408' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVmtWU1JqSTBPVEV5T0RBdk5VRTROakU0T1VKQlJEbEVORUk0TjBJMlJEZENOVVE1UmpWRVJqazNSREVoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '28' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f70e5f/recover?api-version=7.0 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f/7b4ece3aa5744f92a702b74c21402f92","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '224' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f/?api-version=7.0 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f/7b4ece3aa5744f92a702b74c21402f92","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f70e5f/recover?api-version=7.0 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret012f70e5f/5bce9d447e7c4a74ad887f8c151f4e51","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '224' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret012f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret012f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret012f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret012f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret012f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret012f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret012f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret012f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f70e5f/?api-version=7.0 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret012f70e5f/5bce9d447e7c4a74ad887f8c151f4e51","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f70e5f/recover?api-version=7.0 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret212f70e5f/584355c5be7c482ca97ca6901a983293","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '224' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret212f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret212f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret212f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret212f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret212f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret212f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret212f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret212f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret212f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f70e5f/?api-version=7.0 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret212f70e5f/584355c5be7c482ca97ca6901a983293","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f70e5f/recover?api-version=7.0 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret412f70e5f/c8f50cc528de4230a914d5490b41e955","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '224' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret412f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret412f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret412f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret412f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret412f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret412f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret412f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret412f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret412f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f70e5f/?api-version=7.0 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret412f70e5f/c8f50cc528de4230a914d5490b41e955","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f70e5f/recover?api-version=7.0 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret112f70e5f/96dda2fb4fc44338a555f48093659e1c","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '224' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret112f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret112f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret112f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret112f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret112f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret112f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret112f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret112f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret112f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret112f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret112f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret112f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret112f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret112f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret112f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret112f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret112f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret112f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret112f70e5f/?api-version=7.0 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret112f70e5f/96dda2fb4fc44338a555f48093659e1c","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f70e5f/recover?api-version=7.0 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret612f70e5f/707ddf4528354c09ba108624e88e7822","attributes":{"enabled":true,"created":1618955512,"updated":1618955512,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '224' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret612f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret612f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret612f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret612f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret612f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret612f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret612f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret612f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret612f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret612f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret612f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret612f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret612f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret612f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret612f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret612f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret612f70e5f/?api-version=7.0 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret612f70e5f/707ddf4528354c09ba108624e88e7822","attributes":{"enabled":true,"created":1618955512,"updated":1618955512,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f70e5f/recover?api-version=7.0 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret512f70e5f/ea106b510b34404183f48c8f9825fbf4","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '224' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret512f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret512f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret512f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret512f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret512f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret512f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret512f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret512f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f70e5f/?api-version=7.0 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret512f70e5f was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f70e5f/?api-version=7.0 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret512f70e5f/ea106b510b34404183f48c8f9825fbf4","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f/?api-version=7.0 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f/7b4ece3aa5744f92a702b74c21402f92","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f70e5f/?api-version=7.0 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret012f70e5f/5bce9d447e7c4a74ad887f8c151f4e51","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f70e5f/?api-version=7.0 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret212f70e5f/584355c5be7c482ca97ca6901a983293","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f70e5f/?api-version=7.0 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret412f70e5f/c8f50cc528de4230a914d5490b41e955","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret112f70e5f/?api-version=7.0 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret112f70e5f/96dda2fb4fc44338a555f48093659e1c","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret612f70e5f/?api-version=7.0 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret612f70e5f/707ddf4528354c09ba108624e88e7822","attributes":{"enabled":true,"created":1618955512,"updated":1618955512,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f70e5f/?api-version=7.0 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret512f70e5f/ea106b510b34404183f48c8f9825fbf4","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '241' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_recover_7_1.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_recover_7_1.yaml new file mode 100644 index 000000000000..97a95e21a161 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_recover_7_1.yaml @@ -0,0 +1,9655 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "value0"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f80e60?api-version=7.1 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret012f80e60/b30986febcd24c2e8f114b7afb365b5a","attributes":{"enabled":true,"created":1618955573,"updated":1618955573,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value1"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret112f80e60?api-version=7.1 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret112f80e60/3b86e8a664eb46158f726926df3d5d7d","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f80e60?api-version=7.1 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret212f80e60/495a7f8a52d74fad944e3caccef8281d","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value3"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60?api-version=7.1 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60/a20aaf69ef884888b9d349acc5a5fe0f","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value4"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f80e60?api-version=7.1 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret412f80e60/10d4c7bf1a734cfaad7db89681e48fde","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value5"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f80e60?api-version=7.1 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret512f80e60/a09edf9c94f741cc99577faeef6fcbfe","attributes":{"enabled":true,"created":1618955575,"updated":1618955575,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "value6"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret612f80e60?api-version=7.1 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret612f80e60/3784a489500a400db06752d93b97e78f","attributes":{"enabled":true,"created":1618955575,"updated":1618955575,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f80e60","deletedDate":1618955575,"scheduledPurgeDate":1626731575,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60/a20aaf69ef884888b9d349acc5a5fe0f","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:52:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret312f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f80e60?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f80e60","deletedDate":1618955575,"scheduledPurgeDate":1626731575,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60/a20aaf69ef884888b9d349acc5a5fe0f","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f80e60?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f80e60","deletedDate":1618955608,"scheduledPurgeDate":1626731608,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret212f80e60/495a7f8a52d74fad944e3caccef8281d","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret212f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret212f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret212f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret212f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret212f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret212f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret212f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret212f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f80e60?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f80e60","deletedDate":1618955608,"scheduledPurgeDate":1626731608,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret212f80e60/495a7f8a52d74fad944e3caccef8281d","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret112f80e60?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f80e60","deletedDate":1618955625,"scheduledPurgeDate":1626731625,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret112f80e60/3b86e8a664eb46158f726926df3d5d7d","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret112f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret112f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret112f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret112f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret112f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret112f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret112f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:53:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret112f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret112f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret112f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f80e60?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f80e60","deletedDate":1618955625,"scheduledPurgeDate":1626731625,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret112f80e60/3b86e8a664eb46158f726926df3d5d7d","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret612f80e60?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f80e60","deletedDate":1618955647,"scheduledPurgeDate":1626731647,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret612f80e60/3784a489500a400db06752d93b97e78f","attributes":{"enabled":true,"created":1618955575,"updated":1618955575,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret612f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret612f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret612f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret612f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret612f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret612f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret612f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret612f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret612f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret612f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f80e60?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f80e60","deletedDate":1618955647,"scheduledPurgeDate":1626731647,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret612f80e60/3784a489500a400db06752d93b97e78f","attributes":{"enabled":true,"created":1618955575,"updated":1618955575,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f80e60?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f80e60","deletedDate":1618955669,"scheduledPurgeDate":1626731669,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret412f80e60/10d4c7bf1a734cfaad7db89681e48fde","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:54:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret412f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f80e60?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f80e60","deletedDate":1618955669,"scheduledPurgeDate":1626731669,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret412f80e60/10d4c7bf1a734cfaad7db89681e48fde","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f80e60?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f80e60","deletedDate":1618955706,"scheduledPurgeDate":1626731706,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret012f80e60/b30986febcd24c2e8f114b7afb365b5a","attributes":{"enabled":true,"created":1618955573,"updated":1618955573,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret012f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret012f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret012f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret012f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret012f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret012f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret012f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret012f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f80e60?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f80e60","deletedDate":1618955706,"scheduledPurgeDate":1626731706,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret012f80e60/b30986febcd24c2e8f114b7afb365b5a","attributes":{"enabled":true,"created":1618955573,"updated":1618955573,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f80e60?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f80e60","deletedDate":1618955724,"scheduledPurgeDate":1626731724,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret512f80e60/a09edf9c94f741cc99577faeef6fcbfe","attributes":{"enabled":true,"created":1618955575,"updated":1618955575,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f80e60?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"Deleted Secret not found: + livekvtestsecret512f80e60"}}' + headers: + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f80e60?api-version=7.1 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f80e60","deletedDate":1618955724,"scheduledPurgeDate":1626731724,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret512f80e60/a09edf9c94f741cc99577faeef6fcbfe","attributes":{"enabled":true,"created":1618955575,"updated":1618955575,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '395' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secreta29715c1","deletedDate":1618954405,"scheduledPurgeDate":1626730405,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secreta29715c1","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954403,"updated":1618954405,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretf9f143e","deletedDate":1618954533,"scheduledPurgeDate":1626730533,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretf9f143e","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954531,"updated":1618954533,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretfa0143f","deletedDate":1618954440,"scheduledPurgeDate":1626730440,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretfa0143f","attributes":{"enabled":false,"nbf":1422864000,"exp":2527401600,"created":1618954438,"updated":1618954439,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEUXdSa0U1TDBaRFJEY3lRVVpGUkVZMU1EUkVSVFE0TWtJMVJFRTVOelZCUVRKQ05FTkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '1738' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEUXdSa0U1TDBaRFJEY3lRVVpGUkVZMU1EUkVSVFE0TWtJMVJFRTVOelZCUVRKQ05FTkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '299' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURnNU1UVTNPQzlET1VRNE9FTXdOMEZCT0RNME4wUkJRa0kzUkVRd01USXlNVVUwTmtVNE5TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '368' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURnNU1UVTNPQzlET1VRNE9FTXdOMEZCT0RNME4wUkJRa0kzUkVRd01USXlNVVUwTmtVNE5TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name554d1c60","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name554d1c60","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ed1add","deletedDate":1618952877,"scheduledPurgeDate":1626728877,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ed1add","attributes":{"enabled":true,"exp":2527401600,"created":1618952876,"updated":1618952876,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-name93ee1ade","deletedDate":1618952908,"scheduledPurgeDate":1626728908,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93ee1ade","attributes":{"enabled":true,"exp":2527401600,"created":1618952907,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBSR01URTROaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '1640' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBSR01URTROaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namea52819e3","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea52819e3","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5331860","deletedDate":1618953235,"scheduledPurgeDate":1626729235,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5331860","attributes":{"enabled":true,"exp":2527401600,"created":1618953234,"updated":1618953235,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret-namef5341861","deletedDate":1618953267,"scheduledPurgeDate":1626729267,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef5341861","attributes":{"enabled":true,"exp":2527401600,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNME1UZzJNUzh3TURrNU0wUTBSamRHTnpRME5qWXdRa0ZHTmpCQ1JrVTNOMEpHTnpsRVJDRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '1699' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTIhTURBd01EWTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNME1UZzJNUzh3TURrNU0wUTBSamRHTnpRME5qWXdRa0ZHTmpCQ1JrVTNOMEpHTnpsRVJDRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f80e60","deletedDate":1618955706,"scheduledPurgeDate":1626731706,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret012f80e60","attributes":{"enabled":true,"created":1618955573,"updated":1618955573,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04a010eae","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04a010eae","attributes":{"enabled":true,"created":1618953819,"updated":1618953819,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d80dfe","deletedDate":1618954281,"scheduledPurgeDate":1626730281,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret04d90dff","deletedDate":1618954436,"scheduledPurgeDate":1626730436,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret04d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret06c100f81","deletedDate":1618954001,"scheduledPurgeDate":1626730001,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret06c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0723a14d5","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret087ed1536","deletedDate":1618954838,"scheduledPurgeDate":1626730838,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret087ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2840' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a71352","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e5a81353","deletedDate":1618953829,"scheduledPurgeDate":1626729829,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e5a81353","attributes":{"enabled":true,"created":1618953793,"updated":1618953793,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e87f0d2b","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0e8800d2c","deletedDate":1618954229,"scheduledPurgeDate":1626730229,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b313b3","deletedDate":1618954922,"scheduledPurgeDate":1626730922,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b313b3","attributes":{"enabled":true,"created":1618954772,"updated":1618954772,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret0f8b413b4","deletedDate":1618955042,"scheduledPurgeDate":1626731042,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f70e5f","deletedDate":1618955627,"scheduledPurgeDate":1626731627,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret112f70e5f","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f80e60","deletedDate":1618955625,"scheduledPurgeDate":1626731625,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret112f80e60","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14a010eae","deletedDate":1618953880,"scheduledPurgeDate":1626729880,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d80dfe","deletedDate":1618954296,"scheduledPurgeDate":1626730296,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d80dfe","attributes":{"enabled":true,"created":1618954164,"updated":1618954164,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UUkVPREJFUmtVdk5qVXdRemhDT1VVeU4wSXdORUV5TWpreE56aENNVVkzT1VFMlJFTXlPVVVoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '3984' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UUkVPREJFUmtVdk5qVXdRemhDT1VVeU4wSXdORUV5TWpreE56aENNVVkzT1VFMlJFTXlPVVVoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret14d90dff","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret14d90dff","attributes":{"enabled":true,"created":1618954320,"updated":1618954320,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret16c100f81","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret16c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1723a14d5","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret187ed1536","deletedDate":1618954771,"scheduledPurgeDate":1626730771,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret187ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a71352","deletedDate":1618953674,"scheduledPurgeDate":1626729674,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a71352","attributes":{"enabled":true,"created":1618953672,"updated":1618953672,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e5a81353","deletedDate":1618953795,"scheduledPurgeDate":1626729795,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e87f0d2b","deletedDate":1618954136,"scheduledPurgeDate":1626730136,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2842' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1e8800d2c","deletedDate":1618954295,"scheduledPurgeDate":1626730295,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b313b3","deletedDate":1618954874,"scheduledPurgeDate":1626730874,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret1f8b413b4","deletedDate":1618955024,"scheduledPurgeDate":1626731024,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f70e5f","deletedDate":1618955585,"scheduledPurgeDate":1626731585,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret212f70e5f","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f80e60","deletedDate":1618955608,"scheduledPurgeDate":1626731608,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret212f80e60","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24a010eae","deletedDate":1618953856,"scheduledPurgeDate":1626729856,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d80dfe","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret24d90dff","deletedDate":1618954486,"scheduledPurgeDate":1626730486,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret24d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret26c100f81","deletedDate":1618954092,"scheduledPurgeDate":1626730092,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret26c100f81","attributes":{"enabled":true,"created":1618953976,"updated":1618953976,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2723a14d5","deletedDate":1618953672,"scheduledPurgeDate":1626729672,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2723a14d5","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qY3lNMEV4TkVRMUx6YzBPVVEzTlVKRFFrTXpNVFF5TXpsQ1JFRTBRek0zUlVWRVFqUTRSVFl4SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3988' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qY3lNMEV4TkVRMUx6YzBPVVEzTlVKRFFrTXpNVFF5TXpsQ1JFRTBRek0zUlVWRVFqUTRSVFl4SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret287ed1536","deletedDate":1618954873,"scheduledPurgeDate":1626730873,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret287ed1536","attributes":{"enabled":true,"created":1618954735,"updated":1618954735,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a71352","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e5a81353","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e87f0d2b","deletedDate":1618954115,"scheduledPurgeDate":1626730115,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2e8800d2c","deletedDate":1618954332,"scheduledPurgeDate":1626730332,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2e8800d2c","attributes":{"enabled":true,"created":1618954227,"updated":1618954227,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b313b3","deletedDate":1618954811,"scheduledPurgeDate":1626730811,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rWTRRalF4TTBJMElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2481' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rWTRRalF4TTBJMElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret2f8b413b4","deletedDate":1618955003,"scheduledPurgeDate":1626731003,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f8b413b4","attributes":{"enabled":true,"created":1618954927,"updated":1618954927,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f80e60","deletedDate":1618955575,"scheduledPurgeDate":1626731575,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34a010eae","deletedDate":1618953917,"scheduledPurgeDate":1626729917,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34a010eae","attributes":{"enabled":true,"created":1618953820,"updated":1618953820,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d80dfe","deletedDate":1618954198,"scheduledPurgeDate":1626730198,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret34d90dff","deletedDate":1618954397,"scheduledPurgeDate":1626730397,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret34d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret36c100f81","deletedDate":1618954135,"scheduledPurgeDate":1626730135,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret36c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3723a14d5","deletedDate":1618953732,"scheduledPurgeDate":1626729732,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret387ed1536","deletedDate":1618954854,"scheduledPurgeDate":1626730854,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret387ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16azBSRFV4UVVWREx6UTBNakJDT1VRNE5rTkRPVFJFT1VZNFJrUXpNemhDUkRkRU56VTFOekF3SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16azBSRFV4UVVWREx6UTBNakJDT1VRNE5rTkRPVFJFT1VZNFJrUXpNemhDUkRkRU56VTFOekF3SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a71352","deletedDate":1618953791,"scheduledPurgeDate":1626729791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e5a81353","deletedDate":1618953855,"scheduledPurgeDate":1626729855,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e5a81353","attributes":{"enabled":true,"created":1618953794,"updated":1618953794,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e87f0d2b","deletedDate":1618954160,"scheduledPurgeDate":1626730160,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e87f0d2b","attributes":{"enabled":true,"created":1618954005,"updated":1618954005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3e8800d2c","deletedDate":1618954315,"scheduledPurgeDate":1626730315,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b313b3","deletedDate":1618954944,"scheduledPurgeDate":1626730944,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b313b3","attributes":{"enabled":true,"created":1618954773,"updated":1618954773,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret3f8b413b4","deletedDate":1618954961,"scheduledPurgeDate":1626730961,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f70e5f","deletedDate":1618955607,"scheduledPurgeDate":1626731607,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret412f70e5f","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f80e60","deletedDate":1618955669,"scheduledPurgeDate":1626731669,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret412f80e60","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44a010eae","deletedDate":1618953899,"scheduledPurgeDate":1626729899,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EUkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3565' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EUkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d80dfe","deletedDate":1618954166,"scheduledPurgeDate":1626730166,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d80dfe","attributes":{"enabled":true,"created":1618954165,"updated":1618954165,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret44d90dff","deletedDate":1618954322,"scheduledPurgeDate":1626730322,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret44d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret46c100f81","deletedDate":1618954025,"scheduledPurgeDate":1626730025,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret46c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4723a14d5","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret487ed1536","deletedDate":1618954737,"scheduledPurgeDate":1626730737,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret487ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a71352","deletedDate":1618953773,"scheduledPurgeDate":1626729773,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a71352","attributes":{"enabled":true,"created":1618953673,"updated":1618953673,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e5a81353","deletedDate":1618953881,"scheduledPurgeDate":1626729881,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e87f0d2b","deletedDate":1618954090,"scheduledPurgeDate":1626730090,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTROMFl3UkRKQ0x6SkJNelZGUlRZeU16WTBSalJDTlVFNE5qSkROekkwUmpGQlJVVTROa0k1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTROMFl3UkRKQ0x6SkJNelZGUlRZeU16WTBSalJDTlVFNE5qSkROekkwUmpGQlJVVTROa0k1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4e8800d2c","deletedDate":1618954354,"scheduledPurgeDate":1626730354,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b313b3","deletedDate":1618954839,"scheduledPurgeDate":1626730839,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret4f8b413b4","deletedDate":1618954929,"scheduledPurgeDate":1626730929,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f70e5f","deletedDate":1618955669,"scheduledPurgeDate":1626731669,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret512f70e5f","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f80e60","deletedDate":1618955724,"scheduledPurgeDate":1626731724,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret512f80e60","attributes":{"enabled":true,"created":1618955575,"updated":1618955575,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54a010eae","deletedDate":1618953964,"scheduledPurgeDate":1626729964,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d80dfe","deletedDate":1618954222,"scheduledPurgeDate":1626730222,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret54d90dff","deletedDate":1618954460,"scheduledPurgeDate":1626730460,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret54d90dff","attributes":{"enabled":true,"created":1618954321,"updated":1618954321,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret56c100f81","deletedDate":1618954049,"scheduledPurgeDate":1626730049,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret56c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UY3lNMEV4TkVRMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '3566' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UY3lNMEV4TkVRMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5723a14d5","deletedDate":1618953636,"scheduledPurgeDate":1626729636,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret587ed1536","deletedDate":1618954791,"scheduledPurgeDate":1626730791,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret587ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a71352","deletedDate":1618953713,"scheduledPurgeDate":1626729713,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e5a81353","deletedDate":1618953916,"scheduledPurgeDate":1626729916,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e87f0d2b","deletedDate":1618954180,"scheduledPurgeDate":1626730180,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5e8800d2c","deletedDate":1618954280,"scheduledPurgeDate":1626730280,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b313b3","deletedDate":1618954774,"scheduledPurgeDate":1626730774,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VWTRRak14TTBJekwwRXdNalJDTUVNek5UYzBSalJETmtOQlF6UTRPREZHUkRNd09EUTVORGxDSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '2903' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDghTURBd01EWTFJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VWTRRak14TTBJekwwRXdNalJDTUVNek5UYzBSalJETmtOQlF6UTRPREZHUkRNd09EUTVORGxDSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret5f8b413b4","deletedDate":1618955064,"scheduledPurgeDate":1626731064,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f8b413b4","attributes":{"enabled":true,"created":1618954928,"updated":1618954928,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f70e5f","deletedDate":1618955647,"scheduledPurgeDate":1626731647,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret612f70e5f","attributes":{"enabled":true,"created":1618955512,"updated":1618955512,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f80e60","deletedDate":1618955647,"scheduledPurgeDate":1626731647,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret612f80e60","attributes":{"enabled":true,"created":1618955575,"updated":1618955575,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64a010eae","deletedDate":1618953821,"scheduledPurgeDate":1626729821,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64a010eae","attributes":{"enabled":true,"created":1618953821,"updated":1618953821,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d80dfe","deletedDate":1618954242,"scheduledPurgeDate":1626730242,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d80dfe","attributes":{"enabled":true,"created":1618954166,"updated":1618954166,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret64d90dff","deletedDate":1618954419,"scheduledPurgeDate":1626730419,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret64d90dff","attributes":{"enabled":true,"created":1618954322,"updated":1618954322,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret66c100f81","deletedDate":1618953978,"scheduledPurgeDate":1626729978,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret66c100f81","attributes":{"enabled":true,"created":1618953977,"updated":1618953977,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6723a14d5","deletedDate":1618953691,"scheduledPurgeDate":1626729691,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6723a14d5","attributes":{"enabled":true,"created":1618953635,"updated":1618953635,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret687ed1536","deletedDate":1618954897,"scheduledPurgeDate":1626730897,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret687ed1536","attributes":{"enabled":true,"created":1618954736,"updated":1618954736,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '3566' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a71352","deletedDate":1618953754,"scheduledPurgeDate":1626729754,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a71352","attributes":{"enabled":true,"created":1618953674,"updated":1618953674,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e5a81353","deletedDate":1618953940,"scheduledPurgeDate":1626729940,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e5a81353","attributes":{"enabled":true,"created":1618953795,"updated":1618953795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e87f0d2b","deletedDate":1618954006,"scheduledPurgeDate":1626730006,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e87f0d2b","attributes":{"enabled":true,"created":1618954006,"updated":1618954006,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6e8800d2c","deletedDate":1618954263,"scheduledPurgeDate":1626730263,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6e8800d2c","attributes":{"enabled":true,"created":1618954228,"updated":1618954228,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b313b3","deletedDate":1618954898,"scheduledPurgeDate":1626730898,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b313b3","attributes":{"enabled":true,"created":1618954774,"updated":1618954774,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret6f8b413b4","deletedDate":1618954983,"scheduledPurgeDate":1626730983,"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f8b413b4","attributes":{"enabled":true,"created":1618954929,"updated":1618954929,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVmtWU1JqSTBPVEV5T0RBdk5VRTROakU0T1VKQlJEbEVORUk0TjBJMlJEZENOVVE1UmpWRVJqazNSREVoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9"}' + headers: + cache-control: + - no-cache + content-length: + - '2534' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedsecrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWTBJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVmtWU1JqSTBPVEV5T0RBdk5VRTROakU0T1VKQlJEbEVORUk0TjBJMlJEZENOVVE1UmpWRVJqazNSREVoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9 + response: + body: + string: '{"value":[],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '28' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret312f80e60/recover?api-version=7.1 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60/a20aaf69ef884888b9d349acc5a5fe0f","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '245' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:55:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret312f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60/?api-version=7.1 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60/a20aaf69ef884888b9d349acc5a5fe0f","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret212f80e60/recover?api-version=7.1 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret212f80e60/495a7f8a52d74fad944e3caccef8281d","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '245' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret212f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret212f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret212f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret212f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret212f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret212f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret212f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret212f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret212f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f80e60/?api-version=7.1 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret212f80e60/495a7f8a52d74fad944e3caccef8281d","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret112f80e60/recover?api-version=7.1 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret112f80e60/3b86e8a664eb46158f726926df3d5d7d","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '245' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret112f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret112f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret112f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret112f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret112f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret112f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret112f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret112f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret112f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret112f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret112f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret112f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret112f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret112f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret112f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret112f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret112f80e60/?api-version=7.1 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret112f80e60/3b86e8a664eb46158f726926df3d5d7d","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret612f80e60/recover?api-version=7.1 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret612f80e60/3784a489500a400db06752d93b97e78f","attributes":{"enabled":true,"created":1618955575,"updated":1618955575,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '245' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret612f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret612f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:56:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret612f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret612f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret612f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret612f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret612f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret612f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret612f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret612f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret612f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret612f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret612f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret612f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret612f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret612f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret612f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret612f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret612f80e60/?api-version=7.1 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret612f80e60/3784a489500a400db06752d93b97e78f","attributes":{"enabled":true,"created":1618955575,"updated":1618955575,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret412f80e60/recover?api-version=7.1 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret412f80e60/10d4c7bf1a734cfaad7db89681e48fde","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '245' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret412f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret412f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret412f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret412f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret412f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret412f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret412f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret412f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret412f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f80e60/?api-version=7.1 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret412f80e60/10d4c7bf1a734cfaad7db89681e48fde","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret012f80e60/recover?api-version=7.1 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret012f80e60/b30986febcd24c2e8f114b7afb365b5a","attributes":{"enabled":true,"created":1618955573,"updated":1618955573,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '245' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret012f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret012f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret012f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret012f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret012f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret012f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret012f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret012f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret012f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f80e60/?api-version=7.1 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret012f80e60/b30986febcd24c2e8f114b7afb365b5a","attributes":{"enabled":true,"created":1618955573,"updated":1618955573,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedsecrets/livekvtestsecret512f80e60/recover?api-version=7.1 + response: + body: + string: '{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret512f80e60/a09edf9c94f741cc99577faeef6fcbfe","attributes":{"enabled":true,"created":1618955575,"updated":1618955575,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '245' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret512f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret512f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret512f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret512f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret512f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret512f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret512f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret512f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret512f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret512f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret512f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret512f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret512f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f80e60/?api-version=7.1 + response: + body: + string: '{"error":{"code":"SecretNotFound","message":"A secret with (name/id) + livekvtestsecret512f80e60 was not found in this key vault. If you recently + deleted this secret you may be able to recover it using the correct recovery + command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: + - no-cache + content-length: + - '322' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f80e60/?api-version=7.1 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret512f80e60/a09edf9c94f741cc99577faeef6fcbfe","attributes":{"enabled":true,"created":1618955575,"updated":1618955575,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60/?api-version=7.1 + response: + body: + string: '{"value":"value3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60/a20aaf69ef884888b9d349acc5a5fe0f","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret212f80e60/?api-version=7.1 + response: + body: + string: '{"value":"value2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret212f80e60/495a7f8a52d74fad944e3caccef8281d","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret112f80e60/?api-version=7.1 + response: + body: + string: '{"value":"value1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret112f80e60/3b86e8a664eb46158f726926df3d5d7d","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret612f80e60/?api-version=7.1 + response: + body: + string: '{"value":"value6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret612f80e60/3784a489500a400db06752d93b97e78f","attributes":{"enabled":true,"created":1618955575,"updated":1618955575,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret412f80e60/?api-version=7.1 + response: + body: + string: '{"value":"value4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret412f80e60/10d4c7bf1a734cfaad7db89681e48fde","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret012f80e60/?api-version=7.1 + response: + body: + string: '{"value":"value0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret012f80e60/b30986febcd24c2e8f114b7afb365b5a","attributes":{"enabled":true,"created":1618955573,"updated":1618955573,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestsecret512f80e60/?api-version=7.1 + response: + body: + string: '{"value":"value5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret512f80e60/a09edf9c94f741cc99577faeef6fcbfe","attributes":{"enabled":true,"created":1618955575,"updated":1618955575,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '262' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_crud_operations_2016_10_01.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_crud_operations_2016_10_01.yaml new file mode 100644 index 000000000000..8139c47869bc --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_crud_operations_2016_10_01.yaml @@ -0,0 +1,339 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretb90c1622?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "crud_secret_value"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '30' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretb90c1622?api-version=2016-10-01 + response: + body: + string: '{"value":"crud_secret_value","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretb90c1622/a6cfa8c297204c46ac228d9355667db0","attributes":{"enabled":true,"created":1618955860,"updated":1618955860,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '256' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"tags": {"foo": "created tag"}, "contentType": "password", "value": "crud_secret_value", + "attributes": {"nbf": 1422864000, "enabled": true, "exp": 2527401600}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '160' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretb90c1622?api-version=2016-10-01 + response: + body: + string: '{"value":"crud_secret_value","contentType":"password","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretb90c1622/6d336f4860044933a8ea0bfe4d265367","attributes":{"enabled":true,"nbf":1422864000,"exp":2527401600,"created":1618955861,"updated":1618955861,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"created + tag"}}' + headers: + cache-control: + - no-cache + content-length: + - '344' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretb90c1622/?api-version=2016-10-01 + response: + body: + string: '{"value":"crud_secret_value","contentType":"password","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretb90c1622/6d336f4860044933a8ea0bfe4d265367","attributes":{"enabled":true,"nbf":1422864000,"exp":2527401600,"created":1618955861,"updated":1618955861,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"created + tag"}}' + headers: + cache-control: + - no-cache + content-length: + - '344' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretb90c1622/6d336f4860044933a8ea0bfe4d265367?api-version=2016-10-01 + response: + body: + string: '{"value":"crud_secret_value","contentType":"password","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretb90c1622/6d336f4860044933a8ea0bfe4d265367","attributes":{"enabled":true,"nbf":1422864000,"exp":2527401600,"created":1618955861,"updated":1618955861,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"created + tag"}}' + headers: + cache-control: + - no-cache + content-length: + - '344' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"tags": {"foo": "updated tag"}, "contentType": "text/plain", "attributes": + {"enabled": false, "exp": 2524723200}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '114' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretb90c1622/6d336f4860044933a8ea0bfe4d265367?api-version=2016-10-01 + response: + body: + string: '{"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretb90c1622/6d336f4860044933a8ea0bfe4d265367","attributes":{"enabled":false,"nbf":1422864000,"exp":2524723200,"created":1618955861,"updated":1618955862,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: + - no-cache + content-length: + - '319' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretb90c1622?api-version=2016-10-01 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretb90c1622","deletedDate":1618955863,"scheduledPurgeDate":1626731863,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretb90c1622/6d336f4860044933a8ea0bfe4d265367","attributes":{"enabled":false,"nbf":1422864000,"exp":2524723200,"created":1618955861,"updated":1618955862,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: + - no-cache + content-length: + - '473' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_crud_operations_7_0.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_crud_operations_7_0.yaml new file mode 100644 index 000000000000..8c064139d1c9 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_crud_operations_7_0.yaml @@ -0,0 +1,339 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236d149f?api-version=7.0 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "crud_secret_value"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '30' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236d149f?api-version=7.0 + response: + body: + string: '{"value":"crud_secret_value","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236d149f/0e9441daa0fe49fabfd53beea1642076","attributes":{"enabled":true,"created":1618955912,"updated":1618955912,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '256' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "crud_secret_value", "attributes": {"nbf": 1422864000, "enabled": + true, "exp": 2527401600}, "tags": {"foo": "created tag"}, "contentType": "password"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '160' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236d149f?api-version=7.0 + response: + body: + string: '{"value":"crud_secret_value","contentType":"password","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236d149f/904f24aafaf04f4e99b269a97a8547e3","attributes":{"enabled":true,"nbf":1422864000,"exp":2527401600,"created":1618955912,"updated":1618955912,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"created + tag"}}' + headers: + cache-control: + - no-cache + content-length: + - '344' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236d149f/?api-version=7.0 + response: + body: + string: '{"value":"crud_secret_value","contentType":"password","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236d149f/904f24aafaf04f4e99b269a97a8547e3","attributes":{"enabled":true,"nbf":1422864000,"exp":2527401600,"created":1618955912,"updated":1618955912,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"created + tag"}}' + headers: + cache-control: + - no-cache + content-length: + - '344' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236d149f/904f24aafaf04f4e99b269a97a8547e3?api-version=7.0 + response: + body: + string: '{"value":"crud_secret_value","contentType":"password","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236d149f/904f24aafaf04f4e99b269a97a8547e3","attributes":{"enabled":true,"nbf":1422864000,"exp":2527401600,"created":1618955912,"updated":1618955912,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"created + tag"}}' + headers: + cache-control: + - no-cache + content-length: + - '344' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"attributes": {"enabled": false, "exp": 2524723200}, "tags": {"foo": "updated + tag"}, "contentType": "text/plain"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '114' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236d149f/904f24aafaf04f4e99b269a97a8547e3?api-version=7.0 + response: + body: + string: '{"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236d149f/904f24aafaf04f4e99b269a97a8547e3","attributes":{"enabled":false,"nbf":1422864000,"exp":2524723200,"created":1618955912,"updated":1618955914,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: + - no-cache + content-length: + - '319' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236d149f?api-version=7.0 + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secret236d149f","deletedDate":1618955914,"scheduledPurgeDate":1626731914,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236d149f/904f24aafaf04f4e99b269a97a8547e3","attributes":{"enabled":false,"nbf":1422864000,"exp":2524723200,"created":1618955912,"updated":1618955914,"recoveryLevel":"Recoverable+Purgeable"},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: + - no-cache + content-length: + - '473' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_crud_operations.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_crud_operations_7_1.yaml similarity index 68% rename from sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_crud_operations.yaml rename to sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_crud_operations_7_1.yaml index e65965439d3a..2316e56488a0 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_crud_operations.yaml +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_crud_operations_7_1.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretd267137a?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236e14a0?api-version=7.1 response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:15 GMT + - Tue, 20 Apr 2021 21:57:42 GMT expires: - '-1' pragma: @@ -41,11 +41,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -65,21 +65,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretd267137a?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236e14a0?api-version=7.1 response: body: - string: '{"value":"crud_secret_value","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretd267137a/0f4250c7d034433894142b18d46b7e38","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"value":"crud_secret_value","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236e14a0/939681ad68d2446780382be196cca6ba","attributes":{"enabled":true,"created":1618955864,"updated":1618955864,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache content-length: - - '275' + - '277' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:15 GMT + - Tue, 20 Apr 2021 21:57:43 GMT expires: - '-1' pragma: @@ -89,19 +89,19 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"value": "crud_secret_value", "contentType": "password", "tags": {"foo": - "created tag"}, "attributes": {"enabled": true, "exp": 2527401600, "nbf": 1422864000}}' + body: '{"tags": {"foo": "created tag"}, "contentType": "password", "value": "crud_secret_value", + "attributes": {"nbf": 1422864000, "enabled": true, "exp": 2527401600}}' headers: Accept: - application/json @@ -114,22 +114,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretd267137a?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236e14a0?api-version=7.1 response: body: - string: '{"value":"crud_secret_value","contentType":"password","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretd267137a/3040d346f55a4fde8698b29b7a1a5a19","attributes":{"enabled":true,"nbf":1422864000,"exp":2527401600,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"created + string: '{"value":"crud_secret_value","contentType":"password","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236e14a0/736cb04cf5ac4b0680c82380c4642816","attributes":{"enabled":true,"nbf":1422864000,"exp":2527401600,"created":1618955864,"updated":1618955864,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"created tag"}}' headers: cache-control: - no-cache content-length: - - '363' + - '365' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:15 GMT + - Tue, 20 Apr 2021 21:57:43 GMT expires: - '-1' pragma: @@ -139,11 +139,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -159,22 +159,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretd267137a/?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236e14a0/?api-version=7.1 response: body: - string: '{"value":"crud_secret_value","contentType":"password","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretd267137a/3040d346f55a4fde8698b29b7a1a5a19","attributes":{"enabled":true,"nbf":1422864000,"exp":2527401600,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"created + string: '{"value":"crud_secret_value","contentType":"password","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236e14a0/736cb04cf5ac4b0680c82380c4642816","attributes":{"enabled":true,"nbf":1422864000,"exp":2527401600,"created":1618955864,"updated":1618955864,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"created tag"}}' headers: cache-control: - no-cache content-length: - - '363' + - '365' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:15 GMT + - Tue, 20 Apr 2021 21:57:43 GMT expires: - '-1' pragma: @@ -184,11 +184,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -204,22 +204,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretd267137a/3040d346f55a4fde8698b29b7a1a5a19?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236e14a0/736cb04cf5ac4b0680c82380c4642816?api-version=7.1 response: body: - string: '{"value":"crud_secret_value","contentType":"password","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretd267137a/3040d346f55a4fde8698b29b7a1a5a19","attributes":{"enabled":true,"nbf":1422864000,"exp":2527401600,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"created + string: '{"value":"crud_secret_value","contentType":"password","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236e14a0/736cb04cf5ac4b0680c82380c4642816","attributes":{"enabled":true,"nbf":1422864000,"exp":2527401600,"created":1618955864,"updated":1618955864,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"created tag"}}' headers: cache-control: - no-cache content-length: - - '363' + - '365' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:16 GMT + - Tue, 20 Apr 2021 21:57:43 GMT expires: - '-1' pragma: @@ -229,18 +229,18 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"contentType": "text/plain", "tags": {"foo": "updated tag"}, "attributes": + body: '{"tags": {"foo": "updated tag"}, "contentType": "text/plain", "attributes": {"enabled": false, "exp": 2524723200}}' headers: Accept: @@ -254,22 +254,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PATCH - uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretd267137a/3040d346f55a4fde8698b29b7a1a5a19?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236e14a0/736cb04cf5ac4b0680c82380c4642816?api-version=7.1 response: body: - string: '{"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretd267137a/3040d346f55a4fde8698b29b7a1a5a19","attributes":{"enabled":false,"nbf":1422864000,"exp":2524723200,"created":1613675895,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + string: '{"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236e14a0/736cb04cf5ac4b0680c82380c4642816","attributes":{"enabled":false,"nbf":1422864000,"exp":2524723200,"created":1618955864,"updated":1618955865,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated tag"}}' headers: cache-control: - no-cache content-length: - - '338' + - '340' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:17 GMT + - Tue, 20 Apr 2021 21:57:45 GMT expires: - '-1' pragma: @@ -279,11 +279,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -301,22 +301,22 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretd267137a?api-version=7.1 + uri: https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236e14a0?api-version=7.1 response: body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secretd267137a","deletedDate":1613675897,"scheduledPurgeDate":1621451897,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secretd267137a/3040d346f55a4fde8698b29b7a1a5a19","attributes":{"enabled":false,"nbf":1422864000,"exp":2524723200,"created":1613675895,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedsecrets/livekvtestcrud-secret236e14a0","deletedDate":1618955866,"scheduledPurgeDate":1626731866,"contentType":"text/plain","id":"https://vaultname.vault.azure.net/secrets/livekvtestcrud-secret236e14a0/736cb04cf5ac4b0680c82380c4642816","attributes":{"enabled":false,"nbf":1422864000,"exp":2524723200,"created":1618955864,"updated":1618955865,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated tag"}}' headers: cache-control: - no-cache content-length: - - '490' + - '494' content-type: - application/json; charset=utf-8 date: - - Thu, 18 Feb 2021 19:18:17 GMT + - Tue, 20 Apr 2021 21:57:45 GMT expires: - '-1' pragma: @@ -326,11 +326,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.236.0 x-powered-by: - ASP.NET status: diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_list.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_list.yaml deleted file mode 100644 index a902e0b76a5b..000000000000 --- a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_list.yaml +++ /dev/null @@ -1,610 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsec013d40ee5?api-version=7.1 - response: - body: - string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer - or PoP token."}}' - headers: - cache-control: - - no-cache - content-length: - - '87' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:16 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - www-authenticate: - - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", - resource="https://vault.azure.net" - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 401 - message: Unauthorized -- request: - body: '{"value": "secVal0"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '20' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsec013d40ee5?api-version=7.1 - response: - body: - string: '{"value":"secVal0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec013d40ee5/b2836e063ea149f786580e788d650f22","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '258' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:18 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"value": "secVal1"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '20' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsec113d40ee5?api-version=7.1 - response: - body: - string: '{"value":"secVal1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec113d40ee5/3d0cea0c95ae4d149d10d4fae3d859f2","attributes":{"enabled":true,"created":1613675898,"updated":1613675898,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '258' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:18 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"value": "secVal2"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '20' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsec213d40ee5?api-version=7.1 - response: - body: - string: '{"value":"secVal2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec213d40ee5/fd7dd7c2d6a445e69f3554c3c5c24bd7","attributes":{"enabled":true,"created":1613675898,"updated":1613675898,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '258' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:18 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"value": "secVal3"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '20' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsec313d40ee5?api-version=7.1 - response: - body: - string: '{"value":"secVal3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec313d40ee5/772196164d754d0e894d500f2bcd6213","attributes":{"enabled":true,"created":1613675898,"updated":1613675898,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '258' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:18 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"value": "secVal4"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '20' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsec413d40ee5?api-version=7.1 - response: - body: - string: '{"value":"secVal4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec413d40ee5/8ab22c73455648828cb5838d4d8fd9a7","attributes":{"enabled":true,"created":1613675898,"updated":1613675898,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '258' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:18 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"value": "secVal5"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '20' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsec513d40ee5?api-version=7.1 - response: - body: - string: '{"value":"secVal5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec513d40ee5/4998255471054fcdb0f3392093c66fb6","attributes":{"enabled":true,"created":1613675899,"updated":1613675899,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '258' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:19 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"value": "secVal6"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '20' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/secrets/livekvtestsec613d40ee5?api-version=7.1 - response: - body: - string: '{"value":"secVal6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec613d40ee5/1a3494b436ed4e298ebba0bd04ef28c0","attributes":{"enabled":true,"created":1613675899,"updated":1613675899,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '258' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:19 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&maxresults=6 - response: - body: - string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec013d40ee5","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec113d40ee5","attributes":{"enabled":true,"created":1613675898,"updated":1613675898,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec213d40ee5","attributes":{"enabled":true,"created":1613675898,"updated":1613675898,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec313d40ee5","attributes":{"enabled":true,"created":1613675898,"updated":1613675898,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec413d40ee5","attributes":{"enabled":true,"created":1613675898,"updated":1613675898,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJNElYTmxZM0psZEM5TVNWWkZTMVpVUlZOVVUwVkRORFZDTlRCRk9EUWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' - headers: - cache-control: - - no-cache - content-length: - - '1335' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:19 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJNElYTmxZM0psZEM5TVNWWkZTMVpVUlZOVVUwVkRORFZDTlRCRk9EUWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 - response: - body: - string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec513d40ee5","attributes":{"enabled":true,"created":1613675899,"updated":1613675899,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec613d40ee5","attributes":{"enabled":true,"created":1613675899,"updated":1613675899,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name635010c2","attributes":{"enabled":true,"created":1613675894,"updated":1613675894,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0ab6c128e","attributes":{"enabled":true,"created":1613675894,"updated":1613675894,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0daf10d3a","attributes":{"enabled":true,"created":1613675896,"updated":1613675896,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1USkJRVVF4T1VNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' - headers: - cache-control: - - no-cache - content-length: - - '1360' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:19 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1USkJRVVF4T1VNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 - response: - body: - string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1ab6c128e","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1daf10d3a","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2daf10d3a","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3ab6c128e","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3daf10d3a","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5ESkJRVVF4T1VNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' - headers: - cache-control: - - no-cache - content-length: - - '1362' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:19 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5ESkJRVVF4T1VNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 - response: - body: - string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4ab6c128e","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4daf10d3a","attributes":{"enabled":true,"created":1613675897,"updated":1613675897,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5ab6c128e","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6ab6c128e","attributes":{"enabled":true,"created":1613675895,"updated":1613675895,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6daf10d3a","attributes":{"enabled":true,"created":1613675898,"updated":1613675898,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVmtWU016TkJPVEJHUkRnaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' - headers: - cache-control: - - no-cache - content-length: - - '1357' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:19 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-secrets/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVmtWU016TkJPVEJHUkRnaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 - response: - body: - string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer33a90fd8","attributes":{"enabled":true,"created":1613675896,"updated":1613675896,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/secret-name","attributes":{"enabled":true,"created":1613671480,"updated":1613671480,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"contentType":"application/x-pkcs12","id":"https://vaultname.vault.azure.net/secrets/sftest","managed":true,"attributes":{"enabled":true,"nbf":1613082951,"exp":1644619551,"created":1613083552,"updated":1613083552,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' - headers: - cache-control: - - no-cache - content-length: - - '712' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 18 Feb 2021 19:18:19 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - westus2 - x-ms-keyvault-service-version: - - 1.2.164.2 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_list_2016_10_01.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_list_2016_10_01.yaml new file mode 100644 index 000000000000..12fd50c40616 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_list_2016_10_01.yaml @@ -0,0 +1,2018 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec0c803118d?api-version=2016-10-01 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "secVal0"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec0c803118d?api-version=2016-10-01 + response: + body: + string: '{"value":"secVal0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec0c803118d/f6c0aa7fd49e4f96bd40a697c3544446","attributes":{"enabled":true,"created":1618955867,"updated":1618955867,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '239' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "secVal1"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec1c803118d?api-version=2016-10-01 + response: + body: + string: '{"value":"secVal1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec1c803118d/5a1155a9f83f40b1a422405d98a4868c","attributes":{"enabled":true,"created":1618955867,"updated":1618955867,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '239' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "secVal2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec2c803118d?api-version=2016-10-01 + response: + body: + string: '{"value":"secVal2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec2c803118d/5a997af25f8341a492269173a3e23792","attributes":{"enabled":true,"created":1618955867,"updated":1618955867,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '239' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "secVal3"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec3c803118d?api-version=2016-10-01 + response: + body: + string: '{"value":"secVal3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec3c803118d/9d6a1881623c44f7b477d6ceb9551d15","attributes":{"enabled":true,"created":1618955868,"updated":1618955868,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '239' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "secVal4"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec4c803118d?api-version=2016-10-01 + response: + body: + string: '{"value":"secVal4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec4c803118d/6fc38dec16ba4b049a1a25b3f4bd21d6","attributes":{"enabled":true,"created":1618955868,"updated":1618955868,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '239' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "secVal5"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec5c803118d?api-version=2016-10-01 + response: + body: + string: '{"value":"secVal5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec5c803118d/96520a817b6a49c2ae91c3b832d92fe8","attributes":{"enabled":true,"created":1618955868,"updated":1618955868,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '239' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "secVal6"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec6c803118d?api-version=2016-10-01 + response: + body: + string: '{"value":"secVal6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec6c803118d/63492ef4abbb4a5d8fbfdf61c41f6442","attributes":{"enabled":true,"created":1618955869,"updated":1618955869,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '239' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?maxresults=6&api-version=2016-10-01 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec042d40fa9","attributes":{"enabled":true,"created":1618954492,"updated":1618954492,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETURReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '500' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETURReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec042d50faa","attributes":{"enabled":true,"created":1618954500,"updated":1618954500,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec0b5b9112c","attributes":{"enabled":true,"created":1618954485,"updated":1618954485,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec0c803118d","attributes":{"enabled":true,"created":1618955867,"updated":1618955867,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec142d40fa9","attributes":{"enabled":true,"created":1618954493,"updated":1618954493,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec142d50faa","attributes":{"enabled":true,"created":1618954500,"updated":1618954500,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec1b5b9112c","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETVVNNE1ETXhNVGhFSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1445' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETVVNNE1ETXhNVGhFSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec1c803118d","attributes":{"enabled":true,"created":1618955867,"updated":1618955867,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec242d40fa9","attributes":{"enabled":true,"created":1618954493,"updated":1618954493,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec242d50faa","attributes":{"enabled":true,"created":1618954500,"updated":1618954500,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec2b5b9112c","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec2c803118d","attributes":{"enabled":true,"created":1618955867,"updated":1618955867,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec342d40fa9","attributes":{"enabled":true,"created":1618954493,"updated":1618954493,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1445' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec342d50faa","attributes":{"enabled":true,"created":1618954500,"updated":1618954500,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec3b5b9112c","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec3c803118d","attributes":{"enabled":true,"created":1618955868,"updated":1618955868,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec442d40fa9","attributes":{"enabled":true,"created":1618954494,"updated":1618954494,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec442d50faa","attributes":{"enabled":true,"created":1618954501,"updated":1618954501,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec4b5b9112c","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETkVNNE1ETXhNVGhFSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1445' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETkVNNE1ETXhNVGhFSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec4c803118d","attributes":{"enabled":true,"created":1618955868,"updated":1618955868,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec542d40fa9","attributes":{"enabled":true,"created":1618954494,"updated":1618954494,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec542d50faa","attributes":{"enabled":true,"created":1618954501,"updated":1618954501,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec5b5b9112c","attributes":{"enabled":true,"created":1618954487,"updated":1618954487,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec5c803118d","attributes":{"enabled":true,"created":1618955868,"updated":1618955868,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec642d40fa9","attributes":{"enabled":true,"created":1618954494,"updated":1618954494,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmpReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1445' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmpReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec642d50faa","attributes":{"enabled":true,"created":1618954501,"updated":1618954501,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c","attributes":{"enabled":true,"created":1618953969,"updated":1618953969,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d","attributes":{"enabled":true,"created":1618953972,"updated":1618953972,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec6b5b9112c","attributes":{"enabled":true,"created":1618954487,"updated":1618954487,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec6c803118d","attributes":{"enabled":true,"created":1618955869,"updated":1618955869,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak3de12c5","attributes":{"enabled":true,"created":1618954683,"updated":1618954683,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEUWtGTE56UkdOVEV3UlRFaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1444' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEUWtGTE56UkdOVEV3UlRFaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f510e1","attributes":{"enabled":true,"created":1618953589,"updated":1618953589,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f610e2","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bb1142","attributes":{"enabled":true,"created":1618954683,"updated":1618954683,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bc1143","attributes":{"enabled":true,"created":1618954732,"updated":1618954732,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbakf0621264","attributes":{"enabled":true,"created":1618953589,"updated":1618953589,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f","attributes":{"enabled":true,"created":1618953814,"updated":1618953814,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVV4TmpkQk1USkdSQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1464' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVV4TmpkQk1USkdSQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name167a12fd","attributes":{"enabled":true,"created":1618954971,"updated":1618954971,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name17de1309","attributes":{"enabled":true,"created":1618953974,"updated":1618953974,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name2ac129c","attributes":{"enabled":true,"created":1618953816,"updated":1618953816,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name2c0d136a","attributes":{"enabled":true,"created":1618955096,"updated":1618955096,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578","attributes":{"enabled":true,"created":1618953460,"updated":1618953460,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name508a1579","attributes":{"enabled":true,"created":1618953439,"updated":1618953439,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTkVZek1VTTFRaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1496' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTkVZek1VTTFRaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name54f31c5b","attributes":{"enabled":true,"created":1618952915,"updated":1618952915,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name85a81119","attributes":{"enabled":true,"created":1618953817,"updated":1618953817,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name85a9111a","attributes":{"enabled":true,"created":1618953818,"updated":1618953818,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978","attributes":{"enabled":true,"created":1618953050,"updated":1618953050,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b61ad8","attributes":{"enabled":true,"created":1618953011,"updated":1618953011,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TTBJM01VRkVPU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1301' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TTBJM01VRkVPU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b71ad9","attributes":{"enabled":true,"created":1618952953,"updated":1618952953,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name96cf117a","attributes":{"enabled":true,"created":1618954973,"updated":1618954973,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name96d0117b","attributes":{"enabled":true,"created":1618954974,"updated":1618954974,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name97df1186","attributes":{"enabled":true,"created":1618953975,"updated":1618953975,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBVd01URTROeUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBVd01URTROeUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name97e01187","attributes":{"enabled":true,"created":1618953815,"updated":1618953815,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea4ce19de","attributes":{"enabled":true,"created":1618953276,"updated":1618953276,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea96711e7","attributes":{"enabled":true,"created":1618955098,"updated":1618955098,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea96811e8","attributes":{"enabled":true,"created":1618954970,"updated":1618954970,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5","attributes":{"enabled":true,"created":1618953095,"updated":1618953095,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZFUkVOQk1UZEdOaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1301' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZFUkVOQk1UZEdOaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6","attributes":{"enabled":true,"created":1618953120,"updated":1618953120,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb","attributes":{"enabled":true,"created":1618953392,"updated":1618953392,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fc185b","attributes":{"enabled":true,"created":1618953370,"updated":1618953370,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fd185c","attributes":{"enabled":true,"created":1618953297,"updated":1618953297,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1ERXlSamN3UlRWR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1100' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1ERXlSamN3UlRWR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret012f70e5f","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret056961c6e","attributes":{"enabled":true,"created":1618952907,"updated":1618952907,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EVkJNRFV3UmpCR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '700' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EVkJNRFV3UmpCR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2","attributes":{"enabled":true,"created":1618955099,"updated":1618955099,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d51aec","attributes":{"enabled":true,"created":1618952911,"updated":1618952911,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '892' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f61a186e","attributes":{"enabled":true,"created":1618953293,"updated":1618953293,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '700' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret112f70e5f","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret112f80e60","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UUkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '887' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UUkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret156961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2","attributes":{"enabled":true,"created":1618955099,"updated":1618955099,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UZzNSVVF4TlRNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '700' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UZzNSVVF4TlRNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret194d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret194d51aec","attributes":{"enabled":true,"created":1618952911,"updated":1618952911,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTROMFl3UkRKQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '892' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTROMFl3UkRKQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f61a186e","attributes":{"enabled":true,"created":1618953293,"updated":1618953293,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qRXlSamN3UlRWR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '700' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qRXlSamN3UlRWR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret212f70e5f","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret212f80e60","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret256961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qVkJNRFV3UmpCR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '892' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qVkJNRFV3UmpCR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret27cd60fe2","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret294d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret294d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '892' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f61a186e","attributes":{"enabled":true,"created":1618953293,"updated":1618953293,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '700' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16UkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '887' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16UkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret356961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16ZzNSVVF4TlRNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '700' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16ZzNSVVF4TlRNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret394d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret394d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTROMFl3UkRKQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '892' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTROMFl3UkRKQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5ERXlSamN3UlRWR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '700' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5ERXlSamN3UlRWR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret412f70e5f","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret412f80e60","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret456961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EVkJNRFV3UmpCR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '892' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EVkJNRFV3UmpCR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret47cd60fe2","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret494d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret494d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '892' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '700' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f61b186f","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret512f70e5f","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UUkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '695' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UUkVPREJFUmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret556961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2","attributes":{"enabled":true,"created":1618955101,"updated":1618955101,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UZzNSVVF4TlRNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '700' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UZzNSVVF4TlRNMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret594d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret594d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTROMFl3UkRKQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '892' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTROMFl3UkRKQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f61b186f","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qRXlSamN3UlRWR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '700' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qRXlSamN3UlRWR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret612f70e5f","attributes":{"enabled":true,"created":1618955512,"updated":1618955512,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret612f80e60","attributes":{"enabled":true,"created":1618955575,"updated":1618955575,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret656961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qVkJNRFV3UmpCR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '892' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qVkJNRFV3UmpCR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2","attributes":{"enabled":true,"created":1618955101,"updated":1618955101,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret694d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret694d51aec","attributes":{"enabled":true,"created":1618952913,"updated":1618952913,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '892' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rRTJOekV4T1VZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '700' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=2016-10-01&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTJNVUl4T0RaR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f61b186f","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd","attributes":{"enabled":true,"created":1618955091,"updated":1618955091,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe","attributes":{"enabled":true,"created":1618955095,"updated":1618955095,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280","attributes":{"enabled":true,"created":1618954968,"updated":1618954968,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '792' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_list_7_0.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_list_7_0.yaml new file mode 100644 index 000000000000..058c8632e29e --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_list_7_0.yaml @@ -0,0 +1,2106 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec05277100a?api-version=7.0 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "secVal0"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec05277100a?api-version=7.0 + response: + body: + string: '{"value":"secVal0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec05277100a/854468fcb9a34279a33cc18c4e77a0b3","attributes":{"enabled":true,"created":1618955878,"updated":1618955878,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '239' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "secVal1"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec15277100a?api-version=7.0 + response: + body: + string: '{"value":"secVal1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec15277100a/76f2562550554becabe1594f3fee64f1","attributes":{"enabled":true,"created":1618955879,"updated":1618955879,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '239' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "secVal2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec25277100a?api-version=7.0 + response: + body: + string: '{"value":"secVal2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec25277100a/39a49712d52147daafa1c69abbe7a83c","attributes":{"enabled":true,"created":1618955879,"updated":1618955879,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '239' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "secVal3"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec35277100a?api-version=7.0 + response: + body: + string: '{"value":"secVal3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec35277100a/f7f96a52f3b7493fb5bc2f63f13f83c4","attributes":{"enabled":true,"created":1618955879,"updated":1618955879,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '239' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "secVal4"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec45277100a?api-version=7.0 + response: + body: + string: '{"value":"secVal4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec45277100a/5b892eb6e8834f2299fcc52c16fe1c5b","attributes":{"enabled":true,"created":1618955880,"updated":1618955880,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '239' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "secVal5"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec55277100a?api-version=7.0 + response: + body: + string: '{"value":"secVal5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec55277100a/54a4863939ab463089c4584f0e408148","attributes":{"enabled":true,"created":1618955880,"updated":1618955880,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '239' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "secVal6"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec65277100a?api-version=7.0 + response: + body: + string: '{"value":"secVal6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65277100a/8fd5957f8db141c49bd1100d8d4ef0a6","attributes":{"enabled":true,"created":1618955880,"updated":1618955880,"recoveryLevel":"Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '239' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:57:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?maxresults=6&api-version=7.0 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec042d40fa9","attributes":{"enabled":true,"created":1618954492,"updated":1618954492,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETURReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '493' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETURReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec042d50faa","attributes":{"enabled":true,"created":1618954500,"updated":1618954500,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec05277100a","attributes":{"enabled":true,"created":1618955878,"updated":1618955878,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec0b5b9112c","attributes":{"enabled":true,"created":1618954485,"updated":1618954485,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec0c803118d","attributes":{"enabled":true,"created":1618955867,"updated":1618955867,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec142d40fa9","attributes":{"enabled":true,"created":1618954493,"updated":1618954493,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec142d50faa","attributes":{"enabled":true,"created":1618954500,"updated":1618954500,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETVRVeU56Y3hNREJCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1438' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETVRVeU56Y3hNREJCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec15277100a","attributes":{"enabled":true,"created":1618955879,"updated":1618955879,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec1b5b9112c","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec1c803118d","attributes":{"enabled":true,"created":1618955867,"updated":1618955867,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec242d40fa9","attributes":{"enabled":true,"created":1618954493,"updated":1618954493,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec242d50faa","attributes":{"enabled":true,"created":1618954500,"updated":1618954500,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec25277100a","attributes":{"enabled":true,"created":1618955879,"updated":1618955879,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETWtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1438' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETWtJMVFqa3hNVEpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec2b5b9112c","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec2c803118d","attributes":{"enabled":true,"created":1618955867,"updated":1618955867,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec342d40fa9","attributes":{"enabled":true,"created":1618954493,"updated":1618954493,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec342d50faa","attributes":{"enabled":true,"created":1618954500,"updated":1618954500,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec35277100a","attributes":{"enabled":true,"created":1618955879,"updated":1618955879,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec3b5b9112c","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETTBNNE1ETXhNVGhFSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1438' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETTBNNE1ETXhNVGhFSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec3c803118d","attributes":{"enabled":true,"created":1618955868,"updated":1618955868,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec442d40fa9","attributes":{"enabled":true,"created":1618954494,"updated":1618954494,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec442d50faa","attributes":{"enabled":true,"created":1618954501,"updated":1618954501,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec45277100a","attributes":{"enabled":true,"created":1618955880,"updated":1618955880,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec4b5b9112c","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec4c803118d","attributes":{"enabled":true,"created":1618955868,"updated":1618955868,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETlRReVJEUXdSa0U1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1438' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETlRReVJEUXdSa0U1SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec542d40fa9","attributes":{"enabled":true,"created":1618954494,"updated":1618954494,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec542d50faa","attributes":{"enabled":true,"created":1618954501,"updated":1618954501,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec55277100a","attributes":{"enabled":true,"created":1618955880,"updated":1618955880,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec5b5b9112c","attributes":{"enabled":true,"created":1618954487,"updated":1618954487,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec5c803118d","attributes":{"enabled":true,"created":1618955868,"updated":1618955868,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec642d40fa9","attributes":{"enabled":true,"created":1618954494,"updated":1618954494,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmpReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1438' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmpReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec642d50faa","attributes":{"enabled":true,"created":1618954501,"updated":1618954501,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65277100a","attributes":{"enabled":true,"created":1618955880,"updated":1618955880,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c","attributes":{"enabled":true,"created":1618953969,"updated":1618953969,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d","attributes":{"enabled":true,"created":1618953972,"updated":1618953972,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec6b5b9112c","attributes":{"enabled":true,"created":1618954487,"updated":1618954487,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec6c803118d","attributes":{"enabled":true,"created":1618955869,"updated":1618955869,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXdJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEUWtGTE0wUkZNVEpETlNFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1436' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXdJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEUWtGTE0wUkZNVEpETlNFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak3de12c5","attributes":{"enabled":true,"created":1618954683,"updated":1618954683,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f510e1","attributes":{"enabled":true,"created":1618953589,"updated":1618953589,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f610e2","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bb1142","attributes":{"enabled":true,"created":1618954683,"updated":1618954683,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bc1143","attributes":{"enabled":true,"created":1618954732,"updated":1618954732,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbakf0621264","attributes":{"enabled":true,"created":1618953589,"updated":1618953589,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJNElYTmxZM0psZEM5TVNWWkZTMVpVUlZOVVUwVkRSRVl6UkRFeU1VWWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1442' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJNElYTmxZM0psZEM5TVNWWkZTMVpVUlZOVVUwVkRSRVl6UkRFeU1VWWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f","attributes":{"enabled":true,"created":1618953814,"updated":1618953814,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name167a12fd","attributes":{"enabled":true,"created":1618954971,"updated":1618954971,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name17de1309","attributes":{"enabled":true,"created":1618953974,"updated":1618953974,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name2ac129c","attributes":{"enabled":true,"created":1618953816,"updated":1618953816,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name2c0d136a","attributes":{"enabled":true,"created":1618955096,"updated":1618955096,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578","attributes":{"enabled":true,"created":1618953460,"updated":1618953460,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURoQk1UVTNPU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURoQk1UVTNPU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name508a1579","attributes":{"enabled":true,"created":1618953439,"updated":1618953439,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name54f31c5b","attributes":{"enabled":true,"created":1618952915,"updated":1618952915,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name85a81119","attributes":{"enabled":true,"created":1618953817,"updated":1618953817,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name85a9111a","attributes":{"enabled":true,"created":1618953818,"updated":1618953818,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978","attributes":{"enabled":true,"created":1618953050,"updated":1618953050,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TTBJMk1VRkVPQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1294' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TTBJMk1VRkVPQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b61ad8","attributes":{"enabled":true,"created":1618953011,"updated":1618953011,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b71ad9","attributes":{"enabled":true,"created":1618952953,"updated":1618952953,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name96cf117a","attributes":{"enabled":true,"created":1618954973,"updated":1618954973,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name96d0117b","attributes":{"enabled":true,"created":1618954974,"updated":1618954974,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBSR01URTROaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1098' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TjBSR01URTROaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name97df1186","attributes":{"enabled":true,"created":1618953975,"updated":1618953975,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name97e01187","attributes":{"enabled":true,"created":1618953815,"updated":1618953815,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea4ce19de","attributes":{"enabled":true,"created":1618953276,"updated":1618953276,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea96711e7","attributes":{"enabled":true,"created":1618955098,"updated":1618955098,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea96811e8","attributes":{"enabled":true,"created":1618954970,"updated":1618954970,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZFUkVNNU1UZEdOU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1294' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZFUkVNNU1UZEdOU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5","attributes":{"enabled":true,"created":1618953095,"updated":1618953095,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6","attributes":{"enabled":true,"created":1618953120,"updated":1618953120,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb","attributes":{"enabled":true,"created":1618953392,"updated":1618953392,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fc185b","attributes":{"enabled":true,"created":1618953370,"updated":1618953370,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fd185c","attributes":{"enabled":true,"created":1618953297,"updated":1618953297,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNME1UZzJNU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1294' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNME1UZzJNU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret012f70e5f","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret012f80e60","attributes":{"enabled":true,"created":1618955573,"updated":1618955573,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '693' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret056961c6e","attributes":{"enabled":true,"created":1618952907,"updated":1618952907,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2","attributes":{"enabled":true,"created":1618955099,"updated":1618955099,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '885' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d51aec","attributes":{"enabled":true,"created":1618952911,"updated":1618952911,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FWTFSRU13UkRoRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '693' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FWTFSRU13UkRoRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f61a186e","attributes":{"enabled":true,"created":1618953293,"updated":1618953293,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret112f70e5f","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret112f80e60","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UUkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1077' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UUkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret156961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UZERSRFl3UmtVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '501' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UZERSRFl3UmtVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2","attributes":{"enabled":true,"created":1618955099,"updated":1618955099,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret194d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret194d51aec","attributes":{"enabled":true,"created":1618952911,"updated":1618952911,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1077' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f61a186e","attributes":{"enabled":true,"created":1618953293,"updated":1618953293,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VWTRRalF4TTBJMElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '693' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VWTRRalF4TTBJMElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret212f70e5f","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret212f80e60","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '693' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret256961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret27cd60fe2","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret294d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '885' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret294d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rWTFSRU13UkRoRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '693' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rWTFSRU13UkRoRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f61a186e","attributes":{"enabled":true,"created":1618953293,"updated":1618953293,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16UkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1077' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16UkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret356961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16ZERSRFl3UmtVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '501' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16ZERSRFl3UmtVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret394d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret394d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1077' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wWTRRalF4TTBJMElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '693' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wWTRRalF4TTBJMElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret412f70e5f","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret412f80e60","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '693' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret456961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret47cd60fe2","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret494d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '885' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret494d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FWTFSRU13UkRoRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '693' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FWTFSRU13UkRoRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f61b186f","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret512f70e5f","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UUkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '885' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UUkJNREV3UlVGRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret556961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UZERSRFl3UmtVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '501' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UZERSRFl3UmtVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2","attributes":{"enabled":true,"created":1618955101,"updated":1618955101,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret594d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret594d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1077' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTFRVGd4TXpVeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f61b186f","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VWTRRalF4TTBJMElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '693' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VWTRRalF4TTBJMElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret612f70e5f","attributes":{"enabled":true,"created":1618955512,"updated":1618955512,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret612f80e60","attributes":{"enabled":true,"created":1618955575,"updated":1618955575,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '693' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qVTJPVFl4UXpaRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret656961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2","attributes":{"enabled":true,"created":1618955101,"updated":1618955101,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret694d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '885' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qazBSRFV4UVVWRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret694d51aec","attributes":{"enabled":true,"created":1618952913,"updated":1618952913,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTFSRU13UkRoRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '693' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rWTFSRU13UkRoRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f61b186f","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd","attributes":{"enabled":true,"created":1618955091,"updated":1618955091,"recoveryLevel":"Recoverable+Purgeable"}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe","attributes":{"enabled":true,"created":1618955095,"updated":1618955095,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVmtWU1JqSTBPVEV5T0RBaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1070' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVmtWU1JqSTBPVEV5T0RBaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280","attributes":{"enabled":true,"created":1618954968,"updated":1618954968,"recoveryLevel":"Recoverable+Purgeable"}}],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '218' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_list_7_1.yaml b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_list_7_1.yaml new file mode 100644 index 000000000000..b797ab387177 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/recordings/test_secrets_client.test_secret_list_7_1.yaml @@ -0,0 +1,2150 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec05278100b?api-version=7.1 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer + or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"value": "secVal0"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec05278100b?api-version=7.1 + response: + body: + string: '{"value":"secVal0","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec05278100b/ad82747bc4c44130b9683086afbb665f","attributes":{"enabled":true,"created":1618955889,"updated":1618955889,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '260' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "secVal1"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec15278100b?api-version=7.1 + response: + body: + string: '{"value":"secVal1","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec15278100b/3597d51260854aefa0a4e3e09cd47a3b","attributes":{"enabled":true,"created":1618955889,"updated":1618955889,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '260' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "secVal2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec25278100b?api-version=7.1 + response: + body: + string: '{"value":"secVal2","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec25278100b/6e392e532b0b49b191f58a37610a740b","attributes":{"enabled":true,"created":1618955889,"updated":1618955889,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '260' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "secVal3"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec35278100b?api-version=7.1 + response: + body: + string: '{"value":"secVal3","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec35278100b/11b26732cf3a4cf0a7c10d453b824893","attributes":{"enabled":true,"created":1618955890,"updated":1618955890,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '260' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "secVal4"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec45278100b?api-version=7.1 + response: + body: + string: '{"value":"secVal4","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec45278100b/9a06127829cc4f6992a154dd2d6fafbf","attributes":{"enabled":true,"created":1618955890,"updated":1618955890,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '260' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "secVal5"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec55278100b?api-version=7.1 + response: + body: + string: '{"value":"secVal5","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec55278100b/07d7e74c30df4f5992f96d57c3ff1175","attributes":{"enabled":true,"created":1618955890,"updated":1618955890,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '260' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "secVal6"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/secrets/livekvtestsec65278100b?api-version=7.1 + response: + body: + string: '{"value":"secVal6","id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65278100b/4262ae4ea48f4ab08ab29d95fd273eb6","attributes":{"enabled":true,"created":1618955891,"updated":1618955891,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '260' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?maxresults=6&api-version=7.1 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec042d40fa9","attributes":{"enabled":true,"created":1618954492,"updated":1618954492,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETURReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '514' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETURReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec042d50faa","attributes":{"enabled":true,"created":1618954500,"updated":1618954500,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec05277100a","attributes":{"enabled":true,"created":1618955878,"updated":1618955878,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec05278100b","attributes":{"enabled":true,"created":1618955889,"updated":1618955889,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec0b5b9112c","attributes":{"enabled":true,"created":1618954485,"updated":1618954485,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec0c803118d","attributes":{"enabled":true,"created":1618955867,"updated":1618955867,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec142d40fa9","attributes":{"enabled":true,"created":1618954493,"updated":1618954493,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETVRReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1564' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETVRReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec142d50faa","attributes":{"enabled":true,"created":1618954500,"updated":1618954500,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec15277100a","attributes":{"enabled":true,"created":1618955879,"updated":1618955879,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec15278100b","attributes":{"enabled":true,"created":1618955889,"updated":1618955889,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec1b5b9112c","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec1c803118d","attributes":{"enabled":true,"created":1618955867,"updated":1618955867,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec242d40fa9","attributes":{"enabled":true,"created":1618954493,"updated":1618954493,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETWpReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1564' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETWpReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec242d50faa","attributes":{"enabled":true,"created":1618954500,"updated":1618954500,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec25277100a","attributes":{"enabled":true,"created":1618955879,"updated":1618955879,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec25278100b","attributes":{"enabled":true,"created":1618955889,"updated":1618955889,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec2b5b9112c","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec2c803118d","attributes":{"enabled":true,"created":1618955867,"updated":1618955867,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec342d40fa9","attributes":{"enabled":true,"created":1618954493,"updated":1618954493,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1564' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETXpReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec342d50faa","attributes":{"enabled":true,"created":1618954500,"updated":1618954500,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec35277100a","attributes":{"enabled":true,"created":1618955879,"updated":1618955879,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec35278100b","attributes":{"enabled":true,"created":1618955890,"updated":1618955890,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec3b5b9112c","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec3c803118d","attributes":{"enabled":true,"created":1618955868,"updated":1618955868,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec442d40fa9","attributes":{"enabled":true,"created":1618954494,"updated":1618954494,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETkRReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1564' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETkRReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec442d50faa","attributes":{"enabled":true,"created":1618954501,"updated":1618954501,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec45277100a","attributes":{"enabled":true,"created":1618955880,"updated":1618955880,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec45278100b","attributes":{"enabled":true,"created":1618955890,"updated":1618955890,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec4b5b9112c","attributes":{"enabled":true,"created":1618954486,"updated":1618954486,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec4c803118d","attributes":{"enabled":true,"created":1618955868,"updated":1618955868,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec542d40fa9","attributes":{"enabled":true,"created":1618954494,"updated":1618954494,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETlRReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1564' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETlRReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec542d50faa","attributes":{"enabled":true,"created":1618954501,"updated":1618954501,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec55277100a","attributes":{"enabled":true,"created":1618955880,"updated":1618955880,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec55278100b","attributes":{"enabled":true,"created":1618955890,"updated":1618955890,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec5b5b9112c","attributes":{"enabled":true,"created":1618954487,"updated":1618954487,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec5c803118d","attributes":{"enabled":true,"created":1618955868,"updated":1618955868,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec642d40fa9","attributes":{"enabled":true,"created":1618954494,"updated":1618954494,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmpReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1564' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmpReVJEVXdSa0ZCSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec642d50faa","attributes":{"enabled":true,"created":1618954501,"updated":1618954501,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65277100a","attributes":{"enabled":true,"created":1618955880,"updated":1618955880,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65278100b","attributes":{"enabled":true,"created":1618955891,"updated":1618955891,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b3109c","attributes":{"enabled":true,"created":1618953969,"updated":1618953969,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec65b4109d","attributes":{"enabled":true,"created":1618953972,"updated":1618953972,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec6b5b9112c","attributes":{"enabled":true,"created":1618954487,"updated":1618954487,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtNNE1ETXhNVGhFSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1562' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZETmtNNE1ETXhNVGhFSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsec6c803118d","attributes":{"enabled":true,"created":1618955869,"updated":1618955869,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak3de12c5","attributes":{"enabled":true,"created":1618954683,"updated":1618954683,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f510e1","attributes":{"enabled":true,"created":1618953589,"updated":1618953589,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak74f610e2","attributes":{"enabled":true,"created":1618953634,"updated":1618953634,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bb1142","attributes":{"enabled":true,"created":1618954683,"updated":1618954683,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbak85bc1143","attributes":{"enabled":true,"created":1618954732,"updated":1618954732,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEUWtGTFJqQTJNakV5TmpRaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1573' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEUWtGTFJqQTJNakV5TmpRaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecbakf0621264","attributes":{"enabled":true,"created":1618953589,"updated":1618953589,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecdf3d121f","attributes":{"enabled":true,"created":1618953814,"updated":1618953814,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name167a12fd","attributes":{"enabled":true,"created":1618954971,"updated":1618954971,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name17de1309","attributes":{"enabled":true,"created":1618953974,"updated":1618953974,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name2ac129c","attributes":{"enabled":true,"created":1618953816,"updated":1618953816,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name2c0d136a","attributes":{"enabled":true,"created":1618955096,"updated":1618955096,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURnNU1UVTNPQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1602' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVUxTURnNU1UVTNPQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name50891578","attributes":{"enabled":true,"created":1618953460,"updated":1618953460,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name508a1579","attributes":{"enabled":true,"created":1618953439,"updated":1618953439,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name54f31c5b","attributes":{"enabled":true,"created":1618952915,"updated":1618952915,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name85a81119","attributes":{"enabled":true,"created":1618953817,"updated":1618953817,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name85a9111a","attributes":{"enabled":true,"created":1618953818,"updated":1618953818,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0UVVReE1UazNPQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1399' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU0UVVReE1UazNPQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name8ad11978","attributes":{"enabled":true,"created":1618953050,"updated":1618953050,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b61ad8","attributes":{"enabled":true,"created":1618953011,"updated":1618953011,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name93b71ad9","attributes":{"enabled":true,"created":1618952953,"updated":1618952953,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name96cf117a","attributes":{"enabled":true,"created":1618954973,"updated":1618954973,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TmtRd01URTNRaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1182' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVU1TmtRd01URTNRaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name96d0117b","attributes":{"enabled":true,"created":1618954974,"updated":1618954974,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name97df1186","attributes":{"enabled":true,"created":1618953975,"updated":1618953975,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-name97e01187","attributes":{"enabled":true,"created":1618953815,"updated":1618953815,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea4ce19de","attributes":{"enabled":true,"created":1618953276,"updated":1618953276,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea96711e7","attributes":{"enabled":true,"created":1618955098,"updated":1618955098,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZCT1RZNE1URkZPQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1399' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZCT1RZNE1URkZPQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namea96811e8","attributes":{"enabled":true,"created":1618954970,"updated":1618954970,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddc917f5","attributes":{"enabled":true,"created":1618953095,"updated":1618953095,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameddca17f6","attributes":{"enabled":true,"created":1618953120,"updated":1618953120,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-nameec1716fb","attributes":{"enabled":true,"created":1618953392,"updated":1618953392,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fc185b","attributes":{"enabled":true,"created":1618953370,"updated":1618953370,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret-namef4fd185c","attributes":{"enabled":true,"created":1618953297,"updated":1618953297,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNek1UZzJNQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1616' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVUxVNUJUVVZHTlRNek1UZzJNQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret012f70e5f","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret012f80e60","attributes":{"enabled":true,"created":1618955573,"updated":1618955573,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EUkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '730' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EUkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret056961c6e","attributes":{"enabled":true,"created":1618952907,"updated":1618952907,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret07cd60fe2","attributes":{"enabled":true,"created":1618955099,"updated":1618955099,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '735' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1EazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret094d51aec","attributes":{"enabled":true,"created":1618952911,"updated":1618952911,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '948' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1FVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f61a186e","attributes":{"enabled":true,"created":1618953293,"updated":1618953293,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret0f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret112f70e5f","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1URXlSamd3UlRZd0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '948' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1URXlSamd3UlRZd0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret112f80e60","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret156961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UY3lNMEV4TkVRMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '735' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1UY3lNMEV4TkVRMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret17cd60fe2","attributes":{"enabled":true,"created":1618955099,"updated":1618955099,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret194d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret194d51aec","attributes":{"enabled":true,"created":1618952911,"updated":1618952911,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1161' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f61a186e","attributes":{"enabled":true,"created":1618953293,"updated":1618953293,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret1f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VWTRRak14TTBJeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '735' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1VWTRRak14TTBJeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret212f70e5f","attributes":{"enabled":true,"created":1618955510,"updated":1618955510,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret212f80e60","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qUkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '730' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qUkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret256961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret27cd60fe2","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '735' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1qazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret294d41aeb","attributes":{"enabled":true,"created":1618952950,"updated":1618952950,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret294d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2a67119f1","attributes":{"enabled":true,"created":1618953267,"updated":1618953267,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '948' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU1rVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f61a186e","attributes":{"enabled":true,"created":1618953293,"updated":1618953293,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret2f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret312f70e5f","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16RXlSamd3UlRZd0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '948' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16RXlSamd3UlRZd0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret312f80e60","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret356961c6e","attributes":{"enabled":true,"created":1618952908,"updated":1618952908,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16Y3lNMEV4TkVRMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '735' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU16Y3lNMEV4TkVRMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret37cd60fe2","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret394d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret394d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1161' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret3f61b186f","attributes":{"enabled":true,"created":1618953272,"updated":1618953272,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wWTRRak14TTBJeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '735' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU0wWTRRak14TTBJeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret412f70e5f","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret412f80e60","attributes":{"enabled":true,"created":1618955574,"updated":1618955574,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EUkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '730' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EUkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret456961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret47cd60fe2","attributes":{"enabled":true,"created":1618955100,"updated":1618955100,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '735' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5EazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret494d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret494d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '948' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5FVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret4f61b186f","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret512f70e5f","attributes":{"enabled":true,"created":1618955511,"updated":1618955511,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5URXlSamd3UlRZd0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '948' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5URXlSamd3UlRZd0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret556961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UY3lNMEV4TkVRMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '522' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5UY3lNMEV4TkVRMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret57cd60fe2","attributes":{"enabled":true,"created":1618955101,"updated":1618955101,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret594d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret594d51aec","attributes":{"enabled":true,"created":1618952912,"updated":1618952912,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1161' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VVTFRVGN4TXpVeUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret5f61b186f","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VWTRRak14TTBJeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '735' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5VWTRRak14TTBJeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret612f70e5f","attributes":{"enabled":true,"created":1618955512,"updated":1618955512,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret612f80e60","attributes":{"enabled":true,"created":1618955575,"updated":1618955575,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qUkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '730' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qUkVPVEJFUmtZaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret656961c6e","attributes":{"enabled":true,"created":1618952909,"updated":1618952909,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret67cd60fe2","attributes":{"enabled":true,"created":1618955101,"updated":1618955101,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '735' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5qazBSRFF4UVVWQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret694d41aeb","attributes":{"enabled":true,"created":1618952951,"updated":1618952951,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret694d51aec","attributes":{"enabled":true,"created":1618952913,"updated":1618952913,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6a67119f1","attributes":{"enabled":true,"created":1618953268,"updated":1618953268,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '948' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVWtWVU5rVTRPREF3UkRKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f61a186e","attributes":{"enabled":true,"created":1618953294,"updated":1618953294,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecret6f61b186f","attributes":{"enabled":true,"created":1618953273,"updated":1618953273,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761810fd","attributes":{"enabled":true,"created":1618955091,"updated":1618955091,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVmtWU056WXhPVEV3UmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '942' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-secrets/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/secrets?api-version=7.1&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJWE5sWTNKbGRDOU1TVlpGUzFaVVJWTlVVMFZEVmtWU056WXhPVEV3UmtVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVer761910fe","attributes":{"enabled":true,"created":1618955095,"updated":1618955095,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"id":"https://vaultname.vault.azure.net/secrets/livekvtestsecVerf2491280","attributes":{"enabled":true,"created":1618954968,"updated":1618954968,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '451' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 20 Apr 2021 21:58:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.236.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/test_parse_id.py b/sdk/keyvault/azure-keyvault-secrets/tests/test_parse_id.py index 90e15d55111d..a6d53c616c34 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/test_parse_id.py +++ b/sdk/keyvault/azure-keyvault-secrets/tests/test_parse_id.py @@ -2,17 +2,14 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------- -from azure.keyvault.secrets import SecretClient, parse_key_vault_secret_id +from azure.keyvault.secrets import parse_key_vault_secret_id from devtools_testutils import PowerShellPreparer from _shared.test_case import KeyVaultTestCase +from _test_case import SecretsTestCase -class TestParseId(KeyVaultTestCase): - def create_client(self, vault_uri, **kwargs): - credential = self.get_credential(SecretClient) - return self.create_client_from_credential(SecretClient, credential=credential, vault_url=vault_uri, **kwargs) - +class TestParseId(SecretsTestCase, KeyVaultTestCase): @PowerShellPreparer("keyvault", azure_keyvault_url="https://vaultname.vault.azure.net") def test_parse_secret_id_with_version(self, azure_keyvault_url): client = self.create_client(azure_keyvault_url) diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/test_samples_secrets.py b/sdk/keyvault/azure-keyvault-secrets/tests/test_samples_secrets.py index 6df0b69e84a9..19bf1730317a 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/test_samples_secrets.py +++ b/sdk/keyvault/azure-keyvault-secrets/tests/test_samples_secrets.py @@ -3,20 +3,13 @@ # Licensed under the MIT License. # ------------------------------------- from __future__ import print_function -import functools import time -from azure.keyvault.secrets import SecretClient -from azure.keyvault.secrets._shared import HttpChallengeCache -from devtools_testutils import PowerShellPreparer - from _shared.test_case import KeyVaultTestCase +from _test_case import client_setup, get_decorator, SecretsTestCase + -KeyVaultPreparer = functools.partial( - PowerShellPreparer, - "keyvault", - azure_keyvault_url="https://vaultname.vault.azure.net" -) +all_api_versions = get_decorator() def print(*args): @@ -36,19 +29,10 @@ def test_create_secret_client(): # [END create_secret_client] -class TestExamplesKeyVault(KeyVaultTestCase): - def tearDown(self): - HttpChallengeCache.clear() - assert len(HttpChallengeCache._cache) == 0 - super(TestExamplesKeyVault, self).tearDown() - - def create_client(self, vault_uri, **kwargs): - credential = self.get_credential(SecretClient) - return self.create_client_from_credential(SecretClient, credential=credential, vault_url=vault_uri, **kwargs) - - @KeyVaultPreparer() - def test_example_secret_crud_operations(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url) +class TestExamplesKeyVault(SecretsTestCase, KeyVaultTestCase): + @all_api_versions() + @client_setup + def test_example_secret_crud_operations(self, client, **kwargs): secret_client = client secret_name = self.get_resource_name("secret-name") @@ -110,9 +94,9 @@ def test_example_secret_crud_operations(self, azure_keyvault_url, **kwargs): deleted_secret_poller.wait() # [END delete_secret] - @KeyVaultPreparer() - def test_example_secret_list_operations(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url) + @all_api_versions() + @client_setup + def test_example_secret_list_operations(self, client, **kwargs): secret_client = client for i in range(7): @@ -156,9 +140,9 @@ def test_example_secret_list_operations(self, azure_keyvault_url, **kwargs): # [END list_deleted_secrets] - @KeyVaultPreparer() - def test_example_secrets_backup_restore(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url) + @all_api_versions() + @client_setup + def test_example_secrets_backup_restore(self, client, **kwargs): secret_client = client secret_name = self.get_resource_name("secret-name") secret_client.set_secret(secret_name, "secret-value") @@ -183,9 +167,9 @@ def test_example_secrets_backup_restore(self, azure_keyvault_url, **kwargs): print(restored_secret.version) # [END restore_secret_backup] - @KeyVaultPreparer() - def test_example_secrets_recover(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url) + @all_api_versions() + @client_setup + def test_example_secrets_recover(self, client, **kwargs): secret_client = client secret_name = self.get_resource_name("secret-name") secret_client.set_secret(secret_name, "secret-value") diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/test_samples_secrets_async.py b/sdk/keyvault/azure-keyvault-secrets/tests/test_samples_secrets_async.py index 0a5e9c2df8db..8a89ade5d549 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/test_samples_secrets_async.py +++ b/sdk/keyvault/azure-keyvault-secrets/tests/test_samples_secrets_async.py @@ -3,20 +3,14 @@ # Licensed under the MIT License. # ------------------------------------- import asyncio -import functools -from azure.keyvault.secrets.aio import SecretClient -from azure.keyvault.secrets._shared import HttpChallengeCache -from devtools_testutils import PowerShellPreparer import pytest from _shared.test_case_async import KeyVaultTestCase +from _test_case import client_setup, get_decorator, SecretsTestCase -KeyVaultPreparer = functools.partial( - PowerShellPreparer, - "keyvault", - azure_keyvault_url="https://vaultname.vault.azure.net" -) + +all_api_versions = get_decorator(is_async=True) def print(*args): @@ -42,19 +36,10 @@ async def test_create_secret_client(): # [END create_secret_client] -class TestExamplesKeyVault(KeyVaultTestCase): - def tearDown(self): - HttpChallengeCache.clear() - assert len(HttpChallengeCache._cache) == 0 - super(TestExamplesKeyVault, self).tearDown() - - def create_client(self, vault_uri, **kwargs): - credential = self.get_credential(SecretClient, is_async=True) - return self.create_client_from_credential(SecretClient, credential=credential, vault_url=vault_uri, **kwargs) - - @KeyVaultPreparer() - async def test_example_secret_crud_operations(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url) +class TestExamplesKeyVault(SecretsTestCase, KeyVaultTestCase): + @all_api_versions() + @client_setup + async def test_example_secret_crud_operations(self, client, **kwargs): secret_client = client secret_name = self.get_resource_name("secret-name") @@ -113,9 +98,9 @@ async def test_example_secret_crud_operations(self, azure_keyvault_url, **kwargs print(deleted_secret.recovery_id) # [END delete_secret] - @KeyVaultPreparer() - async def test_example_secret_list_operations(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url) + @all_api_versions() + @client_setup + async def test_example_secret_list_operations(self, client, **kwargs): secret_client = client for i in range(7): @@ -157,9 +142,9 @@ async def test_example_secret_list_operations(self, azure_keyvault_url, **kwargs print(secret.deleted_date) # [END list_deleted_secrets] - @KeyVaultPreparer() - async def test_example_secrets_backup_restore(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url) + @all_api_versions() + @client_setup + async def test_example_secrets_backup_restore(self, client, **kwargs): secret_client = client secret_name = self.get_resource_name("secret-name") await secret_client.set_secret(secret_name, "secret-value") @@ -184,9 +169,9 @@ async def test_example_secrets_backup_restore(self, azure_keyvault_url, **kwargs print(restored_secret.version) # [END restore_secret_backup] - @KeyVaultPreparer() - async def test_example_secrets_recover(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url) + @all_api_versions() + @client_setup + async def test_example_secrets_recover(self, client, **kwargs): secret_client = client secret_name = self.get_resource_name("secret-name") await secret_client.set_secret(secret_name, "secret-value") diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_async.py b/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_async.py index 95431a49f05e..b8c6ff8edb49 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_async.py +++ b/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_async.py @@ -10,17 +10,15 @@ from azure.core.exceptions import ResourceExistsError, ResourceNotFoundError from azure.core.pipeline.policies import SansIOHTTPPolicy from azure.keyvault.secrets.aio import SecretClient -from azure.keyvault.secrets._shared import HttpChallengeCache -from devtools_testutils import PowerShellPreparer from dateutil import parser as date_parse from _shared.test_case_async import KeyVaultTestCase +from _test_case import client_setup, get_decorator, SecretsTestCase -KeyVaultPreparer = functools.partial( - PowerShellPreparer, - "keyvault", - azure_keyvault_url="https://vaultname.vault.azure.net" -) + +all_api_versions = get_decorator(is_async=True) +logging_enabled = get_decorator(is_async=True, logging_enable=True) +logging_disabled = get_decorator(is_async=True, logging_enable=False) # used for logging tests @@ -33,16 +31,7 @@ def emit(self, record): self.messages.append(record) -class KeyVaultSecretTest(KeyVaultTestCase): - def tearDown(self): - HttpChallengeCache.clear() - assert len(HttpChallengeCache._cache) == 0 - super(KeyVaultSecretTest, self).tearDown() - - def create_client(self, vault_uri, **kwargs): - credential = self.get_credential(SecretClient, is_async=True) - return self.create_client_from_credential(SecretClient, credential=credential, vault_url=vault_uri, **kwargs) - +class KeyVaultSecretTest(SecretsTestCase, KeyVaultTestCase): def _assert_secret_attributes_equal(self, s1, s2): self.assertEqual(s1.name, s2.name) self.assertEqual(s1.vault_url, s2.vault_url) @@ -77,10 +66,9 @@ async def _validate_secret_list(self, secrets, expected): del expected[secret.name] self.assertEqual(len(expected), 0) - @KeyVaultPreparer() - async def test_secret_crud_operations(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url) - + @all_api_versions() + @client_setup + async def test_secret_crud_operations(self, client, **kwargs): secret_name = self.get_resource_name("crud-secret") secret_value = "crud_secret_value" @@ -140,10 +128,9 @@ async def _update_secret(secret): deleted = await client.delete_secret(updated.name) self.assertIsNotNone(deleted) - @KeyVaultPreparer() - async def test_secret_list(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url) - + @all_api_versions() + @client_setup + async def test_secret_list(self, client, **kwargs): max_secrets = self.list_test_size expected = {} @@ -160,10 +147,9 @@ async def test_secret_list(self, azure_keyvault_url, **kwargs): result = client.list_properties_of_secrets(max_page_size=max_secrets - 1) await self._validate_secret_list(result, expected) - @KeyVaultPreparer() - async def test_list_deleted_secrets(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url) - + @all_api_versions() + @client_setup + async def test_list_deleted_secrets(self, client, **kwargs): expected = {} # create secrets @@ -185,10 +171,9 @@ async def test_list_deleted_secrets(self, azure_keyvault_url, **kwargs): expected_secret = expected[deleted_secret.name] self._assert_secret_attributes_equal(expected_secret.properties, deleted_secret.properties) - @KeyVaultPreparer() - async def test_list_versions(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url) - + @all_api_versions() + @client_setup + async def test_list_versions(self, client, **kwargs): secret_name = self.get_resource_name("sec") secret_value = "secVal" @@ -213,10 +198,9 @@ async def test_list_versions(self, azure_keyvault_url, **kwargs): self._assert_secret_attributes_equal(expected_secret.properties, secret) self.assertEqual(len(expected), 0) - @KeyVaultPreparer() - async def test_backup_restore(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url) - + @all_api_versions() + @client_setup + async def test_backup_restore(self, client, **kwargs): secret_name = self.get_resource_name("secbak") secret_value = "secVal" @@ -238,10 +222,9 @@ async def test_backup_restore(self, azure_keyvault_url, **kwargs): restored_secret = await self._poll_until_no_exception(restore_function, expected_exception=ResourceExistsError) self._assert_secret_attributes_equal(created_bundle.properties, restored_secret) - @KeyVaultPreparer() - async def test_recover(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url) - + @all_api_versions() + @client_setup + async def test_recover(self, client, **kwargs): secrets = {} # create secrets to recover @@ -269,10 +252,9 @@ async def test_recover(self, azure_keyvault_url, **kwargs): get_function = functools.partial(client.get_secret, secret) await self._poll_until_no_exception(get_function, expected_exception=ResourceNotFoundError) - @KeyVaultPreparer() - async def test_purge(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url) - + @all_api_versions() + @client_setup + async def test_purge(self, client, **kwargs): secrets = {} # create secrets to purge @@ -295,9 +277,9 @@ async def test_purge(self, azure_keyvault_url, **kwargs): for secret_name in secrets.keys(): await client.purge_deleted_secret(secret_name) - @KeyVaultPreparer() - async def test_logging_enabled(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url, logging_enable=True) + @logging_enabled() + @client_setup + async def test_logging_enabled(self, client, **kwargs): mock_handler = MockHandler() logger = logging.getLogger("azure") @@ -319,9 +301,9 @@ async def test_logging_enabled(self, azure_keyvault_url, **kwargs): assert False, "Expected request body wasn't logged" - @KeyVaultPreparer() - async def test_logging_disabled(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url, logging_enable=False) + @logging_disabled() + @client_setup + async def test_logging_disabled(self, client, **kwargs): mock_handler = MockHandler() logger = logging.getLogger("azure") diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_client.py b/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_client.py index 12d66b5e4767..82aa6a6ed230 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_client.py +++ b/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_client.py @@ -11,16 +11,14 @@ from azure.core.exceptions import ResourceExistsError, ResourceNotFoundError from azure.core.pipeline.policies import SansIOHTTPPolicy from azure.keyvault.secrets import SecretClient -from azure.keyvault.secrets._shared import HttpChallengeCache -from devtools_testutils import PowerShellPreparer from _shared.test_case import KeyVaultTestCase +from _test_case import client_setup, get_decorator, SecretsTestCase -KeyVaultPreparer = functools.partial( - PowerShellPreparer, - "keyvault", - azure_keyvault_url="https://vaultname.vault.azure.net" -) + +all_api_versions = get_decorator() +logging_enabled = get_decorator(logging_enable=True) +logging_disabled = get_decorator(logging_enable=False) # used for logging tests @@ -33,16 +31,7 @@ def emit(self, record): self.messages.append(record) -class SecretClientTests(KeyVaultTestCase): - def tearDown(self): - HttpChallengeCache.clear() - assert len(HttpChallengeCache._cache) == 0 - super(SecretClientTests, self).tearDown() - - def create_client(self, vault_uri, **kwargs): - credential = self.get_credential(SecretClient) - return self.create_client_from_credential(SecretClient, credential=credential, vault_url=vault_uri, **kwargs) - +class SecretClientTests(SecretsTestCase, KeyVaultTestCase): def _assert_secret_attributes_equal(self, s1, s2): self.assertEqual(s1.name, s2.name) self.assertEqual(s1.vault_url, s2.vault_url) @@ -77,10 +66,9 @@ def _validate_secret_list(self, secrets, expected): del expected[secret.name] self.assertEqual(len(expected), 0) - @KeyVaultPreparer() - def test_secret_crud_operations(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url) - + @all_api_versions() + @client_setup + def test_secret_crud_operations(self, client, **kwargs): secret_name = self.get_resource_name("crud-secret") secret_value = "crud_secret_value" @@ -146,10 +134,9 @@ def _update_secret(secret): deleted = client.begin_delete_secret(updated.name).result() self.assertIsNotNone(deleted) - @KeyVaultPreparer() - def test_secret_list(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url) - + @all_api_versions() + @client_setup + def test_secret_list(self, client, **kwargs): max_secrets = self.list_test_size expected = {} @@ -166,10 +153,9 @@ def test_secret_list(self, azure_keyvault_url, **kwargs): result = list(client.list_properties_of_secrets(max_page_size=max_secrets - 1)) self._validate_secret_list(result, expected) - @KeyVaultPreparer() - def test_list_versions(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url) - + @all_api_versions() + @client_setup + def test_list_versions(self, client, **kwargs): secret_name = self.get_resource_name("secVer") secret_value = "secVal" @@ -193,10 +179,9 @@ def test_list_versions(self, azure_keyvault_url, **kwargs): self._assert_secret_attributes_equal(expected_secret.properties, secret) self.assertEqual(len(expected), 0) - @KeyVaultPreparer() - def test_list_deleted_secrets(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url) - + @all_api_versions() + @client_setup + def test_list_deleted_secrets(self, client, **kwargs): expected = {} # create secrets @@ -218,10 +203,9 @@ def test_list_deleted_secrets(self, azure_keyvault_url, **kwargs): expected_secret = expected[deleted_secret.name] self._assert_secret_attributes_equal(expected_secret.properties, deleted_secret.properties) - @KeyVaultPreparer() - def test_backup_restore(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url) - + @all_api_versions() + @client_setup + def test_backup_restore(self, client, **kwargs): secret_name = self.get_resource_name("secbak") secret_value = "secVal" @@ -243,10 +227,9 @@ def test_backup_restore(self, azure_keyvault_url, **kwargs): restored_secret = self._poll_until_no_exception(restore_function, ResourceExistsError) self._assert_secret_attributes_equal(created_bundle.properties, restored_secret) - @KeyVaultPreparer() - def test_recover(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url) - + @all_api_versions() + @client_setup + def test_recover(self, client, **kwargs): secrets = {} # create secrets to recover @@ -272,10 +255,9 @@ def test_recover(self, azure_keyvault_url, **kwargs): secret = client.get_secret(name=secret_name) self._assert_secret_attributes_equal(secret.properties, secrets[secret.name].properties) - @KeyVaultPreparer() - def test_purge(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url) - + @all_api_versions() + @client_setup + def test_purge(self, client, **kwargs): secrets = {} # create secrets to purge @@ -301,9 +283,9 @@ def test_purge(self, azure_keyvault_url, **kwargs): deleted = [s.name for s in client.list_deleted_secrets()] self.assertTrue(not any(s in deleted for s in secrets.keys())) - @KeyVaultPreparer() - def test_logging_enabled(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url, logging_enable=True) + @logging_enabled() + @client_setup + def test_logging_enabled(self, client, **kwargs): mock_handler = MockHandler() logger = logging.getLogger("azure") @@ -325,9 +307,9 @@ def test_logging_enabled(self, azure_keyvault_url, **kwargs): assert False, "Expected request body wasn't logged" - @KeyVaultPreparer() - def test_logging_disabled(self, azure_keyvault_url, **kwargs): - client = self.create_client(azure_keyvault_url, logging_enable=False) + @logging_disabled() + @client_setup + def test_logging_disabled(self, client, **kwargs): mock_handler = MockHandler() logger = logging.getLogger("azure") From 4b456a81b4076f8ab1d5423ed29019c64c81246c Mon Sep 17 00:00:00 2001 From: "Johan Stenberg (MSFT)" Date: Mon, 26 Apr 2021 15:42:02 -0700 Subject: [PATCH 11/14] Azure webpubsub service initial client library version (#18199) Added first version of webpubsub service client. Co-authored-by: Liangying.Wei Co-authored-by: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com> --- eng/ignore-links.txt | 3 +- .../CHANGELOG.md | 4 + .../LICENSE.txt | 21 + .../MANIFEST.in | 6 + .../README.md | 148 +++ .../azure/__init__.py | 1 + .../azure/messaging/__init__.py | 1 + .../messaging/webpubsubservice/__init__.py | 232 +++++ .../messaging/webpubsubservice/_policies.py | 83 ++ .../messaging/webpubsubservice/_utils.py | 45 + .../messaging/webpubsubservice/_version.py | 6 + .../azure/messaging/webpubsubservice/aio.py | 110 ++ .../webpubsubservice/core/__init__.py | 0 .../webpubsubservice/core/rest/__init__.py | 65 ++ .../webpubsubservice/core/rest/_rest.py | 625 ++++++++++++ .../webpubsubservice/core/rest/_rest_py3.py | 739 ++++++++++++++ .../azure/messaging/webpubsubservice/rest.py | 942 ++++++++++++++++++ .../dev_requirements.txt | 7 + .../examples/send_messages.py | 54 + .../setup.cfg | 2 + .../azure-messaging-webpubsubservice/setup.py | 74 ++ .../tests/test_send_requests.py | 38 + shared_requirements.txt | 8 +- 23 files changed, 3212 insertions(+), 2 deletions(-) create mode 100644 sdk/signalr/azure-messaging-webpubsubservice/CHANGELOG.md create mode 100644 sdk/signalr/azure-messaging-webpubsubservice/LICENSE.txt create mode 100644 sdk/signalr/azure-messaging-webpubsubservice/MANIFEST.in create mode 100644 sdk/signalr/azure-messaging-webpubsubservice/README.md create mode 100644 sdk/signalr/azure-messaging-webpubsubservice/azure/__init__.py create mode 100644 sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/__init__.py create mode 100644 sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/__init__.py create mode 100644 sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/_policies.py create mode 100644 sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/_utils.py create mode 100644 sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/_version.py create mode 100644 sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/aio.py create mode 100644 sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/core/__init__.py create mode 100644 sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/core/rest/__init__.py create mode 100644 sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/core/rest/_rest.py create mode 100644 sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/core/rest/_rest_py3.py create mode 100644 sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/rest.py create mode 100644 sdk/signalr/azure-messaging-webpubsubservice/dev_requirements.txt create mode 100644 sdk/signalr/azure-messaging-webpubsubservice/examples/send_messages.py create mode 100644 sdk/signalr/azure-messaging-webpubsubservice/setup.cfg create mode 100644 sdk/signalr/azure-messaging-webpubsubservice/setup.py create mode 100644 sdk/signalr/azure-messaging-webpubsubservice/tests/test_send_requests.py diff --git a/eng/ignore-links.txt b/eng/ignore-links.txt index eff0b385a379..5308ef654f79 100644 --- a/eng/ignore-links.txt +++ b/eng/ignore-links.txt @@ -2,4 +2,5 @@ https://docs.microsoft.com/python/api/overview/azure/{{package_doc_id}} https://github.com/Azure/azure-digital-twins/blob/private-preview/Documentation/how-to-manage-routes.md https://pypi.org/project/azure-digitaltwins-core https://docs.microsoft.com/azure/digital-twins/how-to-query-graph#query-limitations -https://docs.microsoft.com/samples/azure-samples/azure-samples-python-management/{{package_doc_id}} \ No newline at end of file +https://docs.microsoft.com/samples/azure-samples/azure-samples-python-management/{{package_doc_id}} +https://pypi.org/project/azure-messaging-webpubsubservice/ diff --git a/sdk/signalr/azure-messaging-webpubsubservice/CHANGELOG.md b/sdk/signalr/azure-messaging-webpubsubservice/CHANGELOG.md new file mode 100644 index 000000000000..6169dd8966fe --- /dev/null +++ b/sdk/signalr/azure-messaging-webpubsubservice/CHANGELOG.md @@ -0,0 +1,4 @@ +## 1.0.0b1 + +Initial version + diff --git a/sdk/signalr/azure-messaging-webpubsubservice/LICENSE.txt b/sdk/signalr/azure-messaging-webpubsubservice/LICENSE.txt new file mode 100644 index 000000000000..0313a903d76c --- /dev/null +++ b/sdk/signalr/azure-messaging-webpubsubservice/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2017 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/sdk/signalr/azure-messaging-webpubsubservice/MANIFEST.in b/sdk/signalr/azure-messaging-webpubsubservice/MANIFEST.in new file mode 100644 index 000000000000..a3b68055b727 --- /dev/null +++ b/sdk/signalr/azure-messaging-webpubsubservice/MANIFEST.in @@ -0,0 +1,6 @@ +include *.md +include azure/__init__.py +include azure/messaging/__init__.py +include LICENSE.txt +recursive-include tests *.py +recursive-include examples *.py *.md \ No newline at end of file diff --git a/sdk/signalr/azure-messaging-webpubsubservice/README.md b/sdk/signalr/azure-messaging-webpubsubservice/README.md new file mode 100644 index 000000000000..67534725c7ae --- /dev/null +++ b/sdk/signalr/azure-messaging-webpubsubservice/README.md @@ -0,0 +1,148 @@ +# Azure WebPubSubService client library for Python + +[Azure Web PubSub Service](https://aka.ms/awps/doc) is a service that enables you to build real-time messaging web applications using WebSockets and the publish-subscribe pattern. Any platform supporting WebSocket APIs can connect to the service easily, e.g. web pages, mobile applications, edge devices, etc. The service manages the WebSocket connections for you and allows up to 100K \*concurrent connections. It provides powerful APIs for you to manage these clients and deliver real-time messages. + +Any scenario that requires real-time publish-subscribe messaging between server and clients or among clients, can use Azure Web PubSub service. Traditional real-time features that often require polling from server or submitting HTTP requests, can also use Azure Web PubSub service. + +We list some examples that are good to use Azure Web PubSub service: + +- **High frequency data updates:** gaming, voting, polling, auction. +- **Live dashboards and monitoring:** company dashboard, financial market data, instant sales update, multi-player game leader board, and IoT monitoring. +- **Cross-platform live chat:** live chat room, chat bot, on-line customer support, real-time shopping assistant, messenger, in-game chat, and so on. +- **Real-time location on map:** logistic tracking, delivery status tracking, transportation status updates, GPS apps. +- **Real-time targeted ads:** personalized real-time push ads and offers, interactive ads. +- **Collaborative apps:** coauthoring, whiteboard apps and team meeting software. +- **Push instant notifications:** social network, email, game, travel alert. +- **Real-time broadcasting:** live audio/video broadcasting, live captioning, translating, events/news broadcasting. +- **IoT and connected devices:** real-time IoT metrics, remote control, real-time status, and location tracking. +- **Automation:** real-time trigger from upstream events. + +Use the client library to: + +- Send messages to hubs and groups. +- Send messages to particular users and connections. +- Organize users and connections into groups. +- Close connections +- Grant/revoke/check permissions for an existing connection + +[Source code](https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/signalr/azure-messaging-webpubsubservice) | [Package (Pypi)][package] | [API reference documentation](https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/signalr/azure-messaging-webpubsubservice) | [Product documentation][webpubsubservice_docs] + +## Getting started + +### Installating the package + +```bash +python -m pip install azure-messaging-webpubsubservice +``` + +#### Prequisites + +- Python 2.7, or 3.6 or later is required to use this package. +- You need an [Azure subscription][azure_sub], and a [Azure WebPubSub service instance][webpubsubservice_docs] to use this package. +- An existing Azure Web PubSub service instance. + +### Authenticating the client + +In order to interact with the Azure WebPubSub service, you'll need to create an instance of the [WebPubSubServiceClient][webpubsubservice_client_class] class. In order to authenticate against the service, you need to pass in an AzureKeyCredential instance with endpoint and api key. The endpoint and api key can be found on the azure portal. + +```python +>>> from azure.messaging.webpubsubservice import WebPubSubServiceClient +>>> from azure.core.credentials import AzureKeyCredential +>>> client = WebPubSubServiceClient(endpoint='', credential=AzureKeyCredential('somesecret')) +>>> client +'> +``` + +## Examples + +### Sending a request + +```python +>>> from azure.messaging.webpubsubservice import WebPubSubServiceClient +>>> from azure.core.credentials import AzureKeyCredential +>>> from azure.messaging.webpubsubservice.rest import build_send_to_all_request +>>> client = WebPubSubServiceClient(endpoint='', credential=AzureKeyCredential('somesecret')) +>>> request = build_send_to_all_request('default', json={ 'Hello': 'webpubsub!' }) +>>> request + +>>> response = client.send_request(request) +>>> response + +>>> response.status_code +202 +>>> with open('file.json', 'r') as f: +>>> request = build_send_to_all_request('ahub', content=f, content_type='application/json') +>>> response = client.send_request(request) +>>> print(response) + +``` + +## Key concepts + +### Hub + +Hub is a logical set of connections. All connections to Web PubSub connect to a specific hub. Messages that are broadcast to the hub are dispatched to all connections to that hub. For example, hub can be used for different applications, different applications can share one Azure Web PubSub service by using different hub names. + +### Group + +Group allow broadcast messages to a subset of connections to the hub. You can add and remove users and connections as needed. A client can join multiple groups, and a group can contain multiple clients. + +### User + +Connections to Web PubSub can belong to one user. A user might have multiple connections, for example when a single user is connected across multiple devices or multiple browser tabs. + +### Connection + +Connections, represented by a connection id, represent an individual websocket connection to the Web PubSub service. Connection id is always unique. + +### Message + +A message is either a UTF-8 encoded string, json or raw binary data. + +## Troubleshooting + +### Logging + +This SDK uses Python standard logging library. +You can configure logging print out debugging information to the stdout or anywhere you want. + +```python +import logging + +logging.basicConfig(level=logging.DEBUG) +```` + +Http request and response details are printed to stdout with this logging config. + +## Next steps + +More examples are coming soon... + +## Contributing + +This project welcomes contributions and suggestions. Most contributions require +you to agree to a Contributor License Agreement (CLA) declaring that you have +the right to, and actually do, grant us the rights to use your contribution. +For details, visit https://cla.microsoft.com. + +When you submit a pull request, a CLA-bot will automatically determine whether +you need to provide a CLA and decorate the PR appropriately (e.g., label, +comment). Simply follow the instructions provided by the bot. You will only +need to do this once across all repos using our CLA. + +This project has adopted the +[Microsoft Open Source Code of Conduct][code_of_conduct]. For more information, +see the Code of Conduct FAQ or contact opencode@microsoft.com with any +additional questions or comments. + + +[webpubsubservice_docs]: https://aka.ms/awps/doc +[azure_cli]: https://docs.microsoft.com/cli/azure +[azure_sub]: https://azure.microsoft.com/free/ +[webpubsubservice_client_class]: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/__init__.py +[package]: https://pypi.org/project/azure-messaging-webpubsubservice/ +[default_cred_ref]: https://aka.ms/azsdk-python-identity-default-cred-ref +[cla]: https://cla.microsoft.com +[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/ +[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/ +[coc_contact]: mailto:opencode@microsoft.com diff --git a/sdk/signalr/azure-messaging-webpubsubservice/azure/__init__.py b/sdk/signalr/azure-messaging-webpubsubservice/azure/__init__.py new file mode 100644 index 000000000000..8db66d3d0f0f --- /dev/null +++ b/sdk/signalr/azure-messaging-webpubsubservice/azure/__init__.py @@ -0,0 +1 @@ +__path__ = __import__("pkgutil").extend_path(__path__, __name__) diff --git a/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/__init__.py b/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/__init__.py new file mode 100644 index 000000000000..8db66d3d0f0f --- /dev/null +++ b/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/__init__.py @@ -0,0 +1 @@ +__path__ = __import__("pkgutil").extend_path(__path__, __name__) diff --git a/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/__init__.py b/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/__init__.py new file mode 100644 index 000000000000..529b1f7e9d7d --- /dev/null +++ b/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/__init__.py @@ -0,0 +1,232 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +__all__ = ["build_authentication_token", "WebPubSubServiceClient"] + +from copy import deepcopy +from datetime import datetime, timedelta +from typing import TYPE_CHECKING + +import jwt +import six + +import azure.core.credentials as corecredentials +import azure.core.pipeline as corepipeline +import azure.core.pipeline.policies as corepolicies +import azure.core.pipeline.transport as coretransport + + +# Temporary location for types that eventually graduate to Azure Core +from .core import rest as corerest +from ._version import VERSION as _VERSION +from ._policies import JwtCredentialPolicy +from ._utils import UTC as _UTC + +if TYPE_CHECKING: + from azure.core.pipeline.policies import HTTPPolicy, SansIOHTTPPolicy + from typing import Any, List, cast, Type, TypeVar + + ClientType = TypeVar("ClientType", bound="WebPubSubServiceClient") + + +def _parse_connection_string(connection_string, **kwargs): + for segment in connection_string.split(";"): + if "=" in segment: + key, value = segment.split("=", maxsplit=1) + key = key.lower() + if key not in ("version", ): + kwargs.setdefault(key, value) + elif segment: + raise ValueError( + "Malformed connection string - expected 'key=value', found segment '{}' in '{}'".format( + segment, connection_string + ) + ) + + if "endpoint" not in kwargs: + raise ValueError("connection_string missing 'endpoint' field") + + if "accesskey" not in kwargs: + raise ValueError("connection_string missing 'accesskey' field") + + return kwargs + +def build_authentication_token(endpoint, hub, **kwargs): + """Build an authentication token for the given endpoint, hub using the provided key. + + :keyword endpoint: connetion string or HTTP or HTTPS endpoint for the WebPubSub service instance. + :type endpoint: ~str + :keyword hub: The hub to give access to. + :type hub: ~str + :keyword accesskey: Key to sign the token with. Required if endpoint is not a connection string + :type accesskey: ~str + :keyword ttl: Optional ttl timedelta for the token. Default is 1 hour. + :type ttl: ~datetime.timedelta + :keyword user: Optional user name (subject) for the token. Default is no user. + :type user: ~str + :keyword roles: Roles for the token. + :type roles: typing.List[str]. Default is no roles. + :returns: ~dict containing the web socket endpoint, the token and a url with the generated access token. + :rtype: ~dict + + + Example: + >>> build_authentication_token(endpoint='https://contoso.com/api/webpubsub', hub='theHub', key='123') + { + 'baseUrl': 'wss://contoso.com/api/webpubsub/client/hubs/theHub', + 'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ...', + 'url': 'wss://contoso.com/api/webpubsub/client/hubs/theHub?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ...' + } + """ + if 'accesskey' not in kwargs: + kwargs = _parse_connection_string(endpoint, **kwargs) + endpoint = kwargs.pop('endpoint') + + user = kwargs.pop("user", None) + key = kwargs.pop("accesskey") + ttl = kwargs.pop("ttl", timedelta(hours=1)) + roles = kwargs.pop("roles", []) + endpoint = endpoint.lower() + if not endpoint.startswith("http://") and not endpoint.startswith("https://"): + raise ValueError( + "Invalid endpoint: '{}' has unknown scheme - expected 'http://' or 'https://'".format( + endpoint + ) + ) + + # Ensure endpoint has no trailing slash + endpoint = endpoint.rstrip("/") + + # Switch from http(s) to ws(s) scheme + client_endpoint = "ws" + endpoint[4:] + client_url = "{}/client/hubs/{}".format(client_endpoint, hub) + audience = "{}/client/hubs/{}".format(endpoint, hub) + + payload = { + "aud": audience, + "iat": datetime.now(tz=_UTC), + "exp": datetime.now(tz=_UTC) + ttl, + } + if user: + payload["sub"] = user + if roles: + payload["role"] = roles + + token = six.ensure_str(jwt.encode(payload, key, algorithm="HS256")) + return { + "baseUrl": client_url, + "token": token, + "url": "{}?access_token={}".format(client_url, token), + } + + +class WebPubSubServiceClient(object): + def __init__(self, endpoint, credential, **kwargs): + # type: (str, corecredentials.AzureKeyCredential, Any) -> None + """Create a new WebPubSubServiceClient instance + + :param endpoint: Endpoint to connect to. + :type endpoint: ~str + :param credential: Credentials to use to connect to endpoint. + :type credential: ~azure.core.credentials.AzureKeyCredential + :keyword api_version: Api version to use when communicating with the service. + :type api_version: str + :keyword user: User to connect as. Optional. + :type user: ~str + """ + self.endpoint = endpoint.rstrip("/") + transport = kwargs.pop("transport", None) or coretransport.RequestsTransport( + **kwargs + ) + kwargs.setdefault( + "sdk_moniker", "messaging-webpubsubservice/{}".format(_VERSION) + ) + policies = [ + corepolicies.HeadersPolicy(**kwargs), + corepolicies.UserAgentPolicy(**kwargs), + corepolicies.RetryPolicy(**kwargs), + corepolicies.ProxyPolicy(**kwargs), + corepolicies.CustomHookPolicy(**kwargs), + corepolicies.RedirectPolicy(**kwargs), + JwtCredentialPolicy(credential, kwargs.get("user", None)), + corepolicies.NetworkTraceLoggingPolicy(**kwargs), + ] # type: Any + self._pipeline = corepipeline.Pipeline( + transport, + policies, + ) # type: corepipeline.Pipeline + + @classmethod + def from_connection_string(cls, connection_string, **kwargs): + # type: (Type[ClientType], str, Any) -> ClientType + """Create a new WebPubSubServiceClient from a connection string. + + :param connection_string: Connection string + :type connection_string: ~str + :rtype: WebPubSubServiceClient + """ + kwargs = _parse_connection_string(connection_string, **kwargs) + + kwargs["credential"] = corecredentials.AzureKeyCredential( + kwargs.pop("accesskey") + ) + return cls(**kwargs) + + def __repr__(self): + return " endpoint:'{}'".format(self.endpoint) + + def _format_url(self, url): + # type: (str) -> str + assert self.endpoint[-1] != "/", "My endpoint should not have a trailing slash" + return "/".join([self.endpoint, url.lstrip("/")]) + + def send_request(self, http_request, **kwargs): + # type: (corerest.HttpRequest, Any) -> corerest.HttpResponse + """Runs the network request through the client's chained policies. + + We have helper methods to create requests specific to this service in `azure.messaging.webpubsub.rest`. + Use these helper methods to create the request you pass to this method. See our example below: + + >>> from azure.messaging.webpubsub.rest import build_healthapi_get_health_status_request + >>> request = build_healthapi_get_health_status_request(api_version) + + >>> response = client.send_request(request) + + + For more information on this code flow, see https://aka.ms/azsdk/python/llcwiki + + For advanced cases, you can also create your own :class:`~azure.messaging.webpubsub.core.rest.HttpRequest` + and pass it in. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.messaging.webpubsub.core.rest.HttpRequest + :keyword bool stream_response: Whether the response payload will be streamed. Defaults to False. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.messaging.webpubsub.core.rest.HttpResponse + """ + request_copy = deepcopy(http_request) + request_copy.url = self._format_url(request_copy.url) + + # can't do StreamCOntextManager yet. This client doesn't have a pipeline client, + # StreamContextManager requires a pipeline client. WIll look more into it + # if kwargs.pop("stream_response", False): + # return corerest._StreamContextManager( + # client=self._client, + # request=request_copy, + # ) + pipeline_response = self._pipeline.run(request_copy._internal_request, **kwargs) # pylint: disable=protected-access + response = corerest.HttpResponse( + status_code=pipeline_response.http_response.status_code, + request=request_copy, + _internal_response=pipeline_response.http_response, + ) + response.read() + return response diff --git a/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/_policies.py b/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/_policies.py new file mode 100644 index 000000000000..6dc11981689a --- /dev/null +++ b/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/_policies.py @@ -0,0 +1,83 @@ +# -------------------------------------------------------------------------- +# +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. +# +# -------------------------------------------------------------------------- + +import datetime +import typing +import jwt +import six + +from azure.core.pipeline.policies import SansIOHTTPPolicy + +from ._utils import UTC + +if typing.TYPE_CHECKING: + from azure.core.credentials import AzureKeyCredential + from azure.core.pipeline import PipelineRequest + + +class JwtCredentialPolicy(SansIOHTTPPolicy): + + NAME_CLAIM_TYPE = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name" + + def __init__(self, credential, user=None): + # type: (AzureKeyCredential, typing.Optional[str]) -> None + """Create a new instance of the policy associated with the given credential. + + :param credential: The azure.core.credentials.AzureKeyCredential instance to use + :type credential: ~azure.core.credentials.AzureKeyCredential + :param user: Optional user name associated with the credential. + :type user: str + """ + self._credential = credential + self._user = user + + def on_request(self, request): + # type: (PipelineRequest) -> typing.Union[None, typing.Awaitable[None]] + """Is executed before sending the request from next policy. + + :param request: Request to be modified before sent from next policy. + :type request: ~azure.core.pipeline.PipelineRequest + """ + request.http_request.headers["Authorization"] = "Bearer " + self._encode( + request.http_request.url + ) + return super(JwtCredentialPolicy, self).on_request(request) + + def _encode(self, url): + # type: (AzureKeyCredential) -> str + data = { + "aud": url, + "exp": datetime.datetime.now(tz=UTC) + datetime.timedelta(seconds=60), + } + if self._user: + data[self.NAME_CLAIM_TYPE] = self._user + + encoded = jwt.encode( + payload=data, + key=self._credential.key, + algorithm="HS256", + ) + return six.ensure_str(encoded) diff --git a/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/_utils.py b/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/_utils.py new file mode 100644 index 000000000000..042b46dd8848 --- /dev/null +++ b/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/_utils.py @@ -0,0 +1,45 @@ +# -------------------------------------------------------------------------- +# +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. +# +# -------------------------------------------------------------------------- + +import datetime + + +class _UTC_TZ(datetime.tzinfo): + """from https://docs.python.org/2/library/datetime.html#tzinfo-objects""" + + ZERO = datetime.timedelta(0) + + def utcoffset(self, dt): + return self.__class__.ZERO + + def tzname(self, dt): + return "UTC" + + def dst(self, dt): + return self.__class__.ZERO + + +UTC = _UTC_TZ() diff --git a/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/_version.py b/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/_version.py new file mode 100644 index 000000000000..ac9f392f513e --- /dev/null +++ b/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/_version.py @@ -0,0 +1,6 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ + +VERSION = "1.0.0b1" diff --git a/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/aio.py b/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/aio.py new file mode 100644 index 000000000000..0559416aa7bc --- /dev/null +++ b/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/aio.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +__all__ = ["WebPubSubServiceClient"] + +from typing import TYPE_CHECKING +from copy import deepcopy + +import azure.core.pipeline as corepipeline +import azure.core.pipeline.policies as corepolicies +import azure.core.pipeline.transport as coretransport + +# Temporary location for types that eventually graduate to Azure Core +from .core import rest as corerest + +from ._policies import JwtCredentialPolicy + +if TYPE_CHECKING: + import azure.core.credentials as corecredentials + from azure.core.pipeline.policies import HTTPPolicy, SansIOHTTPPolicy + from typing import Any, List, cast # pylint: disable=ungrouped-imports + + +class WebPubSubServiceClient(object): + def __init__(self, endpoint, credential, **kwargs): + # type: (str, corecredentials.AzureKeyCredential, Any) -> None + """Create a new WebPubSubServiceClient instance + + :param endpoint: Endpoint to connect to. + :type endpoint: ~str + :param credential: Credentials to use to connect to endpoint. + :type credential: ~azure.core.credentials.AzureKeyCredential + :keyword api_version: Api version to use when communicating with the service. + :type api_version: str + :keyword user: User to connect as. Optional. + :type user: ~str + """ + self.endpoint = endpoint.rstrip("/") + transport = kwargs.pop("transport", None) or coretransport.RequestsTransport( + **kwargs + ) + policies = [ + corepolicies.HeadersPolicy(**kwargs), + corepolicies.UserAgentPolicy(**kwargs), + corepolicies.AsyncRetryPolicy(**kwargs), + corepolicies.ProxyPolicy(**kwargs), + corepolicies.CustomHookPolicy(**kwargs), + corepolicies.AsyncRedirectPolicy(**kwargs), + JwtCredentialPolicy(credential, kwargs.get("user", None)), + corepolicies.NetworkTraceLoggingPolicy(**kwargs), + ] # type: Any + self._pipeline = corepipeline.AsyncPipeline( + transport, + policies, + ) # type: corepipeline.AsyncPipeline + + def _format_url(self, url): + # type: (str) -> str + assert self.endpoint[-1] != "/", "My endpoint should not have a trailing slash" + return "/".join([self.endpoint, url.lstrip("/")]) + + async def send_request( + self, http_request: corerest.HttpRequest, **kwargs: "Any" + ) -> corerest.AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + We have helper methods to create requests specific to this service in `azure.messaging.webpubsub.rest`. + Use these helper methods to create the request you pass to this method. See our example below: + + >>> from azure.messaging.webpubsub.rest import build_healthapi_get_health_status_request + >>> request = build_healthapi_get_health_status_request(api_version) + + >>> response = await client.send_request(request) + + + For more information on this code flow, see https://aka.ms/azsdk/python/llcwiki + + For advanced cases, you can also create your own :class:`~azure.messaging.webpubsub.core.rest.HttpRequest` + and pass it in. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.messaging.webpubsub.core.rest.HttpRequest + :keyword bool stream_response: Whether the response payload will be streamed. Defaults to False. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.messaging.webpubsub.core.rest.AsyncHttpResponse + """ + request_copy = deepcopy(http_request) + request_copy.url = self._format_url(request_copy.url) + + # can't do AsyncStreamContextManager yet. This client doesn't have a pipeline client, + # AsyncStreamContextManager requires a pipeline client. WIll look more into it + # if kwargs.pop("stream_response", False): + # return corerest._AsyncStreamContextManager( + # client=self._client, + # request=request_copy, + # ) + pipeline_response = await self._pipeline.run( + request_copy._internal_request, **kwargs # pylint: disable=protected-access + ) + response = corerest.AsyncHttpResponse( + status_code=pipeline_response.http_response.status_code, + request=request_copy, + _internal_response=pipeline_response.http_response, + ) + await response.read() + return response diff --git a/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/core/__init__.py b/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/core/__init__.py new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/core/rest/__init__.py b/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/core/rest/__init__.py new file mode 100644 index 000000000000..a70aae7c472a --- /dev/null +++ b/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/core/rest/__init__.py @@ -0,0 +1,65 @@ +# -------------------------------------------------------------------------- +# +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. +# +# -------------------------------------------------------------------------- +try: + from ._rest_py3 import ( + HttpRequest, + HttpResponse, + AsyncHttpResponse, + _StreamContextManager, + _AsyncStreamContextManager, + StreamConsumedError, + ResponseNotReadError, + ResponseClosedError, + ) + + __all__ = [ + "HttpRequest", + "HttpResponse", + "AsyncHttpResponse", + "_StreamContextManager", + "_AsyncStreamContextManager", + "StreamConsumedError", + "ResponseNotReadError", + "ResponseClosedError", + ] +except (SyntaxError, ImportError): + from ._rest import ( + HttpRequest, + HttpResponse, + _StreamContextManager, + StreamConsumedError, + ResponseNotReadError, + ResponseClosedError, + ) + + __all__ = [ + "HttpRequest", + "HttpResponse", + "_StreamContextManager", + "StreamConsumedError", + "ResponseNotReadError", + "ResponseClosedError", + ] diff --git a/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/core/rest/_rest.py b/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/core/rest/_rest.py new file mode 100644 index 000000000000..cee1c039cbda --- /dev/null +++ b/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/core/rest/_rest.py @@ -0,0 +1,625 @@ +# -------------------------------------------------------------------------- +# +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. +# +# -------------------------------------------------------------------------- + +# pylint currently complains about typing.Union not being subscriptable +# pylint: disable=unsubscriptable-object + +import codecs +import json +from enum import Enum +import xml.etree.ElementTree as ET +from typing import TYPE_CHECKING, Iterable + +import cgi +import six + +from azure.core.exceptions import HttpResponseError +from azure.core.pipeline.transport import ( + HttpRequest as _PipelineTransportHttpRequest, +) + + +if TYPE_CHECKING: + from typing import ( # pylint: disable=ungrouped-imports + Any, + Optional, + Union, + Mapping, + Sequence, + Tuple, + Iterator, + ) + + ByteStream = Iterable[bytes] + + HeadersType = Union[Mapping[str, str], Sequence[Tuple[str, str]]] + ContentType = Union[str, bytes, ByteStream] + from azure.core.pipeline.transport._base import ( + _HttpResponseBase as _PipelineTransportHttpResponseBase, + ) + from azure.core._pipeline_client import PipelineClient as _PipelineClient + + +class HttpVerbs(str, Enum): + GET = "GET" + PUT = "PUT" + POST = "POST" + HEAD = "HEAD" + PATCH = "PATCH" + DELETE = "DELETE" + MERGE = "MERGE" + + +########################### UTILS SECTION ################################# + + +def _is_stream_or_str_bytes(content): + return isinstance(content, (str, bytes)) or any( + hasattr(content, attr) for attr in ["read", "__iter__", "__aiter__"] + ) + + +def _lookup_encoding(encoding): + # type: (str) -> bool + # including check for whether encoding is known taken from httpx + try: + codecs.lookup(encoding) + return True + except LookupError: + return False + + +def _set_content_length_header(header_name, header_value, internal_request): + # type: (str, str, _PipelineTransportHttpRequest) -> None + valid_methods = ["put", "post", "patch"] + content_length_headers = ["Content-Length", "Transfer-Encoding"] + if internal_request.method.lower() in valid_methods and not any( + [c for c in content_length_headers if c in internal_request.headers] + ): + internal_request.headers[header_name] = header_value + + +def _set_content_type_header(header_value, internal_request): + # type: (str, _PipelineTransportHttpRequest) -> None + if not internal_request.headers.get("Content-Type"): + internal_request.headers["Content-Type"] = header_value + + +def _set_content_body(content, internal_request): + # type: (ContentType, _PipelineTransportHttpRequest) -> None + headers = internal_request.headers + content_type = headers.get("Content-Type") + if _is_stream_or_str_bytes(content): + # stream will be bytes / str, or iterator of bytes / str + internal_request.set_streamed_data_body(content) + if isinstance(content, (str, bytes)) and content: + _set_content_length_header( + "Content-Length", str(len(internal_request.data)), internal_request + ) + if isinstance(content, six.string_types): + _set_content_type_header("text/plain", internal_request) + else: + _set_content_type_header("application/octet-stream", internal_request) + elif isinstance( # pylint: disable=isinstance-second-argument-not-valid-type + content, Iterable + ): + # _set_content_length_header("Transfer-Encoding", "chunked", internal_request) + _set_content_type_header("application/octet-stream", internal_request) + elif isinstance(content, ET.Element): + # XML body + internal_request.set_xml_body(content) + _set_content_type_header("application/xml", internal_request) + _set_content_length_header( + "Content-Length", str(len(internal_request.data)), internal_request + ) + elif content_type and content_type.startswith("text/"): + # Text body + internal_request.set_text_body(content) + _set_content_length_header( + "Content-Length", str(len(internal_request.data)), internal_request + ) + else: + # Other body + internal_request.data = content + internal_request.headers = headers + + +def _set_body(content, data, files, json_body, internal_request): + # type: (ContentType, dict, Any, Any, _PipelineTransportHttpRequest) -> None + if data is not None and not isinstance(data, dict): + content = data + data = None + if content is not None: + _set_content_body(content, internal_request) + elif json_body is not None: + internal_request.set_json_body(json_body) + _set_content_type_header("application/json", internal_request) + elif files is not None: + internal_request.set_formdata_body(files) + # if you don't supply your content type, we'll create a boundary for you with multipart/form-data + # boundary = binascii.hexlify(os.urandom(16)).decode("ascii") # got logic from httpx, thanks httpx! + # _set_content_type_header("multipart/form-data; boundary={}".format(boundary), internal_request) + elif data: + _set_content_type_header("application/x-www-form-urlencoded", internal_request) + internal_request.set_formdata_body(data) + # need to set twice because Content-Type is being popped in set_formdata_body + # don't want to risk changing pipeline.transport, so doing twice here + _set_content_type_header("application/x-www-form-urlencoded", internal_request) + + +def _parse_lines_from_text(text): + # largely taken from httpx's LineDecoder code + lines = [] + last_chunk_of_text = "" + while text: + text_length = len(text) + for idx in range(text_length): + curr_char = text[idx] + next_char = None if idx == len(text) - 1 else text[idx + 1] + if curr_char == "\n": + lines.append(text[: idx + 1]) + text = text[idx + 1 :] + break + if curr_char == "\r" and next_char == "\n": + # if it ends with \r\n, we only do \n + lines.append(text[:idx] + "\n") + text = text[idx + 2 :] + break + if curr_char == "\r" and next_char is not None: + # if it's \r then a normal character, we switch \r to \n + lines.append(text[:idx] + "\n") + text = text[idx + 1 :] + break + if next_char is None: + text = "" + last_chunk_of_text += text + break + if last_chunk_of_text.endswith("\r"): + # if ends with \r, we switch \r to \n + lines.append(last_chunk_of_text[:-1] + "\n") + elif last_chunk_of_text: + lines.append(last_chunk_of_text) + return lines + + +################################## CLASSES ###################################### +class _StreamContextManager(object): + def __init__(self, client, request, **kwargs): + # type: (_PipelineClient, HttpRequest, Any) -> None + self.client = client + self.request = request + self.kwargs = kwargs + + def __enter__(self): + # type: (...) -> HttpResponse + """Actually make the call only when we enter. For sync stream_response calls""" + pipeline_transport_response = self.client._pipeline.run( + self.request._internal_request, stream=True, **self.kwargs + ).http_response + self.response = HttpResponse( # pylint: disable=attribute-defined-outside-init + request=self.request, _internal_response=pipeline_transport_response + ) + return self.response + + def __exit__(self, *args): + """Close our stream connection. For sync calls""" + self.response.__exit__(*args) + + def close(self): + self.response.close() + + +class HttpRequest(object): + """Represents an HTTP request. + + :param method: HTTP method (GET, HEAD, etc.) + :type method: str or ~azure.core.protocol.HttpVerbs + :param str url: The url for your request + :keyword params: Query parameters to be mapped into your URL. Your input + should be a mapping or sequence of query name to query value(s). + :paramtype params: mapping or sequence + :keyword headers: HTTP headers you want in your request. Your input should + be a mapping or sequence of header name to header value. + :paramtype headers: mapping or sequence + :keyword dict data: Form data you want in your request body. Use for form-encoded data, i.e. + HTML forms. + :keyword any json: A JSON serializable object. We handle JSON-serialization for your + object, so use this for more complicated data structures than `data`. + :keyword files: Files you want to in your request body. Use for uploading files with + multipart encoding. Your input should be a mapping or sequence of file name to file content. + Use the `data` kwarg in addition if you want to include non-file data files as part of your request. + :paramtype files: mapping or sequence + :keyword content: Content you want in your request body. Think of it as the kwarg you should input + if your data doesn't fit into `json`, `data`, or `files`. Accepts a bytes type, or a generator + that yields bytes. + :paramtype content: str or bytes or iterable[bytes] or asynciterable[bytes] + :ivar str url: The URL this request is against. + :ivar str method: The method type of this request. + :ivar headers: The HTTP headers you passed in to your request + :vartype headers: mapping or sequence + :ivar bytes content: The content passed in for the request + """ + + def __init__(self, method, url, **kwargs): + # type: (str, str, Any) -> None + + data = kwargs.pop("data", None) + content = kwargs.pop("content", None) + json_body = kwargs.pop("json", None) + files = kwargs.pop("files", None) + + self._internal_request = kwargs.pop( + "_internal_request", + _PipelineTransportHttpRequest( + method=method, + url=url, + headers=kwargs.pop("headers", None), + ), + ) + params = kwargs.pop("params", None) + + if params: + self._internal_request.format_parameters(params) + + _set_body( + content=content, + data=data, + files=files, + json_body=json_body, + internal_request=self._internal_request, + ) + + if kwargs: + raise TypeError( + "You have passed in kwargs '{}' that are not valid kwargs.".format( + "', '".join(list(kwargs.keys())) + ) + ) + + def _set_content_length_header(self): + method_check = self._internal_request.method.lower() in ["put", "post", "patch"] + content_length_unset = "Content-Length" not in self._internal_request.headers + if method_check and content_length_unset: + self._internal_request.headers["Content-Length"] = str( + len(self._internal_request.data) + ) + + @property + def url(self): + # type: (...) -> str + return self._internal_request.url + + @url.setter + def url(self, val): + # type: (str) -> None + self._internal_request.url = val + + @property + def method(self): + # type: (...) -> str + return self._internal_request.method + + @property + def headers(self): + # type: (...) -> HeadersType + return self._internal_request.headers + + @property + def content(self): + # type: (...) -> Any + """Gets the request content.""" + return self._internal_request.data or self._internal_request.files + + def __repr__(self): + return self._internal_request.__repr__() + + def __deepcopy__(self, memo=None): + return HttpRequest( + self.method, + self.url, + _internal_request=self._internal_request.__deepcopy__(memo), + ) + + +class _HttpResponseBase(object): + """Base class for HttpResponse and AsyncHttpResponse. + + :keyword request: The request that resulted in this response. + :paramtype request: ~azure.core.rest.HttpRequest + :ivar int status_code: The status code of this response + :ivar headers: The response headers + :vartype headers: dict[str, any] + :ivar str reason: The reason phrase for this response + :ivar bytes content: The response content in bytes + :ivar str url: The URL that resulted in this response + :ivar str encoding: The response encoding. Is settable, by default + is the response Content-Type header + :ivar str text: The response body as a string. + :ivar request: The request that resulted in this response. + :vartype request: ~azure.core.rest.HttpRequest + :ivar str content_type: The content type of the response + :ivar bool is_error: Whether this response is an error. + """ + + def __init__(self, **kwargs): + # type: (Any) -> None + self._internal_response = kwargs.pop( + "_internal_response" + ) # type: _PipelineTransportHttpResponseBase + self._request = kwargs.pop("request") + self.is_closed = False + self.is_stream_consumed = False + self._num_bytes_downloaded = 0 + + @property + def status_code(self): + # type: (...) -> int + """Returns the status code of the response""" + return self._internal_response.status_code + + @status_code.setter + def status_code(self, val): + # type: (int) -> None + """Set the status code of the response""" + self._internal_response.status_code = val + + @property + def headers(self): + # type: (...) -> HeadersType + """Returns the response headers""" + return self._internal_response.headers + + @property + def reason(self): + # type: (...) -> str + """Returns the reason phrase for the response""" + return self._internal_response.reason + + @property + def content(self): + # type: (...) -> bytes + """Returns the response content in bytes""" + raise NotImplementedError() + + @property + def url(self): + # type: (...) -> str + """Returns the URL that resulted in this response""" + return self._internal_response.request.url + + @property + def encoding(self): + # type: (...) -> Optional[str] + """Returns the response encoding. By default, is specified + by the response Content-Type header. + """ + + try: + return self._encoding + except AttributeError: + return self._get_charset_encoding() + + def _get_charset_encoding(self): + content_type = self.headers.get("Content-Type") + + if not content_type: + return None + _, params = cgi.parse_header(content_type) + encoding = params.get("charset") # -> utf-8 + if encoding is None or not _lookup_encoding(encoding): + return None + return encoding + + @encoding.setter + def encoding(self, value): + # type: (str) -> None + """Sets the response encoding""" + self._encoding = value + + @property + def text(self): + # type: (...) -> str + """Returns the response body as a string""" + _ = ( + self.content + ) # access content to make sure we trigger if response not fully read in + return self._internal_response.text(encoding=self.encoding) + + @property + def request(self): + # type: (...) -> HttpRequest + if self._request: + return self._request + raise RuntimeError( + "You are trying to access the 'request', but there is no request associated with this HttpResponse" + ) + + @request.setter + def request(self, val): + # type: (HttpRequest) -> None + self._request = val + + @property + def content_type(self): + # type: (...) -> Optional[str] + """Content Type of the response""" + return self._internal_response.content_type or self.headers.get("Content-Type") + + @property + def num_bytes_downloaded(self): + # type: (...) -> int + """See how many bytes of your stream response have been downloaded""" + return self._num_bytes_downloaded + + @property + def is_error(self): + # type: (...) -> bool + """See whether your HttpResponse is an error. + + Use .raise_for_status() if you want to raise if this response is an error. + """ + return self.status_code < 400 + + def json(self): + # type: (...) -> Any + """Returns the whole body as a json object. + + :return: The JSON deserialized response body + :rtype: any + :raises json.decoder.JSONDecodeError or ValueError (in python 2.7) if object is not JSON decodable: + """ + return json.loads(self.text) + + def raise_for_status(self): + # type: (...) -> None + """Raises an HttpResponseError if the response has an error status code. + + If response is good, does nothing. + """ + if self.status_code >= 400: + raise HttpResponseError(response=self) + + def __repr__(self): + # type: (...) -> str + content_type_str = ( + ", Content-Type: {}".format(self.content_type) if self.content_type else "" + ) + return "<{}: {} {}{}>".format( + type(self).__name__, self.status_code, self.reason, content_type_str + ) + + def _validate_streaming_access(self): + # type: (...) -> None + if self.is_closed: + raise ResponseClosedError() + if self.is_stream_consumed: + raise StreamConsumedError() + + +class HttpResponse(_HttpResponseBase): + @property + def content(self): + # type: (...) -> bytes + try: + return self._content + except AttributeError: + raise ResponseNotReadError() + + def close(self): + # type: (...) -> None + self.is_closed = True + self._internal_response.internal_response.close() + + def __exit__(self, *args): + # type: (...) -> None + self._internal_response.internal_response.__exit__(*args) + + def read(self): + # type: (...) -> bytes + """ + Read the response's bytes. + + """ + try: + return self._content + except AttributeError: + self._validate_streaming_access() + self._content = ( # pylint: disable=attribute-defined-outside-init + self._internal_response.body() or b"".join(self.iter_raw()) + ) + self._close_stream() + return self._content + + def iter_bytes(self, chunk_size=None): + # type: (int) -> Iterator[bytes] + """Iterate over the bytes in the response stream""" + try: + chunk_size = len(self._content) if chunk_size is None else chunk_size + for i in range(0, len(self._content), chunk_size): + yield self._content[i : i + chunk_size] + + except AttributeError: + for raw_bytes in self.iter_raw(chunk_size=chunk_size): + yield raw_bytes + + def iter_text(self, chunk_size=None): + # type: (int) -> Iterator[str] + """Iterate over the response text""" + for byte in self.iter_bytes(chunk_size): + text = byte.decode(self.encoding or "utf-8") + yield text + + def iter_lines(self, chunk_size=None): + # type: (int) -> Iterator[str] + for text in self.iter_text(chunk_size): + lines = _parse_lines_from_text(text) + for line in lines: + yield line + + def _close_stream(self): + # type: (...) -> None + self.is_stream_consumed = True + self.close() + + def iter_raw(self, **_): + # type: (int) -> Iterator[bytes] + """Iterate over the raw response bytes""" + self._validate_streaming_access() + stream_download = self._internal_response.stream_download(None) + for raw_bytes in stream_download: + self._num_bytes_downloaded += len(raw_bytes) + yield raw_bytes + + self._close_stream() + + +########################### ERRORS SECTION ################################# + + +class StreamConsumedError(Exception): + def __init__(self): + message = ( + "You are attempting to read or stream content that has already been streamed. " + "You have likely already consumed this stream, so it can not be accessed anymore." + ) + super(StreamConsumedError, self).__init__(message) + + +class ResponseClosedError(Exception): + def __init__(self): + message = ( + "You can not try to read or stream this response's content, since the " + "response has been closed." + ) + super(ResponseClosedError, self).__init__(message) + + +class ResponseNotReadError(Exception): + def __init__(self): + message = ( + "You have not read in the response's bytes yet. Call response.read() first." + ) + super(ResponseNotReadError, self).__init__(message) diff --git a/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/core/rest/_rest_py3.py b/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/core/rest/_rest_py3.py new file mode 100644 index 000000000000..ed2908d69484 --- /dev/null +++ b/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/core/rest/_rest_py3.py @@ -0,0 +1,739 @@ +# -------------------------------------------------------------------------- +# +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. +# +# -------------------------------------------------------------------------- + +# pylint currently complains about typing.Union not being subscriptable +# pylint: disable=unsubscriptable-object + + +import asyncio +import codecs +import json +from enum import Enum +import xml.etree.ElementTree as ET +from typing import ( + Any, + AsyncIterable, + IO, + Iterable, + Iterator, + Optional, + Union, + Mapping, + Sequence, + Tuple, + List, +) +from abc import abstractmethod + +import cgi + +from azure.core.exceptions import HttpResponseError +from azure.core.pipeline.transport import ( + HttpRequest as _PipelineTransportHttpRequest, +) + +from azure.core.pipeline.transport._base import ( + _HttpResponseBase as _PipelineTransportHttpResponseBase, +) + +from azure.core._pipeline_client import PipelineClient as _PipelineClient +from azure.core._pipeline_client_async import ( + AsyncPipelineClient as _AsyncPipelineClient, +) + +################################### TYPES SECTION ######################### + +ByteStream = Union[Iterable[bytes], AsyncIterable[bytes]] +PrimitiveData = Optional[Union[str, int, float, bool]] + + +ParamsType = Union[ + Mapping[str, Union[PrimitiveData, Sequence[PrimitiveData]]], + List[Tuple[str, PrimitiveData]], +] + +HeadersType = Union[Mapping[str, str], Sequence[Tuple[str, str]]] + +ContentType = Union[str, bytes, ByteStream] + +FileContent = Union[str, bytes, IO[str], IO[bytes]] +FileType = Union[ + Tuple[Optional[str], FileContent], +] + +FilesType = Union[Mapping[str, FileType], Sequence[Tuple[str, FileType]]] + + + +class HttpVerbs(str, Enum): + GET = "GET" + PUT = "PUT" + POST = "POST" + HEAD = "HEAD" + PATCH = "PATCH" + DELETE = "DELETE" + MERGE = "MERGE" + + +########################### UTILS SECTION ################################# + + +def _is_stream_or_str_bytes(content: Any) -> bool: + return isinstance(content, (str, bytes)) or any( + hasattr(content, attr) for attr in ["read", "__iter__", "__aiter__"] + ) + + +def _lookup_encoding(encoding: str) -> bool: + # including check for whether encoding is known taken from httpx + try: + codecs.lookup(encoding) + return True + except LookupError: + return False + + +def _set_content_length_header( + header_name: str, header_value: str, internal_request: _PipelineTransportHttpRequest +) -> None: + valid_methods = ["put", "post", "patch"] + content_length_headers = ["Content-Length", "Transfer-Encoding"] + if internal_request.method.lower() in valid_methods and not any( + [c for c in content_length_headers if c in internal_request.headers] + ): + internal_request.headers[header_name] = header_value + + +def _set_content_type_header( + header_value: str, internal_request: _PipelineTransportHttpRequest +) -> None: + if not internal_request.headers.get("Content-Type"): + internal_request.headers["Content-Type"] = header_value + + +def _set_content_body( + content: ContentType, internal_request: _PipelineTransportHttpRequest +) -> None: + headers = internal_request.headers + content_type = headers.get("Content-Type") + if _is_stream_or_str_bytes(content): + # stream will be bytes / str, or iterator of bytes / str + internal_request.set_streamed_data_body(content) + if isinstance(content, str) and content: + _set_content_length_header( + "Content-Length", str(len(internal_request.data)), internal_request + ) + _set_content_type_header("text/plain", internal_request) + elif isinstance(content, bytes) and content: + _set_content_length_header( + "Content-Length", str(len(internal_request.data)), internal_request + ) + _set_content_type_header("application/octet-stream", internal_request) + elif isinstance(content, (Iterable, AsyncIterable)): # pylint: disable=isinstance-second-argument-not-valid-type + # _set_content_length_header("Transfer-Encoding", "chunked", internal_request) + _set_content_type_header("application/octet-stream", internal_request) + elif isinstance(content, ET.Element): + # XML body + internal_request.set_xml_body(content) + _set_content_type_header("application/xml", internal_request) + _set_content_length_header( + "Content-Length", str(len(internal_request.data)), internal_request + ) + elif content_type and content_type.startswith("text/"): + # Text body + internal_request.set_text_body(content) + _set_content_length_header( + "Content-Length", str(len(internal_request.data)), internal_request + ) + else: + # Other body + internal_request.data = content + internal_request.headers = headers + + +def _set_body( + content: ContentType, + data: dict, + files: Any, + json_body: Any, + internal_request: _PipelineTransportHttpRequest, +) -> None: + if data is not None and not isinstance(data, dict): + content = data + data = None + if content is not None: + _set_content_body(content, internal_request) + elif json_body is not None: + internal_request.set_json_body(json_body) + _set_content_type_header("application/json", internal_request) + elif files is not None: + internal_request.set_formdata_body(files) + # if you don't supply your content type, we'll create a boundary for you with multipart/form-data + # boundary = binascii.hexlify(os.urandom(16)).decode( + # "ascii" + #) # got logic from httpx, thanks httpx! + # _set_content_type_header("multipart/form-data; boundary={}".format(boundary), internal_request) + elif data: + _set_content_type_header("application/x-www-form-urlencoded", internal_request) + internal_request.set_formdata_body(data) + # need to set twice because Content-Type is being popped in set_formdata_body + # don't want to risk changing pipeline.transport, so doing twice here + _set_content_type_header("application/x-www-form-urlencoded", internal_request) + + +def _parse_lines_from_text(text): + # largely taken from httpx's LineDecoder code + lines = [] + last_chunk_of_text = "" + while text: + text_length = len(text) + for idx in range(text_length): + curr_char = text[idx] + next_char = None if idx == len(text) - 1 else text[idx + 1] + if curr_char == "\n": + lines.append(text[: idx + 1]) + text = text[idx + 1 :] + break + if curr_char == "\r" and next_char == "\n": + # if it ends with \r\n, we only do \n + lines.append(text[:idx] + "\n") + text = text[idx + 2 :] + break + if curr_char == "\r" and next_char is not None: + # if it's \r then a normal character, we switch \r to \n + lines.append(text[:idx] + "\n") + text = text[idx + 1 :] + break + if next_char is None: + text = "" + last_chunk_of_text += text + break + if last_chunk_of_text.endswith("\r"): + # if ends with \r, we switch \r to \n + lines.append(last_chunk_of_text[:-1] + "\n") + elif last_chunk_of_text: + lines.append(last_chunk_of_text) + return lines + + +class _StreamContextManagerBase: + def __init__( + self, + client: Union[_PipelineClient, _AsyncPipelineClient], + request: "HttpRequest", + **kwargs + ): + """Used so we can treat stream requests and responses as a context manager. + + In Autorest, we only return a `StreamContextManager` if users pass in `stream_response` True + + Actually sends request when we enter the context manager, closes response when we exit. + + Heavily inspired from httpx, we want the same behavior for it to feel consistent for users + """ + self.client = client + self.request = request + self.kwargs = kwargs + + @abstractmethod + def close(self): + ... + + +class _StreamContextManager(_StreamContextManagerBase): + def __enter__(self) -> "HttpResponse": + """Actually make the call only when we enter. For sync stream_response calls""" + pipeline_transport_response = self.client._pipeline.run( + self.request._internal_request, stream=True, **self.kwargs + ).http_response + self.response = HttpResponse( # pylint: disable=attribute-defined-outside-init + request=self.request, _internal_response=pipeline_transport_response + ) + return self.response + + def __exit__(self, *args): + """Close our stream connection. For sync calls""" + self.response.__exit__(*args) + + def close(self): + self.response.close() + + +class _AsyncStreamContextManager(_StreamContextManagerBase): + async def __aenter__(self) -> "AsyncHttpResponse": + """Actually make the call only when we enter. For async stream_response calls.""" + if not isinstance(self.client, _AsyncPipelineClient): + raise TypeError( + "Only sync calls should enter here. If you mean to do a sync call, " + "make sure to use 'with' instead." + ) + pipeline_transport_response = ( + await self.client._pipeline.run( + self.request._internal_request, stream=True, **self.kwargs + ) + ).http_response + self.response = AsyncHttpResponse( # pylint: disable=attribute-defined-outside-init + request=self.request, _internal_response=pipeline_transport_response + ) + return self.response + + async def __aexit__(self, *args): + await self.response.__aexit__(*args) + + async def close(self): # pylint: disable=invalid-overridden-method + await self.response.close() + + +################################## CLASSES ###################################### + + +class HttpRequest: + """Represents an HTTP request. + + :param method: HTTP method (GET, HEAD, etc.) + :type method: str or ~azure.core.protocol.HttpVerbs + :param str url: The url for your request + :keyword params: Query parameters to be mapped into your URL. Your input + should be a mapping or sequence of query name to query value(s). + :paramtype params: mapping or sequence + :keyword headers: HTTP headers you want in your request. Your input should + be a mapping or sequence of header name to header value. + :paramtype headers: mapping or sequence + :keyword any json: A JSON serializable object. We handle JSON-serialization for your + object, so use this for more complicated data structures than `data`. + :keyword content: Content you want in your request body. Think of it as the kwarg you should input + if your data doesn't fit into `json`, `data`, or `files`. Accepts a bytes type, or a generator + that yields bytes. + :paramtype content: str or bytes or iterable[bytes] or asynciterable[bytes] + :keyword dict data: Form data you want in your request body. Use for form-encoded data, i.e. + HTML forms. + :keyword files: Files you want to in your request body. Use for uploading files with + multipart encoding. Your input should be a mapping or sequence of file name to file content. + Use the `data` kwarg in addition if you want to include non-file data files as part of your request. + :paramtype files: mapping or sequence + :ivar str url: The URL this request is against. + :ivar str method: The method type of this request. + :ivar headers: The HTTP headers you passed in to your request + :vartype headers: mapping or sequence + :ivar bytes content: The content passed in for the request + """ + + def __init__( + self, + method: str, + url: str, + *, + params: Optional[ParamsType] = None, + headers: Optional[HeadersType] = None, + json: Any = None, # pylint: disable=redefined-outer-name + content: Optional[ContentType] = None, + data: Optional[dict] = None, + files: Optional[FilesType] = None, + **kwargs + ): + # type: (str, str, Any) -> None + + self._internal_request = kwargs.pop( + "_internal_request", + _PipelineTransportHttpRequest( + method=method, + url=url, + headers=headers, + ), + ) + + if params: + self._internal_request.format_parameters(params) + + _set_body( + content=content, + data=data, + files=files, + json_body=json, + internal_request=self._internal_request, + ) + + if kwargs: + raise TypeError( + "You have passed in kwargs '{}' that are not valid kwargs.".format( + "', '".join(list(kwargs.keys())) + ) + ) + + def _set_content_length_header(self) -> None: + method_check = self._internal_request.method.lower() in ["put", "post", "patch"] + content_length_unset = "Content-Length" not in self._internal_request.headers + if method_check and content_length_unset: + self._internal_request.headers["Content-Length"] = str( + len(self._internal_request.data) + ) + + @property + def url(self) -> str: + return self._internal_request.url + + @url.setter + def url(self, val: str) -> None: + self._internal_request.url = val + + @property + def method(self) -> str: + return self._internal_request.method + + @property + def headers(self) -> HeadersType: + return self._internal_request.headers + + @property + def content(self) -> Any: + """Gets the request content.""" + return self._internal_request.data or self._internal_request.files + + def __repr__(self) -> str: + return self._internal_request.__repr__() + + def __deepcopy__(self, memo=None) -> "HttpRequest": + return HttpRequest( + self.method, + self.url, + _internal_request=self._internal_request.__deepcopy__(memo), + ) + + +class _HttpResponseBase: + """Base class for HttpResponse and AsyncHttpResponse. + + :keyword request: The request that resulted in this response. + :paramtype request: ~azure.core.rest.HttpRequest + :ivar int status_code: The status code of this response + :ivar headers: The response headers + :vartype headers: dict[str, any] + :ivar str reason: The reason phrase for this response + :ivar bytes content: The response content in bytes + :ivar str url: The URL that resulted in this response + :ivar str encoding: The response encoding. Is settable, by default + is the response Content-Type header + :ivar str text: The response body as a string. + :ivar request: The request that resulted in this response. + :vartype request: ~azure.core.rest.HttpRequest + :ivar str content_type: The content type of the response + :ivar bool is_closed: Whether the network connection has been closed yet + :ivar bool is_stream_consumed: When getting a stream response, checks + whether the stream has been fully consumed + :ivar int num_bytes_downloaded: The number of bytes in your stream that + have been downloaded + """ + + def __init__(self, *, request: HttpRequest, **kwargs): + self._internal_response = kwargs.pop( + "_internal_response" + ) # type: _PipelineTransportHttpResponseBase + self._request = request + self.is_closed = False + self.is_stream_consumed = False + self._num_bytes_downloaded = 0 + + @property + def status_code(self) -> int: + """Returns the status code of the response""" + return self._internal_response.status_code + + @status_code.setter + def status_code(self, val: int) -> None: + """Set the status code of the response""" + self._internal_response.status_code = val + + @property + def headers(self) -> HeadersType: + """Returns the response headers""" + return self._internal_response.headers + + @property + def reason(self) -> str: + """Returns the reason phrase for the response""" + return self._internal_response.reason + + @property + def content(self) -> bytes: + """Returns the response content in bytes""" + raise NotImplementedError() + + @property + def url(self) -> str: + """Returns the URL that resulted in this response""" + return self._internal_response.request.url + + @property + def encoding(self) -> str: + """Returns the response encoding. By default, is specified + by the response Content-Type header. + """ + + try: + return self._encoding + except AttributeError: + return self._get_charset_encoding() + + def _get_charset_encoding(self) -> str: + content_type = self.headers.get("Content-Type") + + if not content_type: + return None + _, params = cgi.parse_header(content_type) + encoding = params.get("charset") # -> utf-8 + if encoding is None or not _lookup_encoding(encoding): + return None + return encoding + + @encoding.setter + def encoding(self, value: str) -> None: + # type: (str) -> None + """Sets the response encoding""" + self._encoding = value + + @property + def text(self) -> str: + """Returns the response body as a string""" + _ = self.content # access content to make sure we trigger if response not fully read in + return self._internal_response.text(encoding=self.encoding) + + @property + def request(self) -> HttpRequest: + if self._request: + return self._request + raise RuntimeError( + "You are trying to access the 'request', but there is no request associated with this HttpResponse" + ) + + @request.setter + def request(self, val: HttpRequest) -> None: + self._request = val + + @property + def content_type(self) -> Optional[str]: + """Content Type of the response""" + return self._internal_response.content_type or self.headers.get("Content-Type") + + @property + def num_bytes_downloaded(self) -> int: + """See how many bytes of your stream response have been downloaded""" + return self._num_bytes_downloaded + + def json(self) -> Any: + """Returns the whole body as a json object. + + :return: The JSON deserialized response body + :rtype: any + :raises json.decoder.JSONDecodeError or ValueError (in python 2.7) if object is not JSON decodable: + """ + return json.loads(self.text) + + def raise_for_status(self) -> None: + """Raises an HttpResponseError if the response has an error status code. + + If response is good, does nothing. + """ + if self.status_code >= 400: + raise HttpResponseError(response=self) + + def __repr__(self) -> str: + content_type_str = ( + ", Content-Type: {}".format(self.content_type) if self.content_type else "" + ) + return "<{}: {} {}{}>".format( + type(self).__name__, self.status_code, self.reason, content_type_str + ) + + def _validate_streaming_access(self) -> None: + if self.is_closed: + raise ResponseClosedError() + if self.is_stream_consumed: + raise StreamConsumedError() + + +class HttpResponse(_HttpResponseBase): + @property + def content(self): + # type: (...) -> bytes + try: + return self._content + except AttributeError: + raise ResponseNotReadError() + + def close(self) -> None: + self.is_closed = True + self._internal_response.internal_response.close() + + def __exit__(self, *args) -> None: + self._internal_response.internal_response.__exit__(*args) + + def read(self) -> bytes: + """ + Read the response's bytes. + + """ + try: + return self._content + except AttributeError: + self._validate_streaming_access() + self._content = (self._internal_response.body() or # pylint: disable=attribute-defined-outside-init + b"".join(self.iter_raw())) + self._close_stream() + return self._content + + def iter_bytes(self, chunk_size: int = None) -> Iterator[bytes]: + """Iterate over the bytes in the response stream""" + try: + chunk_size = len(self._content) if chunk_size is None else chunk_size + for i in range(0, len(self._content), chunk_size): + yield self._content[i : i + chunk_size] + + except AttributeError: + for raw_bytes in self.iter_raw(chunk_size=chunk_size): + yield raw_bytes + + def iter_text(self, chunk_size: int = None) -> Iterator[str]: + """Iterate over the response text""" + for byte in self.iter_bytes(chunk_size): + text = byte.decode(self.encoding or "utf-8") + yield text + + def iter_lines(self, chunk_size: int = None) -> Iterator[str]: + for text in self.iter_text(chunk_size): + lines = _parse_lines_from_text(text) + for line in lines: + yield line + + def _close_stream(self) -> None: + self.is_stream_consumed = True + self.close() + + def iter_raw(self, **_) -> Iterator[bytes]: + """Iterate over the raw response bytes""" + self._validate_streaming_access() + stream_download = self._internal_response.stream_download(None) + for raw_bytes in stream_download: + self._num_bytes_downloaded += len(raw_bytes) + yield raw_bytes + + self._close_stream() + + +class AsyncHttpResponse(_HttpResponseBase): + @property + def content(self) -> bytes: + try: + return self._content + except AttributeError: + raise ResponseNotReadError() + + async def _close_stream(self) -> None: + self.is_stream_consumed = True + await self.close() + + async def read(self) -> bytes: + """ + Read the response's bytes. + + """ + try: + return self._content + except AttributeError: + self._validate_streaming_access() + await self._internal_response.load_body() + self._content = self._internal_response._body # pylint: disable=protected-access,attribute-defined-outside-init + await self._close_stream() + return self._content + + async def iter_bytes(self, chunk_size: int = None) -> Iterator[bytes]: + """Iterate over the bytes in the response stream""" + try: + chunk_size = len(self._content) if chunk_size is None else chunk_size + for i in range(0, len(self._content), chunk_size): + yield self._content[i : i + chunk_size] + + except AttributeError: + async for raw_bytes in self.iter_raw(chunk_size=chunk_size): + yield raw_bytes + + async def iter_text(self, chunk_size: int = None) -> Iterator[str]: + """Iterate over the response text""" + async for byte in self.iter_bytes(chunk_size): + text = byte.decode(self.encoding or "utf-8") + yield text + + async def iter_lines(self, chunk_size: int = None) -> Iterator[str]: + async for text in self.iter_text(chunk_size): + lines = _parse_lines_from_text(text) + for line in lines: + yield line + + async def iter_raw(self, **_) -> Iterator[bytes]: + """Iterate over the raw response bytes""" + self._validate_streaming_access() + stream_download = self._internal_response.stream_download(None) + async for raw_bytes in stream_download: + self._num_bytes_downloaded += len(raw_bytes) + yield raw_bytes + + await self._close_stream() + + async def close(self) -> None: + self.is_closed = True + self._internal_response.internal_response.close() + await asyncio.sleep(0) + + async def __aexit__(self, *args) -> None: + await self._internal_response.internal_response.__aexit__(*args) + + +########################### ERRORS SECTION ################################# + + +class StreamConsumedError(Exception): + def __init__(self) -> None: + message = ( + "You are attempting to read or stream content that has already been streamed. " + "You have likely already consumed this stream, so it can not be accessed anymore." + ) + super().__init__(message) + + +class ResponseClosedError(Exception): + def __init__(self) -> None: + message = ( + "You can not try to read or stream this response's content, since the " + "response has been closed." + ) + super().__init__(message) + + +class ResponseNotReadError(Exception): + def __init__(self) -> None: + message = ( + "You have not read in the response's bytes yet. Call response.read() first." + ) + super().__init__(message) diff --git a/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/rest.py b/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/rest.py new file mode 100644 index 000000000000..9d57abd5a1c0 --- /dev/null +++ b/sdk/signalr/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/rest.py @@ -0,0 +1,942 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +# pylint: disable=line-too-long + +__all__ = [ + 'build_add_connection_to_group_request', + 'build_add_user_to_group_request', + 'build_connection_exists_request', + 'build_group_exists_request', + 'build_check_permission_request', + 'build_user_exists_request', + 'build_close_client_connection_request', + 'build_grant_permission_request', + 'build_healthapi_get_health_status_request', + 'build_remove_connection_from_group_request', + 'build_remove_user_from_all_groups_request', + 'build_remove_user_from_group_request', + 'build_revoke_permission_request', + 'build_send_to_all_request', + 'build_send_to_connection_request', + 'build_send_to_group_request', + 'build_send_to_user_request' +] +from typing import TYPE_CHECKING +from msrest import Serializer +from azure.core.pipeline.transport._base import _format_url_section +from azure.messaging.webpubsubservice.core.rest import HttpRequest + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, IO, List, Optional, Union, Dict + from typing_extensions import Literal + Permissions = Union[Literal['joinLeaveGroup'], Literal['sendToGroup']] # pylint: disable=unsubscriptable-object + +_SERIALIZER = Serializer() + + +def build_healthapi_get_health_status_request( + **kwargs # type: Any +): + # type: (...) -> HttpRequest + """Get service health status. + + Get service health status. + + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this request builder into your code flow. + + :keyword api_version: Api Version. + :paramtype api_version: str + :return: Returns an :class:`~azure.messaging.webpubsubservice.core.rest.HttpRequest` that you will pass to the client's `send_request` method. + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this response into your code flow. + :rtype: ~azure.messaging.webpubsubservice.core.rest.HttpRequest + """ + api_version = kwargs.pop('api_version', "2021-05-01-preview") # type: Optional[str] + + # Construct URL + url = kwargs.pop("template_url", '/api/health') + + # Construct parameters + query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + if api_version is not None: + query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + return HttpRequest( + method="HEAD", + url=url, + params=query_parameters, + **kwargs + ) + + +def build_send_to_all_request( + hub, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + """Broadcast content inside request body to all the connected client connections. + + Broadcast content inside request body to all the connected client connections. + + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this request builder into your code flow. + + :param hub: Target hub name, which should start with alphabetic characters and only contain + alpha-numeric characters or underscore. + :type hub: str + :keyword json: The payload body. + :paramtype json: Any + :keyword content: The payload body. + :paramtype content: IO + :keyword excluded: Excluded connection Ids. + :paramtype excluded: list[str] + :keyword api_version: Api Version. + :paramtype api_version: str + :return: Returns an :class:`~azure.messaging.webpubsubservice.core.rest.HttpRequest` that you will pass to the client's `send_request` method. + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this response into your code flow. + :rtype: ~azure.messaging.webpubsubservice.core.rest.HttpRequest + + Example: + .. code-block:: python + + # JSON input template you can fill out and use as your `json` input. + json = "Any (optional)" + """ + excluded = kwargs.pop('excluded', None) # type: Optional[List[str]] + api_version = kwargs.pop('api_version', "2021-05-01-preview") # type: Optional[str] + content_type = kwargs.pop("content_type", None) + + # Construct URL + url = kwargs.pop("template_url", '/api/hubs/{hub}/:send') + path_format_arguments = { + 'hub': _SERIALIZER.url("hub", hub, 'str', pattern=r'^[A-Za-z][A-Za-z0-9_`,.[\]]{0,127}$'), + } + url = _format_url_section(url, **path_format_arguments) + + # Construct parameters + query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + if excluded is not None: + query_parameters['excluded'] = [_SERIALIZER.query("excluded", q, 'str') if q is not None else '' for q in excluded] + if api_version is not None: + query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + + return HttpRequest( + method="POST", + url=url, + params=query_parameters, + headers=header_parameters, + **kwargs + ) + + +def build_connection_exists_request( + hub, # type: str + connection_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + """Check if the connection with the given connectionId exists. + + Check if the connection with the given connectionId exists. + + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this request builder into your code flow. + + :param hub: Target hub name, which should start with alphabetic characters and only contain + alpha-numeric characters or underscore. + :type hub: str + :param connection_id: The connection Id. + :type connection_id: str + :keyword api_version: Api Version. + :paramtype api_version: str + :return: Returns an :class:`~azure.messaging.webpubsubservice.core.rest.HttpRequest` that you will pass to the client's `send_request` method. + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this response into your code flow. + :rtype: ~azure.messaging.webpubsubservice.core.rest.HttpRequest + """ + api_version = kwargs.pop('api_version', "2021-05-01-preview") # type: Optional[str] + + # Construct URL + url = kwargs.pop("template_url", '/api/hubs/{hub}/connections/{connectionId}') + path_format_arguments = { + 'hub': _SERIALIZER.url("hub", hub, 'str', pattern=r'^[A-Za-z][A-Za-z0-9_`,.[\]]{0,127}$'), + 'connectionId': _SERIALIZER.url("connection_id", connection_id, 'str', min_length=1), + } + url = _format_url_section(url, **path_format_arguments) + + # Construct parameters + query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + if api_version is not None: + query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + return HttpRequest( + method="HEAD", + url=url, + params=query_parameters, + **kwargs + ) + + +def build_close_client_connection_request( + hub, # type: str + connection_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + """Close the client connection. + + Close the client connection. + + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this request builder into your code flow. + + :param hub: Target hub name, which should start with alphabetic characters and only contain + alpha-numeric characters or underscore. + :type hub: str + :param connection_id: Target connection Id. + :type connection_id: str + :keyword reason: The reason closing the client connection. + :paramtype reason: str + :keyword api_version: Api Version. + :paramtype api_version: str + :return: Returns an :class:`~azure.messaging.webpubsubservice.core.rest.HttpRequest` that you will pass to the client's `send_request` method. + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this response into your code flow. + :rtype: ~azure.messaging.webpubsubservice.core.rest.HttpRequest + """ + reason = kwargs.pop('reason', None) # type: Optional[str] + api_version = kwargs.pop('api_version', "2021-05-01-preview") # type: Optional[str] + + # Construct URL + url = kwargs.pop("template_url", '/api/hubs/{hub}/connections/{connectionId}') + path_format_arguments = { + 'hub': _SERIALIZER.url("hub", hub, 'str', pattern=r'^[A-Za-z][A-Za-z0-9_`,.[\]]{0,127}$'), + 'connectionId': _SERIALIZER.url("connection_id", connection_id, 'str', min_length=1), + } + url = _format_url_section(url, **path_format_arguments) + + # Construct parameters + query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + if reason is not None: + query_parameters['reason'] = _SERIALIZER.query("reason", reason, 'str') + if api_version is not None: + query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + return HttpRequest( + method="DELETE", + url=url, + params=query_parameters, + **kwargs + ) + + +def build_send_to_connection_request( + hub, # type: str + connection_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + """Send content inside request body to the specific connection. + + Send content inside request body to the specific connection. + + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this request builder into your code flow. + + :param hub: Target hub name, which should start with alphabetic characters and only contain + alpha-numeric characters or underscore. + :type hub: str + :param connection_id: The connection Id. + :type connection_id: str + :keyword json: The payload body. + :paramtype json: Any + :keyword content: The payload body. + :paramtype content: IO + :keyword api_version: Api Version. + :paramtype api_version: str + :return: Returns an :class:`~azure.messaging.webpubsubservice.core.rest.HttpRequest` that you will pass to the client's `send_request` method. + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this response into your code flow. + :rtype: ~azure.messaging.webpubsubservice.core.rest.HttpRequest + + Example: + .. code-block:: python + + # JSON input template you can fill out and use as your `json` input. + json = "Any (optional)" + """ + api_version = kwargs.pop('api_version', "2021-05-01-preview") # type: Optional[str] + content_type = kwargs.pop("content_type", None) + + # Construct URL + url = kwargs.pop("template_url", '/api/hubs/{hub}/connections/{connectionId}/:send') + path_format_arguments = { + 'hub': _SERIALIZER.url("hub", hub, 'str', pattern=r'^[A-Za-z][A-Za-z0-9_`,.[\]]{0,127}$'), + 'connectionId': _SERIALIZER.url("connection_id", connection_id, 'str', min_length=1), + } + url = _format_url_section(url, **path_format_arguments) + + # Construct parameters + query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + if api_version is not None: + query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + + return HttpRequest( + method="POST", + url=url, + params=query_parameters, + headers=header_parameters, + **kwargs + ) + + +def build_group_exists_request( + hub, # type: str + group, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + """Check if there are any client connections inside the given group. + + Check if there are any client connections inside the given group. + + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this request builder into your code flow. + + :param hub: Target hub name, which should start with alphabetic characters and only contain + alpha-numeric characters or underscore. + :type hub: str + :param group: Target group name, which length should be greater than 0 and less than 1025. + :type group: str + :keyword api_version: Api Version. + :paramtype api_version: str + :return: Returns an :class:`~azure.messaging.webpubsubservice.core.rest.HttpRequest` that you will pass to the client's `send_request` method. + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this response into your code flow. + :rtype: ~azure.messaging.webpubsubservice.core.rest.HttpRequest + """ + api_version = kwargs.pop('api_version', "2021-05-01-preview") # type: Optional[str] + + # Construct URL + url = kwargs.pop("template_url", '/api/hubs/{hub}/groups/{group}') + path_format_arguments = { + 'hub': _SERIALIZER.url("hub", hub, 'str', pattern=r'^[A-Za-z][A-Za-z0-9_`,.[\]]{0,127}$'), + 'group': _SERIALIZER.url("group", group, 'str', max_length=1024, min_length=1), + } + url = _format_url_section(url, **path_format_arguments) + + # Construct parameters + query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + if api_version is not None: + query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + return HttpRequest( + method="HEAD", + url=url, + params=query_parameters, + **kwargs + ) + + +def build_send_to_group_request( + hub, # type: str + group, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + """Send content inside request body to a group of connections. + + Send content inside request body to a group of connections. + + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this request builder into your code flow. + + :param hub: Target hub name, which should start with alphabetic characters and only contain + alpha-numeric characters or underscore. + :type hub: str + :param group: Target group name, which length should be greater than 0 and less than 1025. + :type group: str + :keyword json: The payload body. + :paramtype json: Any + :keyword content: The payload body. + :paramtype content: IO + :keyword excluded: Excluded connection Ids. + :paramtype excluded: list[str] + :keyword api_version: Api Version. + :paramtype api_version: str + :return: Returns an :class:`~azure.messaging.webpubsubservice.core.rest.HttpRequest` that you will pass to the client's `send_request` method. + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this response into your code flow. + :rtype: ~azure.messaging.webpubsubservice.core.rest.HttpRequest + + Example: + .. code-block:: python + + # JSON input template you can fill out and use as your `json` input. + json = "Any (optional)" + """ + excluded = kwargs.pop('excluded', None) # type: Optional[List[str]] + api_version = kwargs.pop('api_version', "2021-05-01-preview") # type: Optional[str] + content_type = kwargs.pop("content_type", None) + + # Construct URL + url = kwargs.pop("template_url", '/api/hubs/{hub}/groups/{group}/:send') + path_format_arguments = { + 'hub': _SERIALIZER.url("hub", hub, 'str', pattern=r'^[A-Za-z][A-Za-z0-9_`,.[\]]{0,127}$'), + 'group': _SERIALIZER.url("group", group, 'str', max_length=1024, min_length=1), + } + url = _format_url_section(url, **path_format_arguments) + + # Construct parameters + query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + if excluded is not None: + query_parameters['excluded'] = [_SERIALIZER.query("excluded", q, 'str') if q is not None else '' for q in excluded] + if api_version is not None: + query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + + return HttpRequest( + method="POST", + url=url, + params=query_parameters, + headers=header_parameters, + **kwargs + ) + + +def build_add_connection_to_group_request( + hub, # type: str + group, # type: str + connection_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + """Add a connection to the target group. + + Add a connection to the target group. + + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this request builder into your code flow. + + :param hub: Target hub name, which should start with alphabetic characters and only contain + alpha-numeric characters or underscore. + :type hub: str + :param group: Target group name, which length should be greater than 0 and less than 1025. + :type group: str + :param connection_id: Target connection Id. + :type connection_id: str + :keyword api_version: Api Version. + :paramtype api_version: str + :return: Returns an :class:`~azure.messaging.webpubsubservice.core.rest.HttpRequest` that you will pass to the client's `send_request` method. + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this response into your code flow. + :rtype: ~azure.messaging.webpubsubservice.core.rest.HttpRequest + """ + api_version = kwargs.pop('api_version', "2021-05-01-preview") # type: Optional[str] + + # Construct URL + url = kwargs.pop("template_url", '/api/hubs/{hub}/groups/{group}/connections/{connectionId}') + path_format_arguments = { + 'hub': _SERIALIZER.url("hub", hub, 'str', pattern=r'^[A-Za-z][A-Za-z0-9_`,.[\]]{0,127}$'), + 'group': _SERIALIZER.url("group", group, 'str', max_length=1024, min_length=1), + 'connectionId': _SERIALIZER.url("connection_id", connection_id, 'str', min_length=1), + } + url = _format_url_section(url, **path_format_arguments) + + # Construct parameters + query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + if api_version is not None: + query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + return HttpRequest( + method="PUT", + url=url, + params=query_parameters, + **kwargs + ) + + +def build_remove_connection_from_group_request( + hub, # type: str + group, # type: str + connection_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + """Remove a connection from the target group. + + Remove a connection from the target group. + + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this request builder into your code flow. + + :param hub: Target hub name, which should start with alphabetic characters and only contain + alpha-numeric characters or underscore. + :type hub: str + :param group: Target group name, which length should be greater than 0 and less than 1025. + :type group: str + :param connection_id: Target connection Id. + :type connection_id: str + :keyword api_version: Api Version. + :paramtype api_version: str + :return: Returns an :class:`~azure.messaging.webpubsubservice.core.rest.HttpRequest` that you will pass to the client's `send_request` method. + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this response into your code flow. + :rtype: ~azure.messaging.webpubsubservice.core.rest.HttpRequest + """ + api_version = kwargs.pop('api_version', "2021-05-01-preview") # type: Optional[str] + + # Construct URL + url = kwargs.pop("template_url", '/api/hubs/{hub}/groups/{group}/connections/{connectionId}') + path_format_arguments = { + 'hub': _SERIALIZER.url("hub", hub, 'str', pattern=r'^[A-Za-z][A-Za-z0-9_`,.[\]]{0,127}$'), + 'group': _SERIALIZER.url("group", group, 'str', max_length=1024, min_length=1), + 'connectionId': _SERIALIZER.url("connection_id", connection_id, 'str', min_length=1), + } + url = _format_url_section(url, **path_format_arguments) + + # Construct parameters + query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + if api_version is not None: + query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + return HttpRequest( + method="DELETE", + url=url, + params=query_parameters, + **kwargs + ) + + +def build_user_exists_request( + hub, # type: str + user_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + """Check if there are any client connections connected for the given user. + + Check if there are any client connections connected for the given user. + + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this request builder into your code flow. + + :param hub: Target hub name, which should start with alphabetic characters and only contain + alpha-numeric characters or underscore. + :type hub: str + :param user_id: Target user Id. + :type user_id: str + :keyword api_version: Api Version. + :paramtype api_version: str + :return: Returns an :class:`~azure.messaging.webpubsubservice.core.rest.HttpRequest` that you will pass to the client's `send_request` method. + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this response into your code flow. + :rtype: ~azure.messaging.webpubsubservice.core.rest.HttpRequest + """ + api_version = kwargs.pop('api_version', "2021-05-01-preview") # type: Optional[str] + + # Construct URL + url = kwargs.pop("template_url", '/api/hubs/{hub}/users/{userId}') + path_format_arguments = { + 'hub': _SERIALIZER.url("hub", hub, 'str', pattern=r'^[A-Za-z][A-Za-z0-9_`,.[\]]{0,127}$'), + 'userId': _SERIALIZER.url("user_id", user_id, 'str', min_length=1), + } + url = _format_url_section(url, **path_format_arguments) + + # Construct parameters + query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + if api_version is not None: + query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + return HttpRequest( + method="HEAD", + url=url, + params=query_parameters, + **kwargs + ) + + +def build_send_to_user_request( + hub, # type: str + user_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + """Send content inside request body to the specific user. + + Send content inside request body to the specific user. + + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this request builder into your code flow. + + :param hub: Target hub name, which should start with alphabetic characters and only contain + alpha-numeric characters or underscore. + :type hub: str + :param user_id: The user Id. + :type user_id: str + :keyword json: The payload body. + :paramtype json: Any + :keyword content: The payload body. + :paramtype content: IO + :keyword api_version: Api Version. + :paramtype api_version: str + :return: Returns an :class:`~azure.messaging.webpubsubservice.core.rest.HttpRequest` that you will pass to the client's `send_request` method. + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this response into your code flow. + :rtype: ~azure.messaging.webpubsubservice.core.rest.HttpRequest + + Example: + .. code-block:: python + + # JSON input template you can fill out and use as your `json` input. + json = "Any (optional)" + """ + api_version = kwargs.pop('api_version', "2021-05-01-preview") # type: Optional[str] + content_type = kwargs.pop("content_type", None) + + # Construct URL + url = kwargs.pop("template_url", '/api/hubs/{hub}/users/{userId}/:send') + path_format_arguments = { + 'hub': _SERIALIZER.url("hub", hub, 'str', pattern=r'^[A-Za-z][A-Za-z0-9_`,.[\]]{0,127}$'), + 'userId': _SERIALIZER.url("user_id", user_id, 'str', min_length=1), + } + url = _format_url_section(url, **path_format_arguments) + + # Construct parameters + query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + if api_version is not None: + query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + + return HttpRequest( + method="POST", + url=url, + params=query_parameters, + headers=header_parameters, + **kwargs + ) + + +def build_add_user_to_group_request( + hub, # type: str + group, # type: str + user_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + """Add a user to the target group. + + Add a user to the target group. + + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this request builder into your code flow. + + :param hub: Target hub name, which should start with alphabetic characters and only contain + alpha-numeric characters or underscore. + :type hub: str + :param group: Target group name, which length should be greater than 0 and less than 1025. + :type group: str + :param user_id: Target user Id. + :type user_id: str + :keyword api_version: Api Version. + :paramtype api_version: str + :return: Returns an :class:`~azure.messaging.webpubsubservice.core.rest.HttpRequest` that you will pass to the client's `send_request` method. + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this response into your code flow. + :rtype: ~azure.messaging.webpubsubservice.core.rest.HttpRequest + """ + api_version = kwargs.pop('api_version', "2021-05-01-preview") # type: Optional[str] + + # Construct URL + url = kwargs.pop("template_url", '/api/hubs/{hub}/users/{userId}/groups/{group}') + path_format_arguments = { + 'hub': _SERIALIZER.url("hub", hub, 'str', pattern=r'^[A-Za-z][A-Za-z0-9_`,.[\]]{0,127}$'), + 'group': _SERIALIZER.url("group", group, 'str', max_length=1024, min_length=1), + 'userId': _SERIALIZER.url("user_id", user_id, 'str', min_length=1), + } + url = _format_url_section(url, **path_format_arguments) + + # Construct parameters + query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + if api_version is not None: + query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + return HttpRequest( + method="PUT", + url=url, + params=query_parameters, + **kwargs + ) + + +def build_remove_user_from_group_request( + hub, # type: str + group, # type: str + user_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + """Remove a user from the target group. + + Remove a user from the target group. + + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this request builder into your code flow. + + :param hub: Target hub name, which should start with alphabetic characters and only contain + alpha-numeric characters or underscore. + :type hub: str + :param group: Target group name, which length should be greater than 0 and less than 1025. + :type group: str + :param user_id: Target user Id. + :type user_id: str + :keyword api_version: Api Version. + :paramtype api_version: str + :return: Returns an :class:`~azure.messaging.webpubsubservice.core.rest.HttpRequest` that you will pass to the client's `send_request` method. + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this response into your code flow. + :rtype: ~azure.messaging.webpubsubservice.core.rest.HttpRequest + """ + api_version = kwargs.pop('api_version', "2021-05-01-preview") # type: Optional[str] + + # Construct URL + url = kwargs.pop("template_url", '/api/hubs/{hub}/users/{userId}/groups/{group}') + path_format_arguments = { + 'hub': _SERIALIZER.url("hub", hub, 'str', pattern=r'^[A-Za-z][A-Za-z0-9_`,.[\]]{0,127}$'), + 'group': _SERIALIZER.url("group", group, 'str', max_length=1024, min_length=1), + 'userId': _SERIALIZER.url("user_id", user_id, 'str', min_length=1), + } + url = _format_url_section(url, **path_format_arguments) + + # Construct parameters + query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + if api_version is not None: + query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + return HttpRequest( + method="DELETE", + url=url, + params=query_parameters, + **kwargs + ) + + +def build_remove_user_from_all_groups_request( + hub, # type: str + user_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + """Remove a user from all groups. + + Remove a user from all groups. + + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this request builder into your code flow. + + :param hub: Target hub name, which should start with alphabetic characters and only contain + alpha-numeric characters or underscore. + :type hub: str + :param user_id: Target user Id. + :type user_id: str + :keyword api_version: Api Version. + :paramtype api_version: str + :return: Returns an :class:`~azure.messaging.webpubsubservice.core.rest.HttpRequest` that you will pass to the client's `send_request` method. + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this response into your code flow. + :rtype: ~azure.messaging.webpubsubservice.core.rest.HttpRequest + """ + api_version = kwargs.pop('api_version', "2021-05-01-preview") # type: Optional[str] + + # Construct URL + url = kwargs.pop("template_url", '/api/hubs/{hub}/users/{userId}/groups') + path_format_arguments = { + 'hub': _SERIALIZER.url("hub", hub, 'str', pattern=r'^[A-Za-z][A-Za-z0-9_`,.[\]]{0,127}$'), + 'userId': _SERIALIZER.url("user_id", user_id, 'str', min_length=1), + } + url = _format_url_section(url, **path_format_arguments) + + # Construct parameters + query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + if api_version is not None: + query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + return HttpRequest( + method="DELETE", + url=url, + params=query_parameters, + **kwargs + ) + + +def build_grant_permission_request( + hub, # type: str + permission, # type: Permissions + connection_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + """Grant permission to the connection. + + Grant permission to the connection. + + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this request builder into your code flow. + + :param hub: Target hub name, which should start with alphabetic characters and only contain + alpha-numeric characters or underscore. + :type hub: str + :param permission: The permission: current supported actions are joinLeaveGroup and + sendToGroup. + :type permission: str or ~Permissions + :param connection_id: Target connection Id. + :type connection_id: str + :keyword target_name: Optional. If not set, grant the permission to all the targets. If set, + grant the permission to the specific target. The meaning of the target depends on the specific + permission. + :paramtype target_name: str + :keyword api_version: Api Version. + :paramtype api_version: str + :return: Returns an :class:`~azure.messaging.webpubsubservice.core.rest.HttpRequest` that you will pass to the client's `send_request` method. + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this response into your code flow. + :rtype: ~azure.messaging.webpubsubservice.core.rest.HttpRequest + """ + target_name = kwargs.pop('target_name', None) # type: Optional[str] + api_version = kwargs.pop('api_version', "2021-05-01-preview") # type: Optional[str] + + # Construct URL + url = kwargs.pop("template_url", '/api/hubs/{hub}/permissions/{permission}/connections/{connectionId}') + path_format_arguments = { + 'hub': _SERIALIZER.url("hub", hub, 'str', pattern=r'^[A-Za-z][A-Za-z0-9_`,.[\]]{0,127}$'), + 'permission': _SERIALIZER.url("permission", permission, 'str'), + 'connectionId': _SERIALIZER.url("connection_id", connection_id, 'str', min_length=1), + } + url = _format_url_section(url, **path_format_arguments) + + # Construct parameters + query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + if target_name is not None: + query_parameters['targetName'] = _SERIALIZER.query("target_name", target_name, 'str') + if api_version is not None: + query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + return HttpRequest( + method="PUT", + url=url, + params=query_parameters, + **kwargs + ) + + +def build_revoke_permission_request( + hub, # type: str + permission, # type: Permissions + connection_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + """Revoke permission for the connection. + + Revoke permission for the connection. + + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this request builder into your code flow. + + :param hub: Target hub name, which should start with alphabetic characters and only contain + alpha-numeric characters or underscore. + :type hub: str + :param permission: The permission: current supported actions are joinLeaveGroup and + sendToGroup. + :type permission: str or ~Permissions + :param connection_id: Target connection Id. + :type connection_id: str + :keyword target_name: Optional. If not set, revoke the permission for all targets. If set, + revoke the permission for the specific target. The meaning of the target depends on the + specific permission. + :paramtype target_name: str + :keyword api_version: Api Version. + :paramtype api_version: str + :return: Returns an :class:`~azure.messaging.webpubsubservice.core.rest.HttpRequest` that you will pass to the client's `send_request` method. + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this response into your code flow. + :rtype: ~azure.messaging.webpubsubservice.core.rest.HttpRequest + """ + target_name = kwargs.pop('target_name', None) # type: Optional[str] + api_version = kwargs.pop('api_version', "2021-05-01-preview") # type: Optional[str] + + # Construct URL + url = kwargs.pop("template_url", '/api/hubs/{hub}/permissions/{permission}/connections/{connectionId}') + path_format_arguments = { + 'hub': _SERIALIZER.url("hub", hub, 'str', pattern=r'^[A-Za-z][A-Za-z0-9_`,.[\]]{0,127}$'), + 'permission': _SERIALIZER.url("permission", permission, 'str'), + 'connectionId': _SERIALIZER.url("connection_id", connection_id, 'str', min_length=1), + } + url = _format_url_section(url, **path_format_arguments) + + # Construct parameters + query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + if target_name is not None: + query_parameters['targetName'] = _SERIALIZER.query("target_name", target_name, 'str') + if api_version is not None: + query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + return HttpRequest( + method="DELETE", + url=url, + params=query_parameters, + **kwargs + ) + + +def build_check_permission_request( + hub, # type: str + permission, # type: Permissions + connection_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + """Check if a connection has permission to the specified action. + + Check if a connection has permission to the specified action. + + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this request builder into your code flow. + + :param hub: Target hub name, which should start with alphabetic characters and only contain + alpha-numeric characters or underscore. + :type hub: str + :param permission: The permission: current supported actions are joinLeaveGroup and + sendToGroup. + :type permission: ~Permissions + :param connection_id: Target connection Id. + :type connection_id: str + :keyword target_name: Optional. If not set, get the permission for all targets. If set, get the + permission for the specific target. The meaning of the target depends on the specific + permission. + :paramtype target_name: str + :keyword api_version: Api Version. + :paramtype api_version: str + :return: Returns an :class:`~azure.messaging.webpubsubservice.core.rest.HttpRequest` that you will pass to the client's `send_request` method. + See https://aka.ms/azsdk/python/llcwiki for how to incorporate this response into your code flow. + :rtype: ~azure.messaging.webpubsubservice.core.rest.HttpRequest + """ + target_name = kwargs.pop('target_name', None) # type: Optional[str] + api_version = kwargs.pop('api_version', "2021-05-01-preview") # type: Optional[str] + + # Construct URL + url = kwargs.pop("template_url", '/api/hubs/{hub}/permissions/{permission}/connections/{connectionId}') + path_format_arguments = { + 'hub': _SERIALIZER.url("hub", hub, 'str', pattern=r'^[A-Za-z][A-Za-z0-9_`,.[\]]{0,127}$'), + 'permission': _SERIALIZER.url("permission", permission, 'str'), + 'connectionId': _SERIALIZER.url("connection_id", connection_id, 'str', min_length=1), + } + url = _format_url_section(url, **path_format_arguments) + + # Construct parameters + query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + if target_name is not None: + query_parameters['targetName'] = _SERIALIZER.query("target_name", target_name, 'str') + if api_version is not None: + query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + return HttpRequest( + method="HEAD", + url=url, + params=query_parameters, + **kwargs + ) diff --git a/sdk/signalr/azure-messaging-webpubsubservice/dev_requirements.txt b/sdk/signalr/azure-messaging-webpubsubservice/dev_requirements.txt new file mode 100644 index 000000000000..7e186f5cb543 --- /dev/null +++ b/sdk/signalr/azure-messaging-webpubsubservice/dev_requirements.txt @@ -0,0 +1,7 @@ +-e ../../../tools/azure-devtools +-e ../../../tools/azure-sdk-tools +../../core/azure-core +../../identity/azure-identity +../../nspkg/azure-messaging-nspkg +aiohttp>=3.0; python_version >= '3.5' +typing_extensions>=3.7.2 diff --git a/sdk/signalr/azure-messaging-webpubsubservice/examples/send_messages.py b/sdk/signalr/azure-messaging-webpubsubservice/examples/send_messages.py new file mode 100644 index 000000000000..96913de2dde1 --- /dev/null +++ b/sdk/signalr/azure-messaging-webpubsubservice/examples/send_messages.py @@ -0,0 +1,54 @@ +import io +import logging +import os + +from azure.messaging.webpubsubservice import WebPubSubServiceClient +from azure.messaging.webpubsubservice.rest import * + +logging.basicConfig(level=logging.DEBUG) +LOG = logging.getLogger() + +try: + connection_string = os.environ['WEBPUBSUB_CONNECTION_STRING'] +except KeyError: + LOG.error("Missing environment variable 'WEBPUBSUB_CONNECTION_STRING' - please set if before running the example") + exit() + +# Build a client from the connection string. And for this example, we have enabled debug +# tracing. For production code, this should be turned off. +client = WebPubSubServiceClient.from_connection_string(connection_string, tracing_enabled=True) + +# Send a json message to everybody on the given hub... +request = build_send_to_all_request('myHub', json={ 'Hello': 'all!' }) +print(request.headers) +response = client.send_request(request) +try: + # Raise an exception if the service rejected the call + response.raise_for_status() + print('Successfully sent a JSON message') +except: + print('Failed to send JSON message: {}'.format(response)) + + +# Send a text message to everybody on the given hub... +request = build_send_to_all_request('ahub', content='hello, text!', content_type='text/plain') +response = client.send_request(request) +try: + # Raise an exception if the service rejected the call + response.raise_for_status() + print('Successfully sent a TEXT message') +except: + print('Failed to send TEXT message: {}'.format(response)) + + + +# Send a json message from a stream to everybody on the given hub... +request = build_send_to_all_request('ahub', content=io.BytesIO(b'{ "hello": "world" }'), content_type='application/json') +response = client.send_request(request) +try: + # Raise an exception if the service rejected the call + response.raise_for_status() + print('Successfully sent a JSON message from a stream') +except: + print('Failed to send JSON message from a stream: {}'.format(response)) + diff --git a/sdk/signalr/azure-messaging-webpubsubservice/setup.cfg b/sdk/signalr/azure-messaging-webpubsubservice/setup.cfg new file mode 100644 index 000000000000..3c6e79cf31da --- /dev/null +++ b/sdk/signalr/azure-messaging-webpubsubservice/setup.cfg @@ -0,0 +1,2 @@ +[bdist_wheel] +universal=1 diff --git a/sdk/signalr/azure-messaging-webpubsubservice/setup.py b/sdk/signalr/azure-messaging-webpubsubservice/setup.py new file mode 100644 index 000000000000..7b4cee515a8a --- /dev/null +++ b/sdk/signalr/azure-messaging-webpubsubservice/setup.py @@ -0,0 +1,74 @@ +#!/usr/bin/env python + +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- + + +import os +import re + +from setuptools import setup, find_packages + + +# Change the PACKAGE_NAME only to change folder and different name +PACKAGE_NAME = "azure-messaging-webpubsubservice" +PACKAGE_PPRINT_NAME = "Azure WebPubSub Service" + +# a-b-c => a/b/c +package_folder_path = PACKAGE_NAME.replace("-", "/") + + +# Version extraction inspired from 'requests' +with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: + version = re.search( + r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE + ).group(1) + +if not version: + raise RuntimeError("Cannot find version information") + +setup( + name=PACKAGE_NAME, + version=version, + description="Microsoft {} Client Library for Python".format(PACKAGE_PPRINT_NAME), + long_description=open("README.md", "r").read(), + long_description_content_type="text/markdown", + license="MIT License", + author="Microsoft Corporation", + author_email="azpysdkhelp@microsoft.com", + url="https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/signalr/azure-messaging-webpubsubservice", + classifiers=[ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 2", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "License :: OSI Approved :: MIT License", + ], + zip_safe=False, + packages=find_packages( + exclude=[ + # Exclude packages that will be covered by PEP420 or nspkg + "azure", + "azure.messaging", + ] + ), + install_requires=[ + "azure-core<2.0.0,>=1.10.0", + "msrest>=0.6.18", + "cryptography>=2.1.4", + "pyjwt>=1.7.1", + "six>=1.12.0", + ], + extras_require={ + ":python_version<'3.0'": ["futures", "azure-messaging-nspkg"], + ":python_version<'3.5'": ["typing"], + }, +) diff --git a/sdk/signalr/azure-messaging-webpubsubservice/tests/test_send_requests.py b/sdk/signalr/azure-messaging-webpubsubservice/tests/test_send_requests.py new file mode 100644 index 000000000000..4f402e2e719b --- /dev/null +++ b/sdk/signalr/azure-messaging-webpubsubservice/tests/test_send_requests.py @@ -0,0 +1,38 @@ +import io + +from azure.messaging.webpubsubservice import WebPubSubServiceClient +from azure.messaging.webpubsubservice.rest import * + +from azure.core.credentials import AzureKeyCredential + +def test_build_text_request(): + request = build_send_to_all_request('hub', content='hello world', content_type='text/plain') + + assert request.headers['content-type'] == 'text/plain' + assert request.content == 'hello world' + +def test_build_json_request(): + client = WebPubSubServiceClient('https://www.microsoft.com/api', AzureKeyCredential('abcd')) + request = build_send_to_all_request('hub', json={'hello': 'world'}) + assert request.headers['content-type'] == 'application/json' + +def test_build_stream_request(): + stream = io.BytesIO(b'1234') + client = WebPubSubServiceClient('https://www.microsoft.com/api', AzureKeyCredential('abcd')) + request = build_send_to_all_request('hub', content=stream, content_type='application/octet-stream') + assert request.headers['content-type'] == 'application/octet-stream' + +def test_build_stream_json_request(): + stream = io.BytesIO(b'{ "hello": "web" }') + client = WebPubSubServiceClient('https://www.microsoft.com/api', AzureKeyCredential('abcd')) + request = build_send_to_all_request('hub', content=stream, content_type='application/octet-json') + assert request.headers['content-type'] == 'application/octet-json' + +def test_build_send_message_exclude(): + stream = io.BytesIO(b'{ "hello": "web" }') + client = WebPubSubServiceClient('https://www.microsoft.com/api', AzureKeyCredential('abcd')) + request = build_send_to_all_request('hub', content=stream, content_type='application/octet-json', excluded=['a', 'b', 'c']) + assert 'excluded=a&' in request.url + assert 'excluded=b&' in request.url + assert 'excluded=c' in request.url + assert 'excluded=d' not in request.url diff --git a/shared_requirements.txt b/shared_requirements.txt index 3438b2153d98..9136cc99878f 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -86,6 +86,7 @@ azure-mgmt-storage~=2.0 azure-mgmt-subscription~=0.2.0 azure-mgmt-trafficmanager~=0.50.0 azure-mgmt-web~=0.35.0 +azure-messaging-nspkg azure-mixedreality-nspkg azure-nspkg azure-keyvault-nspkg @@ -122,6 +123,7 @@ python-dateutil>=2.8.0 six>=1.11.0 isodate>=0.6.0 avro<2.0.0,>=1.10.0 +pyjwt>=1.7.1 #override azure azure-keyvault~=1.0 #override azure-mgmt-core azure-core<2.0.0,>=1.13.0 #override azure-containerregistry azure-core>=1.4.0,<2.0.0 @@ -201,6 +203,10 @@ opentelemetry-sdk<2.0.0,>=1.0.0 #override azure-core-tracing-opentelemetry opentelemetry-api<2.0.0,>=1.0.0 #override azure-identity six>=1.12.0 #override azure-keyvault-keys six>=1.12.0 +#override azure-messaging-webpubsubservice azure-core<2.0.0,>=1.10.0 +#override azure-messaging-webpubsubservice msrest>=0.6.18 +#override azure-messaging-webpubsubservice pyjwt>=1.7.1 +#override azure-messaging-webpubsubservice six>=1.12.0 #override azure-mixedreality-authentication azure-core<2.0.0,>=1.4.0 #override azure-iot-deviceupdate azure-core<2.0.0,>=1.6.0 #override azure-mgmt-changeanalysis msrest>=0.6.21 @@ -255,4 +261,4 @@ opentelemetry-sdk<2.0.0,>=1.0.0 #override azure-mgmt-resourcegraph msrest>=0.6.21 #override azure-purview-scanning azure-core<2.0.0,>=1.8.2 msrest>=0.6.21 #override azure-purview-catalog azure-core<2.0.0,>=1.8.2 msrest>=0.6.21 -#override azure-mgmt-peering msrest>=0.6.21 \ No newline at end of file +#override azure-mgmt-peering msrest>=0.6.21 From 4290147a1b52b96e4f76d3e1d2efd181f1671418 Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Mon, 26 Apr 2021 16:43:34 -0700 Subject: [PATCH 12/14] Use default branch in live managed identity tests (#18145) --- sdk/identity/azure-identity/tests/azure-functions/Dockerfile | 2 +- .../azure-identity/tests/managed-identity-live/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/identity/azure-identity/tests/azure-functions/Dockerfile b/sdk/identity/azure-identity/tests/azure-functions/Dockerfile index 74193007a26c..04c4001ea683 100644 --- a/sdk/identity/azure-identity/tests/azure-functions/Dockerfile +++ b/sdk/identity/azure-identity/tests/azure-functions/Dockerfile @@ -4,7 +4,7 @@ # ------------------------------------ # docker can't tell when the repo has changed and will therefore cache this layer FROM alpine/git as repo -RUN git clone https://github.com/Azure/azure-sdk-for-python --single-branch --branch master --depth 1 /azure-sdk-for-python +RUN git clone https://github.com/Azure/azure-sdk-for-python --single-branch --depth 1 /azure-sdk-for-python FROM mcr.microsoft.com/azure-functions/python:3.0 diff --git a/sdk/identity/azure-identity/tests/managed-identity-live/Dockerfile b/sdk/identity/azure-identity/tests/managed-identity-live/Dockerfile index c830ee07d57b..8cfd12d56a09 100644 --- a/sdk/identity/azure-identity/tests/managed-identity-live/Dockerfile +++ b/sdk/identity/azure-identity/tests/managed-identity-live/Dockerfile @@ -6,7 +6,7 @@ ARG PYTHON_VERSION=2.7 # docker can't tell when the repo has changed and will therefore cache this layer FROM alpine/git as repo -RUN git clone https://github.com/Azure/azure-sdk-for-python --single-branch --branch master --depth 1 /azure-sdk-for-python +RUN git clone https://github.com/Azure/azure-sdk-for-python --single-branch --depth 1 /azure-sdk-for-python FROM python:${PYTHON_VERSION}-slim From aad477ea692366ff999e639f754c3c935a8f317c Mon Sep 17 00:00:00 2001 From: Scott Beddall <45376673+scbedd@users.noreply.github.com> Date: Mon, 26 Apr 2021 17:44:08 -0700 Subject: [PATCH 13/14] remove hardcoded BuildTargetingString from sdk/modelsrepository/tests.yml, sdk/template/tests.yml --- sdk/modelsrepository/tests.yml | 1 - sdk/template/tests.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/sdk/modelsrepository/tests.yml b/sdk/modelsrepository/tests.yml index ecb958f6d6e9..1966f9c2342d 100644 --- a/sdk/modelsrepository/tests.yml +++ b/sdk/modelsrepository/tests.yml @@ -4,7 +4,6 @@ stages: - template: ../../eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: AllocateResourceGroup: 'false' - BuildTargetingString: $(BuildTargetingString) ServiceDirectory: modelsrepository EnvVars: TEST_MODE: 'RunLiveNoRecord' diff --git a/sdk/template/tests.yml b/sdk/template/tests.yml index 9f5d3cc0a4f8..7d070f16149c 100644 --- a/sdk/template/tests.yml +++ b/sdk/template/tests.yml @@ -4,7 +4,6 @@ stages: - template: ../../eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: AllocateResourceGroup: false - BuildTargetingString: 'azure-*' ServiceDirectory: template TestSamples: true EnvVars: From 28e5c5e2386d79ecdf6f5fa5b6f1c652901a3067 Mon Sep 17 00:00:00 2001 From: msyyc <70930885+msyyc@users.noreply.github.com> Date: Tue, 27 Apr 2021 10:58:03 +0800 Subject: [PATCH 14/14] Update conf.py (#18335) --- tools/azure-sdk-tools/packaging_tools/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/azure-sdk-tools/packaging_tools/conf.py b/tools/azure-sdk-tools/packaging_tools/conf.py index 2b821ac62c5f..c10987d21736 100644 --- a/tools/azure-sdk-tools/packaging_tools/conf.py +++ b/tools/azure-sdk-tools/packaging_tools/conf.py @@ -17,7 +17,8 @@ "package_doc_id": "", "is_stable": False, "is_arm": True, - "need_msrestazure": True + "need_msrestazure": False, # track2 does not need it anymore in setup.py + "need_azuremgmtcore": True, } def read_conf(folder: Path) -> Dict[str, Any]: